checkMetricName
Validates a metric name according to Prometheus naming rules.
Parameters
name
The metric name to check.
Throws
if the name is invalid.
Validates a metric name according to Prometheus naming rules.
The metric name to check.
if the name is invalid.