pub fn normalize_metric_name(
metric: &mut TraceMetric,
) -> Result<(), InvalidMetricName>Expand description
Normalizes a trace metric name.
Metric names cannot be empty, must only consist of ASCII alphanumerics, underscores, dashes, and periods. The implementation will replace dashes with underscores.
Empty metric names are rejected with InvalidMetricName.