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

macro iroh-metrics-derive

derive macros for iroh-metrics

1 unstable release

new 0.1.0 Apr 16, 2025

#1509 in Procedural macros


Used in iroh-metrics

MIT/Apache

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

~220–650KB
~15K SLoC