From 07480b3f26aadc905dcc0d206493b76bc39844d6 Mon Sep 17 00:00:00 2001 From: HARSHIT NAGPAL Date: Wed, 21 Aug 2024 17:48:03 +0530 Subject: [PATCH] added-binary-arithmetic-operators-logical-operators-topk --- .../prombench/benchmark/6_loadgen.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/prombench/manifests/prombench/benchmark/6_loadgen.yaml b/prombench/manifests/prombench/benchmark/6_loadgen.yaml index 0c3b4d6ff..69f214136 100644 --- a/prombench/manifests/prombench/benchmark/6_loadgen.yaml +++ b/prombench/manifests/prombench/benchmark/6_loadgen.yaml @@ -48,6 +48,25 @@ data: - 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: binary_arithmetic_operators + interval: 15s + type: instant + queries: + - expr: sum(node_memory_MemAvailable_bytes) / sum(node_memory_MemTotal_bytes) + - expr: rate(node_network_transmit_bytes_total[5m]) * 8 + - expr: node_filesystem_avail_bytes / node_filesystem_size_bytes + - name: logical_operators + interval: 15s + type: instant + queries: + - expr: rate(node_cpu_seconds_total{mode="system"}[5m]) and rate(node_cpu_seconds_total{mode="user"}[5m]) + - expr: node_filesystem_avail_bytes unless node_filesystem_size_bytes + - expr: rate(node_network_receive_bytes_total[5m]) or rate(node_network_transmit_bytes_total[5m]) + - name: topk_example + interval: 15s + type: instant + queries: + - expr: topk(5, rate(http_requests_total[5m])) --- apiVersion: apps/v1 kind: Deployment