Skip to main content

record_health_component

Function record_health_component 

Source
pub fn record_health_component(
    scope: &'static str,
    component: &'static str,
    status_label: &'static str,
    status_value: f64,
    duration_seconds: f64,
)
Expand description

Records one health component into the shared Prometheus registry.