Cargo Features

[dependencies]
tracing-opentelemetry = { version = "0.23.0", default-features = false, features = ["metrics", "tracing-log", "async-trait", "futures-util", "thiserror"] }
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 and opentelemetry_sdk

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
async-trait implicit feature

Enables async-trait

Fix minimal-versions

futures-util implicit feature

Enables futures-util

futures-util:

Common utilities and extension traits for the futures-rs library

thiserror implicit feature

Enables thiserror

thiserror:

derive(Error)

smallvec metrics