StreamMachine / prometheus_client_nodejs

Prometheus metrics client for Node.js
Apache License 2.0
30 stars 16 forks source link

Validate metric name #7

Open JamesBarwell opened 9 years ago

JamesBarwell commented 9 years ago

Ran into this earlier with dashes in my metric names, and didn't discover the error until seeing the parse error on the Prometheus status page.

Used the regex from prometheus/client_java#28