Cargo Features

[dependencies]
ts_opentelemetry = { version = "0.20.0-beta.1", default-features = false, features = ["trace", "metrics", "logs", "rt-tokio", "rt-tokio-current-thread", "rt-async-std", "testing"] }
default = trace

The trace feature is set by default whenever ts_opentelemetry is added without default-features = false somewhere in the dependency tree.

trace default

Enables trace of ts_opentelemetry_api and ts_opentelemetry_sdk

metrics

Enables metrics of ts_opentelemetry_api and ts_opentelemetry_sdk

logs

Enables logs of ts_opentelemetry_sdk

rt-tokio

Enables rt-tokio of ts_opentelemetry_sdk

rt-tokio-current-thread

Enables rt-tokio-current-thread of ts_opentelemetry_sdk

rt-async-std

Enables rt-async-std of ts_opentelemetry_sdk

testing

Enables testing of ts_opentelemetry_api and ts_opentelemetry_sdk

Affects ts_opentelemetry::testing