Cargo Features
[dependencies]
telemetry-rust = { version = "3.5.0", default-features = false, features = ["full", "zipkin", "future", "axum", "aws-span", "aws-instrumentation", "aws-lambda", "aws", "aws-full", "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-full, test
- zipkin default
-
Enables opentelemetry-zipkin ^0.26
- future aws-instrumentation? aws-lambda?
-
Enables pin-project-lite
Affects
telemetry-rust::future
… - axum test?
-
Enables axum, futures-util, pin-project-lite, and tower ^0.4
Affects
middleware::axum
… - aws-span aws?
-
Affects
middleware::aws
… - aws-instrumentation aws? = future
- aws-lambda aws-full? = future
-
Enables lambda_runtime and tower ^0.4
Affects
middleware::lambda
… - aws aws-full? = aws-instrumentation, aws-span
- aws-full full? = aws, aws-lambda
- test full? = axum
-
Enables http-body-util, opentelemetry_api, rand, serde, and serde_json
Affects
telemetry-rust::test
…