Skip to main content

register

Function register 

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

Register all BatchEngine metrics with the MetricsManager.

Called by BatchEngine::auto_wire. Registers descriptors for all operational metrics and immediately emits the current config thresholds as gauges (for Grafana overlay of scaling decision lines).