Skip to main content

emit_thresholds

Function emit_thresholds 

Source
pub fn emit_thresholds(config: &BatchProcessingConfig)
Available on (crate features worker-pool or worker-batch or worker) and crate feature worker-batch 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.