iroh-metrics crate. This crate offers a
simple and flexible way to define, collect, and report various metrics.
Example
Exporting metrics
Theiroh-metrics crate supports exporting metrics in various formats, such
as Prometheus, which can be scraped by monitoring systems.
As a convenience, the iroh team runs a service that collects Prometheus metrics from
applications using iroh. To export your metrics to this service, you can use the
iroh-n0des crate.
First, sign up for an account on n0des.iroh.computer and create a project.
Then, follow the instructions in the iroh-n0des
documentation to set up the exporter in your
application.