47 releases

0.22.3 Mar 16, 2024
0.22.1 Feb 11, 2024
0.22.0 Dec 24, 2023
0.21.1 Jul 2, 2023
0.0.2 Sep 3, 2015

#10 in Debugging

Download history 131932/week @ 2024-01-03 157047/week @ 2024-01-10 192770/week @ 2024-01-17 166239/week @ 2024-01-24 188475/week @ 2024-01-31 211062/week @ 2024-02-07 171022/week @ 2024-02-14 190061/week @ 2024-02-21 186534/week @ 2024-02-28 193223/week @ 2024-03-06 202657/week @ 2024-03-13 213083/week @ 2024-03-20 199419/week @ 2024-03-27 228038/week @ 2024-04-03 255482/week @ 2024-04-10 199523/week @ 2024-04-17

923,177 downloads per month
Used in 245 crates (160 directly)

MIT license

110KB
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.7–1MB
~17K SLoC