Cargo Features
[dependencies]
ckb-metrics-runtime = { version = "0.13.1", default-features = false, features = ["exporters", "observers"] }
- default = exporters, observers
-
These default features are set whenever
ckb-metrics-runtime
is added without
somewhere in the dependency tree.default-features = false - exporters default = metrics-exporter-http, metrics-exporter-log
- observers default = metrics-observer-json, metrics-observer-prometheus, metrics-observer-yaml
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- metrics-exporter-log exporters
-
Affects
ckb-metrics-runtime::exporters
… - metrics-exporter-http exporters
-
Affects
ckb-metrics-runtime::exporters
… - metrics-observer-yaml observers
-
Affects
ckb-metrics-runtime::observers
… - metrics-observer-prometheus observers
-
Affects
ckb-metrics-runtime::observers
… - metrics-observer-json observers
-
Affects
ckb-metrics-runtime::observers
…