From 7397e636051c0917d2676e8e8120c9e1ab455f77 Mon Sep 17 00:00:00 2001 From: Gaius Date: Fri, 16 Jan 2026 17:58:03 +0800 Subject: [PATCH] feat: update grafana dashboards Signed-off-by: Gaius --- grafana/dashboards/client.json | 5558 ++++++++++++++------------- grafana/dashboards/manager.json | 428 +-- grafana/dashboards/scheduler.json | 4327 +++++---------------- grafana/dashboards/seed-client.json | 888 +++-- prometheus/values.yaml | 4 + 5 files changed, 4342 insertions(+), 6863 deletions(-) diff --git a/grafana/dashboards/client.json b/grafana/dashboards/client.json index adc2b94..25edae3 100644 --- a/grafana/dashboards/client.json +++ b/grafana/dashboards/client.json @@ -24,18 +24,12 @@ "description": "Grafana dashboard for dragonfly client and dragonfly seed client.", "editable": true, "fiscalYearStartMonth": 0, - "gnetId": 21053, "graphTooltip": 0, - "id": 29, + "id": 0, "links": [], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -78,25 +72,33 @@ }, "id": 52, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -145,25 +147,33 @@ }, "id": 64, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -212,25 +222,33 @@ }, "id": 65, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -279,25 +297,33 @@ }, "id": 63, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -346,25 +372,33 @@ }, "id": 67, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -413,25 +447,33 @@ }, "id": 66, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -484,6 +526,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -499,7 +542,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -526,11 +569,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -539,7 +583,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{namespace=~\"$namespace\"}[$interval])) by (type)", + "expr": "sum(rate(dragonfly_client_download_traffic{namespace=~\"$namespace\"}[$__rate_interval])) by (type) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -588,6 +632,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -603,7 +648,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -630,11 +675,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -643,7 +689,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -692,6 +738,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -707,7 +754,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -734,11 +781,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -747,7 +795,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -796,6 +844,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -811,7 +860,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -838,11 +887,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -851,7 +901,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -900,6 +950,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -915,7 +966,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -942,11 +993,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -955,7 +1007,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1004,6 +1056,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1019,7 +1072,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1046,11 +1099,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1059,7 +1113,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_upload_traffic{namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1108,6 +1162,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1123,7 +1178,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1150,11 +1205,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1163,7 +1219,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(dragonfly_client_concurrent_download_task_total{namespace=~\"$namespace\"})", + "expr": "sum(dragonfly_client_concurrent_download_task_total{namespace=~\"$namespace\"}) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1205,7 +1261,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -1235,7 +1291,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1243,7 +1301,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1251,7 +1309,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_proxy_request_failure_total{namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "((sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_proxy_request_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1290,7 +1348,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1316,7 +1374,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1324,7 +1384,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1332,7 +1392,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1377,6 +1437,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1392,7 +1453,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1419,10 +1480,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1430,7 +1493,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "interval": "60", "legendFormat": "total", @@ -1476,6 +1539,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1491,7 +1555,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1518,10 +1582,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1529,7 +1595,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_proxy_request_total{namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -1574,6 +1640,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1589,7 +1656,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1616,10 +1683,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1627,7 +1696,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "rate(dragonfly_client_proxy_request_failure_total{namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_proxy_request_failure_total{namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "instant": false, "interval": "60", "legendFormat": "{{instance}}", @@ -1638,105 +1707,6 @@ "title": "Proxy Request Failed(instance)", "type": "timeseries" }, - { - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 65 - }, - "id": 117, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_via_dfdaemon_total{namespace=~\"$namespace\"}[$interval]))", - "instant": false, - "interval": "60", - "legendFormat": "total", - "range": true, - "refId": "A" - } - ], - "title": "Proxy Request via Dfdaemon", - "type": "timeseries" - }, { "datasource": { "default": true, @@ -1765,7 +1735,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -1785,7 +1755,7 @@ "h": 4, "w": 6, "x": 0, - "y": 73 + "y": 65 }, "id": 107, "options": { @@ -1795,7 +1765,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1803,7 +1775,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1811,7 +1783,7 @@ "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]))", + "expr": "((sum(rate(dragonfly_client_backend_request_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_backend_request_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_backend_request_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1839,7 +1811,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1855,7 +1827,7 @@ "h": 4, "w": 18, "x": 6, - "y": 73 + "y": 65 }, "id": 108, "options": { @@ -1865,7 +1837,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1873,7 +1847,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1881,7 +1855,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1926,6 +1900,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1941,7 +1916,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1957,7 +1932,7 @@ "h": 8, "w": 24, "x": 0, - "y": 77 + "y": 69 }, "id": 109, "options": { @@ -1968,10 +1943,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1979,7 +1956,7 @@ "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)", + "expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$__rate_interval]\n )\n ) \n) or vector(0)", "instant": false, "legendFormat": "P99", "range": true, @@ -1991,7 +1968,7 @@ "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)", + "expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$__rate_interval]\n )\n ) \n) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -2004,7 +1981,7 @@ "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)", + "expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n dragonfly_client_backend_request_duration_milliseconds_bucket{\n namespace=~\"$namespace\"\n }[$__rate_interval]\n )\n ) \n) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -2017,15 +1994,11 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 85 + "y": 77 }, "id": 48, "panels": [], @@ -2059,7 +2032,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -2079,7 +2052,7 @@ "h": 4, "w": 6, "x": 0, - "y": 86 + "y": 78 }, "id": 59, "maxDataPoints": 100, @@ -2090,7 +2063,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -2098,7 +2073,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2107,7 +2082,7 @@ }, "editorMode": "code", "exemplar": true, - "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]))", + "expr": "((sum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -2147,7 +2122,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2163,7 +2138,7 @@ "h": 4, "w": 18, "x": 6, - "y": 86 + "y": 78 }, "id": 60, "maxDataPoints": 100, @@ -2174,7 +2149,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -2182,7 +2159,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2191,7 +2168,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -2238,6 +2215,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2253,7 +2231,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2269,7 +2247,7 @@ "h": 8, "w": 12, "x": 0, - "y": 90 + "y": 82 }, "id": 61, "options": { @@ -2280,11 +2258,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2293,7 +2272,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_total{namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -2342,6 +2321,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2357,7 +2337,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2373,7 +2353,7 @@ "h": 8, "w": 12, "x": 12, - "y": 90 + "y": 82 }, "id": 97, "options": { @@ -2384,11 +2364,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2397,7 +2378,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_failure_total{namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_failure_total{namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -2412,2606 +2393,2657 @@ "type": "timeseries" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 98 + "y": 90 }, "id": 75, - "panels": [ - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" + "panels": [], + "title": "Task", + "type": "row" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" + "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 }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 99 - }, - "id": 76, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } - ], - "title": "Download Duration(0-1MB)", - "type": "timeseries" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 91 + }, + "id": 76, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 99 - }, - "id": 78, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(1MB-4MB)", - "type": "timeseries" + "editorMode": "code", + "exemplar": false, + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 106 - }, - "id": 79, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(4MB-8MB)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 106 - }, - "id": 80, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"1\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(0-1MB)", + "type": "timeseries" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" + "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 }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(8MB-16MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 113 - }, - "id": 81, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(16MB-32MB)", - "type": "timeseries" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 91 + }, + "id": 78, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 113 - }, - "id": 82, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(32MB-64MB)", - "type": "timeseries" + "editorMode": "code", + "exemplar": false, + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 120 - }, - "id": 83, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(64MB-128MB)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 120 - }, - "id": 84, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"2\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(1MB-4MB)", + "type": "timeseries" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(128MB-256MB)", - "type": "timeseries" + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 98 + }, + "id": 79, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(4MB-8MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 98 + }, + "id": 80, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"4\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(8MB-16MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 105 + }, + "id": 81, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"5\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(16MB-32MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 105 + }, + "id": 82, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"6\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(32MB-64MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 112 + }, + "id": 83, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"7\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(64MB-128MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 112 + }, + "id": 84, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"8\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(128MB-256MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 119 + }, + "id": 85, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"9\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(256MB-512MB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 119 + }, + "id": 86, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"10\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(512MB-1GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 126 + }, + "id": 87, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"11\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(1GB-4GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 126 + }, + "id": 88, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"12\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(4GB-8GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 133 + }, + "id": 89, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"13\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(8GB-16GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 133 + }, + "id": 90, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"14\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(16GB-32GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 140 + }, + "id": 91, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"15\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(32GB-64GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 140 + }, + "id": 92, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"16\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(64GB-128GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 147 + }, + "id": 93, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "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\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"17\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(128GB-256GB)", + "type": "timeseries" + }, + { + "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", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 147 + }, + "id": 94, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 127 - }, - "id": 85, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(256MB-512MB)", - "type": "timeseries" + "editorMode": "code", + "exemplar": false, + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 127 - }, - "id": 86, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(512MB-1GB)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 134 - }, - "id": 87, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"18\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(256GB-512GB)", + "type": "timeseries" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" + "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 }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(1GB-4GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 134 - }, - "id": 88, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" + "thresholdsStyle": { + "mode": "off" } - ], - "title": "Download Duration(4GB-8GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 141 - }, - "id": 89, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + { + "color": "red", + "value": 80 + } + ] }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(8GB-16GB)", - "type": "timeseries" + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 154 + }, + "id": 95, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 141 - }, - "id": 90, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(16GB-32GB)", - "type": "timeseries" + "editorMode": "code", + "exemplar": false, + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 148 - }, - "id": 91, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(32GB-64GB)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "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" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 148 - }, - "id": 92, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"19\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" + } + ], + "title": "Download Duration(512GB-1TB)", + "type": "timeseries" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" + "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 }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(64GB-128GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 155 - }, - "id": 93, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" + "showPoints": "never", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(128GB-256GB)", - "type": "timeseries" + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 154 + }, + "id": 96, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.1", + "targets": [ { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 155 - }, - "id": 94, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(256GB-512GB)", - "type": "timeseries" + "editorMode": "code", + "exemplar": false, + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "instant": false, + "interval": "60", + "legendFormat": "P99", + "range": true, + "refId": "A" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 162 - }, - "id": 95, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(512GB-1TB)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P95", + "range": true, + "refId": "B" }, { "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 162 - }, - "id": 96, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "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\",namespace=~\"$namespace\"}[$interval])) by (le))", - "instant": false, - "interval": "60", - "legendFormat": "P99", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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", - "range": true, - "refId": "C" - } - ], - "title": "Download Duration(1TB+)", - "type": "timeseries" + "editorMode": "code", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"20\",namespace=~\"$namespace\"}[$__rate_interval])) by (le)) or vector(0)", + "hide": false, + "instant": false, + "legendFormat": "P50", + "range": true, + "refId": "C" } ], - "title": "Task", - "type": "row" + "title": "Download Duration(1TB+)", + "type": "timeseries" }, { "collapsed": false, @@ -5019,7 +5051,7 @@ "h": 1, "w": 24, "x": 0, - "y": 99 + "y": 161 }, "id": 106, "panels": [], @@ -5053,28 +5085,37 @@ "h": 9, "w": 4, "x": 0, - "y": 100 + "y": 162 }, "id": 105, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5121,6 +5162,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -5131,7 +5175,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5211,7 +5255,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -5232,20 +5276,14 @@ "h": 9, "w": 20, "x": 4, - "y": 100 + "y": 162 }, "id": 104, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": ["sum"], - "show": false - }, "showHeader": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5380,6 +5418,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5395,7 +5434,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5411,7 +5450,7 @@ "h": 8, "w": 12, "x": 0, - "y": 109 + "y": 171 }, "id": 116, "options": { @@ -5422,10 +5461,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5433,7 +5474,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "dragonfly_client_disk_written_bytes{namespace=~\"$namespace\",container=\"client\"}", + "expr": "dragonfly_client_disk_written_bytes{namespace=~\"$namespace\",container=\"client\"} or vector(0)", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -5478,6 +5519,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5493,7 +5535,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5509,7 +5551,7 @@ "h": 8, "w": 12, "x": 12, - "y": 109 + "y": 171 }, "id": 115, "options": { @@ -5520,10 +5562,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5532,7 +5576,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_client_disk_read_bytes{namespace=~\"$namespace\",container=\"client\"}", + "expr": "dragonfly_client_disk_read_bytes{namespace=~\"$namespace\",container=\"client\"} or vector(0)", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -5548,7 +5592,7 @@ "h": 1, "w": 24, "x": 0, - "y": 117 + "y": 179 }, "id": 101, "panels": [], @@ -5571,7 +5615,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 } ] }, @@ -5583,18 +5627,26 @@ "h": 10, "w": 24, "x": 0, - "y": 118 + "y": 180 }, "id": 102, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "vertical", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -5602,7 +5654,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5637,7 +5689,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 } ] }, @@ -5649,18 +5701,26 @@ "h": 10, "w": 24, "x": 0, - "y": 128 + "y": 190 }, "id": 103, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "vertical", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -5668,7 +5728,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5690,15 +5750,11 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 138 + "y": 200 }, "id": 50, "panels": [], @@ -5740,6 +5796,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5755,7 +5812,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5771,7 +5828,7 @@ "h": 8, "w": 12, "x": 0, - "y": 139 + "y": 201 }, "id": 99, "options": { @@ -5782,11 +5839,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5844,6 +5902,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5859,7 +5918,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5875,7 +5934,7 @@ "h": 8, "w": 12, "x": 12, - "y": 139 + "y": 201 }, "id": 98, "options": { @@ -5886,29 +5945,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "expr": "process_virtual_memory_bytes{container=~\"client|seed-client\",namespace=~\"$namespace\"}", - "format": "time_series", - "interval": "60", - "intervalFactor": 2, - "legendFormat": "{{instance}}-{{container}}-virtual", - "metric": "go_gc_duration_seconds", - "range": true, - "refId": "A", - "step": 4 - }, { "datasource": { "type": "prometheus", @@ -5961,6 +6004,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5976,7 +6020,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5992,7 +6036,7 @@ "h": 8, "w": 12, "x": 0, - "y": 147 + "y": 209 }, "id": 62, "options": { @@ -6003,11 +6047,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6065,6 +6110,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6080,7 +6126,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6096,7 +6142,7 @@ "h": 8, "w": 12, "x": 12, - "y": 147 + "y": 209 }, "id": 100, "options": { @@ -6107,11 +6153,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6135,8 +6182,9 @@ "type": "timeseries" } ], + "preload": false, "refresh": "", - "schemaVersion": 39, + "schemaVersion": 42, "tags": [], "templating": { "list": [ @@ -6145,11 +6193,9 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": false, "text": "1m", "value": "1m" }, - "hide": 0, "name": "interval", "options": [ { @@ -6209,14 +6255,11 @@ } ], "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "queryValue": "", "refresh": 2, - "skipUrlSync": false, "type": "interval" }, { "current": { - "selected": false, "text": "dragonfly-system", "value": "dragonfly-system" }, @@ -6225,10 +6268,8 @@ "uid": "prometheus" }, "definition": "label_values(dragonfly_client_version,namespace)", - "hide": 0, "includeAll": false, "label": "Namespace", - "multi": false, "name": "namespace", "options": [], "query": { @@ -6238,8 +6279,6 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, - "sort": 0, "type": "query" } ] @@ -6248,24 +6287,9 @@ "from": "now-6h", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] - }, + "timepicker": {}, "timezone": "", "title": "Client", "uid": "UtXpSprnk", - "version": 6, - "weekStart": "" + "version": 22 } diff --git a/grafana/dashboards/manager.json b/grafana/dashboards/manager.json index d8c20ad..419e0fc 100644 --- a/grafana/dashboards/manager.json +++ b/grafana/dashboards/manager.json @@ -24,11 +24,9 @@ "description": "Grafana dashboard for dragonfly manager.", "editable": true, "fiscalYearStartMonth": 0, - "gnetId": 15945, "graphTooltip": 0, - "id": 31, + "id": 29, "links": [], - "liveNow": false, "panels": [ { "collapsed": false, @@ -91,12 +89,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -116,10 +116,6 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -158,7 +154,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -200,7 +196,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -208,7 +204,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "(\n sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",grpc_code=~\"OK|NotFound|PermissionDenied|InvalidArgument\",namespace=~\"$namespace\"}[$__rate_interval]))\n /\n sum(rate(grpc_server_started_total{grpc_service=\"manager. Manager\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$__rate_interval]))\n)\nor vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -248,7 +244,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -285,7 +281,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -293,7 +289,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\",namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(grpc_server_started_total{grpc_service=\"manager.Manager\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -340,6 +336,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -355,7 +352,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -405,11 +402,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -417,7 +415,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$interval])) by (grpc_code, grpc_method)", + "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"manager.Manager\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$__rate_interval])) by (grpc_code, grpc_method) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -456,7 +454,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -497,7 +495,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -505,7 +503,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/\nsum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "instant": false, "interval": "60", @@ -545,7 +543,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -582,7 +580,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -590,7 +588,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -637,6 +635,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -652,7 +651,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -679,11 +678,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -692,7 +692,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -737,6 +737,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -752,7 +753,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -779,11 +780,12 @@ "showLegend": false }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -792,7 +794,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_manager_search_scheduler_cluster_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, @@ -804,10 +806,6 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -835,7 +833,6 @@ "options": { "match": "null", "result": { - "index": 0, "text": "N/A" } }, @@ -847,11 +844,15 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { - "color": "red", - "value": 80 + "color": "rgba(237, 129, 40, 0.89)", + "value": 95 + }, + { + "color": "#d44a3a", + "value": 99 } ] }, @@ -865,7 +866,8 @@ "x": 0, "y": 37 }, - "id": 64, + "id": 36, + "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "area", @@ -883,7 +885,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -891,14 +893,16 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_create_job_success_total{namespace=~\"$namespace\"}[$interval])) /\nsum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$interval]))", - "instant": false, - "legendFormat": "__auto", + "expr": "(sum(rate(dragonfly_manager_requests_total{code=~\"[12]..\",namespace=~\"$namespace\"}[$__rate_interval]))\n/ \nsum(rate(dragonfly_manager_requests_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", + "format": "time_series", + "interval": "60", + "intervalFactor": 1, + "legendFormat": "", "range": true, "refId": "A" } ], - "title": "Create Job Success Rate", + "title": "REST Global Success Rate", "type": "stat" }, { @@ -910,7 +914,7 @@ "fieldConfig": { "defaults": { "color": { - "fixedColor": "#1f78c1", + "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ @@ -918,7 +922,6 @@ "options": { "match": "null", "result": { - "index": 0, "text": "N/A" } }, @@ -930,7 +933,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -948,7 +951,8 @@ "x": 6, "y": 37 }, - "id": 65, + "id": 38, + "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", @@ -966,7 +970,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -974,14 +978,16 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$interval]))", - "instant": false, - "legendFormat": "__auto", + "expr": "sum(rate(dragonfly_manager_requests_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "format": "time_series", + "interval": "60", + "intervalFactor": 1, + "legendFormat": "", "range": true, "refId": "A" } ], - "title": "Create Job QPS", + "title": "REST QPS", "type": "stat" }, { @@ -1019,6 +1025,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1034,7 +1041,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1044,27 +1051,52 @@ }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, "gridPos": { - "h": 8, + "h": 7, "w": 12, "x": 0, "y": 41 }, - "id": 66, + "id": 40, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1072,15 +1104,17 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$interval]))by(name)", - "instant": false, + "exemplar": true, + "expr": "sum(rate(dragonfly_manager_requests_total{url!=\"/healthy/\",namespace=~\"$namespace\"}[$__rate_interval])) by (code, method, url) or vector(0)", + "format": "time_series", "interval": "60", - "legendFormat": "__auto", + "intervalFactor": 1, + "legendFormat": "{{method}}-{{url}}-{{code}}", "range": true, "refId": "A" } ], - "title": "Create Job", + "title": "REST request code", "type": "timeseries" }, { @@ -1103,7 +1137,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 50, "gradientMode": "none", "hideFrom": { "legend": false, @@ -1111,13 +1145,14 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1133,7 +1168,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1141,17 +1176,17 @@ } ] }, - "unit": "short" + "unit": "ms" }, "overrides": [] }, "gridPos": { - "h": 8, + "h": 7, "w": 12, "x": 12, "y": 41 }, - "id": 67, + "id": 42, "options": { "legend": { "calcs": [], @@ -1160,10 +1195,12 @@ "showLegend": true }, "tooltip": { - "mode": "single", + "hideZeros": false, + "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1171,14 +1208,15 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$interval]))by(name) - \nsum(rate(dragonfly_manager_create_job_success_total{namespace=~\"$namespace\"}[$interval]))by(name) ", - "instant": false, - "legendFormat": "__auto", + "exemplar": true, + "expr": "sum(increase(dragonfly_manager_request_duration_seconds_sum{namespace=~\"$namespace\"}[$__rate_interval]) * 1000 * 1000 / increase(dragonfly_manager_request_duration_seconds_count{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", + "interval": "60", + "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Create Job Failed", + "title": "REST Request Duration", "type": "timeseries" }, { @@ -1197,6 +1235,7 @@ "options": { "match": "null", "result": { + "index": 0, "text": "N/A" } }, @@ -1208,15 +1247,11 @@ "steps": [ { "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 95 + "value": 0 }, { - "color": "#d44a3a", - "value": 99 + "color": "red", + "value": 80 } ] }, @@ -1228,10 +1263,9 @@ "h": 4, "w": 6, "x": 0, - "y": 49 + "y": 48 }, - "id": 36, - "maxDataPoints": 100, + "id": 64, "options": { "colorMode": "background", "graphMode": "area", @@ -1249,7 +1283,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1257,16 +1291,14 @@ "uid": "prometheus" }, "editorMode": "code", - "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, - "legendFormat": "", + "expr": "(sum(rate(dragonfly_manager_create_job_success_total{namespace=~\"$namespace\"}[$__rate_interval])) /\nsum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", + "instant": false, + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "REST Global Success Rate", + "title": "Create Job Success Rate", "type": "stat" }, { @@ -1278,7 +1310,7 @@ "fieldConfig": { "defaults": { "color": { - "fixedColor": "rgb(31, 120, 193)", + "fixedColor": "#1f78c1", "mode": "fixed" }, "mappings": [ @@ -1286,6 +1318,7 @@ "options": { "match": "null", "result": { + "index": 0, "text": "N/A" } }, @@ -1297,7 +1330,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1313,10 +1346,9 @@ "h": 4, "w": 18, "x": 6, - "y": 49 + "y": 48 }, - "id": 38, - "maxDataPoints": 100, + "id": 65, "options": { "colorMode": "none", "graphMode": "area", @@ -1334,7 +1366,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1342,16 +1374,14 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_manager_requests_total{namespace=~\"$namespace\"}[$interval]))", - "format": "time_series", - "interval": "60", - "intervalFactor": 1, - "legendFormat": "", + "expr": "sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "instant": false, + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "REST QPS", + "title": "Create Job QPS", "type": "stat" }, { @@ -1389,6 +1419,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1404,7 +1435,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1414,51 +1445,29 @@ }, "unit": "short" }, - "overrides": [ - { - "matcher": { - "id": "byValue", - "options": { - "op": "gte", - "reducer": "allIsZero", - "value": 0 - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": true, - "viz": false - } - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 7, + "h": 8, "w": 12, "x": 0, - "y": 53 + "y": 52 }, - "id": 40, + "id": 66, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", + "calcs": [], + "displayMode": "list", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1466,17 +1475,15 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(dragonfly_manager_requests_total{url!=\"/healthy/\",namespace=~\"$namespace\"}[$interval])) by (code, method, url)", - "format": "time_series", + "expr": "sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$__rate_interval])) by (name) or vector(0)", + "instant": false, "interval": "60", - "intervalFactor": 1, - "legendFormat": "{{method}}-{{url}}-{{code}}", + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "REST request code", + "title": "Create Job", "type": "timeseries" }, { @@ -1499,7 +1506,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 50, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -1507,13 +1514,14 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1529,7 +1537,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1537,17 +1545,17 @@ } ] }, - "unit": "ms" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 7, + "h": 8, "w": 12, "x": 12, - "y": 53 + "y": 52 }, - "id": 42, + "id": 67, "options": { "legend": { "calcs": [], @@ -1556,11 +1564,12 @@ "showLegend": true }, "tooltip": { - "mode": "multi", + "hideZeros": false, + "mode": "single", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1568,23 +1577,18 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "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}}", + "expr": "(sum(rate(dragonfly_manager_create_job_total{namespace=~\"$namespace\"}[$__rate_interval])) by (name) - \nsum(rate(dragonfly_manager_create_job_success_total{namespace=~\"$namespace\"}[$__rate_interval])) by (name)) or vector(0)", + "instant": false, + "legendFormat": "__auto", "range": true, "refId": "A" } ], - "title": "REST Request Duration", + "title": "Create Job Failed", "type": "timeseries" }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -1631,6 +1635,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1646,7 +1651,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1675,11 +1680,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1737,6 +1743,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1752,7 +1759,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1779,11 +1786,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1803,7 +1811,7 @@ "step": 4 } ], - "title": "GC duration quantiles", + "title": "GC Duration Quantiles", "type": "timeseries" }, { @@ -1841,6 +1849,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1856,7 +1865,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1896,11 +1905,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1909,7 +1919,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "process_resident_memory_bytes{namespace=~\"$namespace\"}", + "expr": "process_resident_memory_bytes{container=\"manager\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1918,26 +1928,9 @@ "range": true, "refId": "A", "step": 4 - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "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 } ], - "title": "process memory", + "title": "Process Memory", "type": "timeseries" }, { @@ -1975,6 +1968,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1990,7 +1984,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2030,11 +2024,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2043,7 +2038,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "go_memstats_alloc_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", + "expr": "go_memstats_alloc_bytes{container=\"manager\",namespace=~\"$namespace\"}", "interval": "60", "intervalFactor": 2, "legendFormat": "{{instance}}-bytes_allocated", @@ -2084,28 +2079,15 @@ "range": true, "refId": "D", "step": 4 - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(go_memstats_alloc_bytes_total{container=\"manager\",namespace=~\"$namespace\"}[30s])", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}-alloc_rate", - "range": true, - "refId": "B" } ], - "title": "go memstats", + "title": "Go Memstats", "type": "timeseries" } ], + "preload": false, "refresh": "", - "schemaVersion": 39, + "schemaVersion": 42, "tags": [], "templating": { "list": [ @@ -2114,11 +2096,9 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": false, "text": "1m", "value": "1m" }, - "hide": 0, "name": "interval", "options": [ { @@ -2178,14 +2158,11 @@ } ], "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "queryValue": "", "refresh": 2, - "skipUrlSync": false, "type": "interval" }, { "current": { - "selected": false, "text": "dragonfly-system", "value": "dragonfly-system" }, @@ -2194,10 +2171,8 @@ "uid": "prometheus" }, "definition": "label_values(dragonfly_manager_version,namespace)", - "hide": 0, "includeAll": false, "label": "namespace", - "multi": false, "name": "namespace", "options": [], "query": { @@ -2207,8 +2182,6 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, - "sort": 0, "type": "query" } ] @@ -2217,34 +2190,9 @@ "from": "now-6h", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Manager", "uid": "TL-e3c9nz", - "version": 2, - "weekStart": "" + "version": 36 } diff --git a/grafana/dashboards/scheduler.json b/grafana/dashboards/scheduler.json index acbcd7b..3966b09 100644 --- a/grafana/dashboards/scheduler.json +++ b/grafana/dashboards/scheduler.json @@ -24,18 +24,12 @@ "description": "Grafana dashboard for dragonfly scheduler.", "editable": true, "fiscalYearStartMonth": 0, - "gnetId": 15944, "graphTooltip": 0, - "id": 32, + "id": 30, "links": [], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -95,12 +89,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -168,12 +164,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -239,12 +237,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -310,12 +310,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -381,12 +383,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -452,12 +456,14 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -510,6 +516,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -519,14 +526,13 @@ "mode": "off" } }, - "displayName": "$cluster", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -534,30 +540,31 @@ } ] }, - "unit": "bytes" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, + "h": 8, + "w": 24, "x": 0, "y": 10 }, - "id": 78, + "id": 56, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": false + "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -565,17 +572,30 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"REMOTE_PEER\",namespace=~\"$namespace\"}[$interval]))", - "forceInterval": false, - "instant": false, + "exemplar": true, + "expr": "sum(dragonfly_scheduler_concurrent_schedule_total{namespace=~\"$namespace\"}) by (instance) or vector(0)", "interval": "60", - "legendFormat": "", + "legendFormat": "{{instance}}", + "range": true, "refId": "A" } ], - "title": "Hit Remote Peer Traffic", + "title": "Concurrent Scheduling", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 74, + "panels": [], + "title": "GRPC", + "type": "row" + }, { "datasource": { "default": true, @@ -585,80 +605,66 @@ "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "mode": "thresholds" }, - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } - }, - "displayName": "$cluster", - "mappings": [], + ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "#299c46", + "value": 0 }, { - "color": "red", - "value": 80 + "color": "rgba(237, 129, 40, 0.89)", + "value": 95 + }, + { + "color": "#d44a3a", + "value": 99 } ] }, - "unit": "bytes" + "unit": "percentunit" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, - "x": 12, - "y": 10 + "h": 4, + "w": 6, + "x": 0, + "y": 19 }, - "id": 80, + "id": 12, + "maxDataPoints": 100, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -666,16 +672,17 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_traffic{type=\"BACK_TO_SOURCE\",namespace=~\"$namespace\"}[$interval]))", - "forceInterval": false, - "instant": false, + "expr": "(sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"OK\",namespace=~\"$namespace\"}[$__rate_interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"NotFound\",namespace=~\"$namespace\"}[$__rate_interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"PermissionDenied\",namespace=~\"$namespace\"}[$__rate_interval])) + \nsum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",grpc_code=\"InvalidArgument\",namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(1)", + "format": "time_series", "interval": "60", + "intervalFactor": 1, "legendFormat": "", + "range": true, "refId": "A" } ], - "title": "Back To Source Traffic", - "type": "timeseries" + "title": "GRPC Global Success Rate", + "type": "stat" }, { "datasource": { @@ -686,49 +693,26 @@ "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "fixedColor": "rgb(31, 120, 193)", + "mode": "fixed" }, - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } - }, - "displayName": "$cluster", - "mappings": [], + ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -736,30 +720,36 @@ } ] }, - "unit": "bytes" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 12, - "x": 0, + "h": 4, + "w": 18, + "x": 6, "y": 19 }, - "id": 54, + "id": 14, + "maxDataPoints": 100, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -767,16 +757,17 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1d]))", - "forceInterval": false, - "instant": false, + "expr": "sum(rate(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "format": "time_series", "interval": "60", + "intervalFactor": 1, "legendFormat": "", + "range": true, "refId": "A" } ], - "title": "Download Traffic", - "type": "timeseries" + "title": "GRPC QPS", + "type": "stat" }, { "datasource": { @@ -813,6 +804,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -828,7 +820,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -836,30 +828,54 @@ } ] }, - "unit": "bytes" + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, "gridPos": { "h": 9, - "w": 12, - "x": 12, - "y": 19 + "w": 24, + "x": 0, + "y": 23 }, - "id": 70, + "id": 26, "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", + "calcs": [ + "lastNotNull" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -867,14 +883,16 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1d]))", - "instant": false, + "expr": "sum(rate(grpc_server_handled_total{grpc_service=\"scheduler.Scheduler\",grpc_type=\"unary\",namespace=~\"$namespace\"}[$__rate_interval])) by (grpc_code, grpc_method) or vector(0)", + "format": "time_series", "interval": "60", - "legendFormat": "", + "intervalFactor": 1, + "legendFormat": "{{grpc_method}}/{{grpc_code}}", + "range": true, "refId": "A" } ], - "title": "Upload Traffic", + "title": "GRPC request code", "type": "timeseries" }, { @@ -886,79 +904,66 @@ "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "mode": "thresholds" }, - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } - }, - "mappings": [], + ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "#299c46", + "value": 0 }, { - "color": "red", - "value": 80 + "color": "rgba(237, 129, 40, 0.89)", + "value": 95 + }, + { + "color": "#d44a3a", + "value": 99 } ] }, - "unit": "short" + "unit": "percentunit" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, + "h": 4, + "w": 6, "x": 0, - "y": 28 + "y": 32 }, - "id": 56, + "id": 44, + "maxDataPoints": 100, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -966,29 +971,17 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "sum(dragonfly_scheduler_concurrent_schedule_total{namespace=~\"$namespace\"}) by (instance)", + "expr": "((sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_download_peer_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", + "format": "time_series", "interval": "60", - "legendFormat": "{{instance}}", + "intervalFactor": 1, + "legendFormat": "", "range": true, "refId": "A" } ], - "title": "Concurrent Scheduling", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 36 - }, - "id": 131, - "panels": [], - "title": "Task", - "type": "row" + "title": "Download Peer Success Rate", + "type": "stat" }, { "datasource": { @@ -999,51 +992,26 @@ "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "fixedColor": "rgb(31, 120, 193)", + "mode": "fixed" }, - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } - }, - "mappings": [], + ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1051,30 +1019,36 @@ } ] }, - "unit": "ms" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 37 + "h": 4, + "w": 18, + "x": 6, + "y": 32 }, - "id": 130, + "id": 46, + "maxDataPoints": 100, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1082,17 +1056,17 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"1\",namespace=~\"$namespace\"}", - "instant": false, + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "format": "time_series", "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", + "intervalFactor": 1, + "legendFormat": "", "range": true, "refId": "A" } ], - "title": "Download Duration(0-1MB)", - "type": "timeseries" + "title": "Download Peer QPS", + "type": "stat" }, { "datasource": { @@ -1123,15 +1097,13 @@ }, "insertNulls": false, "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1147,7 +1119,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1155,17 +1127,17 @@ } ] }, - "unit": "ms" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 37 + "h": 8, + "w": 8, + "x": 0, + "y": 36 }, - "id": 132, + "id": 36, "options": { "legend": { "calcs": [], @@ -1174,11 +1146,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1186,16 +1159,16 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"2\",namespace=~\"$namespace\"}", - "instant": false, + "exemplar": true, + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance, host_type) or vector(0)", + "hide": false, "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", + "legendFormat": "{{instance}}-{{host_type}}", "range": true, "refId": "A" } ], - "title": "Download Duration(1MB-4MB)", + "title": "Download Peer", "type": "timeseries" }, { @@ -1227,15 +1200,13 @@ }, "insertNulls": false, "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1251,7 +1222,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1259,17 +1230,17 @@ } ] }, - "unit": "ms" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 44 + "h": 8, + "w": 8, + "x": 8, + "y": 36 }, - "id": 133, + "id": 38, "options": { "legend": { "calcs": [], @@ -1278,11 +1249,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1290,16 +1262,16 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"3\",namespace=~\"$namespace\"}", - "instant": false, + "exemplar": true, + "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance, host_type) or vector(0)", + "hide": false, "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", + "legendFormat": "{{instance}}-{{host_type}}", "range": true, "refId": "A" } ], - "title": "Download Duration(4MB-8MB)", + "title": "Download Peer Failed", "type": "timeseries" }, { @@ -1331,15 +1303,13 @@ }, "insertNulls": false, "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1355,7 +1325,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1363,2362 +1333,31 @@ } ] }, - "unit": "ms" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 44 - }, - "id": 134, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"4\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(8MB-16MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 51 - }, - "id": 135, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"5\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(16MB-32MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 51 - }, - "id": 136, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"6\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(32MB-64MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 58 - }, - "id": 137, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"7\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(64MB-128MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 58 - }, - "id": 138, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"8\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(128MB-256MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 65 - }, - "id": 139, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"9\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(256MB-512MB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 65 - }, - "id": 140, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"10\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(512MB-1GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 72 - }, - "id": 141, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"11\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(1GB-4GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 72 - }, - "id": 142, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"12\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(4GB-8GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 79 - }, - "id": 143, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"13\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(8GB-16GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 79 - }, - "id": 144, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"14\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(16GB-32GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 86 - }, - "id": 145, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"15\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(32GB-64GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 86 - }, - "id": 146, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"16\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(64GB-128GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 93 - }, - "id": 147, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"17\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(128GB-256GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 93 - }, - "id": 148, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"18\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(256GB-512GB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 0, - "y": 100 - }, - "id": 149, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"19\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(512GB-1TB)", - "type": "timeseries" - }, - { - "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", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "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": 7, - "w": 12, - "x": 12, - "y": 100 - }, - "id": 150, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "dragonfly_scheduler_download_peer_duration_milliseconds{task_size_level=\"20\",namespace=~\"$namespace\"}", - "instant": false, - "interval": "60", - "legendFormat": "{{instance}}-{{quantile}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Duration(1TB+)", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 107 - }, - "id": 72, - "panels": [], - "title": "Host", - "type": "row" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "description": "", - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 108 - }, - "id": 60, - "options": { - "displayMode": "gradient", - "maxVizHeight": 300, - "minVizHeight": 10, - "minVizWidth": 0, - "namePlacement": "auto", - "orientation": "vertical", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "sizing": "auto", - "valueMode": "color" - }, - "pluginVersion": "11.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1d])) by (host_ip))", - "instant": true, - "interval": "60", - "legendFormat": "{{host_ip}}", - "refId": "A" - } - ], - "title": "Host Download Traffic Top 10", - "type": "bargauge" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "description": "", - "fieldConfig": { - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 118 - }, - "id": 62, - "options": { - "displayMode": "gradient", - "maxVizHeight": 300, - "minVizHeight": 10, - "minVizWidth": 0, - "namePlacement": "auto", - "orientation": "vertical", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "sizing": "auto", - "valueMode": "color" - }, - "pluginVersion": "11.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": false, - "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1d])) by (host_ip))", - "instant": true, - "interval": "60", - "intervalFactor": 1, - "legendFormat": "{{host_ip}}", - "refId": "A" - } - ], - "title": "Host Upload Traffic Top 10", - "type": "bargauge" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "description": "", - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 128 - }, - "id": 67, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1m])) by (host_ip)", - "hide": false, - "interval": "60", - "legendFormat": "{{host_ip}}", - "range": true, - "refId": "A" - } - ], - "title": "Host Download Speed", - "type": "timeseries" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "description": "", - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 128 - }, - "id": 69, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1m])) by (host_ip)", - "hide": false, - "interval": "60", - "legendFormat": "{{host_ip}}", - "range": true, - "refId": "A" - } - ], - "title": "Host Upload Speed", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 136 - }, - "id": 74, - "panels": [], - "title": "GRPC", - "type": "row" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 95 - }, - { - "color": "#d44a3a", - "value": 99 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 137 - }, - "id": 12, - "maxDataPoints": 100, - "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(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, - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "GRPC Global Success Rate", - "type": "stat" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ops" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 18, - "x": 6, - "y": 137 - }, - "id": 14, - "maxDataPoints": 100, - "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(grpc_server_started_total{grpc_service=\"scheduler.Scheduler\",namespace=~\"$namespace\"}[$interval]))", - "format": "time_series", - "interval": "60", - "intervalFactor": 1, - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "GRPC 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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byValue", - "options": { - "op": "gte", - "reducer": "allIsZero", - "value": 0 - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": true, - "viz": false - } - } - ] - } - ] - }, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 141 + "h": 8, + "w": 8, + "x": 16, + "y": 36 }, - "id": 26, + "id": 112, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], - "displayMode": "table", - "placement": "right", + "calcs": [], + "displayMode": "list", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3726,16 +1365,16 @@ "uid": "prometheus" }, "editorMode": "code", - "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", + "exemplar": true, + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance, host_type) or vector(0)", + "hide": false, "interval": "60", - "intervalFactor": 1, - "legendFormat": "{{grpc_method}}/{{grpc_code}}", + "legendFormat": "{{instance}}-{{host_type}}", "range": true, "refId": "A" } ], - "title": "GRPC request code", + "title": "Download Peer Back To Source Failed", "type": "timeseries" }, { @@ -3744,6 +1383,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -3765,7 +1405,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -3785,9 +1425,9 @@ "h": 4, "w": 6, "x": 0, - "y": 150 + "y": 44 }, - "id": 44, + "id": 90, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -3806,92 +1446,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "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, - "legendFormat": "", - "range": true, - "refId": "A" - } - ], - "title": "Download Peer Success Rate", - "type": "stat" - }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ops" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 18, - "x": 6, - "y": 150 - }, - "id": 46, - "maxDataPoints": 100, - "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", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3899,69 +1454,47 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "((sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_announce_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, "legendFormat": "", "range": true, "refId": "A" - } - ], - "title": "Download Peer 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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + } + ], + "title": "Announce Peer Success Rate", + "type": "stat" + }, + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "rgb(31, 120, 193)", + "mode": "fixed" }, - "mappings": [], + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3969,30 +1502,36 @@ } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 154 + "h": 4, + "w": 18, + "x": 6, + "y": 44 }, - "id": 36, + "id": 91, + "maxDataPoints": 100, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4000,17 +1539,17 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", - "hide": false, + "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "format": "time_series", "interval": "60", - "legendFormat": "{{instance}}-{{host_type}}", + "intervalFactor": 1, + "legendFormat": "", "range": true, "refId": "A" } ], - "title": "Download Peer", - "type": "timeseries" + "title": "Announce Peer QPS", + "type": "stat" }, { "datasource": { @@ -4047,6 +1586,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4062,7 +1602,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4076,11 +1616,11 @@ }, "gridPos": { "h": 8, - "w": 8, - "x": 8, - "y": 154 + "w": 12, + "x": 0, + "y": 48 }, - "id": 38, + "id": 93, "options": { "legend": { "calcs": [], @@ -4089,11 +1629,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4102,15 +1643,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", - "hide": false, + "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", - "legendFormat": "{{instance}}-{{host_type}}", + "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Failed", + "title": "Announce Peer", "type": "timeseries" }, { @@ -4148,6 +1688,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4163,7 +1704,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4177,11 +1718,11 @@ }, "gridPos": { "h": 8, - "w": 8, - "x": 16, - "y": 154 + "w": 12, + "x": 12, + "y": 48 }, - "id": 112, + "id": 92, "options": { "legend": { "calcs": [], @@ -4190,11 +1731,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4203,15 +1745,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance, host_type)", - "hide": false, + "expr": "sum(rate(dragonfly_scheduler_announce_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", - "legendFormat": "{{instance}}-{{host_type}}", + "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Back To Source Failed", + "title": "Announce Peer Failed", "type": "timeseries" }, { @@ -4220,7 +1761,6 @@ "type": "prometheus", "uid": "prometheus" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -4242,7 +1782,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -4262,9 +1802,9 @@ "h": 4, "w": 6, "x": 0, - "y": 162 + "y": 56 }, - "id": 90, + "id": 48, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -4283,7 +1823,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4291,16 +1831,16 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "(sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_register_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/\nsum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(1)", "format": "time_series", + "instant": false, "interval": "60", "intervalFactor": 1, "legendFormat": "", - "range": true, "refId": "A" } ], - "title": "Announce Peer Success Rate", + "title": "Register Peer Success Rate", "type": "stat" }, { @@ -4331,7 +1871,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4347,9 +1887,9 @@ "h": 4, "w": 18, "x": 6, - "y": 162 + "y": 56 }, - "id": 91, + "id": 50, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -4368,7 +1908,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4376,7 +1916,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -4385,7 +1925,7 @@ "refId": "A" } ], - "title": "Announce Peer QPS", + "title": "Register Peer QPS", "type": "stat" }, { @@ -4416,13 +1956,14 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4438,7 +1979,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4454,9 +1995,9 @@ "h": 8, "w": 12, "x": 0, - "y": 166 + "y": 60 }, - "id": 93, + "id": 40, "options": { "legend": { "calcs": [], @@ -4465,11 +2006,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4478,14 +2020,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Announce Peer", + "title": "Register Peer", "type": "timeseries" }, { @@ -4523,6 +2065,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4538,7 +2081,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4554,9 +2097,9 @@ "h": 8, "w": 12, "x": 12, - "y": 166 + "y": 60 }, - "id": 92, + "id": 115, "options": { "legend": { "calcs": [], @@ -4565,11 +2108,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4578,14 +2122,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(increase(dragonfly_scheduler_register_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Announce Peer Failed", + "title": "Register Peer Failed", "type": "timeseries" }, { @@ -4615,7 +2159,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -4635,9 +2179,9 @@ "h": 4, "w": 6, "x": 0, - "y": 174 + "y": 68 }, - "id": 48, + "id": 117, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -4656,7 +2200,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4664,7 +2208,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_download_peer_started_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "instant": false, "interval": "60", @@ -4673,7 +2217,7 @@ "refId": "A" } ], - "title": "Register Peer Success Rate", + "title": "Download Peer Started Success Rate", "type": "stat" }, { @@ -4704,7 +2248,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4720,9 +2264,9 @@ "h": 4, "w": 18, "x": 6, - "y": 174 + "y": 68 }, - "id": 50, + "id": 118, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -4741,7 +2285,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4749,7 +2293,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -4758,7 +2302,7 @@ "refId": "A" } ], - "title": "Register Peer QPS", + "title": "Download Peer Started QPS", "type": "stat" }, { @@ -4789,13 +2333,14 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4811,7 +2356,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4827,9 +2372,9 @@ "h": 8, "w": 12, "x": 0, - "y": 178 + "y": 72 }, - "id": 40, + "id": 119, "options": { "legend": { "calcs": [], @@ -4838,11 +2383,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4851,14 +2397,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_register_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Register Peer", + "title": "Download Peer Started", "type": "timeseries" }, { @@ -4896,6 +2442,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4911,7 +2458,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4927,9 +2474,9 @@ "h": 8, "w": 12, "x": 12, - "y": 178 + "y": 72 }, - "id": 115, + "id": 120, "options": { "legend": { "calcs": [], @@ -4938,11 +2485,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4951,14 +2499,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(increase(dragonfly_scheduler_register_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_started_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Register Peer Failed", + "title": "Download Peer Started Failed", "type": "timeseries" }, { @@ -4988,7 +2536,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -5008,9 +2556,9 @@ "h": 4, "w": 6, "x": 0, - "y": 186 + "y": 80 }, - "id": 117, + "id": 121, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -5029,7 +2577,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5037,7 +2585,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/\nsum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "instant": false, "interval": "60", @@ -5046,7 +2594,7 @@ "refId": "A" } ], - "title": "Download Peer Started Success Rate", + "title": "Download Peer Back To Source Started Success Rate", "type": "stat" }, { @@ -5077,7 +2625,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5093,9 +2641,9 @@ "h": 4, "w": 18, "x": 6, - "y": 186 + "y": 80 }, - "id": 118, + "id": 122, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -5114,7 +2662,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5122,7 +2670,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5131,7 +2679,7 @@ "refId": "A" } ], - "title": "Download Peer Started QPS", + "title": "Download Peer Back To Source Started QPS", "type": "stat" }, { @@ -5169,6 +2717,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5184,7 +2733,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5200,9 +2749,9 @@ "h": 8, "w": 12, "x": 0, - "y": 190 + "y": 84 }, - "id": 119, + "id": 123, "options": { "legend": { "calcs": [], @@ -5211,11 +2760,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5224,14 +2774,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Started", + "title": "Download Peer Back To Source Started", "type": "timeseries" }, { @@ -5269,6 +2819,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5284,7 +2835,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5300,9 +2851,9 @@ "h": 8, "w": 12, "x": 12, - "y": 190 + "y": 84 }, - "id": 120, + "id": 124, "options": { "legend": { "calcs": [], @@ -5311,11 +2862,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5324,14 +2876,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_started_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Started Failed", + "title": "Download Peer Back To Source Started Failed", "type": "timeseries" }, { @@ -5340,6 +2892,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -5361,7 +2914,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -5381,9 +2934,9 @@ "h": 4, "w": 6, "x": 0, - "y": 198 + "y": 92 }, - "id": 121, + "id": 125, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -5402,7 +2955,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5410,16 +2963,16 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_download_piece_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", - "instant": false, "interval": "60", "intervalFactor": 1, "legendFormat": "", + "range": true, "refId": "A" } ], - "title": "Download Peer Back To Source Started Success Rate", + "title": "Download Piece Success Rate", "type": "stat" }, { @@ -5444,13 +2997,121 @@ }, "type": "special" } - ], + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ops" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 18, + "x": 6, + "y": 92 + }, + "id": 114, + "maxDataPoints": 100, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "editorMode": "code", + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", + "format": "time_series", + "interval": "60", + "intervalFactor": 1, + "legendFormat": "", + "range": true, + "refId": "A" + } + ], + "title": "Download Piece 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", + "showValues": false, + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5458,36 +3119,31 @@ } ] }, - "unit": "ops" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 4, - "w": 18, - "x": 6, - "y": 198 + "h": 8, + "w": 8, + "x": 0, + "y": 96 }, - "id": 122, - "maxDataPoints": 100, + "id": 127, "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5495,17 +3151,16 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval]))", - "format": "time_series", + "exemplar": true, + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", - "intervalFactor": 1, - "legendFormat": "", + "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Back To Source Started QPS", - "type": "stat" + "title": "Download Piece", + "type": "timeseries" }, { "datasource": { @@ -5527,7 +3182,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 8, "gradientMode": "none", "hideFrom": { "legend": false, @@ -5542,6 +3197,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5557,7 +3213,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5571,11 +3227,11 @@ }, "gridPos": { "h": 8, - "w": 12, - "x": 0, - "y": 202 + "w": 8, + "x": 8, + "y": 96 }, - "id": 123, + "id": 128, "options": { "legend": { "calcs": [], @@ -5584,11 +3240,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5597,14 +3254,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Back To Source Started", + "title": "Download Piece Failed", "type": "timeseries" }, { @@ -5627,7 +3284,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 7, "gradientMode": "none", "hideFrom": { "legend": false, @@ -5642,6 +3299,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5657,7 +3315,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5671,11 +3329,11 @@ }, "gridPos": { "h": 8, - "w": 12, - "x": 12, - "y": 202 + "w": 8, + "x": 16, + "y": 96 }, - "id": 124, + "id": 129, "options": { "legend": { "calcs": [], @@ -5684,11 +3342,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5697,14 +3356,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_peer_back_to_source_started_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_download_piece_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Peer Back To Source Started Failed", + "title": "Download Piece Back To Source Failed", "type": "timeseries" }, { @@ -5735,7 +3394,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -5755,9 +3414,9 @@ "h": 4, "w": 6, "x": 0, - "y": 210 + "y": 104 }, - "id": 125, + "id": 113, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -5776,7 +3435,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5784,7 +3443,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_stat_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5793,7 +3452,7 @@ "refId": "A" } ], - "title": "Download Piece Success Rate", + "title": "Stat Peer Success Rate", "type": "stat" }, { @@ -5824,7 +3483,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5840,9 +3499,9 @@ "h": 4, "w": 18, "x": 6, - "y": 210 + "y": 104 }, - "id": 114, + "id": 126, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -5861,7 +3520,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5869,7 +3528,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -5878,7 +3537,7 @@ "refId": "A" } ], - "title": "Download Piece QPS", + "title": "Stat Peer QPS", "type": "stat" }, { @@ -5916,6 +3575,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5931,7 +3591,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5945,11 +3605,11 @@ }, "gridPos": { "h": 8, - "w": 8, + "w": 12, "x": 0, - "y": 214 + "y": 108 }, - "id": 127, + "id": 42, "options": { "legend": { "calcs": [], @@ -5958,111 +3618,12 @@ "showLegend": false }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_total{namespace=~\"$namespace\"}[$interval])) by (instance)", - "interval": "60", - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "Download Piece", - "type": "timeseries" - }, - { - "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": 8, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 214 - }, - "id": 128, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6071,14 +3632,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Piece Failed", + "title": "Stat Peer", "type": "timeseries" }, { @@ -6101,7 +3662,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 7, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -6116,6 +3677,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6131,7 +3693,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6145,11 +3707,11 @@ }, "gridPos": { "h": 8, - "w": 8, - "x": 16, - "y": 214 + "w": 12, + "x": 12, + "y": 108 }, - "id": 129, + "id": 116, "options": { "legend": { "calcs": [], @@ -6158,11 +3720,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6171,14 +3734,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_download_piece_back_to_source_finished_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Download Piece Back To Source Failed", + "title": "Stat Peer Failed", "type": "timeseries" }, { @@ -6209,7 +3772,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6229,9 +3792,9 @@ "h": 4, "w": 6, "x": 0, - "y": 222 + "y": 116 }, - "id": 113, + "id": 81, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -6250,7 +3813,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6258,7 +3821,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_leave_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6267,7 +3830,7 @@ "refId": "A" } ], - "title": "Stat Peer Success Rate", + "title": "Leave Peer Success Rate", "type": "stat" }, { @@ -6298,7 +3861,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6314,9 +3877,9 @@ "h": 4, "w": 18, "x": 6, - "y": 222 + "y": 116 }, - "id": 126, + "id": 82, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -6335,7 +3898,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6343,7 +3906,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6352,7 +3915,7 @@ "refId": "A" } ], - "title": "Stat Peer QPS", + "title": "Leave Peer QPS", "type": "stat" }, { @@ -6390,6 +3953,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6405,7 +3969,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6421,22 +3985,23 @@ "h": 8, "w": 12, "x": 0, - "y": 226 + "y": 120 }, - "id": 42, + "id": 83, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": false + "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6445,14 +4010,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Stat Peer", + "title": "Leave Peer", "type": "timeseries" }, { @@ -6490,6 +4055,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6505,7 +4071,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6521,9 +4087,9 @@ "h": 8, "w": 12, "x": 12, - "y": 226 + "y": 120 }, - "id": 116, + "id": 100, "options": { "legend": { "calcs": [], @@ -6532,11 +4098,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6545,14 +4112,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_peer_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Stat Peer Failed", + "title": "Leave Peer Failed", "type": "timeseries" }, { @@ -6583,7 +4150,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6603,9 +4170,9 @@ "h": 4, "w": 6, "x": 0, - "y": 234 + "y": 128 }, - "id": 81, + "id": 86, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -6624,7 +4191,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6632,7 +4199,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_stat_task_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6641,7 +4208,7 @@ "refId": "A" } ], - "title": "Leave Peer Success Rate", + "title": "Stat Task Success Rate", "type": "stat" }, { @@ -6672,7 +4239,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6688,9 +4255,9 @@ "h": 4, "w": 18, "x": 6, - "y": 234 + "y": 128 }, - "id": 82, + "id": 87, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -6709,7 +4276,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6717,7 +4284,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -6726,7 +4293,7 @@ "refId": "A" } ], - "title": "Leave Peer QPS", + "title": "Stat Task QPS", "type": "stat" }, { @@ -6764,6 +4331,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6779,7 +4347,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6795,9 +4363,9 @@ "h": 8, "w": 12, "x": 0, - "y": 238 + "y": 132 }, - "id": 83, + "id": 89, "options": { "legend": { "calcs": [], @@ -6806,11 +4374,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6819,14 +4388,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_peer_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Leave Peer", + "title": "Stat Task", "type": "timeseries" }, { @@ -6864,6 +4433,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6879,7 +4449,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6895,9 +4465,9 @@ "h": 8, "w": 12, "x": 12, - "y": 238 + "y": 132 }, - "id": 100, + "id": 84, "options": { "legend": { "calcs": [], @@ -6906,11 +4476,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6919,14 +4490,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_peer_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_stat_task_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Leave Peer Failed", + "title": "Stat Task Failed", "type": "timeseries" }, { @@ -6957,7 +4528,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -6977,9 +4548,9 @@ "h": 4, "w": 6, "x": 0, - "y": 246 + "y": 140 }, - "id": 86, + "id": 94, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -6998,7 +4569,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7006,7 +4577,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_announce_host_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7015,7 +4586,7 @@ "refId": "A" } ], - "title": "Stat Task Success Rate", + "title": "Announce Host Success Rate", "type": "stat" }, { @@ -7046,7 +4617,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7062,9 +4633,9 @@ "h": 4, "w": 18, "x": 6, - "y": 246 + "y": 140 }, - "id": 87, + "id": 95, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -7083,7 +4654,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7091,7 +4662,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7100,7 +4671,7 @@ "refId": "A" } ], - "title": "Stat Task QPS", + "title": "Announce Host QPS", "type": "stat" }, { @@ -7138,6 +4709,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -7153,7 +4725,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7169,9 +4741,9 @@ "h": 8, "w": 12, "x": 0, - "y": 250 + "y": 144 }, - "id": 89, + "id": 96, "options": { "legend": { "calcs": [], @@ -7180,11 +4752,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7193,14 +4766,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_task_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Stat Task", + "title": "Announce Host", "type": "timeseries" }, { @@ -7238,6 +4811,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -7253,7 +4827,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7269,9 +4843,9 @@ "h": 8, "w": 12, "x": 12, - "y": 250 + "y": 144 }, - "id": 84, + "id": 97, "options": { "legend": { "calcs": [], @@ -7280,11 +4854,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7293,14 +4868,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_stat_task_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_announce_host_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Stat Task Failed", + "title": "Announce Host Failed", "type": "timeseries" }, { @@ -7331,7 +4906,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -7351,9 +4926,9 @@ "h": 4, "w": 6, "x": 0, - "y": 258 + "y": 152 }, - "id": 94, + "id": 98, "maxDataPoints": 100, "options": { "colorMode": "background", @@ -7372,7 +4947,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7380,7 +4955,7 @@ "uid": "prometheus" }, "editorMode": "code", - "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]))", + "expr": "((sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_scheduler_leave_host_failure_total{namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7389,7 +4964,7 @@ "refId": "A" } ], - "title": "Announce Host Success Rate", + "title": "Leave Host Success Rate", "type": "stat" }, { @@ -7420,7 +4995,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7436,9 +5011,9 @@ "h": 4, "w": 18, "x": 6, - "y": 258 + "y": 152 }, - "id": 95, + "id": 99, "maxDataPoints": 100, "options": { "colorMode": "none", @@ -7457,7 +5032,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7465,7 +5040,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -7474,7 +5049,7 @@ "refId": "A" } ], - "title": "Announce Host QPS", + "title": "Leave Host QPS", "type": "stat" }, { @@ -7512,6 +5087,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -7527,7 +5103,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7543,9 +5119,9 @@ "h": 8, "w": 12, "x": 0, - "y": 262 + "y": 156 }, - "id": 96, + "id": 88, "options": { "legend": { "calcs": [], @@ -7554,11 +5130,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7567,14 +5144,14 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_host_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Announce Host", + "title": "Leave Host", "type": "timeseries" }, { @@ -7612,6 +5189,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -7627,7 +5205,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7643,9 +5221,9 @@ "h": 8, "w": 12, "x": 12, - "y": 262 + "y": 156 }, - "id": 97, + "id": 101, "options": { "legend": { "calcs": [], @@ -7654,11 +5232,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7667,16 +5246,29 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_announce_host_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_leave_host_failure_total{namespace=~\"$namespace\"}[$__rate_interval])) by (instance) or vector(0)", "interval": "60", "legendFormat": "{{instance}}", "range": true, "refId": "A" } ], - "title": "Announce Host Failed", + "title": "Leave Host Failed", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 164 + }, + "id": 72, + "panels": [], + "title": "Host", + "type": "row" + }, { "datasource": { "default": true, @@ -7686,55 +5278,40 @@ "description": "", "fieldConfig": { "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 95 - }, - { - "color": "#d44a3a", - "value": 99 + "color": "green", + "value": 0 } ] }, - "unit": "percentunit" + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 4, - "w": 6, + "h": 10, + "w": 24, "x": 0, - "y": 270 + "y": 165 }, - "id": 98, - "maxDataPoints": 100, + "id": 60, "options": { - "colorMode": "background", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "percentChangeColorMode": "standard", + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "vertical", "reduceOptions": { "calcs": [ "mean" @@ -7742,11 +5319,11 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7754,17 +5331,16 @@ "uid": "prometheus" }, "editorMode": "code", - "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", + "exemplar": false, + "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1d])) by (host_ip))", + "instant": true, "interval": "60", - "intervalFactor": 1, - "legendFormat": "", - "range": true, + "legendFormat": "{{host_ip}}", "refId": "A" } ], - "title": "Leave Host Success Rate", - "type": "stat" + "title": "Host Download Traffic Top 10", + "type": "bargauge" }, { "datasource": { @@ -7772,54 +5348,43 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "", "fieldConfig": { "defaults": { - "color": { - "fixedColor": "rgb(31, 120, 193)", - "mode": "fixed" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "value": 0 } ] }, - "unit": "ops" + "unit": "bytes" }, "overrides": [] }, "gridPos": { - "h": 4, - "w": 18, - "x": 6, - "y": 270 + "h": 10, + "w": 24, + "x": 0, + "y": 175 }, - "id": 99, - "maxDataPoints": 100, + "id": 62, "options": { - "colorMode": "none", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "percentChangeColorMode": "standard", + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "vertical", "reduceOptions": { "calcs": [ "mean" @@ -7827,11 +5392,11 @@ "fields": "", "values": false }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7839,17 +5404,17 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval]))", - "format": "time_series", + "exemplar": false, + "expr": "topk(10, sum(increase(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1d])) by (host_ip))", + "instant": true, "interval": "60", "intervalFactor": 1, - "legendFormat": "", - "range": true, + "legendFormat": "{{host_ip}}", "refId": "A" } ], - "title": "Leave Host QPS", - "type": "stat" + "title": "Host Upload Traffic Top 10", + "type": "bargauge" }, { "datasource": { @@ -7857,6 +5422,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7886,6 +5452,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -7901,7 +5468,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -7909,7 +5476,7 @@ } ] }, - "unit": "short" + "unit": "bytes" }, "overrides": [] }, @@ -7917,9 +5484,9 @@ "h": 8, "w": 12, "x": 0, - "y": 274 + "y": 185 }, - "id": 88, + "id": 67, "options": { "legend": { "calcs": [], @@ -7928,11 +5495,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -7940,15 +5508,15 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_host_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"download\",namespace=~\"$namespace\"}[1m])) by (host_ip) or vector(0)", + "hide": false, "interval": "60", - "legendFormat": "{{instance}}", + "legendFormat": "{{host_ip}}", "range": true, "refId": "A" } ], - "title": "Leave Host", + "title": "Host Download Speed", "type": "timeseries" }, { @@ -7957,6 +5525,7 @@ "type": "prometheus", "uid": "prometheus" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7986,6 +5555,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -8001,7 +5571,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -8009,7 +5579,7 @@ } ] }, - "unit": "short" + "unit": "bytes" }, "overrides": [] }, @@ -8017,9 +5587,9 @@ "h": 8, "w": 12, "x": 12, - "y": 274 + "y": 185 }, - "id": 101, + "id": 69, "options": { "legend": { "calcs": [], @@ -8028,11 +5598,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -8040,28 +5611,24 @@ "uid": "prometheus" }, "editorMode": "code", - "exemplar": true, - "expr": "sum(rate(dragonfly_scheduler_leave_host_failure_total{namespace=~\"$namespace\"}[$interval])) by (instance)", + "expr": "sum(rate(dragonfly_scheduler_host_traffic{type=\"upload\",namespace=~\"$namespace\"}[1m])) by (host_ip) or vector(0)", + "hide": false, "interval": "60", - "legendFormat": "{{instance}}", + "legendFormat": "{{host_ip}}", "range": true, "refId": "A" } ], - "title": "Leave Host Failed", + "title": "Host Upload Speed", "type": "timeseries" }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 282 + "y": 193 }, "id": 76, "panels": [], @@ -8103,6 +5670,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -8118,7 +5686,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -8134,7 +5702,7 @@ "h": 8, "w": 12, "x": 0, - "y": 283 + "y": 194 }, "id": 32, "options": { @@ -8147,11 +5715,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -8209,6 +5778,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -8224,7 +5794,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -8240,7 +5810,7 @@ "h": 8, "w": 12, "x": 12, - "y": 283 + "y": 194 }, "id": 30, "options": { @@ -8251,11 +5821,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -8313,6 +5884,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -8328,7 +5900,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -8357,7 +5929,7 @@ "h": 6, "w": 12, "x": 0, - "y": 291 + "y": 202 }, "id": 64, "options": { @@ -8368,11 +5940,12 @@ "showLegend": false }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -8381,7 +5954,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "process_resident_memory_bytes{namespace=~\"$namespace\"}", + "expr": "process_resident_memory_bytes{container=\"scheduler\",namespace=~\"$namespace\"}", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -8390,26 +5963,9 @@ "range": true, "refId": "A", "step": 4 - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "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 } ], - "title": "process memory", + "title": "Process Memory", "type": "timeseries" }, { @@ -8441,12 +5997,13 @@ }, "insertNulls": false, "lineInterpolation": "smooth", - "lineWidth": 0, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -8462,7 +6019,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -8491,7 +6048,7 @@ "h": 6, "w": 12, "x": 12, - "y": 291 + "y": 202 }, "id": 65, "options": { @@ -8502,11 +6059,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -8552,28 +6110,15 @@ "legendFormat": "{{instance}}-heap_inuse", "range": true, "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "expr": "rate(go_memstats_alloc_bytes_total{container=\"scheduler\",namespace=~\"$namespace\"}[30s])", - "hide": false, - "interval": "", - "legendFormat": "{{instance}}-alloc_rate", - "range": true, - "refId": "B" } ], - "title": "go memstats", + "title": "Go Memstats", "type": "timeseries" } ], + "preload": false, "refresh": "", - "schemaVersion": 39, + "schemaVersion": 42, "tags": [], "templating": { "list": [ @@ -8582,11 +6127,9 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": false, "text": "1m", "value": "1m" }, - "hide": 0, "name": "interval", "options": [ { @@ -8646,14 +6189,11 @@ } ], "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "queryValue": "", "refresh": 2, - "skipUrlSync": false, "type": "interval" }, { "current": { - "selected": false, "text": "dragonfly-system", "value": "dragonfly-system" }, @@ -8662,10 +6202,8 @@ "uid": "prometheus" }, "definition": "label_values(dragonfly_scheduler_version,namespace)", - "hide": 0, "includeAll": false, "label": "namespace", - "multi": false, "name": "namespace", "options": [], "query": { @@ -8675,8 +6213,6 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, - "sort": 0, "type": "query" } ] @@ -8685,34 +6221,9 @@ "from": "now-6h", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" - ] - }, + "timepicker": {}, "timezone": "", "title": "Scheduler", "uid": "lj4R659nk", - "version": 3, - "weekStart": "" + "version": 58 } diff --git a/grafana/dashboards/seed-client.json b/grafana/dashboards/seed-client.json index 8cb0e93..3789720 100644 --- a/grafana/dashboards/seed-client.json +++ b/grafana/dashboards/seed-client.json @@ -24,18 +24,12 @@ "description": "Grafana dashboard for dragonfly seed client.", "editable": true, "fiscalYearStartMonth": 0, - "gnetId": 21054, "graphTooltip": 0, - "id": 28, + "id": 0, "links": [], - "liveNow": false, "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, @@ -78,25 +72,33 @@ }, "id": 52, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -145,25 +147,33 @@ }, "id": 64, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -212,25 +222,33 @@ }, "id": 65, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -279,25 +297,33 @@ }, "id": 63, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -346,25 +372,33 @@ }, "id": 67, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -413,25 +447,33 @@ }, "id": 66, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "v1.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -484,6 +526,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -499,7 +542,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -526,11 +569,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -539,7 +583,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (type)", + "expr": "sum(rate(dragonfly_client_download_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) by (type) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -588,6 +632,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -603,7 +648,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -630,11 +675,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -643,7 +689,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -692,6 +738,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -707,7 +754,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -734,11 +781,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -747,7 +795,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"LOCAL_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -796,6 +844,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -811,7 +860,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -838,11 +887,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -851,7 +901,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"REMOTE_PEER\",container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -900,6 +950,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -915,7 +966,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -942,11 +993,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -955,7 +1007,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_download_traffic{type=\"BACK_TO_SOURCE\",container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1004,6 +1056,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1019,7 +1072,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1046,11 +1099,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1059,7 +1113,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) by (instance, container)", + "expr": "sum(rate(dragonfly_client_upload_traffic{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) by (instance, container) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1108,6 +1162,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1123,7 +1178,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1150,11 +1205,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1163,7 +1219,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(dragonfly_client_concurrent_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"})", + "expr": "sum(dragonfly_client_concurrent_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -1205,7 +1261,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -1235,7 +1291,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1243,7 +1301,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1251,7 +1309,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "(sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])) -\nsum(rate(dragonfly_client_proxy_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])))\n/ \nsum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "expr": "((sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_proxy_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1290,7 +1348,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1316,7 +1374,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1324,7 +1384,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1332,7 +1392,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1377,6 +1437,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1392,7 +1453,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1405,7 +1466,7 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 9, "w": 24, "x": 0, "y": 49 @@ -1419,10 +1480,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1430,7 +1493,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\", namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_proxy_request_total{container=\"seed-client\", namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "interval": "60", "legendFormat": "total", @@ -1476,6 +1539,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1491,7 +1555,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1507,7 +1571,7 @@ "h": 8, "w": 12, "x": 0, - "y": 57 + "y": 58 }, "id": 113, "options": { @@ -1518,10 +1582,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1529,7 +1595,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "rate(dragonfly_client_proxy_request_total{container=\"seed-client\", namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_proxy_request_total{container=\"seed-client\", namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "instant": false, "interval": "60", "legendFormat": "{{instance}}", @@ -1575,6 +1641,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1590,7 +1657,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1606,7 +1673,7 @@ "h": 8, "w": 12, "x": 12, - "y": 57 + "y": 58 }, "id": 114, "options": { @@ -1617,10 +1684,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1628,7 +1697,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "rate(dragonfly_client_proxy_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_proxy_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "instant": false, "interval": "60", "legendFormat": "{{instance}}", @@ -1639,130 +1708,6 @@ "title": "Proxy Request Failed(instance)", "type": "timeseries" }, - { - "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": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "{__name__=\"dragonfly_client_proxy_request_via_dfdaemon_total\", container=\"client\", endpoint=\"http-metrics\", instance=\"172.18.0.4:4002\", job=\"dragonfly-client-metrics\", namespace=\"dragonfly-system\", pod=\"dragonfly-client-bbq8s\", service=\"dragonfly-client-metrics\"}" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 65 - }, - "id": 117, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "expr": "sum(rate(dragonfly_client_proxy_request_via_dfdaemon_total{container=\"seed-client\", namespace=~\"$namespace\"}[$interval]))", - "instant": false, - "interval": "60", - "legendFormat": "total", - "range": true, - "refId": "A" - } - ], - "title": "Proxy Request via Dfdaemon", - "type": "timeseries" - }, { "datasource": { "default": true, @@ -1791,7 +1736,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -1811,7 +1756,7 @@ "h": 4, "w": 6, "x": 0, - "y": 73 + "y": 66 }, "id": 104, "options": { @@ -1821,7 +1766,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1829,7 +1776,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1837,7 +1784,7 @@ "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]))", + "expr": "((sum(rate(dragonfly_client_backend_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_backend_request_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_backend_request_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1865,7 +1812,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -1881,7 +1828,7 @@ "h": 4, "w": 18, "x": 6, - "y": 73 + "y": 66 }, "id": 106, "options": { @@ -1891,7 +1838,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -1899,7 +1848,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -1907,7 +1856,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_backend_request_duration_milliseconds_count{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "instant": false, "legendFormat": "__auto", "range": true, @@ -1946,12 +1895,16 @@ }, "insertNulls": false, "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 1, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -1961,17 +1914,15 @@ "mode": "off" } }, + "fieldMinMax": false, "mappings": [], + "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "value": 0 } ] }, @@ -1983,7 +1934,7 @@ "h": 8, "w": 24, "x": 0, - "y": 77 + "y": 70 }, "id": 105, "options": { @@ -1994,10 +1945,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2005,7 +1958,7 @@ "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)", + "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 }[$__rate_interval]\n )\n ) \n)", "instant": false, "legendFormat": "P99", "range": true, @@ -2017,7 +1970,7 @@ "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)", + "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 }[$__rate_interval]\n )\n ) \n)", "hide": false, "instant": false, "legendFormat": "p95", @@ -2030,7 +1983,7 @@ "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)", + "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 }[$__rate_interval]\n )\n ) \n)", "hide": false, "instant": false, "legendFormat": "P50", @@ -2043,15 +1996,11 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 85 + "y": 78 }, "id": 48, "panels": [], @@ -2085,7 +2034,7 @@ "steps": [ { "color": "#299c46", - "value": null + "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", @@ -2105,7 +2054,7 @@ "h": 4, "w": 6, "x": 0, - "y": 86 + "y": 79 }, "id": 59, "maxDataPoints": 100, @@ -2116,7 +2065,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -2124,7 +2075,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2133,7 +2084,7 @@ }, "editorMode": "code", "exemplar": true, - "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]))", + "expr": "((sum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) -\nsum(rate(dragonfly_client_download_task_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])))\n/ \nsum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]))) or vector(1)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -2173,7 +2124,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2189,7 +2140,7 @@ "h": 4, "w": 18, "x": 6, - "y": 86 + "y": 79 }, "id": 60, "maxDataPoints": 100, @@ -2200,7 +2151,9 @@ "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -2208,7 +2161,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2217,7 +2170,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "sum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval]))", + "expr": "sum(rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval])) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 1, @@ -2257,13 +2210,17 @@ "viz": false }, "insertNulls": false, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2279,7 +2236,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2295,7 +2252,7 @@ "h": 8, "w": 12, "x": 0, - "y": 90 + "y": 83 }, "id": 61, "options": { @@ -2306,11 +2263,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2319,7 +2277,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -2368,6 +2326,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2383,7 +2342,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2399,7 +2358,7 @@ "h": 8, "w": 12, "x": 12, - "y": 90 + "y": 83 }, "id": 97, "options": { @@ -2410,11 +2369,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2423,7 +2383,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_client_download_task_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$interval])", + "expr": "rate(dragonfly_client_download_task_failure_total{container=\"seed-client\",namespace=~\"$namespace\"}[$__rate_interval]) or vector(0)", "format": "time_series", "interval": "60", "intervalFactor": 2, @@ -2443,7 +2403,7 @@ "h": 1, "w": 24, "x": 0, - "y": 98 + "y": 91 }, "id": 75, "panels": [], @@ -2488,6 +2448,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2503,7 +2464,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2519,7 +2480,7 @@ "h": 7, "w": 12, "x": 0, - "y": 99 + "y": 92 }, "id": 76, "options": { @@ -2530,11 +2491,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2543,7 +2505,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2556,7 +2518,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -2569,7 +2531,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -2618,6 +2580,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2633,7 +2596,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2649,7 +2612,7 @@ "h": 7, "w": 12, "x": 12, - "y": 99 + "y": 92 }, "id": 78, "options": { @@ -2660,11 +2623,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2673,7 +2637,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2686,7 +2650,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -2699,7 +2663,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -2747,6 +2711,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2762,7 +2727,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2778,7 +2743,7 @@ "h": 7, "w": 12, "x": 0, - "y": 106 + "y": 99 }, "id": 79, "options": { @@ -2789,11 +2754,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2802,7 +2768,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$interval])) by (le))", + "expr": "histogram_quantile(0.99, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2815,7 +2781,7 @@ "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))", + "expr": "histogram_quantile(0.95, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -2828,7 +2794,7 @@ "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))", + "expr": "histogram_quantile(0.50, sum(rate(dragonfly_client_download_task_duration_milliseconds_bucket{task_size_level=\"3\",container=\"seed-client\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -2877,6 +2843,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -2892,7 +2859,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -2908,7 +2875,7 @@ "h": 7, "w": 12, "x": 12, - "y": 106 + "y": 99 }, "id": 80, "options": { @@ -2919,11 +2886,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -2932,7 +2900,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -2945,7 +2913,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -2958,7 +2926,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3007,6 +2975,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3022,7 +2991,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3038,7 +3007,7 @@ "h": 7, "w": 12, "x": 0, - "y": 113 + "y": 106 }, "id": 81, "options": { @@ -3049,11 +3018,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3062,7 +3032,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3075,7 +3045,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3088,7 +3058,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3137,6 +3107,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3152,7 +3123,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3168,7 +3139,7 @@ "h": 7, "w": 12, "x": 12, - "y": 113 + "y": 106 }, "id": 82, "options": { @@ -3179,11 +3150,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3192,7 +3164,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3205,7 +3177,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3218,7 +3190,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3267,6 +3239,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3282,7 +3255,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3298,7 +3271,7 @@ "h": 7, "w": 12, "x": 0, - "y": 120 + "y": 113 }, "id": 83, "options": { @@ -3309,11 +3282,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3322,7 +3296,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3335,7 +3309,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3348,7 +3322,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3397,6 +3371,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3412,7 +3387,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3428,7 +3403,7 @@ "h": 7, "w": 12, "x": 12, - "y": 120 + "y": 113 }, "id": 84, "options": { @@ -3439,11 +3414,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3452,7 +3428,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3465,7 +3441,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3478,7 +3454,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3527,6 +3503,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3542,7 +3519,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3558,7 +3535,7 @@ "h": 7, "w": 12, "x": 0, - "y": 127 + "y": 120 }, "id": 85, "options": { @@ -3569,11 +3546,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3582,7 +3560,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3595,7 +3573,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3608,7 +3586,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3657,6 +3635,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3672,7 +3651,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3688,7 +3667,7 @@ "h": 7, "w": 12, "x": 12, - "y": 127 + "y": 120 }, "id": 86, "options": { @@ -3699,11 +3678,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3712,7 +3692,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3725,7 +3705,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3738,7 +3718,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3787,6 +3767,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -3802,7 +3783,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3818,7 +3799,7 @@ "h": 7, "w": 12, "x": 0, - "y": 134 + "y": 127 }, "id": 87, "options": { @@ -3829,11 +3810,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3842,7 +3824,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3855,7 +3837,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3868,7 +3850,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -3917,6 +3899,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -3932,7 +3915,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -3948,7 +3931,7 @@ "h": 7, "w": 12, "x": 12, - "y": 134 + "y": 127 }, "id": 88, "options": { @@ -3959,11 +3942,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -3972,7 +3956,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -3985,7 +3969,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -3998,7 +3982,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4047,6 +4031,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -4062,7 +4047,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4078,7 +4063,7 @@ "h": 7, "w": 12, "x": 0, - "y": 141 + "y": 134 }, "id": 89, "options": { @@ -4089,11 +4074,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4102,7 +4088,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4115,7 +4101,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4128,7 +4114,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4177,6 +4163,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4192,7 +4179,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4208,7 +4195,7 @@ "h": 7, "w": 12, "x": 12, - "y": 141 + "y": 134 }, "id": 90, "options": { @@ -4219,11 +4206,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4232,7 +4220,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4245,7 +4233,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4258,7 +4246,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4307,6 +4295,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4322,7 +4311,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4338,7 +4327,7 @@ "h": 7, "w": 12, "x": 0, - "y": 148 + "y": 141 }, "id": 91, "options": { @@ -4349,11 +4338,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4362,7 +4352,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4375,7 +4365,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4388,7 +4378,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4437,6 +4427,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4452,7 +4443,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4468,7 +4459,7 @@ "h": 7, "w": 12, "x": 12, - "y": 148 + "y": 141 }, "id": 92, "options": { @@ -4479,11 +4470,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4492,7 +4484,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4505,7 +4497,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4518,7 +4510,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4567,6 +4559,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4582,7 +4575,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4598,7 +4591,7 @@ "h": 7, "w": 12, "x": 0, - "y": 155 + "y": 148 }, "id": 93, "options": { @@ -4609,11 +4602,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4622,7 +4616,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4635,7 +4629,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4648,7 +4642,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4697,6 +4691,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4712,7 +4707,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4728,7 +4723,7 @@ "h": 7, "w": 12, "x": 12, - "y": 155 + "y": 148 }, "id": 94, "options": { @@ -4739,11 +4734,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4752,7 +4748,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4765,7 +4761,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4778,7 +4774,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4827,6 +4823,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4842,7 +4839,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4858,7 +4855,7 @@ "h": 7, "w": 12, "x": 0, - "y": 162 + "y": 155 }, "id": 95, "options": { @@ -4869,11 +4866,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -4882,7 +4880,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -4895,7 +4893,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -4908,7 +4906,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -4957,6 +4955,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -4972,7 +4971,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -4988,7 +4987,7 @@ "h": 7, "w": 12, "x": 12, - "y": 162 + "y": 155 }, "id": 96, "options": { @@ -4999,11 +4998,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5012,7 +5012,7 @@ }, "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "instant": false, "interval": "60", "legendFormat": "P99", @@ -5025,7 +5025,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P95", @@ -5038,7 +5038,7 @@ "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\",namespace=~\"$namespace\"}[$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\"}[$__rate_interval])) by (le)) or vector(0)", "hide": false, "instant": false, "legendFormat": "P50", @@ -5055,7 +5055,7 @@ "h": 1, "w": 24, "x": 0, - "y": 169 + "y": 162 }, "id": 107, "panels": [], @@ -5089,28 +5089,37 @@ "h": 9, "w": 4, "x": 0, - "y": 170 + "y": 163 }, "id": 108, "options": { - "displayLabels": ["percent"], + "displayLabels": [ + "percent" + ], "legend": { "displayMode": "table", "placement": "bottom", "showLegend": true, - "values": ["value"] + "values": [ + "value" + ] }, "pieType": "pie", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, + "sort": "desc", "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5157,6 +5166,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -5167,7 +5179,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5246,7 +5258,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "#EAB839", @@ -5267,21 +5279,15 @@ "h": 9, "w": 20, "x": 4, - "y": 170 + "y": 163 }, "id": 109, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": ["sum"], - "show": false - }, "frameIndex": 1, "showHeader": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5415,6 +5421,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5430,7 +5437,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5446,7 +5453,7 @@ "h": 8, "w": 12, "x": 0, - "y": 179 + "y": 172 }, "id": 116, "options": { @@ -5457,10 +5464,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5468,7 +5477,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "dragonfly_client_disk_written_bytes{namespace=~\"$namespace\",container=\"seed-client\"}", + "expr": "dragonfly_client_disk_written_bytes{namespace=~\"$namespace\",container=\"seed-client\"} or vector(0)", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -5513,6 +5522,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5528,7 +5538,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5544,7 +5554,7 @@ "h": 8, "w": 12, "x": 12, - "y": 179 + "y": 172 }, "id": 115, "options": { @@ -5555,10 +5565,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5566,7 +5578,7 @@ "uid": "prometheus" }, "editorMode": "code", - "expr": "dragonfly_client_disk_read_bytes{namespace=~\"$namespace\",container=\"seed-client\"}", + "expr": "dragonfly_client_disk_read_bytes{namespace=~\"$namespace\",container=\"seed-client\"} or vector(0)", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -5582,7 +5594,7 @@ "h": 1, "w": 24, "x": 0, - "y": 187 + "y": 180 }, "id": 101, "panels": [], @@ -5605,7 +5617,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 } ] }, @@ -5617,18 +5629,26 @@ "h": 10, "w": 24, "x": 0, - "y": 188 + "y": 181 }, "id": 102, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "vertical", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -5636,7 +5656,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5671,7 +5691,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 } ] }, @@ -5683,18 +5703,26 @@ "h": 10, "w": 24, "x": 0, - "y": 198 + "y": 191 }, "id": 103, "options": { "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "vertical", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, @@ -5702,7 +5730,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.2.0", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5724,15 +5752,11 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 208 + "y": 201 }, "id": 50, "panels": [], @@ -5774,6 +5798,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5789,7 +5814,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5805,7 +5830,7 @@ "h": 8, "w": 12, "x": 0, - "y": 209 + "y": 202 }, "id": 99, "options": { @@ -5816,11 +5841,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -5878,6 +5904,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -5893,7 +5920,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -5909,7 +5936,7 @@ "h": 8, "w": 12, "x": 12, - "y": 209 + "y": 202 }, "id": 98, "options": { @@ -5920,29 +5947,13 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "editorMode": "code", - "exemplar": true, - "expr": "process_virtual_memory_bytes{container=\"seed-client\",namespace=~\"$namespace\"}", - "format": "time_series", - "interval": "60", - "intervalFactor": 2, - "legendFormat": "{{instance}}-{{container}}-virtual", - "metric": "go_gc_duration_seconds", - "range": true, - "refId": "A", - "step": 4 - }, { "datasource": { "type": "prometheus", @@ -5995,6 +6006,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6010,7 +6022,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6026,7 +6038,7 @@ "h": 8, "w": 12, "x": 0, - "y": 217 + "y": 210 }, "id": 62, "options": { @@ -6037,11 +6049,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6099,6 +6112,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -6114,7 +6128,7 @@ "steps": [ { "color": "green", - "value": null + "value": 0 }, { "color": "red", @@ -6130,7 +6144,7 @@ "h": 8, "w": 12, "x": 12, - "y": 217 + "y": 210 }, "id": 100, "options": { @@ -6141,11 +6155,12 @@ "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "none" } }, - "pluginVersion": "10.4.1", + "pluginVersion": "12.3.1", "targets": [ { "datasource": { @@ -6169,8 +6184,9 @@ "type": "timeseries" } ], + "preload": false, "refresh": "", - "schemaVersion": 39, + "schemaVersion": 42, "tags": [], "templating": { "list": [ @@ -6179,11 +6195,9 @@ "auto_count": 30, "auto_min": "10s", "current": { - "selected": false, "text": "1m", "value": "1m" }, - "hide": 0, "name": "interval", "options": [ { @@ -6243,14 +6257,11 @@ } ], "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", - "queryValue": "", "refresh": 2, - "skipUrlSync": false, "type": "interval" }, { "current": { - "selected": false, "text": "dragonfly-system", "value": "dragonfly-system" }, @@ -6259,10 +6270,8 @@ "uid": "prometheus" }, "definition": "label_values(dragonfly_client_version,namespace)", - "hide": 0, "includeAll": false, "label": "namespace", - "multi": false, "name": "namespace", "options": [], "query": { @@ -6272,8 +6281,6 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, - "sort": 0, "type": "query" } ] @@ -6282,24 +6289,9 @@ "from": "now-6h", "to": "now" }, - "timepicker": { - "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" - ], - "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] - }, + "timepicker": {}, "timezone": "", "title": "Seed Client", "uid": "HtXpCprnk", - "version": 5, - "weekStart": "" + "version": 48 } diff --git a/prometheus/values.yaml b/prometheus/values.yaml index 77f5eb0..a6b8110 100644 --- a/prometheus/values.yaml +++ b/prometheus/values.yaml @@ -8,3 +8,7 @@ prometheus: ruleSelector: matchLabels: app: dragonfly + +grafana: + adminUser: admin + adminPassword: prom-operator