Skip to content

Commit

Permalink
fix(examples): fix KeptnMetric in metrics example (#3667)
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies authored Aug 7, 2024
1 parent ff62ede commit 504f4af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/support/metrics/metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ metadata:
spec:
provider:
name: my-provider
query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}))'
query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}[1m:10s]))'
fetchIntervalSeconds: 10
range:
interval: "1m"

0 comments on commit 504f4af

Please sign in to comment.