PromQL tutorial and cheat sheet
A selector chooses time series; an aggregation chooses which labels survive. Inspect the service and status labels before summing. If you remove the service label too early, a result can describe the whole fleet when the question asks about one service.
For a counter, calculate each series rate before grouping the result. A reset belongs to that individual series. For an error ratio, give the numerator and denominator the same service scope and time window. Keep the query small enough to inspect, then try fresh data in the practice set.
Further practice
Continue with the course and fresh PromQL practice. The primary reference documents the full product or standard beyond this local exercise.