Closed
Description
A clone of the 'metrics' package would be useful for instrumentation. We have enough stuff we want to monitor that it'd be good to standardize the interface.
https://github.com/codahale/metrics
https://github.com/rcrowley/go-metrics
Currently I'm growing some ad-hoc pieces of this in extra::stats
, the std::test
benchmarking code, and the log-bin statistics counters in the new GC. Consolidating that and copying best practice structure (eg. properly separating collecting, aggregating and reporting) from the designs of other metrics libraries would be good.
Depends on #7458