Which jobs contribute the most series?
IntermediateProductionRapid-Fire PromQL & LogQL
Answer
topk(10, count by (job) ({__name__=~".+"}))
Run it ad hoc, not on a dashboard, because it touches every series. prometheus_tsdb_head_series gives the total cheaply, and the /tsdb-status page lists top metrics and labels by cardinality.
More on Rapid-Fire PromQL & LogQL
Requests per second per service over the last 5 minutes?BeginnerPercentage of 5xx responses per service?Beginnerp99 latency per route from a histogram?IntermediateTop 5 pods by CPU usage in a namespace?BeginnerMemory working set as a percentage of the container limit?IntermediateWhich scrape targets are down right now?Beginner