diff options
Diffstat (limited to 'compose/metrics/dashboards/dashboard-distribution.json')
-rw-r--r-- | compose/metrics/dashboards/dashboard-distribution.json | 265 |
1 files changed, 192 insertions, 73 deletions
diff --git a/compose/metrics/dashboards/dashboard-distribution.json b/compose/metrics/dashboards/dashboard-distribution.json index 1a53fcbc..21024895 100644 --- a/compose/metrics/dashboards/dashboard-distribution.json +++ b/compose/metrics/dashboards/dashboard-distribution.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -22,12 +25,16 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 5, + "id": 9, "links": [], "liveNow": false, "panels": [ { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, @@ -36,10 +43,23 @@ }, "id": 19, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Quick Info", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Uptime for Policy Distribution application", "fieldConfig": { "defaults": { @@ -66,7 +86,7 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 8, "w": 8, "x": 0, "y": 1 @@ -77,6 +97,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -84,10 +105,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -104,11 +127,14 @@ } ], "title": "Process Uptime", - "transformations": [], "transparent": true, "type": "stat" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Distribution CPU Usage Monitoring", "fieldConfig": { "defaults": { @@ -135,11 +161,13 @@ "gridPos": { "h": 8, "w": 7, - "x": 9, + "x": 8, "y": 1 }, "id": 26, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -149,9 +177,10 @@ "values": false }, "showThresholdLabels": false, - "showThresholdMarkers": false + "showThresholdMarkers": false, + "sizing": "auto" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -169,6 +198,10 @@ "type": "gauge" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Distribution Memory Usage Monitoring", "fieldConfig": { "defaults": { @@ -197,12 +230,14 @@ }, "gridPos": { "h": 8, - "w": 6, - "x": 17, + "w": 7, + "x": 15, "y": 1 }, "id": 27, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -212,9 +247,10 @@ "values": false }, "showThresholdLabels": false, - "showThresholdMarkers": false + "showThresholdMarkers": false, + "sizing": "auto" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -234,18 +270,35 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 10 + "y": 9 }, "id": 17, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "System", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Distribution CPU Usage Monitoring", "fieldConfig": { "defaults": { @@ -253,6 +306,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -264,6 +320,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -302,10 +359,10 @@ "overrides": [] }, "gridPos": { - "h": 14, - "w": 12, + "h": 9, + "w": 8, "x": 0, - "y": 11 + "y": 10 }, "id": 2, "options": { @@ -317,6 +374,7 @@ ], "displayMode": "table", "placement": "bottom", + "showLegend": true, "sortBy": "Max", "sortDesc": true }, @@ -331,41 +389,23 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[1m]) * 100", + "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[$__rate_interval])", "interval": "", "legendFormat": "system: {{pod}}", + "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[5m]) * 100", - "hide": false, - "interval": "", - "legendFormat": "process: {{pod}}", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[1h]) * 100", - "hide": false, - "interval": "", - "legendFormat": "process_1h: {{pod}}", - "refId": "C" } ], "title": "CPU Usage", "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Distribution Memory Usage Monitoring", "fieldConfig": { "defaults": { @@ -373,6 +413,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -384,6 +427,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -422,10 +466,10 @@ "overrides": [] }, "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 11 + "h": 9, + "w": 7, + "x": 8, + "y": 10 }, "id": 13, "options": { @@ -437,6 +481,7 @@ ], "displayMode": "table", "placement": "bottom", + "showLegend": true, "sortBy": "Last", "sortDesc": false }, @@ -463,6 +508,10 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Policy Distribution JVM Threads", "fieldConfig": { "defaults": { @@ -470,6 +519,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -481,6 +533,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -516,10 +569,10 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 22 + "h": 9, + "w": 7, + "x": 15, + "y": 10 }, "id": 8, "options": { @@ -529,7 +582,8 @@ "last" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -579,18 +633,35 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 35 + "y": 19 }, "id": 15, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Garbage Collection", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "GC operations per second", "fieldConfig": { "defaults": { @@ -598,6 +669,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -609,6 +683,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, @@ -647,7 +722,7 @@ "h": 8, "w": 12, "x": 0, - "y": 36 + "y": 20 }, "id": 10, "options": { @@ -658,7 +733,8 @@ "last" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", @@ -671,10 +747,12 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[1h])", + "expr": "rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[$__range])", "interval": "", "legendFormat": "{{action}} ({{cause}}) : {{ pod }}", + "range": true, "refId": "A" } ], @@ -682,6 +760,10 @@ "type": "timeseries" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Average GC Time", "fieldConfig": { "defaults": { @@ -689,6 +771,9 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -700,6 +785,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, @@ -737,7 +823,7 @@ "h": 8, "w": 12, "x": 12, - "y": 36 + "y": 20 }, "id": 22, "options": { @@ -746,7 +832,8 @@ "last" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", @@ -760,7 +847,7 @@ "uid": "dkSf71fnz" }, "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_sum{job=\"distribution-metrics\"}[1h])/rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[1h])", + "expr": "rate(jvm_gc_collection_seconds_sum{job=\"distribution-metrics\"}[$__range])/rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[$__range])", "interval": "", "legendFormat": "avg {{action}} ({{cause}}) : {{ pod }}", "refId": "A" @@ -771,18 +858,35 @@ }, { "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 44 + "y": 28 }, "id": 21, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, + "refId": "A" + } + ], "title": "Statistics", "type": "row" }, { + "datasource": { + "type": "prometheus", + "uid": "dkSf71fnz" + }, "description": "Stats for Distribution Statistics Count", "fieldConfig": { "defaults": { @@ -807,14 +911,18 @@ "overrides": [] }, "gridPos": { - "h": 11, - "w": 12, + "h": 7, + "w": 13, "x": 0, - "y": 45 + "y": 29 }, "id": 32, "options": { "displayMode": "gradient", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", "orientation": "vertical", "reduceOptions": { "calcs": [ @@ -824,21 +932,25 @@ "values": false }, "showUnfilled": false, + "sizing": "auto", "text": { "titleSize": 12 - } + }, + "valueMode": "color" }, - "pluginVersion": "8.3.4", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "sum(total_distribution_received_count{job=\"distribution-metrics\"})", + "expr": "sum(total_distribution_received_count_total{job=\"distribution-metrics\"})", "interval": "", "legendFormat": "Total Count", + "range": true, "refId": "A" }, { @@ -858,11 +970,13 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "sum(distribution_failure_count{job=\"distribution-metrics\"})", + "expr": "sum(distribution_success_count_total{job=\"distribution-metrics\"})", "hide": false, "interval": "", "legendFormat": "Failure Count", + "range": true, "refId": "C" }, { @@ -870,11 +984,13 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "sum(total_download_received_count{job=\"distribution-metrics\"})", + "expr": "sum(total_download_received_count_total{job=\"distribution-metrics\"})", "hide": false, "interval": "", "legendFormat": "Total Download Count", + "range": true, "refId": "D" }, { @@ -882,11 +998,13 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "sum(download_success_count{job=\"distribution-metrics\"})", + "expr": "sum(download_success_count_total{job=\"distribution-metrics\"})", "hide": false, "interval": "", "legendFormat": "Download Success Count", + "range": true, "refId": "E" }, { @@ -894,11 +1012,13 @@ "type": "prometheus", "uid": "dkSf71fnz" }, + "editorMode": "code", "exemplar": true, - "expr": "sum(download_failure_count{job=\"distribution-metrics\"})", + "expr": "sum(download_failure_count_total{job=\"distribution-metrics\"})", "hide": false, "interval": "", "legendFormat": "Download Failure Count", + "range": true, "refId": "F" } ], @@ -908,20 +1028,19 @@ } ], "refresh": "", - "schemaVersion": 34, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [] }, "time": { - "from": "now-24h", + "from": "now-30m", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Policy Distribution", "uid": "5HkCopg4z", - "version": 5, + "version": 6, "weekStart": "" }
\ No newline at end of file |