Skip to main content

update_report

Function update_report 

Source
pub fn update_report(family: &ReportFamily, values: HashMap<String, i32>)
Expand description

Set the reliability state gauges from the given milestone counts.

The family is long lived, so it’s cleared first: states missing from values (e.g. when Redis is unavailable) are dropped rather than left at their last known value.