Client might not want/could use prometheus to monitor system statistics. We should replace prometheus metrics with lightweight counters, and expose public interfaces to query those metrics.
Counter or gauge can be replaced with atomics. Histogram can be replaced with HdrHistogram crate.
Client might not want/could use prometheus to monitor system statistics. We should replace prometheus metrics with lightweight counters, and expose public interfaces to query those metrics.
Counter or gauge can be replaced with atomics. Histogram can be replaced with
HdrHistogram
crate.