Cargo Features

sn_logging has no features set by default.

sn_logging = { version = "0.2.27", features = ["otlp", "process-metrics", "test-utils"] }
otlp = opentelemetry, opentelemetry-otlp, opentelemetry-semantic-conventions, tracing-opentelemetry

Enables rand

process-metrics = sysinfo, tokio

Affects sn_logging::metrics


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.

opentelemetry otlp?

Enables opentelemetry ^0.20

opentelemetry-otlp otlp?

Enables opentelemetry-otlp ^0.13

opentelemetry-semantic-conventions otlp?

Enables opentelemetry-semantic-conventions ^0.12.0

rand otlp?
sysinfo process-metrics?
tokio process-metrics?
tracing-opentelemetry otlp?

Enables tracing-opentelemetry ^0.21