50 releases

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

#14 in Debugging

Download history 275770/week @ 2024-08-22 249028/week @ 2024-08-29 288667/week @ 2024-09-05 291045/week @ 2024-09-12 298936/week @ 2024-09-19 323653/week @ 2024-09-26 360240/week @ 2024-10-03 338889/week @ 2024-10-10 362285/week @ 2024-10-17 393951/week @ 2024-10-24 370162/week @ 2024-10-31 527523/week @ 2024-11-07 480344/week @ 2024-11-14 444088/week @ 2024-11-21 309016/week @ 2024-11-28 361147/week @ 2024-12-05

1,693,994 downloads per month
Used in 321 crates (193 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