Skip to content

Commit 504f4af

Browse files
authored
fix(examples): fix KeptnMetric in metrics example (#3667)
Signed-off-by: Moritz Wiesinger <[email protected]>
1 parent ff62ede commit 504f4af

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/support/metrics/metric.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@ metadata:
1515
spec:
1616
provider:
1717
name: my-provider
18-
query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}))'
18+
query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}[1m:10s]))'
1919
fetchIntervalSeconds: 10
20-
range:
21-
interval: "1m"

0 commit comments

Comments
 (0)