cat_gateway::metrics::chain_follower

Function init_metrics_reporter

Source
pub(crate) fn init_metrics_reporter()
Expand description

Starts a background thread to periodically update Chain Follower metrics.

This function spawns a thread that updates the Chain Follower metrics at regular intervals defined by METRICS_FOLLOWER_INTERVAL.