Cargo Features
[dependencies]
scuffle-bootstrap-telemetry = { version = "0.0.0", default-features = false, features = ["prometheus", "pprof", "opentelemetry", "opentelemetry-metrics", "opentelemetry-traces", "opentelemetry-logs"] }
- default = opentelemetry-logs, opentelemetry-metrics, opentelemetry-traces, pprof, prometheus
-
These default features are set whenever
scuffle-bootstrap-telemetry
is added without
somewhere in the dependency tree.default-features = false - prometheus default = opentelemetry, scuffle-metrics
-
Enables prometheus
Affects
scuffle-bootstrap-telemetry::TelemetryConfig.prometheus_metrics_registry
… - pprof default = querystring, scuffle-pprof, tokio
- opentelemetry opentelemetry-logs opentelemetry-metrics opentelemetry-traces prometheus = thiserror
-
Enables opentelemetry and opentelemetry_sdk
Affects
scuffle-bootstrap-telemetry::TelemetryConfig.opentelemetry
,scuffle-bootstrap-telemetry::opentelemetry
… - opentelemetry-metrics default = opentelemetry
- opentelemetry-traces default = opentelemetry, tracing-opentelemetry
- opentelemetry-logs default = opentelemetry, opentelemetry-appender-tracing
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.