addons: Fix prometheus K8SApiServerLatency alert rule
* https://github.com/coreos/prometheus-operator/issues/751
This commit is contained in:
parent
32bdda1b6c
commit
1cd262e712
|
@ -218,8 +218,8 @@ data:
|
||||||
disappeared from service discovery.
|
disappeared from service discovery.
|
||||||
summary: API server unreachable
|
summary: API server unreachable
|
||||||
- alert: K8SApiServerLatency
|
- alert: K8SApiServerLatency
|
||||||
expr: histogram_quantile(0.99, sum(apiserver_request_latencies_bucket{subresource!="log",verb!~"^(?:CONNECT|WATCHLIST|WATCH|PROXY)$"})
|
expr: histogram_quantile(0.99, sum(rate(apiserver_request_latencies_bucket{subresource!="log",verb!~"^(?:CONNECT|WATCHLIST|WATCH|PROXY)$"}[10m]))
|
||||||
WITHOUT (instance, resource)) / 1e+06 > 1
|
by (le)) / 1e+06 > 1
|
||||||
for: 10m
|
for: 10m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
Loading…
Reference in New Issue