FTDC decoder β A minimal Go tool to visualize MongoDB FTDC metric deltas via a local web dashboard.
git clone https://github.com/yunusuyanik/mongodb_ftdc_decoder.git
cd mongodb_ftdc_decoder
go mod init mongodb_ftdc_decoder
go mod tidy
go run main.go -dir /path/to/diagnostic.dataOpen the printed URL (e.g., http://127.0.0.1:<generatedport>/) in your browser.
| Flag | Description |
|---|---|
-dir |
Required. Path to diagnostic.data |
-debug |
Print verbose logs |
-genlogs |
Generate decoded log and parsed log files with deltas |
metric_deltas_{timestamp}.logβ Parsed metric delta valuesfully_decoded_metrics_{timestamp}.logβ Decoded logs