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 whenever opentelemetry-prometheus is added without default-features = false somewhere in the dependency tree.

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