From 4574bc66256eff6a86c47fab7480e60b20117dd7 Mon Sep 17 00:00:00 2001 From: Lorenzo Felletti Date: Mon, 16 Dec 2024 12:47:48 +0000 Subject: [PATCH] fix: expr string interpolation --- rules/kube_apiserver-availability.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/kube_apiserver-availability.libsonnet b/rules/kube_apiserver-availability.libsonnet index 93bb3ece0..25a63309a 100644 --- a/rules/kube_apiserver-availability.libsonnet +++ b/rules/kube_apiserver-availability.libsonnet @@ -51,7 +51,7 @@ record: 'cluster_verb_scope:apiserver_request_sli_duration_seconds_count:increase%s' % SLODays, expr: ||| sum by (%s, verb, scope) (cluster_verb_scope_le:apiserver_request_sli_duration_seconds_bucket:increase%s{le="+Inf"}) - ||| % [$._config.clusterLabel, SLODays, $._config.SLOs.apiserver.days], + ||| % [$._config.clusterLabel, SLODays], }, { record: 'apiserver_request:availability%s' % SLODays,