From c66f3655b8f11c923407f23c96c89b18e80af7eb Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 20 Oct 2024 18:03:44 +0100 Subject: [PATCH] Trim down pre-existing queries For balance, to retain about the same overall load on the server as before. Signed-off-by: Bryan Boreham --- prombench/manifests/prombench/benchmark/6_loadgen.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prombench/manifests/prombench/benchmark/6_loadgen.yaml b/prombench/manifests/prombench/benchmark/6_loadgen.yaml index fd20d6e6c..86b72d6cb 100644 --- a/prombench/manifests/prombench/benchmark/6_loadgen.yaml +++ b/prombench/manifests/prombench/benchmark/6_loadgen.yaml @@ -20,7 +20,7 @@ data: - expr: codelab_api_http_requests_in_progress - expr: 'codelab_api_requests_total{method="GET",path="/api/bar",status="200"}' - name: aggr_instant - interval: 5s + interval: 15s type: instant queries: - expr: sum by(image) (container_memory_rss) @@ -45,7 +45,6 @@ data: queries: - expr: rate(codelab_api_requests_total{method=~"GET|POST"}[5m]) - expr: sum without(instance) (rate(codelab_api_requests_total{method=~"GET|POST"}[5m])) - - expr: histogram_quantile(0.99, sum by(path, le) (rate(codelab_api_request_duration_seconds_bucket{method="POST"}[5m]))) - expr: histogram_quantile(0.99, sum by(path, method, le) (rate(codelab_api_request_duration_seconds_bucket{method="POST"}[5m]))) - expr: histogram_quantile(0.99, sum by(instance, le) (rate(codelab_api_request_duration_seconds_bucket{method="POST"}[5m]))) - name: arithmetic_operation