Loading src/webui/grafana_prom_load_generator.json +25 −56 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 7, "iteration": 1682521708178, "id": 9, "iteration": 1682525724520, "links": [], "liveNow": false, "panels": [ Loading @@ -36,7 +36,7 @@ "dashes": false, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "fill": 1, "fillGradient": 0, Loading Loading @@ -78,10 +78,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_started_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_started_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "started", Loading @@ -90,10 +90,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_completed_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_completed_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "completed", Loading @@ -102,10 +102,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_failed_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_failed_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "failed", Loading Loading @@ -159,7 +159,7 @@ "dataFormat": "tsbuckets", "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "gridPos": { "h": 8, Loading @@ -180,7 +180,7 @@ "targets": [ { "exemplar": true, "expr": "sum(\r\n max_over_time(tfs_[[component]]_rpc_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m]) -\r\n min_over_time(tfs_[[component]]_rpc_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m])\r\n) by (le)", "expr": "sum(\r\n max_over_time(tfs_loadgen_requests_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m]) -\r\n min_over_time(tfs_loadgen_requests_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m])\r\n) by (le)", "format": "heatmap", "instant": false, "interval": "1m", Loading Loading @@ -212,7 +212,7 @@ "dashes": false, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "fill": 1, "fillGradient": 0, Loading Loading @@ -253,7 +253,7 @@ "targets": [ { "exemplar": true, "expr": "sum(tfs_[[component]]_rpc_[[method]]_histogram_duration_sum{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_histogram_duration_sum{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "total time", Loading Loading @@ -304,25 +304,19 @@ { "allValue": ".*", "current": { "selected": true, "text": [ "setup", "teardown" ], "value": [ "setup", "teardown" ] "selected": false, "text": "setup", "value": "setup" }, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "definition": "metrics(tfs_loadgen_requests_)", "hide": 0, "includeAll": true, "includeAll": false, "label": "Method", "multi": true, "multi": false, "name": "method", "options": [], "query": { Loading Loading @@ -351,35 +345,9 @@ }, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "definition": "label_values(tfs_loadgen_requests_[[method]]_histogram_duration_bucket, pod)", "error": { "config": { "data": { "end": "1682522070", "match[]": "tfs_loadgen_requests_(setup|teardown)_histogram_duration_bucket", "start": "1682349270" }, "headers": { "Content-Type": "application/x-www-form-urlencoded", "X-Grafana-Org-Id": 1 }, "hideFromInspector": true, "method": "POST", "retry": 0, "url": "api/datasources/proxy/3/api/v1/series" }, "data": { "error": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "errorType": "bad_data", "message": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "status": "error" }, "message": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "status": 400, "statusText": "Bad Request" }, "hide": 0, "includeAll": true, "label": "Pod", Loading @@ -395,6 +363,7 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false Loading @@ -402,13 +371,13 @@ ] }, "time": { "from": "now-2d", "from": "now-15m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "TFS / Load Generator", "uid": "SDgbwzsVk", "version": 5, "title": "TFS / Load Generator Status", "uid": "tfs-loadgen-stats", "version": 3, "weekStart": "" } No newline at end of file Loading
src/webui/grafana_prom_load_generator.json +25 −56 Original line number Diff line number Diff line Loading @@ -24,8 +24,8 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 7, "iteration": 1682521708178, "id": 9, "iteration": 1682525724520, "links": [], "liveNow": false, "panels": [ Loading @@ -36,7 +36,7 @@ "dashes": false, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "fill": 1, "fillGradient": 0, Loading Loading @@ -78,10 +78,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_started_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_started_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "started", Loading @@ -90,10 +90,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_completed_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_completed_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "completed", Loading @@ -102,10 +102,10 @@ { "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "exemplar": true, "expr": "sum(tfs_loadgen_rpc_[[method]]_counter_requests_failed_total{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_counter_requests_failed_total{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "failed", Loading Loading @@ -159,7 +159,7 @@ "dataFormat": "tsbuckets", "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "gridPos": { "h": 8, Loading @@ -180,7 +180,7 @@ "targets": [ { "exemplar": true, "expr": "sum(\r\n max_over_time(tfs_[[component]]_rpc_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m]) -\r\n min_over_time(tfs_[[component]]_rpc_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m])\r\n) by (le)", "expr": "sum(\r\n max_over_time(tfs_loadgen_requests_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m]) -\r\n min_over_time(tfs_loadgen_requests_[[method]]_histogram_duration_bucket{pod=~\"[[pod]]\"}[1m])\r\n) by (le)", "format": "heatmap", "instant": false, "interval": "1m", Loading Loading @@ -212,7 +212,7 @@ "dashes": false, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "fill": 1, "fillGradient": 0, Loading Loading @@ -253,7 +253,7 @@ "targets": [ { "exemplar": true, "expr": "sum(tfs_[[component]]_rpc_[[method]]_histogram_duration_sum{pod=~\"[[pod]]\"})", "expr": "sum(tfs_loadgen_requests_[[method]]_histogram_duration_sum{pod=~\"[[pod]]\"})", "hide": false, "interval": "", "legendFormat": "total time", Loading Loading @@ -304,25 +304,19 @@ { "allValue": ".*", "current": { "selected": true, "text": [ "setup", "teardown" ], "value": [ "setup", "teardown" ] "selected": false, "text": "setup", "value": "setup" }, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "definition": "metrics(tfs_loadgen_requests_)", "hide": 0, "includeAll": true, "includeAll": false, "label": "Method", "multi": true, "multi": false, "name": "method", "options": [], "query": { Loading Loading @@ -351,35 +345,9 @@ }, "datasource": { "type": "prometheus", "uid": "uq1HQksVk" "uid": "prometheus" }, "definition": "label_values(tfs_loadgen_requests_[[method]]_histogram_duration_bucket, pod)", "error": { "config": { "data": { "end": "1682522070", "match[]": "tfs_loadgen_requests_(setup|teardown)_histogram_duration_bucket", "start": "1682349270" }, "headers": { "Content-Type": "application/x-www-form-urlencoded", "X-Grafana-Org-Id": 1 }, "hideFromInspector": true, "method": "POST", "retry": 0, "url": "api/datasources/proxy/3/api/v1/series" }, "data": { "error": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "errorType": "bad_data", "message": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "status": "error" }, "message": "invalid parameter \"match[]\": 1:22: parse error: unexpected \"(\"", "status": 400, "statusText": "Bad Request" }, "hide": 0, "includeAll": true, "label": "Pod", Loading @@ -395,6 +363,7 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false Loading @@ -402,13 +371,13 @@ ] }, "time": { "from": "now-2d", "from": "now-15m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "TFS / Load Generator", "uid": "SDgbwzsVk", "version": 5, "title": "TFS / Load Generator Status", "uid": "tfs-loadgen-stats", "version": 3, "weekStart": "" } No newline at end of file