Cargo Features
soph-tracing has no features set by default.
[dependencies]
soph-tracing = { version = "0.25.1", features = ["console", "env-filter", "error", "opentelemetry", "opentelemetry-stdout"] }
- console
-
Enables console-subscriber
optional
- env-filter
-
Enables env-filter of tracing-subscriber
- error
-
Enables tracing-error
- opentelemetry
-
Enables opentelemetry ^0.26, opentelemetry-appender-tracing ^0.26, opentelemetry-otlp ^0.26, opentelemetry-semantic-conventions ^0.26, opentelemetry_sdk ^0.26, and tracing-opentelemetry ^0.27.0
Features from optional dependencies
- opentelemetry-stdout implicit feature
-
Enables opentelemetry-stdout ^0.26
opentelemetry-stdout:
An OpenTelemetry exporter for stdout