49 releases

0.24.0 Oct 12, 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 243602/week @ 2024-07-17 237727/week @ 2024-07-24 249750/week @ 2024-07-31 256828/week @ 2024-08-07 269841/week @ 2024-08-14 274603/week @ 2024-08-21 253592/week @ 2024-08-28 287640/week @ 2024-09-04 292678/week @ 2024-09-11 287604/week @ 2024-09-18 326686/week @ 2024-09-25 344840/week @ 2024-10-02 347462/week @ 2024-10-09 360801/week @ 2024-10-16 385162/week @ 2024-10-23 361787/week @ 2024-10-30

1,526,094 downloads per month
Used in 308 crates (187 directly)

MIT license

120KB
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