reth_node_metrics::formatting

Function sanitize_metric_name

pub fn sanitize_metric_name(name: &str) -> String
Expand description

Sanitizes a metric name to be valid under the Prometheus data model.