#metrics #iroh-metrics #iroh-metrics-derive

macro iroh-metrics-derive

derive macros for iroh-metrics

2 unstable releases

new 0.2.0 Apr 30, 2025
0.1.0 Apr 16, 2025

#442 in #metrics

Download history 196/week @ 2025-04-16 23/week @ 2025-04-23

219 downloads per month
Used in iroh-metrics

MIT/Apache

8KB
153 lines

iroh-metrics

Metrics collection for iroh. It keeps the "glue" necessary to expose metrics defined metrics for collection: an HTTP server that exposes tracked metrics that a service like prometheus can poll for recording.

Nearly all metrics in iroh are recorded as simple counters.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~225–660KB
~16K SLoC