Skip to main content

flush_metrics

Function flush_metrics 

Source
pub fn flush_metrics()
Expand description

Delivers every buffered metric and infrastructure reading right now, instead of waiting for the next flush interval. The background flush thread is a daemon and Rust has no exit hook, so call this before a short-lived program ends.