From d014d4f934f8e022b54bef186b9f04de43cfeeef Mon Sep 17 00:00:00 2001 From: Zhaoxinxin <107842350+Liam-Zhao@users.noreply.github.com> Date: Tue, 15 Oct 2024 16:02:25 +0800 Subject: [PATCH] feat: add variable namespace (#23) Signed-off-by: zhaoxinxin <1186037180@qq.com> --- grafana/dashboards/client.json | 1116 +++++++++++++++++++-------- grafana/dashboards/manager.json | 288 ++++--- grafana/dashboards/scheduler.json | 1012 ++++++++++++++---------- grafana/dashboards/seed-client.json | 1113 +++++++++++++++++++------- 4 files changed, 2401 insertions(+), 1128 deletions(-) diff --git a/grafana/dashboards/client.json b/grafana/dashboards/client.json index 8a93cd6..77c3d64 100644 --- a/grafana/dashboards/client.json +++ b/grafana/dashboards/client.json @@ -1,53 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.4.1" - }, - { - "type": "panel", - "id": "piechart", - "name": "Pie chart", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -75,7 +26,7 @@ "fiscalYearStartMonth": 0, "gnetId": 21053, "graphTooltip": 0, - "id": null, + "id": 28, "links": [], "liveNow": false, "panels": [ @@ -98,8 +49,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -155,10 +107,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_version{}) by (git_version, git_commit)", + "expr": "sum(dragonfly_client_version{namespace=~\"$namespace\"}) by (git_version, git_commit)", "interval": "60", "legendFormat": "{{git_version}}-{{git_commit}}", "range": true, @@ -170,8 +122,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -227,10 +180,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_traffic{}) by (type)", + "expr": "sum(dragonfly_client_download_traffic{namespace=~\"$namespace\"}) by (type)", "interval": "60", "legendFormat": "{{type}}", "range": true, @@ -242,8 +195,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -299,10 +253,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_upload_traffic{})", + "expr": "sum(dragonfly_client_upload_traffic{namespace=~\"$namespace\"})", "interval": "60", "legendFormat": "total", "range": true, @@ -314,8 +268,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -371,10 +326,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_task_total{}) by (tag, app, priority)", + "expr": "sum(dragonfly_client_download_task_total{namespace=~\"$namespace\"}) by (tag, app, priority)", "interval": "60", "legendFormat": "{{tag}}-{{app}}-{{priority}}", "range": true, @@ -386,8 +341,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -443,10 +399,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_task_total{}) by (type)", + "expr": "sum(dragonfly_client_download_task_total{namespace=~\"$namespace\"}) by (type)", "interval": "60", "legendFormat": "{{type}}", "range": true, @@ -458,8 +414,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -515,10 +472,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_prefetch_task_total{}) by (tag, app, priority)", + "expr": "sum(dragonfly_client_prefetch_task_total{namespace=~\"$namespace\"}) by (tag, app, priority)", "interval": "60", "legendFormat": "{{tag}}-{{app}}-{{priority}}", "range": true, @@ -530,8 +487,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -545,6 +503,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -612,11 +571,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{}[$interval])) by (type)", + "expr": "sum(rate(dragonfly_client_download_traffic{namespace=~\"$namespace\"}[$interval])) by (type)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -632,8 +591,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -647,6 +607,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -714,11 +675,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{}[$interval]))", + "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -734,8 +695,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -749,6 +711,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -816,11 +779,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -836,8 +799,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -851,6 +815,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -918,11 +883,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -938,8 +903,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -953,6 +919,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1020,11 +987,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1040,8 +1007,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1055,6 +1023,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1122,11 +1091,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1142,8 +1111,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1157,6 +1127,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1224,11 +1195,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(dragonfly_client_concurrent_download_task_total{})", + "expr": "sum(dragonfly_client_concurrent_download_task_total{namespace=~\"$namespace\"})", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1242,6 +1213,288 @@ "title": "Concurrent Download", "type": "timeseries" }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "index": 0, + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "#EAB839", + "value": 95 + }, + { + "color": "red", + "value": 99 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 0, + "y": 45 + }, + "id": 107, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "(sum(rate(dragonfly_client_backend_request_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_backend_request_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_backend_request_total{namespace=~\"$namespace\"}[$interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Download Task Success Rate", + "type": "stat" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "#1f78c1", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ops" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 18, + "x": 6, + "y": 45 + }, + "id": 108, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{namespace=~\"$namespace\"}[$interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Backend Request QPS", + "type": "stat" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 49 + }, + "id": 109, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$interval]\n )\n ) \n)", + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$interval]\n )\n ) \n)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$interval]\n )\n ) \n)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Backend Request Duration", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -1252,7 +1505,7 @@ "h": 1, "w": 24, "x": 0, - "y": 45 + "y": 57 }, "id": 48, "panels": [], @@ -1261,8 +1514,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1305,7 +1559,7 @@ "h": 4, "w": 6, "x": 0, - "y": 46 + "y": 58 }, "id": 59, "maxDataPoints": 100, @@ -1314,6 +1568,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1325,16 +1580,16 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "(sum(rate(dragonfly_client_download_task_total{}[$interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1348,8 +1603,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1389,7 +1645,7 @@ "h": 4, "w": 18, "x": 6, - "y": 46 + "y": 58 }, "id": 60, "maxDataPoints": 100, @@ -1398,6 +1654,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1409,16 +1666,16 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_task_total{}[$interval]))", + "expr": "sum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1432,8 +1689,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1447,6 +1705,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1494,7 +1753,7 @@ "h": 8, "w": 12, "x": 0, - "y": 50 + "y": 62 }, "id": 61, "options": { @@ -1514,11 +1773,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_total{}[$interval])", + "expr": "rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval])", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1534,8 +1793,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1549,6 +1809,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1596,7 +1857,7 @@ "h": 8, "w": 12, "x": 12, - "y": 50 + "y": 62 }, "id": 97, "options": { @@ -1616,11 +1877,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_failure_total{}[$interval])", + "expr": "rate(dragonfly_client_download_task_failure_total{namespace=~\"$namespace\"}[$interval])", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1640,7 +1901,7 @@ "h": 1, "w": 24, "x": 0, - "y": 58 + "y": 70 }, "id": 75, "panels": [], @@ -1649,8 +1910,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1664,6 +1926,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1714,7 +1977,7 @@ "h": 7, "w": 12, "x": 0, - "y": 59 + "y": 71 }, "id": 76, "options": { @@ -1734,11 +1997,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -1748,10 +2011,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -1761,10 +2024,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -1777,8 +2040,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1792,6 +2056,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1842,7 +2107,7 @@ "h": 7, "w": 12, "x": 12, - "y": 59 + "y": 71 }, "id": 78, "options": { @@ -1862,11 +2127,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -1876,10 +2141,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -1889,10 +2154,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -1905,8 +2170,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1920,6 +2186,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1970,7 +2237,7 @@ "h": 7, "w": 12, "x": 0, - "y": 66 + "y": 78 }, "id": 79, "options": { @@ -1990,11 +2257,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2004,10 +2271,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2017,10 +2284,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2033,8 +2300,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2048,6 +2316,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2098,7 +2367,7 @@ "h": 7, "w": 12, "x": 12, - "y": 66 + "y": 78 }, "id": 80, "options": { @@ -2118,11 +2387,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2132,10 +2401,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2145,10 +2414,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2161,8 +2430,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2176,6 +2446,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2226,7 +2497,7 @@ "h": 7, "w": 12, "x": 0, - "y": 73 + "y": 85 }, "id": 81, "options": { @@ -2246,11 +2517,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2260,10 +2531,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2273,10 +2544,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2289,8 +2560,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2304,6 +2576,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2354,7 +2627,7 @@ "h": 7, "w": 12, "x": 12, - "y": 73 + "y": 85 }, "id": 82, "options": { @@ -2374,11 +2647,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2388,10 +2661,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2401,10 +2674,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2417,8 +2690,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2432,6 +2706,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2482,7 +2757,7 @@ "h": 7, "w": 12, "x": 0, - "y": 80 + "y": 92 }, "id": 83, "options": { @@ -2502,11 +2777,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2516,10 +2791,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2529,10 +2804,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2545,8 +2820,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2560,6 +2836,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2610,7 +2887,7 @@ "h": 7, "w": 12, "x": 12, - "y": 80 + "y": 92 }, "id": 84, "options": { @@ -2630,11 +2907,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2644,10 +2921,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2657,10 +2934,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2673,8 +2950,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2688,6 +2966,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2738,7 +3017,7 @@ "h": 7, "w": 12, "x": 0, - "y": 87 + "y": 99 }, "id": 85, "options": { @@ -2758,11 +3037,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2772,10 +3051,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2785,10 +3064,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2801,8 +3080,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2816,6 +3096,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2866,7 +3147,7 @@ "h": 7, "w": 12, "x": 12, - "y": 87 + "y": 99 }, "id": 86, "options": { @@ -2886,11 +3167,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2900,10 +3181,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2913,10 +3194,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2929,8 +3210,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2944,6 +3226,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2994,7 +3277,7 @@ "h": 7, "w": 12, "x": 0, - "y": 94 + "y": 106 }, "id": 87, "options": { @@ -3014,11 +3297,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3028,10 +3311,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3041,10 +3324,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3057,8 +3340,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3072,6 +3356,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3122,7 +3407,7 @@ "h": 7, "w": 12, "x": 12, - "y": 94 + "y": 106 }, "id": 88, "options": { @@ -3142,11 +3427,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3156,10 +3441,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3169,10 +3454,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3185,8 +3470,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3200,6 +3486,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3250,7 +3537,7 @@ "h": 7, "w": 12, "x": 0, - "y": 101 + "y": 113 }, "id": 89, "options": { @@ -3270,11 +3557,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3284,10 +3571,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3297,10 +3584,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3313,8 +3600,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3328,6 +3616,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3378,7 +3667,7 @@ "h": 7, "w": 12, "x": 12, - "y": 101 + "y": 113 }, "id": 90, "options": { @@ -3398,11 +3687,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3412,10 +3701,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3425,10 +3714,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3441,8 +3730,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3456,6 +3746,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3506,7 +3797,7 @@ "h": 7, "w": 12, "x": 0, - "y": 108 + "y": 120 }, "id": 91, "options": { @@ -3526,11 +3817,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3540,10 +3831,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3553,10 +3844,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3569,8 +3860,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3584,6 +3876,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3634,7 +3927,7 @@ "h": 7, "w": 12, "x": 12, - "y": 108 + "y": 120 }, "id": 92, "options": { @@ -3654,11 +3947,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3668,10 +3961,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3681,10 +3974,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3697,8 +3990,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3712,6 +4006,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3762,7 +4057,7 @@ "h": 7, "w": 12, "x": 0, - "y": 115 + "y": 127 }, "id": 93, "options": { @@ -3782,11 +4077,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3796,10 +4091,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3809,10 +4104,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3825,8 +4120,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3840,6 +4136,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3890,7 +4187,7 @@ "h": 7, "w": 12, "x": 12, - "y": 115 + "y": 127 }, "id": 94, "options": { @@ -3910,11 +4207,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3924,10 +4221,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3937,10 +4234,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3953,8 +4250,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3968,6 +4266,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4018,7 +4317,7 @@ "h": 7, "w": 12, "x": 0, - "y": 122 + "y": 134 }, "id": 95, "options": { @@ -4038,11 +4337,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4052,10 +4351,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -4065,10 +4364,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -4081,8 +4380,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4096,6 +4396,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4146,7 +4447,7 @@ "h": 7, "w": 12, "x": 12, - "y": 122 + "y": 134 }, "id": 96, "options": { @@ -4166,11 +4467,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4180,10 +4481,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -4193,10 +4494,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -4213,7 +4514,182 @@ "h": 1, "w": 24, "x": 0, - "y": 129 + "y": 141 + }, + "id": 106, + "panels": [], + "title": "Didk", + "type": "row" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 4, + "x": 0, + "y": 142 + }, + "id": 105, + "options": { + "displayLabels": [ + "percent" + ], + "legend": { + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "values": [ + "value" + ] + }, + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(dragonfly_client_disk_usage_space_total{namespace=~\"$namespace\"})/\nsum(dragonfly_client_disk_space_total{namespace=~\"$namespace\"})", + "instant": false, + "legendFormat": "Used Space", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "(sum(dragonfly_client_disk_space_total{namespace=~\"$namespace\"}) -\nsum(dragonfly_client_disk_usage_space_total{namespace=~\"$namespace\"})) / \nsum(dragonfly_client_disk_space_total{namespace=~\"$namespace\"})", + "hide": false, + "instant": false, + "legendFormat": "Unused Space", + "range": true, + "refId": "B" + } + ], + "title": "Disk Usage Space Total", + "type": "piechart" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 20, + "x": 4, + "y": 142 + }, + "id": 104, + "options": { + "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "text": {}, + "valueMode": "color" + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "topk(10,dragonfly_client_disk_usage_space_total{namespace=~\"$namespace\",container=\"client\"} /\ndragonfly_client_disk_space_total{namespace=~\"$namespace\",container=\"client\"})", + "format": "time_series", + "instant": true, + "legendFormat": "{{instance}}-{{container}}", + "range": false, + "refId": "A" + } + ], + "title": "Disk Usage Space Top 10", + "type": "bargauge" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 151 }, "id": 101, "panels": [], @@ -4222,8 +4698,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -4246,7 +4723,7 @@ "h": 10, "w": 24, "x": 0, - "y": 130 + "y": 152 }, "id": 102, "options": { @@ -4267,16 +4744,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_client_download_traffic{}[1d])) by (instance, container))", + "expr": "topk(10, sum(increase(dragonfly_client_download_traffic{namespace=~\"$namespace\",container=\"client\"}[1d])) by (instance, container))", "instant": true, "interval": "60", "legendFormat": "{{instance}}-{{container}}", @@ -4288,8 +4765,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -4312,7 +4790,7 @@ "h": 10, "w": 24, "x": 0, - "y": 140 + "y": 162 }, "id": 103, "options": { @@ -4333,16 +4811,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_client_upload_traffic{}[1d])) by (instance, container))", + "expr": "topk(10, sum(increase(dragonfly_client_upload_traffic{namespace=~\"$namespace\",container=\"client\"}[1d])) by (instance, container))", "instant": true, "interval": "60", "intervalFactor": 1, @@ -4363,7 +4841,7 @@ "h": 1, "w": 24, "x": 0, - "y": 150 + "y": 172 }, "id": 50, "panels": [], @@ -4372,8 +4850,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4387,6 +4866,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4434,7 +4914,7 @@ "h": 8, "w": 12, "x": 0, - "y": 151 + "y": 173 }, "id": 99, "options": { @@ -4454,11 +4934,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "avg(rate(process_cpu_seconds_total{container=~'client|seed-client'}[1m])) by (instance, container)", + "expr": "avg(rate(process_cpu_seconds_total{container=~'client|seed-client',namespace=~\"$namespace\"}[1m])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4474,8 +4954,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4489,6 +4970,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4536,7 +5018,7 @@ "h": 8, "w": 12, "x": 12, - "y": 151 + "y": 173 }, "id": 98, "options": { @@ -4556,11 +5038,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_virtual_memory_bytes{container=~\"client|seed-client\"}", + "expr": "process_virtual_memory_bytes{container=~\"client|seed-client\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4573,10 +5055,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "process_resident_memory_bytes{container=~\"client|seed-client\"}", + "expr": "process_resident_memory_bytes{container=~\"client|seed-client\",namespace=~\"$namespace\"}", "hide": false, "instant": false, "legendFormat": "{{instance}}-{{container}}-resident", @@ -4589,8 +5071,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4604,6 +5087,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4651,7 +5135,7 @@ "h": 8, "w": 12, "x": 0, - "y": 159 + "y": 181 }, "id": 62, "options": { @@ -4671,11 +5155,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_threads{}", + "expr": "process_threads{namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4691,8 +5175,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4706,6 +5191,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4753,7 +5239,7 @@ "h": 8, "w": 12, "x": 12, - "y": 159 + "y": 181 }, "id": 100, "options": { @@ -4773,11 +5259,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_open_fds{container=~\"client|seed-client\"}", + "expr": "process_open_fds{container=~\"client|seed-client\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4802,7 +5288,7 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": true, + "selected": false, "text": "1m", "value": "1m" }, @@ -4870,6 +5356,34 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "current": { + "selected": false, + "text": "cluster-a", + "value": "cluster-a" + }, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "definition": "label_values(dragonfly_client_version,namespace)", + "hide": 0, + "includeAll": false, + "label": "Namespace", + "multi": false, + "name": "namespace", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(dragonfly_client_version,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" } ] }, @@ -4905,6 +5419,6 @@ "timezone": "", "title": "Client", "uid": "UtXpSprnk", - "version": 3, + "version": 25, "weekStart": "" } diff --git a/grafana/dashboards/manager.json b/grafana/dashboards/manager.json index 90499ed..16eae96 100644 --- a/grafana/dashboards/manager.json +++ b/grafana/dashboards/manager.json @@ -1,47 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.4.1" - }, - { - "type": "panel", - "id": "piechart", - "name": "Pie chart", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -69,7 +26,7 @@ "fiscalYearStartMonth": 0, "gnetId": 15945, "graphTooltip": 0, - "id": null, + "id": 30, "links": [], "liveNow": false, "panels": [ @@ -88,8 +45,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -109,8 +67,8 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 3, + "h": 9, + "w": 4, "x": 0, "y": 1 }, @@ -143,10 +101,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_manager_version{}) by (git_version, git_commit)", + "expr": "sum(dragonfly_manager_version{namespace=~\"$namespace\"}) by (git_version, git_commit)", "interval": "60", "legendFormat": "{{git_version}}-{{git_commit}}", "range": true, @@ -166,7 +124,7 @@ "h": 1, "w": 24, "x": 0, - "y": 9 + "y": 10 }, "id": 44, "panels": [], @@ -175,8 +133,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -219,7 +178,7 @@ "h": 5, "w": 12, "x": 0, - "y": 10 + "y": 11 }, "id": 12, "maxDataPoints": 100, @@ -228,6 +187,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -239,15 +199,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"OK\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"NotFound\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"PermissionDenied\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"InvalidArgument\"}[$interval])))\n/ \nsum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\"}[$interval]))", + "expr": "(sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"OK\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"NotFound\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"PermissionDenied\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=\"InvalidArgument\",namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -261,8 +221,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -302,7 +263,7 @@ "h": 5, "w": 12, "x": 12, - "y": 10 + "y": 11 }, "id": 14, "maxDataPoints": 100, @@ -311,6 +272,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -322,15 +284,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\"}[$interval]))", + "expr": "sum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -344,8 +306,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -359,6 +322,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -427,7 +391,7 @@ "h": 9, "w": 24, "x": 0, - "y": 15 + "y": 16 }, "id": 26, "options": { @@ -449,10 +413,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\"}[$interval])) by (grpc_code, grpc_method)", + "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -466,8 +430,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -510,7 +475,7 @@ "h": 4, "w": 6, "x": 0, - "y": 24 + "y": 25 }, "id": 57, "maxDataPoints": 100, @@ -519,6 +484,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -530,15 +496,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_manager_search_scheduler_cluster_total{}[$interval])) -\nsum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{}[$interval])))\n/\nsum(rate(dragonfly_manager_search_scheduler_cluster_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{namespace=~\"$namespace\"}[$interval])))\n/\nsum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "instant": false, "interval": "60", @@ -552,8 +518,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -593,7 +560,7 @@ "h": 4, "w": 18, "x": 6, - "y": 24 + "y": 25 }, "id": 59, "maxDataPoints": 100, @@ -602,6 +569,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -613,15 +581,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{}[$interval]))", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -635,8 +603,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -650,6 +619,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -697,7 +667,7 @@ "h": 8, "w": 12, "x": 0, - "y": 28 + "y": 29 }, "id": 61, "options": { @@ -717,11 +687,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -733,8 +703,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -748,6 +719,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -795,7 +767,7 @@ "h": 8, "w": 12, "x": 12, - "y": 28 + "y": 29 }, "id": 63, "options": { @@ -815,11 +787,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -839,7 +811,7 @@ "h": 1, "w": 24, "x": 0, - "y": 36 + "y": 37 }, "id": 46, "panels": [], @@ -848,8 +820,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -892,7 +865,7 @@ "h": 5, "w": 12, "x": 0, - "y": 37 + "y": 38 }, "id": 36, "maxDataPoints": 100, @@ -901,6 +874,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -912,15 +886,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_requests_total{code=~\"[12]..\"}[$interval]))\n/ \nsum(rate(dragonfly_manager_requests_total{}[$interval]))", + "expr": "sum(rate(dragonfly_manager_requests_total{code=~\"[12]..\",namespace=~\"$namespace\"}[$interval]))\n/ \nsum(rate(dragonfly_manager_requests_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -934,8 +908,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -975,7 +950,7 @@ "h": 5, "w": 12, "x": 12, - "y": 37 + "y": 38 }, "id": 38, "maxDataPoints": 100, @@ -984,6 +959,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -995,15 +971,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_requests_total{}[$interval]))", + "expr": "sum(rate(dragonfly_manager_requests_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1017,8 +993,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1032,6 +1009,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1100,7 +1078,7 @@ "h": 7, "w": 12, "x": 0, - "y": 42 + "y": 43 }, "id": 40, "options": { @@ -1122,11 +1100,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_manager_requests_total{url!=\"/healthy/\"}[$interval])) by (code, method, url)", + "expr": "sum(rate(dragonfly_manager_requests_total{url!=\"/healthy/\",namespace=~\"$namespace\"}[$interval])) by (code, method, url)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1140,8 +1118,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1155,6 +1134,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 50, "gradientMode": "none", @@ -1202,7 +1182,7 @@ "h": 7, "w": 12, "x": 12, - "y": 42 + "y": 43 }, "id": 42, "options": { @@ -1222,11 +1202,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(increase(dragonfly_manager_request_duration_seconds_sum{}[$interval]) * 1000 * 1000 / increase(dragonfly_manager_request_duration_seconds_count{}[$interval])) by (instance)", + "expr": "sum(increase(dragonfly_manager_request_duration_seconds_sum{namespace=~\"$namespace\"}[$interval]) * 1000 * 1000 / increase(dragonfly_manager_request_duration_seconds_count{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -1246,7 +1226,7 @@ "h": 1, "w": 24, "x": 0, - "y": 49 + "y": 50 }, "id": 48, "panels": [], @@ -1255,8 +1235,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1270,6 +1251,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1317,7 +1299,7 @@ "h": 8, "w": 12, "x": 0, - "y": 50 + "y": 51 }, "id": 32, "options": { @@ -1339,15 +1321,17 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_goroutines{container=\"manager\"}", + "expr": "go_goroutines{container=\"manager\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}", "metric": "go_goroutines", + "range": true, "refId": "A", "step": 4 } @@ -1357,8 +1341,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1372,6 +1357,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1419,7 +1405,7 @@ "h": 8, "w": 12, "x": 12, - "y": 50 + "y": 51 }, "id": 30, "options": { @@ -1439,15 +1425,17 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_gc_duration_seconds{container=\"manager\"}", + "expr": "go_gc_duration_seconds{container=\"manager\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-{{quantile}}", "metric": "go_gc_duration_seconds", + "range": true, "refId": "A", "step": 4 } @@ -1457,8 +1445,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1472,6 +1461,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1532,7 +1522,7 @@ "h": 6, "w": 12, "x": 0, - "y": 58 + "y": 59 }, "id": 28, "options": { @@ -1552,30 +1542,34 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "process_resident_memory_bytes{}", + "expr": "process_resident_memory_bytes{namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-resident", "metric": "process_resident_memory_bytes", + "range": true, "refId": "A", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "process_virtual_memory_bytes{component=\"manager\"}", + "expr": "process_virtual_memory_bytes{component=\"manager\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-virtual", "metric": "process_virtual_memory_bytes", + "range": true, "refId": "B", "step": 4 } @@ -1585,8 +1579,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1600,6 +1595,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1660,7 +1656,7 @@ "h": 6, "w": 12, "x": 12, - "y": 58 + "y": 59 }, "id": 34, "options": { @@ -1680,56 +1676,64 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_alloc_bytes{container=\"scheduler\"}", + "expr": "go_memstats_alloc_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-bytes_allocated", "metric": "go_memstats_alloc_bytes", + "range": true, "refId": "A", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_stack_inuse_bytes{container=\"manager\"}", + "expr": "go_memstats_stack_inuse_bytes{container=\"manager\",namespace=~\"$namespace\"}", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-stack_inuse", "metric": "go_memstats_stack_inuse_bytes", + "range": true, "refId": "C", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_heap_inuse_bytes{container=\"manager\"}", + "expr": "go_memstats_heap_inuse_bytes{container=\"manager\",namespace=~\"$namespace\"}", "hide": false, "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-heap_inuse", "metric": "go_memstats_heap_inuse_bytes", + "range": true, "refId": "D", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "rate(go_memstats_alloc_bytes_total{container=\"manager\"}[30s])", + "expr": "rate(go_memstats_alloc_bytes_total{container=\"manager\",namespace=~\"$namespace\"}[30s])", "hide": false, "interval": "", "legendFormat": "{{instance}}-alloc_rate", + "range": true, "refId": "B" } ], @@ -1747,7 +1751,7 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": true, + "selected": false, "text": "1m", "value": "1m" }, @@ -1815,6 +1819,34 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "current": { + "selected": false, + "text": "cluster-a", + "value": "cluster-a" + }, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "definition": "label_values(dragonfly_manager_version,namespace)", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(dragonfly_manager_version,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" } ] }, @@ -1850,6 +1882,6 @@ "timezone": "", "title": "Manager", "uid": "TL-e3c9nz", - "version": 2, + "version": 5, "weekStart": "" } diff --git a/grafana/dashboards/scheduler.json b/grafana/dashboards/scheduler.json index 39146eb..3bdce9d 100644 --- a/grafana/dashboards/scheduler.json +++ b/grafana/dashboards/scheduler.json @@ -1,53 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.4.1" - }, - { - "type": "panel", - "id": "piechart", - "name": "Pie chart", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -75,7 +26,7 @@ "fiscalYearStartMonth": 0, "gnetId": 15944, "graphTooltip": 0, - "id": null, + "id": 32, "links": [], "liveNow": false, "panels": [ @@ -98,8 +49,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -153,10 +105,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_scheduler_version{}) by (git_version, git_commit)", + "expr": "sum(dragonfly_scheduler_version{namespace=~\"$namespace\"}) by (git_version, git_commit)", "interval": "60", "legendFormat": "{{git_version}}-{{git_commit}}", "range": true, @@ -168,8 +120,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -225,11 +178,13 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, - "expr": "sum(dragonfly_scheduler_traffic{}) by (type)", + "editorMode": "code", + "expr": "sum(dragonfly_scheduler_traffic{namespace=~\"$namespace\"}) by (type)", "interval": "60", "legendFormat": "{{type}}", + "range": true, "refId": "A" } ], @@ -238,8 +193,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -293,10 +249,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_scheduler_register_peer_total{}) by (task_type)", + "expr": "sum(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}) by (task_type)", "interval": "60", "legendFormat": "{{task_type}}", "range": true, @@ -308,8 +264,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -363,10 +320,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_scheduler_register_peer_total{}) by (priority)", + "expr": "sum(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}) by (priority)", "interval": "60", "legendFormat": "{{priority}}", "range": true, @@ -378,8 +335,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -433,10 +391,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_scheduler_register_peer_total{}) by (task_app)", + "expr": "sum(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}) by (task_app)", "interval": "60", "legendFormat": "{{task_app}}", "range": true, @@ -448,8 +406,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -503,10 +462,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_scheduler_register_peer_total{}) by (task_tag)", + "expr": "sum(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}) by (task_tag)", "interval": "60", "legendFormat": "{{task_tag}}", "range": true, @@ -518,8 +477,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -533,6 +493,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -601,10 +562,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"REMOTE_PEER\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"REMOTE_PEER\",namespace=~\"$namespace\"}[$interval]))", "forceInterval": false, "instant": false, "interval": "60", @@ -617,8 +578,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -632,6 +594,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -700,10 +663,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"BACK_TO_SOURCE\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"BACK_TO_SOURCE\",namespace=~\"$namespace\"}[$interval]))", "forceInterval": false, "instant": false, "interval": "60", @@ -716,8 +679,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -731,6 +695,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -799,10 +764,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\"}[1d]))", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1d]))", "forceInterval": false, "instant": false, "interval": "60", @@ -815,8 +780,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -830,6 +796,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -897,10 +864,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\"}[1d]))", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1d]))", "instant": false, "interval": "60", "legendFormat": "", @@ -912,8 +879,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -927,6 +895,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -994,11 +963,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(dragonfly_scheduler_concurrent_schedule_total{}) by (instance)", + "expr": "sum(dragonfly_scheduler_concurrent_schedule_total{namespace=~\"$namespace\"}) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -1023,8 +992,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1038,6 +1008,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1108,11 +1079,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"1\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"1\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1125,8 +1096,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1140,6 +1112,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1210,11 +1183,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"2\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"2\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1227,8 +1200,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1242,6 +1216,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1312,11 +1287,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"3\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"3\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1329,8 +1304,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1344,6 +1320,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1414,11 +1391,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"4\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"4\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1431,8 +1408,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1446,6 +1424,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1516,11 +1495,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"5\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"5\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1533,8 +1512,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1548,6 +1528,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1618,11 +1599,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"6\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"6\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1635,8 +1616,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1650,6 +1632,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1720,11 +1703,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"7\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"7\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1737,8 +1720,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1752,6 +1736,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1822,11 +1807,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"8\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"8\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1839,8 +1824,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1854,6 +1840,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1924,11 +1911,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"9\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"9\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -1941,8 +1928,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1956,6 +1944,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2026,11 +2015,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"10\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"10\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2043,8 +2032,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2058,6 +2048,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2091,7 +2082,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2127,11 +2119,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"11\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"11\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2144,8 +2136,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2159,6 +2152,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2192,7 +2186,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2228,11 +2223,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"12\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"12\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2245,8 +2240,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2260,6 +2256,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2293,7 +2290,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2329,11 +2327,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"13\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"13\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2346,8 +2344,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2361,6 +2360,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2394,7 +2394,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2430,11 +2431,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"14\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"14\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2447,8 +2448,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2462,6 +2464,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2495,7 +2498,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2531,11 +2535,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"15\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"15\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2548,8 +2552,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2563,6 +2568,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2596,7 +2602,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2632,11 +2639,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"16\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"16\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2649,8 +2656,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2664,6 +2672,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2697,7 +2706,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2733,11 +2743,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"17\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"17\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2750,8 +2760,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2765,6 +2776,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2798,7 +2810,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2834,11 +2847,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"18\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"18\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2851,8 +2864,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2866,6 +2880,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2899,7 +2914,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -2935,11 +2951,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"19\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"19\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -2952,8 +2968,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2967,6 +2984,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3000,7 +3018,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -3036,11 +3055,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"20\"}", + "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"20\",namespace=~\"$namespace\"}", "instant": false, "interval": "60", "legendFormat": "{{instance}}-{{quantile}}", @@ -3070,8 +3089,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -3115,16 +3135,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"download\"}[1d])) by (host_ip))", + "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1d])) by (host_ip))", "instant": true, "interval": "60", "legendFormat": "{{host_ip}}", @@ -3136,8 +3156,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -3181,16 +3202,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"upload\"}[1d])) by (host_ip))", + "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1d])) by (host_ip))", "instant": true, "interval": "60", "intervalFactor": 1, @@ -3203,8 +3224,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -3219,6 +3241,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -3286,10 +3309,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\"}[1m])) by (host_ip)", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1m])) by (host_ip)", "hide": false, "interval": "60", "legendFormat": "{{host_ip}}", @@ -3302,8 +3325,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -3318,6 +3342,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -3385,10 +3410,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\"}[1m])) by (host_ip)", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1m])) by (host_ip)", "hide": false, "interval": "60", "legendFormat": "{{host_ip}}", @@ -3418,8 +3443,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3471,6 +3497,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -3482,15 +3509,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"OK\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"NotFound\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"PermissionDenied\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"InvalidArgument\"}[$interval])))\n/ \nsum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\"}[$interval]))", + "expr": "(sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"OK\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"NotFound\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"PermissionDenied\",namespace=~\"$namespace\"}[$interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"InvalidArgument\",namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -3504,8 +3531,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3554,6 +3582,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -3565,15 +3594,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\"}[$interval]))", + "expr": "sum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -3587,8 +3616,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3602,6 +3632,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3692,10 +3723,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\"}[$interval])) by (grpc_code, grpc_method)", + "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -3709,8 +3740,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3762,6 +3794,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -3773,15 +3806,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_download_peer_finished_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_finished_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_download_peer_finished_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_finished_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -3795,8 +3828,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3845,6 +3879,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -3856,15 +3891,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -3878,8 +3913,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3893,6 +3929,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -3960,11 +3997,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{}[$interval])) by (instance, host_type)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", "hide": false, "interval": "60", "legendFormat": "{{instance}}-{{host_type}}", @@ -3977,8 +4014,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3992,6 +4030,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4059,11 +4098,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_failure_total{}[$interval])) by (instance, host_type)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", "hide": false, "interval": "60", "legendFormat": "{{instance}}-{{host_type}}", @@ -4076,8 +4115,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4091,6 +4131,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4158,11 +4199,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_finished_failure_total{}[$interval])) by (instance, host_type)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", "hide": false, "interval": "60", "legendFormat": "{{instance}}-{{host_type}}", @@ -4175,8 +4216,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -4229,6 +4271,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -4240,15 +4283,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_announce_peer_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_announce_peer_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_peer_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_announce_peer_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -4262,8 +4305,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4312,6 +4356,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -4323,15 +4368,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -4345,8 +4390,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4360,6 +4406,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4390,7 +4437,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4426,11 +4474,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -4442,8 +4490,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4457,6 +4506,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4487,7 +4537,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4523,11 +4574,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_peer_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -4539,8 +4590,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4562,7 +4614,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -4591,6 +4644,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -4602,15 +4656,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_register_peer_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_register_peer_failure_total{}[$interval])))\n/\nsum(rate(dragonfly_scheduler_register_peer_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_register_peer_failure_total{namespace=~\"$namespace\"}[$interval])))\n/\nsum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "instant": false, "interval": "60", @@ -4624,8 +4678,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4648,7 +4703,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4673,6 +4729,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -4684,15 +4741,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_register_peer_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -4706,8 +4763,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4721,6 +4779,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4751,7 +4810,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4787,11 +4847,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_register_peer_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -4803,8 +4863,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4818,6 +4879,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -4848,7 +4910,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4884,11 +4947,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(increase(dragonfly_scheduler_register_peer_failure_total{}[$interval])) by (instance)", + "expr": "sum(increase(dragonfly_scheduler_register_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -4900,8 +4963,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4923,7 +4987,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -4952,6 +5017,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -4963,15 +5029,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_download_peer_started_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_started_failure_total{}[$interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_started_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_started_failure_total{namespace=~\"$namespace\"}[$interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "instant": false, "interval": "60", @@ -4985,8 +5051,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5009,7 +5076,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5034,6 +5102,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -5045,15 +5114,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5067,8 +5136,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5082,6 +5152,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5112,7 +5183,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5148,11 +5220,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5164,8 +5236,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5179,6 +5252,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5209,7 +5283,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5245,11 +5320,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5261,8 +5336,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5284,7 +5360,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -5313,6 +5390,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -5324,15 +5402,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{}[$interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{namespace=~\"$namespace\"}[$interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "instant": false, "interval": "60", @@ -5346,8 +5424,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5370,7 +5449,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5395,6 +5475,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -5406,15 +5487,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5428,8 +5509,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5443,6 +5525,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5473,7 +5556,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5509,11 +5593,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5525,8 +5609,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5540,6 +5625,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5570,7 +5656,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5606,11 +5693,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5622,8 +5709,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -5646,7 +5734,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -5675,6 +5764,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -5686,15 +5776,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_download_piece_finished_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_download_piece_finished_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_download_piece_finished_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_download_piece_finished_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5708,8 +5798,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5732,7 +5823,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5757,6 +5849,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -5768,15 +5861,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5790,8 +5883,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5805,6 +5899,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5835,7 +5930,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5871,11 +5967,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5887,8 +5983,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5902,6 +5999,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -5932,7 +6030,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5968,11 +6067,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -5984,8 +6083,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -5999,6 +6099,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -6029,7 +6130,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6065,11 +6167,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_back_to_source_finished_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_piece_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -6081,8 +6183,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -6105,7 +6208,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6134,6 +6238,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6145,15 +6250,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_stat_peer_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_stat_peer_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_peer_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_stat_peer_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6167,8 +6272,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6191,7 +6297,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6216,6 +6323,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6227,15 +6335,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6249,8 +6357,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6264,6 +6373,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -6294,7 +6404,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6330,11 +6441,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -6346,8 +6457,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6361,6 +6473,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -6391,7 +6504,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6427,11 +6541,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_peer_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -6443,8 +6557,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -6467,7 +6582,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6496,6 +6612,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6507,15 +6624,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_leave_peer_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_leave_peer_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_peer_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_leave_peer_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6529,8 +6646,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6553,7 +6671,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6578,6 +6697,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6589,15 +6709,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6611,8 +6731,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6626,6 +6747,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -6656,7 +6778,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6692,11 +6815,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -6708,8 +6831,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6723,6 +6847,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -6753,7 +6878,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6789,11 +6915,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_peer_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -6805,8 +6931,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -6829,7 +6956,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6858,6 +6986,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6869,15 +6998,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_stat_task_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_stat_task_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_task_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_stat_task_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6891,8 +7020,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6915,7 +7045,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -6940,6 +7071,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -6951,15 +7083,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_stat_task_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6973,8 +7105,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -6988,6 +7121,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7018,7 +7152,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7054,11 +7189,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_task_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7070,8 +7205,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7085,6 +7221,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7115,7 +7252,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7151,11 +7289,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_task_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_task_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7167,8 +7305,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -7191,7 +7330,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -7220,6 +7360,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -7231,15 +7372,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_announce_host_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_announce_host_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_host_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_announce_host_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7253,8 +7394,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7277,7 +7419,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7302,6 +7445,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -7313,15 +7457,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_announce_host_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7335,8 +7479,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7350,6 +7495,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7380,7 +7526,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7416,11 +7563,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_host_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7432,8 +7579,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7447,6 +7595,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7477,7 +7626,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7513,11 +7663,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_host_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_host_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7529,8 +7679,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -7553,7 +7704,8 @@ "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "#299c46", + "value": null }, { "color": "rgba(237, 129, 40, 0.89)", @@ -7582,6 +7734,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -7593,15 +7746,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_scheduler_leave_host_total{}[$interval])) -\nsum(rate(dragonfly_scheduler_leave_host_failure_total{}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_host_total{}[$interval]))", + "expr": "(sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_scheduler_leave_host_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7615,8 +7768,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7639,7 +7793,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7664,6 +7819,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -7675,15 +7831,15 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_leave_host_total{}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7697,8 +7853,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7712,6 +7869,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7742,7 +7900,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7778,11 +7937,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_host_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7794,8 +7953,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7809,6 +7969,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 60, "gradientMode": "none", @@ -7839,7 +8000,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -7875,11 +8037,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_host_failure_total{}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_host_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -7908,8 +8070,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -7923,6 +8086,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -7992,15 +8156,17 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_goroutines{container=\"scheduler\"}", + "expr": "go_goroutines{container=\"scheduler\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}", "metric": "go_goroutines", + "range": true, "refId": "A", "step": 4 } @@ -8010,8 +8176,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -8025,6 +8192,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -8092,15 +8260,17 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_gc_duration_seconds{container=\"scheduler\"}", + "expr": "go_gc_duration_seconds{container=\"scheduler\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-{{quantile}}", "metric": "go_gc_duration_seconds", + "range": true, "refId": "A", "step": 4 } @@ -8110,8 +8280,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -8125,6 +8296,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -8205,30 +8377,34 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "process_resident_memory_bytes{}", + "expr": "process_resident_memory_bytes{namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-resident", "metric": "process_resident_memory_bytes", + "range": true, "refId": "A", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "process_virtual_memory_bytes{container=\"scheduler\"}", + "expr": "process_virtual_memory_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-virtual", "metric": "process_virtual_memory_bytes", + "range": true, "refId": "B", "step": 4 } @@ -8238,8 +8414,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -8253,6 +8430,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -8333,52 +8511,60 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_alloc_bytes{container=\"scheduler\"}", + "expr": "go_memstats_alloc_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-bytes_allocated", "metric": "process_resident_memory_bytes", + "range": true, "refId": "A", "step": 4 }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_stack_inuse_bytes{container=\"scheduler\"}", + "expr": "go_memstats_stack_inuse_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-stack_inuse", + "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "go_memstats_heap_inuse_bytes{container=\"scheduler\"}", + "expr": "go_memstats_heap_inuse_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-heap_inuse", + "range": true, "refId": "D" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, + "editorMode": "code", "exemplar": true, - "expr": "rate(go_memstats_alloc_bytes_total{container=\"scheduler\"}[30s])", + "expr": "rate(go_memstats_alloc_bytes_total{container=\"scheduler\",namespace=~\"$namespace\"}[30s])", "hide": false, "interval": "", "legendFormat": "{{instance}}-alloc_rate", + "range": true, "refId": "B" } ], @@ -8396,7 +8582,7 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": true, + "selected": false, "text": "1m", "value": "1m" }, @@ -8464,6 +8650,34 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "current": { + "selected": false, + "text": "cluster-a", + "value": "cluster-a" + }, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "definition": "label_values(dragonfly_scheduler_version,namespace)", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(dragonfly_scheduler_version,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" } ] }, @@ -8499,6 +8713,6 @@ "timezone": "", "title": "Scheduler", "uid": "lj4R659nk", - "version": 5, + "version": 19, "weekStart": "" } diff --git a/grafana/dashboards/seed-client.json b/grafana/dashboards/seed-client.json index f07c756..403ab50 100644 --- a/grafana/dashboards/seed-client.json +++ b/grafana/dashboards/seed-client.json @@ -1,53 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.4.1" - }, - { - "type": "panel", - "id": "piechart", - "name": "Pie chart", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -75,7 +26,7 @@ "fiscalYearStartMonth": 0, "gnetId": 21054, "graphTooltip": 0, - "id": null, + "id": 31, "links": [], "liveNow": false, "panels": [ @@ -98,8 +49,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -155,10 +107,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_version{container=\"seed-client\"}) by (git_version, git_commit)", + "expr": "sum(dragonfly_client_version{container=\"seed-client\",namespace=~\"$namespace\"}) by (git_version, git_commit)", "interval": "60", "legendFormat": "{{git_version}}-{{git_commit}}", "range": true, @@ -170,8 +122,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -227,10 +180,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_traffic{container=\"seed-client\"}) by (type)", + "expr": "sum(dragonfly_client_download_traffic{container=\"seed-client\",namespace=~\"$namespace\"}) by (type)", "interval": "60", "legendFormat": "{{type}}", "range": true, @@ -242,8 +195,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -299,10 +253,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_upload_traffic{container=\"seed-client\"})", + "expr": "sum(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"})", "interval": "60", "legendFormat": "total", "range": true, @@ -314,8 +268,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -371,10 +326,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_task_total{container=\"seed-client\"}) by (tag, app, priority)", + "expr": "sum(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}) by (tag, app, priority)", "interval": "60", "legendFormat": "{{tag}}-{{app}}-{{priority}}", "range": true, @@ -386,8 +341,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -443,10 +399,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_download_task_total{container=\"seed-client\"}) by (type)", + "expr": "sum(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}) by (type)", "interval": "60", "legendFormat": "{{type}}", "range": true, @@ -458,8 +414,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -515,10 +472,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(dragonfly_client_prefetch_task_total{container=\"seed-client\"}) by (tag, app, priority)", + "expr": "sum(dragonfly_client_prefetch_task_total{container=\"seed-client\",namespace=~\"$namespace\"}) by (tag, app, priority)", "interval": "60", "legendFormat": "{{tag}}-{{app}}-{{priority}}", "range": true, @@ -530,8 +487,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -545,6 +503,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -612,11 +571,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{container=\"seed-client\"}[$interval])) by (type)", + "expr": "sum(rate(dragonfly_client_download_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (type)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -632,8 +591,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -647,6 +607,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -714,11 +675,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -734,8 +695,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -749,6 +711,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -816,11 +779,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",container=\"seed-client\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -836,8 +799,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -851,6 +815,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -918,11 +883,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",container=\"seed-client\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -938,8 +903,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -953,6 +919,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1020,11 +987,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",container=\"seed-client\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1040,8 +1007,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1055,6 +1023,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1122,11 +1091,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1142,8 +1111,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1157,6 +1127,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1224,11 +1195,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(dragonfly_client_concurrent_download_task_total{container=\"seed-client\"})", + "expr": "sum(dragonfly_client_concurrent_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"})", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1242,6 +1213,288 @@ "title": "Concurrent Download", "type": "timeseries" }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "index": 0, + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "#EAB839", + "value": 95 + }, + { + "color": "red", + "value": 99 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 0, + "y": 45 + }, + "id": 104, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "(sum(rate(dragonfly_client_backend_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_backend_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_backend_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Backend Request Success Rate", + "type": "stat" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "#1f78c1", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ops" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 18, + "x": 6, + "y": 45 + }, + "id": 106, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Backend Request QPS", + "type": "stat" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 49 + }, + "id": 105, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\",container=\"seed-client\",\n }[$interval]\n )\n ) \n)", + "instant": false, + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\",container=\"seed-client\",\n }[$interval]\n )\n ) \n)", + "hide": false, + "instant": false, + "legendFormat": "p95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\",container=\"seed-client\",\n }[$interval]\n )\n ) \n)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Backend Request Duration", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -1252,7 +1505,7 @@ "h": 1, "w": 24, "x": 0, - "y": 45 + "y": 57 }, "id": 48, "panels": [], @@ -1261,8 +1514,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1305,7 +1559,7 @@ "h": 4, "w": 6, "x": 0, - "y": 46 + "y": 58 }, "id": 59, "maxDataPoints": 100, @@ -1314,6 +1568,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1325,16 +1580,16 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "(sum(rate(dragonfly_client_download_task_total{container=\"seed-client\"}[$interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{container=\"seed-client\"}[$interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{container=\"seed-client\"}[$interval]))", + "expr": "(sum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1348,8 +1603,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1389,7 +1645,7 @@ "h": 4, "w": 18, "x": 6, - "y": 46 + "y": 58 }, "id": 60, "maxDataPoints": 100, @@ -1398,6 +1654,7 @@ "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" @@ -1409,16 +1666,16 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_task_total{container=\"seed-client\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -1432,8 +1689,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1447,6 +1705,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1494,7 +1753,7 @@ "h": 8, "w": 12, "x": 0, - "y": 50 + "y": 62 }, "id": 61, "options": { @@ -1514,11 +1773,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_total{container=\"seed-client\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1534,8 +1793,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1549,6 +1809,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1596,7 +1857,7 @@ "h": 8, "w": 12, "x": 12, - "y": 50 + "y": 62 }, "id": 97, "options": { @@ -1616,11 +1877,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_failure_total{container=\"seed-client\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1640,7 +1901,7 @@ "h": 1, "w": 24, "x": 0, - "y": 58 + "y": 70 }, "id": 75, "panels": [], @@ -1649,8 +1910,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1664,6 +1926,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1714,7 +1977,7 @@ "h": 7, "w": 12, "x": 0, - "y": 59 + "y": 71 }, "id": 76, "options": { @@ -1734,11 +1997,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -1748,10 +2011,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -1761,10 +2024,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -1777,8 +2040,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1792,6 +2056,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1842,7 +2107,7 @@ "h": 7, "w": 12, "x": 12, - "y": 59 + "y": 71 }, "id": 78, "options": { @@ -1862,11 +2127,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -1876,10 +2141,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -1889,10 +2154,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -1906,7 +2171,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -1920,6 +2185,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -1970,7 +2236,7 @@ "h": 7, "w": 12, "x": 0, - "y": 66 + "y": 78 }, "id": 79, "options": { @@ -1990,7 +2256,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, @@ -2004,7 +2270,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$interval])) by (le))", @@ -2017,7 +2283,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$interval])) by (le))", @@ -2033,8 +2299,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2048,6 +2315,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2098,7 +2366,7 @@ "h": 7, "w": 12, "x": 12, - "y": 66 + "y": 78 }, "id": 80, "options": { @@ -2118,11 +2386,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2132,10 +2400,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2145,10 +2413,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2161,8 +2429,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2176,6 +2445,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2226,7 +2496,7 @@ "h": 7, "w": 12, "x": 0, - "y": 73 + "y": 85 }, "id": 81, "options": { @@ -2246,11 +2516,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2260,10 +2530,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2273,10 +2543,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2289,8 +2559,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2304,6 +2575,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2354,7 +2626,7 @@ "h": 7, "w": 12, "x": 12, - "y": 73 + "y": 85 }, "id": 82, "options": { @@ -2374,11 +2646,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2388,10 +2660,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2401,10 +2673,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2417,8 +2689,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2432,6 +2705,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2482,7 +2756,7 @@ "h": 7, "w": 12, "x": 0, - "y": 80 + "y": 92 }, "id": 83, "options": { @@ -2502,11 +2776,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2516,10 +2790,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2529,10 +2803,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2545,8 +2819,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2560,6 +2835,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2610,7 +2886,7 @@ "h": 7, "w": 12, "x": 12, - "y": 80 + "y": 92 }, "id": 84, "options": { @@ -2630,11 +2906,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2644,10 +2920,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2657,10 +2933,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2673,8 +2949,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2688,6 +2965,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2738,7 +3016,7 @@ "h": 7, "w": 12, "x": 0, - "y": 87 + "y": 99 }, "id": 85, "options": { @@ -2758,11 +3036,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2772,10 +3050,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2785,10 +3063,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2801,8 +3079,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2816,6 +3095,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2866,7 +3146,7 @@ "h": 7, "w": 12, "x": 12, - "y": 87 + "y": 99 }, "id": 86, "options": { @@ -2886,11 +3166,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2900,10 +3180,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -2913,10 +3193,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -2929,8 +3209,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -2944,6 +3225,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -2994,7 +3276,7 @@ "h": 7, "w": 12, "x": 0, - "y": 94 + "y": 106 }, "id": 87, "options": { @@ -3014,11 +3296,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3028,10 +3310,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3041,10 +3323,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3057,8 +3339,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3072,6 +3355,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3122,7 +3406,7 @@ "h": 7, "w": 12, "x": 12, - "y": 94 + "y": 106 }, "id": 88, "options": { @@ -3142,11 +3426,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3156,10 +3440,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3169,10 +3453,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3185,8 +3469,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3200,6 +3485,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3250,7 +3536,7 @@ "h": 7, "w": 12, "x": 0, - "y": 101 + "y": 113 }, "id": 89, "options": { @@ -3270,11 +3556,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3284,10 +3570,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3297,10 +3583,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3313,8 +3599,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3328,6 +3615,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3378,7 +3666,7 @@ "h": 7, "w": 12, "x": 12, - "y": 101 + "y": 113 }, "id": 90, "options": { @@ -3398,11 +3686,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3412,10 +3700,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3425,10 +3713,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3441,8 +3729,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3456,6 +3745,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3506,7 +3796,7 @@ "h": 7, "w": 12, "x": 0, - "y": 108 + "y": 120 }, "id": 91, "options": { @@ -3526,11 +3816,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3540,10 +3830,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3553,10 +3843,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3569,8 +3859,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3584,6 +3875,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3634,7 +3926,7 @@ "h": 7, "w": 12, "x": 12, - "y": 108 + "y": 120 }, "id": 92, "options": { @@ -3654,11 +3946,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3668,10 +3960,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3681,10 +3973,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3697,8 +3989,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3712,6 +4005,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3762,7 +4056,7 @@ "h": 7, "w": 12, "x": 0, - "y": 115 + "y": 127 }, "id": 93, "options": { @@ -3782,11 +4076,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3796,10 +4090,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3809,10 +4103,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3825,8 +4119,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3840,6 +4135,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -3890,7 +4186,7 @@ "h": 7, "w": 12, "x": 12, - "y": 115 + "y": 127 }, "id": 94, "options": { @@ -3910,11 +4206,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3924,10 +4220,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -3937,10 +4233,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -3953,8 +4249,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -3968,6 +4265,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4018,7 +4316,7 @@ "h": 7, "w": 12, "x": 0, - "y": 122 + "y": 134 }, "id": 95, "options": { @@ -4038,11 +4336,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4052,10 +4350,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -4065,10 +4363,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -4081,8 +4379,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4096,6 +4395,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4146,7 +4446,7 @@ "h": 7, "w": 12, "x": 12, - "y": 122 + "y": 134 }, "id": 96, "options": { @@ -4166,11 +4466,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4180,10 +4480,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P95", @@ -4193,10 +4493,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (le))", "hide": false, "instant": false, "legendFormat": "P50", @@ -4213,7 +4513,180 @@ "h": 1, "w": 24, "x": 0, - "y": 129 + "y": 141 + }, + "id": 107, + "panels": [], + "title": "Disk", + "type": "row" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [], + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 4, + "x": 0, + "y": 142 + }, + "id": 108, + "options": { + "displayLabels": [ + "percent" + ], + "legend": { + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "values": [ + "value" + ] + }, + "pieType": "pie", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(dragonfly_client_disk_usage_space_total{container=\"seed-client\",namespace=~\"$namespace\"})/\nsum(dragonfly_client_disk_space_total{container=\"seed-client\",namespace=~\"$namespace\"})", + "instant": false, + "legendFormat": "Used Space", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "(sum(dragonfly_client_disk_space_total{container=\"seed-client\",namespace=~\"$namespace\"}) -\nsum(dragonfly_client_disk_usage_space_total{container=\"seed-client\",namespace=~\"$namespace\"}))/ \nsum(dragonfly_client_disk_space_total{container=\"seed-client\",namespace=~\"$namespace\"})", + "hide": false, + "instant": false, + "legendFormat": "Unused Space", + "range": true, + "refId": "B" + } + ], + "title": "Disk Usage Space Total", + "type": "piechart" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 9, + "w": 20, + "x": 4, + "y": 142 + }, + "id": 109, + "options": { + "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "exemplar": false, + "expr": "dragonfly_client_disk_usage_space_total{container=\"seed-client\",namespace=~\"$namespace\"} /\ndragonfly_client_disk_space_total{container=\"seed-client\",namespace=~\"$namespace\"}", + "instant": true, + "legendFormat": "{{instance}}-{{container}}", + "range": false, + "refId": "A" + } + ], + "title": "Disk Usage Space(Instance)", + "type": "bargauge" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 151 }, "id": 101, "panels": [], @@ -4222,8 +4695,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -4246,7 +4720,7 @@ "h": 10, "w": 24, "x": 0, - "y": 130 + "y": 152 }, "id": 102, "options": { @@ -4267,16 +4741,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_client_download_traffic{container=\"seed-client\"}[1d])) by (instance, container))", + "expr": "topk(10, sum(increase(dragonfly_client_download_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[1d])) by (instance, container))", "instant": true, "interval": "60", "legendFormat": "{{instance}}-{{container}}", @@ -4288,8 +4762,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "description": "", "fieldConfig": { @@ -4312,7 +4787,7 @@ "h": 10, "w": 24, "x": 0, - "y": 140 + "y": 162 }, "id": 103, "options": { @@ -4333,16 +4808,16 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_client_upload_traffic{container=\"seed-client\"}[1d])) by (instance, container))", + "expr": "topk(10, sum(increase(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[1d])) by (instance, container))", "instant": true, "interval": "60", "intervalFactor": 1, @@ -4363,7 +4838,7 @@ "h": 1, "w": 24, "x": 0, - "y": 150 + "y": 172 }, "id": 50, "panels": [], @@ -4372,8 +4847,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4387,6 +4863,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4434,7 +4911,7 @@ "h": 8, "w": 12, "x": 0, - "y": 151 + "y": 173 }, "id": 99, "options": { @@ -4454,11 +4931,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "avg(rate(process_cpu_seconds_total{container='seed-client'}[1m])) by (instance, container)", + "expr": "avg(rate(process_cpu_seconds_total{container='seed-client',namespace=~\"$namespace\"}[1m])) by (instance, container)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4474,8 +4951,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4489,6 +4967,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4536,7 +5015,7 @@ "h": 8, "w": 12, "x": 12, - "y": 151 + "y": 173 }, "id": 98, "options": { @@ -4556,11 +5035,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_virtual_memory_bytes{container=\"seed-client\"}", + "expr": "process_virtual_memory_bytes{container=\"seed-client\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4573,10 +5052,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", - "expr": "process_resident_memory_bytes{container=\"seed-client\"}", + "expr": "process_resident_memory_bytes{container=\"seed-client\",namespace=~\"$namespace\"}", "hide": false, "instant": false, "legendFormat": "{{instance}}-{{container}}-resident", @@ -4589,8 +5068,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4604,6 +5084,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4634,7 +5115,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4650,7 +5132,7 @@ "h": 8, "w": 12, "x": 0, - "y": 159 + "y": 181 }, "id": 62, "options": { @@ -4670,11 +5152,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_threads{container=\"seed-client\"}", + "expr": "process_threads{container=\"seed-client\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4690,8 +5172,9 @@ }, { "datasource": { + "default": true, "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "fieldConfig": { "defaults": { @@ -4705,6 +5188,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -4735,7 +5219,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4751,7 +5236,7 @@ "h": 8, "w": 12, "x": 12, - "y": 159 + "y": 181 }, "id": 100, "options": { @@ -4771,11 +5256,11 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "prometheus" }, "editorMode": "code", "exemplar": true, - "expr": "process_open_fds{container=\"seed-client\"}", + "expr": "process_open_fds{container=\"seed-client\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -4800,7 +5285,7 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": true, + "selected": false, "text": "1m", "value": "1m" }, @@ -4868,6 +5353,34 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "current": { + "selected": false, + "text": "cluster-a", + "value": "cluster-a" + }, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "definition": "label_values(dragonfly_client_version,namespace)", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(dragonfly_client_version,namespace)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" } ] }, @@ -4903,6 +5416,6 @@ "timezone": "", "title": "Seed Client", "uid": "HtXpCprnk", - "version": 5, + "version": 23, "weekStart": "" }