From 231e5318371a8d4ebfbfab5574c494743eb4b55c Mon Sep 17 00:00:00 2001 From: jupblb Date: Thu, 20 May 2021 17:26:22 +0200 Subject: [PATCH] Ignore exec subresource in APIResponsivenessPrometheus Failures are understandable as exec commands can last more than 1s, therefore they should be excluded from the API responsiveness measurement SLO so we can unblock the API availability measurement. --- .../measurement/common/slos/api_responsiveness_prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go b/clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go index c30b3382e3..13ec2a7f5d 100644 --- a/clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go +++ b/clusterloader2/pkg/measurement/common/slos/api_responsiveness_prometheus.go @@ -45,7 +45,7 @@ const ( currentAPICallMetricsVersion = "v1" - filters = `verb!="WATCH", subresource!="proxy"` + filters = `verb!="WATCH", subresource!="exec|proxy"` // latencyQuery matches description of the API call latency SLI and measure 99th percentaile over 5m windows //