Cargo Features
init-tracing-opentelemetry has no features set by default.
[dependencies]
init-tracing-opentelemetry = { version = "0.25.0", features = ["jaeger", "otlp", "stdout", "tracer", "xray", "zipkin", "tracing_subscriber_ext", "tls", "logfmt"] }
- jaeger
-
Enables opentelemetry-jaeger-propagator
- otlp tracing_subscriber_ext? = tracer
-
Enables http-proto, reqwest-client and reqwest-rustls of opentelemetry-otlp
Affects
init-tracing-opentelemetry::otlp
… - stdout = tracer
-
Enables opentelemetry-stdout
opentelemetry-resource-detectors = { workspace = true } //FIXME enable when available for opentelemetry >= 0.25
Affects
init-tracing-opentelemetry::stdio
… - tracer otlp? stdout?
-
Enables opentelemetry-semantic-conventions
Affects
init-tracing-opentelemetry::resource
… - xray
-
Enables opentelemetry-aws
- zipkin
-
Enables opentelemetry-zipkin
- tracing_subscriber_ext = otlp
-
Enables tracing-subscriber
Affects
init-tracing-opentelemetry::tracing_subscriber_ext
… - tls
-
Enables tonic, tls and tls-roots of opentelemetry-otlp
- logfmt
-
Enables tracing-logfmt
Affects
tracing_subscriber_ext::build_logger_text
…
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.