Skip to content

Commit

Permalink
fix: expr string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzofelletti committed Dec 16, 2024
1 parent a9397d5 commit 4574bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/kube_apiserver-availability.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4574bc6

Please sign in to comment.