Expand description
Metrics library for iroh
Modules§
- Traits for iterating over the fields of structs.
- service
service
Functions to start services that deal with metrics exposed by this crate. - static_
core static_core
Metrics collection in a static, process-level global metrics collector.
Macros§
- dec
static_core
Decrements the given metric by 1. - dec_by
static_core
Decrements the given metric byn
. - inc
static_core
Increments the given metric by 1. - inc_by
static_core
Increments the given metric byn
. - set
static_core
Sets the given metric ton
.
Structs§
- Open Metrics
Counter
to measure discrete events. - Open Metrics
Gauge
. - A metric item with its current value.
- Iterator over metric items.
- Registry
metrics
A metric registry.
Enums§
- Potential errors from this library.
- The types of metrics supported by this crate.
- The value of an individual metric item.
Traits§
- Trait for metric items.
- Trait for structs containing metric items.
- Trait for a set of structs implementing
MetricsGroup
.
Functions§
- Parses Prometheus metrics from a string.