50 releases

new 0.24.1 Nov 26, 2024
0.23.0 May 27, 2024
0.22.3 Mar 16, 2024
0.22.0 Dec 24, 2023
0.0.2 Sep 3, 2015

#13 in Debugging

Download history 263154/week @ 2024-08-12 281074/week @ 2024-08-19 280530/week @ 2024-08-26 249880/week @ 2024-09-02 305161/week @ 2024-09-09 268920/week @ 2024-09-16 328317/week @ 2024-09-23 325791/week @ 2024-09-30 367098/week @ 2024-10-07 343743/week @ 2024-10-14 373989/week @ 2024-10-21 368544/week @ 2024-10-28 466972/week @ 2024-11-04 510606/week @ 2024-11-11 457288/week @ 2024-11-18 334570/week @ 2024-11-25

1,779,195 downloads per month
Used in 318 crates (191 directly)

MIT license

125KB
2K SLoC

metrics

conduct-badge downloads-badge release-badge docs-badge license-badge

metrics is a lightweight metrics facade.

code of conduct

NOTE: All conversations and contributions to this project shall adhere to the Code of Conduct.

what's it all about?

metrics provides macros, similar to the log crate, that let library and executable authors instrument their code by collecting metrics -- incrementing counters, gauges, and histograms -- about their code, deferring the collecting and export of these metrics to whatever the installed metrics library is.

Dependencies

~0.7–1.2MB
~18K SLoC