Cargo Features
prima-tracing has no features set by default.
[dependencies]
prima-tracing = { version = "0.13.1", features = ["prima-logger-datadog", "prima-logger-json", "prima-telemetry", "datadog", "json-logger", "traces", "dev", "live", "rt-tokio-current-thread"] }
- prima-logger-datadog = datadog
-
Legacy feature names kept for compatibility reasons
- prima-logger-json = json-logger
- prima-telemetry = traces
- datadog live? prima-logger-datadog? = json-logger, opentelemetry, tracing-opentelemetry
- json-logger datadog? live? prima-logger-json?
-
Affects
config::builder
,prima-tracing::json
… - traces dev? live? prima-telemetry? = opentelemetry, opentelemetry-otlp, opentelemetry_sdk, tracing-opentelemetry
-
Affects
prima-tracing::layer
,prima-tracing::telemetry
… - dev = traces
-
feature sets most likely used in given environment
- live = datadog, json-logger, traces
- rt-tokio-current-thread
-
Enables rt-tokio-current-thread of opentelemetry_sdk ^0.26
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.