Cargo Features
[dependencies]
telemetry-rust = { version = "3.0.0", default-features = false, features = ["full", "zipkin", "axum", "hyper-v1", "aws-span", "aws-instrumentation", "aws", "test"] }
- default = zipkin
-
The
zipkin
feature is set by default whenevertelemetry-rust
is added without
somewhere in the dependency tree.default-features = false - full = aws, test
- zipkin default
-
Enables opentelemetry-zipkin
- axum test?
-
Enables axum, futures-util, pin-project-lite, and tower
Affects
middleware::axum
… - hyper-v1
-
Enables http-body-util and hyper
- aws-span aws?
-
Affects
middleware::aws
… - aws-instrumentation aws?
-
Enables async-trait and futures-util
- aws full? = aws-instrumentation, aws-span
- test full? = axum
-
Enables opentelemetry_api, rand, serde, and serde_json
Affects
telemetry-rust::test
…