Skip to main content

emit_thresholds

Function emit_thresholds 

Source
pub fn emit_thresholds(config: &BatchProcessingConfig)
Available on crate feature worker-batch and (crate features worker-batch or worker-pool or worker) only.
Expand description

Emit config threshold values as gauge metrics.

Called at startup (via register) and optionally on config reload. Metric names are mechanically derived from config field names so that Grafana dashboards can overlay config changes on operational graphs.