docker run --rm -v "$PWD:/work" -w /work prom/prometheus promtool check rules rules/metadata-enrichment.ymlEnrich Prometheus metrics with info() without triggering cardinality spikes
Use useful metadata in PromQL and recording rules without pushing volatile labels into the hot path.
A practical guide to testing Prometheus’ experimental info() function, building a metadata allowlist, measuring series impact, and proving alerts and SLOs still work.
Created: June 22, 2026
Published: June 22, 2026
Docker
Run a staging Prometheus with mounted rules and compare cardinality before and after enrichment.
docker composepromtool or prom/prometheus image
Content locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.