Cargo Features
init-tracing-opentelemetry has no features set by default.
[dependencies]
init-tracing-opentelemetry = { version = "0.22.0", features = ["jaeger", "otlp", "stdout", "tracer", "xray", "zipkin", "tracing_subscriber_ext", "tls", "logfmt"] }
- jaeger
- otlp tracing_subscriber_ext? = tracer
-
Enables http-proto and reqwest-client of opentelemetry-otlp ^0.25
Affects
init-tracing-opentelemetry::otlp
… - stdout = tracer
-
Enables opentelemetry-stdout ^0.25
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 ^0.25
Affects
init-tracing-opentelemetry::resource
… - xray
-
Enables opentelemetry-aws ^0.12
- zipkin
-
Enables opentelemetry-zipkin ^0.25
- tracing_subscriber_ext = otlp
-
Enables tracing-subscriber
Affects
init-tracing-opentelemetry::tracing_subscriber_ext
… - tls
-
Enables tonic, tls and tls-roots of opentelemetry-otlp ^0.25
- 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.
- opentelemetry-otlp otlp? tls?
-
Enables opentelemetry-otlp ^0.25
- tonic tls?