Merge "[Prometheus] Tweak K8SApiServerLatency to ignore DELETECOLLECTION"

This commit is contained in:
Zuul 2019-02-16 18:43:31 +00:00 committed by Gerrit Code Review
commit 27f4c66a80

View File

@ -1193,7 +1193,7 @@ conf:
description: Prometheus failed to scrape API server(s), or all API servers have disappeared from service discovery.
summary: API server unreachable
- alert: K8SApiServerLatency
expr: histogram_quantile(0.99, sum(apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH|PROXY"}) WITHOUT (instance, resource)) / 1e+06 > 1
expr: histogram_quantile(0.99, sum(apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH|PROXY|DELETECOLLECTION"}) WITHOUT (instance, resource)) / 1e+06 > 1
for: 10m
labels:
severity: warning