Cargo Features
[dependencies]
smelter-worker = { version = "0.1.1", default-features = false, features = ["tracing", "opentelemetry", "stats", "worker-side", "spawner-side"] }
- default = opentelemetry, spawner-side, stats, tracing, worker-side
-
These default features are set whenever
smelter-worker
is added without
somewhere in the dependency tree.default-features = false - tracing default opentelemetry
-
Enables tracing
- opentelemetry default = tracing
-
Propagate opentelemetry context from the job manager to the workers.
Enables opentelemetry ^0.20.0 and tracing-opentelemetry ^0.20.0
Affects
smelter-worker::get_trace_context
,smelter-worker::WorkerInput.trace_context
,smelter-worker::WorkerInputPayload.trace_context
… - stats default
-
Collect statistics about the worker.
Enables sysinfo ^0.30.6
Affects
smelter-worker::stats
,smelter-worker::WorkerOutput.stats
… - worker-side default
- spawner-side default
-
Functionality only used by the Smelter job spawners and the job manager.