Back to Library
DevOps

Observability Label Key

Validate telemetry label keys (Prometheus-style).

Pattern
^[a-zA-Z_][a-zA-Z0-9_]{0,62}$

Test Cases

http_status Match
9status No Match

Related Blog Guides

Try it Live

Test and customize this pattern in our interactive editor

Open in Editor