Which scrape targets are down right now?
BeginnerProductionRapid-Fire PromQL & LogQL
Answer
up == 0
As a ratio per job: avg by (job) (up) < 0.9 alerts when more than 10% of a job's targets are down.
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 filesystems will fill up within 4 hours?Intermediate