Cargo Features
[dependencies]
opentelemetry-prometheus = { version = "0.27.0", default-features = false, features = ["prometheus-encoding", "internal-logs"] }
- default = internal-logs
-
The
internal-logs
feature is set by default wheneveropentelemetry-prometheus
is added without
somewhere in the dependency tree.default-features = false - prometheus-encoding
- internal-logs default = tracing
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.
- tracing internal-logs
-
Enables tracing
optional for opentelemetry internal logging