collect_runtime_metrics

Function collect_runtime_metrics 

Source
pub async fn collect_runtime_metrics(runtime_id: &str)
Expand description

Collects Tokio runtime metrics on the current Tokio runtime.

All metrics generate will include a runtime_id label which maps to the given runtime ID. This allows for differentiating between multiple runtimes that may be running in the same process.