Cargo Features

[dependencies]
tracing-opentelemetry = { version = "0.32.1", default-features = false, features = ["metrics", "tracing-log", "lazy_static"] }
default = metrics, tracing-log

These default features are set whenever tracing-opentelemetry is added without default-features = false somewhere in the dependency tree.

metrics default = smallvec

Enables support for exporting OpenTelemetry metrics

Enables metrics of opentelemetry

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-log default
smallvec metrics
lazy_static implicit feature

Enables lazy_static

Fix minimal-versions