From 504f4af74b87bbbb65a2f8f94c9ba53fcbb216ed Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> Date: Wed, 7 Aug 2024 08:52:37 +0200 Subject: [PATCH] fix(examples): fix KeptnMetric in metrics example (#3667) Signed-off-by: Moritz Wiesinger <moritz.wiesinger@dynatrace.com> --- examples/support/metrics/metric.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/support/metrics/metric.yaml b/examples/support/metrics/metric.yaml index a658d3e795..d2d9754c39 100644 --- a/examples/support/metrics/metric.yaml +++ b/examples/support/metrics/metric.yaml @@ -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"