Skip to main content

register

Function register 

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