prometheus_exporter icon indicating copy to clipboard operation
prometheus_exporter copied to clipboard

Handling invalid names and labels

Open PericlesTheo opened this issue 1 year ago • 0 comments

👋 people,

Recently we run into a scenario where a metric name we created contained invalid characters, specifically it contained a hyphen such as "http_response_#{external_name}" where external_name is an input and in this case it was face-book let's say.

Is there a way to handle this within the gem?

PericlesTheo avatar Sep 18 '23 15:09 PericlesTheo