`found duplicate series for the match group {pod="api-1"} on the right hand-side of the operation`
IntermediateTroubleshootingPromQL and recording rules
Answer
Likely causes → group_left expects one series per match group on the right; there are two (e.g. different instance or job labels from two scrape paths).
Diagnose → Run the right-hand side alone and look for duplicates on the on(...) labels.
Fix → Reduce the right side with max by (pod, <labels you need>), or add the differing label to on(...).
Prevent → Avoid scraping the same exporter through two jobs.
More on PromQL and recording rules
A PromQL query in the UI returns `Empty query result` for a metric you can see on `/metrics`Beginner`rate(http_requests_total[1m])` returns nothing but `http_requests_total` has dataBeginner`rate()` applied to a gauge shows huge spikesBeginnerBinary operation fails: `many-to-many matching not allowed: matching labels must be unique on one side`AdvancedError ratio query returns no data during quiet hoursIntermediate`histogram_quantile` returns `NaN`Intermediate