Function init_rpc_metrics_for_network

Source
pub fn init_rpc_metrics_for_network(network: &str)
Expand description

Initializes RPC metrics for a network so they appear in Prometheus output with 0 values.

This should be called when a transport client is created for a network. Ensures metrics are visible in dashboards even before any errors occur.

ยงArguments

  • network - The network slug