Skip to content
Snippets Groups Projects
Commit 30cbd769 authored by Frederic Branczyk's avatar Frederic Branczyk
Browse files

kube-prometheus: add PROXY verb to latency alert exclusion

parent 804f6c18
Branches
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ALERT K8SApiserverDown ...@@ -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: ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment