Skip to content

Commit

Permalink
Trim down pre-existing queries
Browse files Browse the repository at this point in the history
For balance, to retain about the same overall load on the server as
before.

Signed-off-by: Bryan Boreham <[email protected]>
  • Loading branch information
bboreham committed Oct 20, 2024
1 parent b74ac89 commit c66f365
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prombench/manifests/prombench/benchmark/6_loadgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit c66f365

Please sign in to comment.