What problem does it solve?
This Skill helps engineers and SREs write, validate, and optimize PromQL expressions to produce correct, performant queries and avoid common pitfalls like wrong aggregation order, missing range vectors, and high cardinality.
Core Features & Use Cases
- Query authoring and validation: Guidance on rate(), increase(), irate(), and correct aggregation placement to ensure accurate per-second or total calculations.
- Performance and cardinality advice: Recommendations for scrape-interval-aware window sizes, controlling label cardinality, and using topk/count patterns to diagnose heavy series.
- Recording rules and SLOs: Templates and examples for recording rules, SLO calculations, histogram_quantile usage, and alert-friendly query patterns.
Quick Start
Generate a PromQL query to compute the 5m per-second rate of http_requests_total per service and a recording rule for the p95 request duration.