Expand description
Operations telemetry for Boson workers.
Install an OpsLog adapter at worker boot via BosonBuilder::ops_log.
§Entry points
OpsLog— counters, gauges, structured events (see trait for emitted names)install_ops_log— process-wide install at bootNoOpsLog/ConsoleOpsLog— built-in adaptersops_log_from_env— select adapter viaBOSON_TELEMETRY
Structs§
- Console
OpsLog - stderr structured lines (default dev adapter).
- NoOps
Log - Zero-cost no-op (benchmark
telemetry=offand minimal CI).
Traits§
- OpsLog
- Structured ops metrics and events for enqueue, runs, leases, and runtime health.
Functions§
- install_
ops_ log - Install the process-wide ops log (typically at server boot before Boson runtime).
- ops_log
- Resolved ops log —
NoOpsLoguntilinstall_ops_log. - ops_
log_ from_ env - Resolve from
BOSON_TELEMETRY(off|console; defaultconsole).