kube-prometheus: add PROXY verb to latency alert exclusion
This commit is contained in:
@@ -26,7 +26,7 @@ ALERT K8SApiserverDown
|
|||||||
ALERT K8SApiServerLatency
|
ALERT K8SApiServerLatency
|
||||||
IF histogram_quantile(
|
IF histogram_quantile(
|
||||||
0.99,
|
0.99,
|
||||||
sum without (instance,resource) (apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH"})
|
sum without (instance,resource) (apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH|PROXY"})
|
||||||
) / 1e6 > 1.0
|
) / 1e6 > 1.0
|
||||||
FOR 10m
|
FOR 10m
|
||||||
LABELS {
|
LABELS {
|
||||||
|
@@ -360,7 +360,7 @@ data:
|
|||||||
ALERT K8SApiServerLatency
|
ALERT K8SApiServerLatency
|
||||||
IF histogram_quantile(
|
IF histogram_quantile(
|
||||||
0.99,
|
0.99,
|
||||||
sum without (instance,resource) (apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH"})
|
sum without (instance,resource) (apiserver_request_latencies_bucket{verb!~"CONNECT|WATCHLIST|WATCH|PROXY"})
|
||||||
) / 1e6 > 1.0
|
) / 1e6 > 1.0
|
||||||
FOR 10m
|
FOR 10m
|
||||||
LABELS {
|
LABELS {
|
||||||
|
Reference in New Issue
Block a user