34 releases

new 0.15.1 May 3, 2021
0.14.2 Feb 13, 2021
0.13.0-alpha.13 Dec 18, 2020
0.13.0-alpha.11 Nov 25, 2020
0.0.2 Sep 3, 2015

#11 in Debugging

Download history 11876/week @ 2021-01-15 13216/week @ 2021-01-22 14071/week @ 2021-01-29 13461/week @ 2021-02-05 21063/week @ 2021-02-12 15207/week @ 2021-02-19 18340/week @ 2021-02-26 22008/week @ 2021-03-05 30496/week @ 2021-03-12 18589/week @ 2021-03-19 20227/week @ 2021-03-26 20070/week @ 2021-04-02 23319/week @ 2021-04-09 23449/week @ 2021-04-16 21095/week @ 2021-04-23 15442/week @ 2021-04-30

86,297 downloads per month
Used in 63 crates (28 directly)

MIT license

81KB
1K 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

~1.5–2.4MB
~63K SLoC