tikv / raft-engine

A persistent storage engine for Multi-Raft log
Apache License 2.0
565 stars 88 forks source link

Remove prometheus dependency #209

Closed tabokie closed 2 years ago

tabokie commented 2 years ago

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.