feat(grafana): add RocksDB metrics dashboard (#21243)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
joshieDo
2026-01-21 22:09:42 +00:00
committed by GitHub
parent 72e1467ba3
commit eb55c3c3da
6 changed files with 845 additions and 80 deletions

View File

@@ -1277,6 +1277,10 @@ pub fn metrics_hooks<N: NodeTypesWithDB>(provider_factory: &ProviderFactory<N>)
})
}
})
.with_hook({
let rocksdb = provider_factory.rocksdb_provider();
move || throttle!(Duration::from_secs(5 * 60), || rocksdb.report_metrics())
})
.build()
}