Observability Label Builder
Build Prometheus label matchers and Alertmanager label YAML.
Building Prometheus and Alertmanager labels
Consistent labels power useful Prometheus queries and routable alerts. Label matchers filter time series by environment, service, and severity. Alertmanager YAML fragments encode inhibition rules and receiver routes during on-call policy edits.
Cardinality explosions happen when high-cardinality values (user IDs) become labels. Prefer logs or traces for dimensions that change per request. Validate matcher syntax before pasting into rule files consumed by CI.
Alert routes should map severities to paging policies explicitly. Test label sets against recording rules in staging Prometheus before applying to production rule groups.
Build matchers locally when labels include internal service codenames. Browser generation avoids leaking topology into public snippet shares.
Reference Guide
DevOps tool - all processing runs locally in your browser. No data is sent to a server.
Operation: prom-labels
Paste input, click Run, and copy the result. For two-input tools, fill both fields before running.
Example Input
job=api instance=prod-1
A sample loads automatically when you open this tool. Use Load Sample to reset it.
