36 releases (11 breaking)

0.17.0 Jul 13, 2021
0.15.1 May 3, 2021
0.14.2 Feb 13, 2021
0.13.0-alpha.13 Dec 18, 2020
0.0.2 Sep 3, 2015

#12 in Debugging

Download history 36402/week @ 2021-07-01 23770/week @ 2021-07-08 32903/week @ 2021-07-15 20658/week @ 2021-07-22 31702/week @ 2021-07-29 47810/week @ 2021-08-05 55688/week @ 2021-08-12 37919/week @ 2021-08-19 33241/week @ 2021-08-26 26706/week @ 2021-09-02 31141/week @ 2021-09-09 29668/week @ 2021-09-16 24377/week @ 2021-09-23 26578/week @ 2021-09-30 23750/week @ 2021-10-07 26925/week @ 2021-10-14

115,259 downloads per month
Used in 65 crates (41 directly)

MIT license

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

~1.4–2.3MB
~60K SLoC