Cargo Features
[dependencies]
iroh-metrics = { version = "0.31.0", default-features = false, features = ["metrics"] }
- default = metrics
-
The
metrics
feature is set by default wheneveriroh-metrics
is added without
somewhere in the dependency tree.default-features = false - metrics default
-
Enables http-body-util, hyper, hyper-util, prometheus-client ^0.22, reqwest, and tokio
http-body-util:
metrics feature
Affects
core::Counter.counter
,core::Gauge.gauge
,core::Metric.new
,core::Metric.with_metric
,metrics::start_metrics_server
,metrics::start_metrics_dumper
,metrics::start_metrics_exporter
…