flush_global

Function flush_global 

Source
pub fn flush_global()
Expand description

Flushes metrics to the push gateway if configured.

This can be called from anywhere to push metrics immediately, useful for short-lived processes like MCP server requests.