41 releases

0.20.1 Jul 22, 2022
0.19.0 May 30, 2022
0.18.1 Mar 11, 2022
0.17.1 Dec 16, 2021
0.0.2 Sep 3, 2015

#19 in Debugging

Download history 67103/week @ 2022-08-15 65084/week @ 2022-08-22 67413/week @ 2022-08-29 78712/week @ 2022-09-05 64865/week @ 2022-09-12 74704/week @ 2022-09-19 69531/week @ 2022-09-26 49184/week @ 2022-10-03 55889/week @ 2022-10-10 58509/week @ 2022-10-17 56924/week @ 2022-10-24 52664/week @ 2022-10-31 58613/week @ 2022-11-07 65453/week @ 2022-11-14 51192/week @ 2022-11-21 45752/week @ 2022-11-28

223,780 downloads per month
Used in 97 crates (70 directly)

MIT license

98KB
1.5K 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.9–1.3MB
~28K SLoC