Cargo Features
[dependencies]
opentelemetry-stdout = { version = "0.27.0", default-features = false, features = ["trace", "metrics", "logs", "populate-logs-event-name"] }
- default = logs, metrics, trace
-
These default features are set whenever
opentelemetry-stdout
is added without
somewhere in the dependency tree.default-features = false - trace default = futures-util
-
Enables trace of opentelemetry and opentelemetry_sdk
- metrics default = async-trait
-
Enables metrics of opentelemetry and opentelemetry_sdk
- logs default = async-trait, thiserror
-
Enables logs of opentelemetry, logs and spec_unstable_logs_enabled of opentelemetry_sdk
- populate-logs-event-name
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.