Cargo Features

[dependencies]
scuffle-bootstrap-telemetry = { version = "0.0.2", 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 default-features = false somewhere in the dependency tree.

prometheus default = opentelemetry, prometheus-client

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.

prometheus-client prometheus
querystring pprof
tokio pprof
thiserror opentelemetry?
opentelemetry-appender-tracing opentelemetry-logs
tracing-opentelemetry opentelemetry-traces
scuffle-pprof pprof