From 640f03ead904ef96b89abc8b633bb7ae2f7f3f49 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Fri, 12 Apr 2024 14:48:44 +0200 Subject: [PATCH] fix grafana plugin uses a deprecated, legacy platform based on AngularJS --- ...hts-patchman-engine-general.configmap.yaml | 6987 ++++++++++------- 1 file changed, 4000 insertions(+), 2987 deletions(-) diff --git a/dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml b/dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml index ec1126d0e..b55742241 100644 --- a/dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml +++ b/dashboards/grafana-dashboard-insights-patchman-engine-general.configmap.yaml @@ -29,6 +29,7 @@ data: "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, + "id": 365074, "links": [ ], @@ -113,9 +114,6 @@ data: "y": 1 }, "id": 8, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -129,12 +127,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -201,9 +201,6 @@ data: "y": 1 }, "id": 14, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -217,12 +214,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -288,9 +287,6 @@ data: "y": 1 }, "id": 9, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -304,12 +300,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -375,9 +373,6 @@ data: "y": 1 }, "id": 24, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -391,12 +386,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -462,9 +459,6 @@ data: "y": 1 }, "id": 41, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -478,12 +472,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -549,9 +545,6 @@ data: "y": 1 }, "id": 45, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -565,12 +558,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -636,9 +631,6 @@ data: "y": 1 }, "id": 32, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -652,12 +644,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -722,9 +716,6 @@ data: "y": 1 }, "id": 79, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -738,12 +729,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -811,9 +804,6 @@ data: "y": 4 }, "id": 25, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -827,12 +817,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -898,9 +890,6 @@ data: "y": 4 }, "id": 28, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -914,12 +903,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -986,9 +977,6 @@ data: "y": 4 }, "id": 74, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -1002,12 +990,14 @@ data: "fields": "/^version$/", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1076,9 +1066,6 @@ data: "y": 4 }, "id": 75, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -1092,12 +1079,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1165,9 +1154,6 @@ data: "y": 4 }, "id": 49, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "none", @@ -1181,12 +1167,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1252,9 +1240,6 @@ data: "y": 4 }, "id": 48, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "none", @@ -1268,12 +1253,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1340,9 +1327,6 @@ data: "y": 4 }, "id": 50, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "none", @@ -1356,12 +1340,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1427,9 +1413,6 @@ data: "y": 4 }, "id": 80, - "links": [ - - ], "maxDataPoints": 100, "options": { "colorMode": "background", @@ -1443,12 +1426,14 @@ data: "fields": "", "values": false }, + "showPercentChange": false, "text": { }, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1505,6 +1490,7 @@ data: "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "Requests/s", @@ -1518,6 +1504,7 @@ data: "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1640,9 +1627,6 @@ data: "y": 8 }, "id": 10, - "links": [ - - ], "options": { "legend": { "calcs": [ @@ -1699,6 +1683,7 @@ data: "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "Latency", @@ -1712,6 +1697,7 @@ data: "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1760,9 +1746,6 @@ data: "y": 8 }, "id": 27, - "links": [ - - ], "options": { "legend": { "calcs": [ @@ -1809,65 +1792,95 @@ data: "type": "timeseries" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The percentage of CPU usage for each container.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "max": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 14 }, - "hiddenSeries": false, "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1880,106 +1893,100 @@ data: "legendFormat": "{{container}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "CPU consumed", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:167", - "format": "percentunit", - "logBase": 1, - "max": "1", - "show": true - }, - { - "$$hashKey": "object:168", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The percentage of memory usage for each container.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "max": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 14 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -1992,45 +1999,9 @@ data: "legendFormat": "{{container}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Memory consumed", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:220", - "format": "percentunit", - "logBase": 1, - "max": "1", - "show": true - }, - { - "$$hashKey": "object:221", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "collapsed": false, @@ -2061,65 +2032,94 @@ data: "type": "row" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The number of restarts for each container.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Restarts", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] - }, - "overrides": [ + ], + "mappings": [ - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 21 - }, - "hiddenSeries": false, - "id": 29, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 21 }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "id": 29, + "options": { + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -2132,106 +2132,100 @@ data: "legendFormat": "{{container}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Containers restarts", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:285", - "format": "none", - "label": "Restarts", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:286", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "Kafka consumer lag by each topic.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "log": 2, + "type": "log" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 21 }, - "hiddenSeries": false, "id": 33, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -2243,44 +2237,9 @@ data: "legendFormat": "{{topic}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Kafka consumer lag", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:362", - "format": "none", - "logBase": 2, - "show": true - }, - { - "$$hashKey": "object:363", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "collapsed": false, @@ -2309,6 +2268,7 @@ data: "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2322,6 +2282,7 @@ data: "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2372,9 +2333,6 @@ data: "y": 28 }, "id": 87, - "links": [ - - ], "options": { "legend": { "calcs": [ @@ -2442,9 +2400,6 @@ data: "y": 28 }, "id": 88, - "links": [ - - ], "options": { "calculate": false, "cellGap": 2, @@ -2471,7 +2426,8 @@ data: "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -2480,7 +2436,7 @@ data: "unit": "short" } }, - "pluginVersion": "9.3.8", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -2513,6 +2469,7 @@ data: "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "Hit ratio", @@ -2526,6 +2483,7 @@ data: "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2577,9 +2535,6 @@ data: "y": 34 }, "id": 94, - "links": [ - - ], "options": { "legend": { "calcs": [ @@ -2624,6 +2579,7 @@ data: "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "items", @@ -2637,6 +2593,7 @@ data: "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2686,9 +2643,6 @@ data: "y": 34 }, "id": 96, - "links": [ - - ], "options": { "legend": { "calcs": [ @@ -2750,68 +2704,153 @@ data: "type": "row" }, { - "aliasColors": { - "error-identity": "#890f02", - "error-no-rows": "#58140c", - "error-processing": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The number of messages per second received by each reporter in Listener.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Messages/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "error-identity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-no-rows" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-processing" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 41 }, - "hiddenSeries": false, "id": 56, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -2823,56 +2862,11 @@ data: "legendFormat": "{{reporter}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Processed messages by reporter", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:415", - "format": "none", - "label": "Messages/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:416", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - "error-identity": "#890f02", - "error-no-rows": "#58140c", - "error-processing": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus", "uid": "$datasource" @@ -2880,53 +2874,147 @@ data: "description": "The number of messages per second received by result in Listener.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Messages/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "error-identity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-no-rows" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-processing" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 41 }, - "hiddenSeries": false, "id": 43, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -2938,56 +3026,11 @@ data: "legendFormat": "{{type}}", "refId": "A" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Processed messages by result", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:468", - "format": "none", - "label": "Messages/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:469", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - "error-identity": "#890f02", - "error-no-rows": "#58140c", - "error-processing": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus", "uid": "$datasource" @@ -2995,105 +3038,162 @@ data: "description": "The duration of particular part in Listener.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Duration", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "s" }, "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 47 - }, - "hiddenSeries": false, - "id": 86, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" + { + "matcher": { + "id": "byName", + "options": "error-identity" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] }, - "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_listener_kafka_message_part_duration_seconds_bucket{job=~\"patchman.*-listener.*\"}[$interval])) by (part, le))", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{type}}", - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Message processing part duration", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - + { + "matcher": { + "id": "byName", + "options": "error-no-rows" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-processing" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", + "mode": "fixed" + } + } + ] + } ] }, - "yaxes": [ - { - "$$hashKey": "object:500", - "format": "s", - "label": "Duration", - "logBase": 1, - "show": true + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 47 + }, + "id": 86, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ { - "$$hashKey": "object:501", - "format": "short", - "logBase": 1, - "show": true + "datasource": { + "uid": "$datasource" + }, + "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_listener_kafka_message_part_duration_seconds_bucket{job=~\"patchman.*-listener.*\"}[$interval])) by (part, le))", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{type}}", + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "Message processing part duration", + "type": "timeseries" }, { "collapsed": false, @@ -3124,66 +3224,108 @@ data: "type": "row" }, { - "aliasColors": { - "delay": "purple" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The delay from upload to evaluation.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Delay", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "s" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "delay" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "purple", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 54 }, - "hiddenSeries": false, "id": 81, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -3233,984 +3375,427 @@ data: ] } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "Upload - evaluation delay", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:227", - "format": "s", - "label": "Delay", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:228", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - "error-call-vmaas-updates": "#890f02", - "error-db-read-inventory-data": "#58140c", - "error-no-packages": "#99440a", - "error-process-advisories": "#c15c17", - "error-update-system-caches": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, "description": "The number of systems per second evaluated by type.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Systems/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 54 - }, - "hiddenSeries": false, - "id": 38, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" + { + "matcher": { + "id": "byName", + "options": "error-call-vmaas-updates" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] }, - "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System evaluations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:679", - "format": "none", - "label": "Systems/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:680", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - "error-call-vmaas-updates": "#890f02", - "error-db-read-inventory-data": "#58140c", - "error-no-packages": "#99440a", - "error-process-advisories": "#c15c17", - "error-update-system-caches": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "The number of evaluations per second evaluated by \"patchman.*-evaluator-recalc\".", - "fieldConfig": { - "defaults": { - "links": [ - - ], - "unit": "none" - }, - "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "error-db-read-inventory-data" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-no-packages" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#99440a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-process-advisories" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#c15c17", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-update-system-caches" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 60 + "x": 12, + "y": 54 }, - "hiddenSeries": false, - "id": 84, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 38, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "editorMode": "code", - "exemplar": false, - "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-recalc.*\"}[$interval])) by (pod)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "range": true, - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System evaluations by pod - recalc", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ + "legend": { + "calcs": [ - ] - }, - "yaxes": [ - { - "$$hashKey": "object:133", - "format": "none", - "label": "Evaluations/s", - "logBase": 1, - "show": true + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - { - "$$hashKey": "object:134", - "format": "short", - "logBase": 1, - "show": true + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - "error-call-vmaas-updates": "#890f02", - "error-db-read-inventory-data": "#58140c", - "error-no-packages": "#99440a", - "error-process-advisories": "#c15c17", - "error-update-system-caches": "#bf1b00", - "success": "#629e51" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "The number of evaluations per second evaluated by \"patchman.*-evaluator-upload\".", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 60 - }, - "hiddenSeries": false, - "id": 85, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { "uid": "$datasource" }, - "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-upload.*\"}[$interval])) by (pod)", + "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (type)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{type}}", "refId": "A" } ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System evaluations by pod - upload", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:237", - "format": "none", - "label": "Evaluations/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:238", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "System evaluations", + "type": "timeseries" }, { - "aliasColors": { - "delay": "blue" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The duration of system evaluation.", + "description": "The number of evaluations per second evaluated by \"patchman.*-evaluator-recalc\".", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Evaluations/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ ], - "unit": "s" + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 66 - }, - "hiddenSeries": false, - "id": 82, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" + { + "matcher": { + "id": "byName", + "options": "error-call-vmaas-updates" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] }, - "exemplar": true, - "expr": "sum(rate(patchman_engine_evaluator_evaluation_duration_seconds_sum{job=~\"patchman.*-evaluator-$evaluator\"}[$interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" + { + "matcher": { + "id": "byName", + "options": "error-db-read-inventory-data" }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "interval": "", - "intervalFactor": 1, - "legendFormat": "delay", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ + "properties": [ { - "params": [ - "value" - ], - "type": "field" - }, + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-no-packages" + }, + "properties": [ { - "params": [ - - ], - "type": "mean" + "id": "color", + "value": { + "fixedColor": "#99440a", + "mode": "fixed" + } } ] - ], - "tags": [ - - ] - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System evaluation duration", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:227", - "format": "s", - "label": "Duration", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:228", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "The median value of duration of particular evaluation part.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - + }, + { + "matcher": { + "id": "byName", + "options": "error-process-advisories" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#c15c17", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-update-system-caches" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 66 + "x": 0, + "y": 60 }, - "hiddenSeries": false, - "id": 47, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 84, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { "uid": "$datasource" }, - "exemplar": true, - "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_evaluator_evaluation_part_duration_seconds_bucket{job=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (part, le))", + "editorMode": "code", + "exemplar": false, + "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-recalc.*\"}[$interval])) by (pod)", "format": "time_series", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "interval": "", "intervalFactor": 1, - "legendFormat": "{{part}}", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [ - - ], - "type": "mean" - } - ] - ], - "tags": [ - - ] - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Evaluation part duration median", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:447", - "format": "short", - "label": "Median of duration", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:448", - "format": "short", - "logBase": 1, - "show": true + "legendFormat": "{{type}}", + "range": true, + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "System evaluations by pod - recalc", + "type": "timeseries" }, { - "aliasColors": { - "delay": "light-orange" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The time interval between two evaluations.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 72 - }, - "hiddenSeries": false, - "id": 83, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "exemplar": true, - "expr": "sum(rate(patchman_engine_evaluator_two_evaluations_interval_hours_sum{job=~\"patchman.*-evaluator-$evaluator\"}[$interval]))", - "format": "time_series", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "interval": "", - "intervalFactor": 1, - "legendFormat": "delay", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [ - - ], - "type": "mean" - } - ] - ], - "tags": [ - - ] - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Two evaluations interval", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:227", - "format": "h", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:228", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - "unpatched": "#e24d42" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$datasource" - }, - "description": "The number of system evaluations by type.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 72 - }, - "hiddenSeries": false, - "id": 39, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(rate(patchman_engine_evaluator_updates{pod=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{type}}", - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System evaluations - patched/unpatched", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1191", - "format": "none", - "label": "Evaluations/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1192", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "", + "description": "The number of evaluations per second evaluated by \"patchman.*-evaluator-upload\".", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "Hit ratio", + "axisLabel": "Evaluations/s", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4233,8 +3818,6 @@ data: "mappings": [ ], - "max": 1, - "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -4248,19 +3831,94 @@ data: } ] }, - "unit": "percentunit" + "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", - "options": "unpatched" + "options": "error-call-vmaas-updates" }, "properties": [ { "id": "color", "value": { - "fixedColor": "#e24d42", + "fixedColor": "#890f02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-db-read-inventory-data" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#58140c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-no-packages" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#99440a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-process-advisories" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#c15c17", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "error-update-system-caches" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf1b00", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "success" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#629e51", "mode": "fixed" } } @@ -4271,13 +3929,10 @@ data: "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 78 + "x": 12, + "y": 60 }, - "id": 91, - "links": [ - - ], + "id": 85, "options": { "legend": { "calcs": [ @@ -4292,49 +3947,48 @@ data: "sort": "none" } }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "editorMode": "code", - "expr": "sum(patchman_engine_evaluator_package_cache{type=\"hit\"}) by (by)/sum(patchman_engine_evaluator_package_cache) by (by)", - "hide": false, - "legendFormat": "__auto", - "range": true, + "expr": "sum(rate(patchman_engine_evaluator_evaluation{pod=~\"patchman.*-evaluator-upload.*\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{type}}", "refId": "A" } ], - "title": "Package cache hit ratio", + "title": "System evaluations by pod - upload", "type": "timeseries" }, { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "description": "", + "description": "The duration of system evaluation.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "items", + "axisLabel": "Duration", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4357,7 +4011,6 @@ data: "mappings": [ ], - "noValue": "0%", "thresholds": { "mode": "absolute", "steps": [ @@ -4371,22 +4024,33 @@ data: } ] }, - "unit": "none" + "unit": "s" }, "overrides": [ - - ] + { + "matcher": { + "id": "byName", + "options": "delay" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "blue", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 78 + "x": 0, + "y": 66 }, - "id": 95, - "links": [ - - ], + "id": 82, "options": { "legend": { "calcs": [ @@ -4401,22 +4065,58 @@ data: "sort": "none" } }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "editorMode": "code", - "expr": "sum(patchman_engine_evaluator_package_cache_size) by (container)", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" + "exemplar": true, + "expr": "sum(rate(patchman_engine_evaluator_evaluation_duration_seconds_sum{job=~\"patchman.*-evaluator-$evaluator\"}[$interval]))", + "format": "time_series", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "interval": "", + "intervalFactor": 1, + "legendFormat": "delay", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [ + + ], + "type": "mean" + } + ] + ], + "tags": [ + + ] } ], - "title": "Package cache size", + "title": "System evaluation duration", "type": "timeseries" }, { @@ -4424,26 +4124,28 @@ data: "type": "prometheus", "uid": "$datasource" }, - "description": "", + "description": "The median value of duration of particular evaluation part.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "Hit ratio", + "axisLabel": "Median of duration", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4466,9 +4168,6 @@ data: "mappings": [ ], - "max": 1, - "min": 0, - "noValue": "0%", "thresholds": { "mode": "absolute", "steps": [ @@ -4482,7 +4181,7 @@ data: } ] }, - "unit": "percentunit" + "unit": "short" }, "overrides": [ @@ -4491,13 +4190,10 @@ data: "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 84 + "x": 12, + "y": 66 }, - "id": 92, - "links": [ - - ], + "id": 47, "options": { "legend": { "calcs": [ @@ -4505,56 +4201,93 @@ data: ], "displayMode": "list", "placement": "bottom", - "showLegend": false + "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "editorMode": "code", - "expr": "sum(patchman_engine_evaluator_vmaas_cache{type=\"hit\"})/sum(patchman_engine_evaluator_vmaas_cache)", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" + "exemplar": true, + "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_evaluator_evaluation_part_duration_seconds_bucket{job=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (part, le))", + "format": "time_series", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{part}}", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [ + + ], + "type": "mean" + } + ] + ], + "tags": [ + + ] } ], - "title": "VMaaS cache hit ratio", + "title": "Evaluation part duration median", "type": "timeseries" }, { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "description": "", + "description": "The time interval between two evaluations.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "items", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -4577,7 +4310,6 @@ data: "mappings": [ ], - "noValue": "0%", "thresholds": { "mode": "absolute", "steps": [ @@ -4591,22 +4323,33 @@ data: } ] }, - "unit": "none" + "unit": "h" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "delay" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-orange", + "mode": "fixed" + } + } + ] + } ] }, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 84 + "x": 0, + "y": 72 }, - "id": 93, - "links": [ - - ], + "id": 83, "options": { "legend": { "calcs": [ @@ -4621,1204 +4364,991 @@ data: "sort": "none" } }, - "pluginVersion": "9.4.3", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "editorMode": "code", - "expr": "sum(patchman_engine_evaluator_vmaas_cache_size) by (container)", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" + "exemplar": true, + "expr": "sum(rate(patchman_engine_evaluator_two_evaluations_interval_hours_sum{job=~\"patchman.*-evaluator-$evaluator\"}[$interval]))", + "format": "time_series", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "interval": "", + "intervalFactor": 1, + "legendFormat": "delay", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [ + + ], + "type": "mean" + } + ] + ], + "tags": [ + + ] } ], - "title": "VMaaS cache size", + "title": "Two evaluations interval", "type": "timeseries" }, { - "collapsed": false, "datasource": { - "type": "prometheus", - "uid": "tuHy3WB7z" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 90 + "uid": "$datasource" }, - "id": 67, - "panels": [ - - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "tuHy3WB7z" + "description": "The number of system evaluations by type.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Evaluations/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "refId": "A" - } - ], - "title": "Jobs", - "type": "row" - }, - { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "$datasource" - }, - "description": "The median value of duration of particular evaluation part.", - "fieldConfig": { - "defaults": { "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "unpatched" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 91 + "x": 12, + "y": 72 }, - "hiddenSeries": false, - "id": 97, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 39, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { - "type": "prometheus", "uid": "$datasource" }, - "editorMode": "code", - "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_caches_package_refresh_part_duration_seconds_bucket[$interval])) by (part, le))", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "C" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Package refresh part duration median", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:447", - "format": "short", - "label": "Median of duration", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:448", - "format": "short", - "logBase": 1, - "show": true + "expr": "sum(rate(patchman_engine_evaluator_updates{pod=~\"patchman.*-evaluator-$evaluator\"}[$interval])) by (type)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{type}}", + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "System evaluations - patched/unpatched", + "type": "timeseries" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The number of external services calls and their result.", + "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Hit ratio", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "unpatched" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 91 + "x": 0, + "y": 78 }, - "hiddenSeries": false, - "id": 40, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 91, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.4.3", "targets": [ { "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "expr": "sum(increase(patchman_engine_vmaas_sync_vmaas_call{}[$interval])) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "VMaaS Sync - {{type}}", + "editorMode": "code", + "expr": "sum(patchman_engine_evaluator_package_cache{type=\"hit\"}) by (by)/sum(patchman_engine_evaluator_package_cache) by (by)", + "hide": false, + "legendFormat": "__auto", + "range": true, "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(increase(patchman_engine_manager_dependency_call{name=\"rbac\"}[$interval])) by (name, status)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{name}} - {{status}}", - "refId": "B" } ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Vmaas sync - external services", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1297", - "format": "none", - "label": "Calls/s", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1298", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "Package cache hit ratio", + "type": "timeseries" }, { - "aliasColors": { - - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The number of culled systems per second which were deleted.", + "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "items", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "noValue": "0%", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 97 + "x": 12, + "y": 78 }, - "hiddenSeries": false, - "id": 76, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 95, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(increase(patchman_engine_vmaas_sync_deleted_culled_systems{}[$interval]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "deleted systems", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "sum(increase(patchman_engine_vmaas_sync_stale_systems_marked{}[$interval]))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "marked stale systems", - "refId": "B" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "System culling", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ + "legend": { + "calcs": [ - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1244", - "format": "none", - "label": "Systems/s", - "logBase": 1, - "show": true + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - { - "$$hashKey": "object:1245", - "format": "short", - "logBase": 1, - "show": true + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "yaxis": { - "align": false - } - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "tuHy3WB7z" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 103 }, - "id": 69, - "panels": [ - - ], + "pluginVersion": "9.4.3", "targets": [ { "datasource": { "type": "prometheus", - "uid": "tuHy3WB7z" + "uid": "$datasource" }, + "editorMode": "code", + "expr": "sum(patchman_engine_evaluator_package_cache_size) by (container)", + "hide": false, + "legendFormat": "__auto", + "range": true, "refId": "A" } ], - "title": "Database", - "type": "row" + "title": "Package cache size", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "last_upload: all": "#ba43a9", - "last_upload: last1D": "#7eb26d", - "last_upload: last30D": "#967302", - "last_upload: last7D": "#cca300" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The number of stored systems by their last upload.", + "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Hit ratio", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "max": 1, + "min": 0, + "noValue": "0%", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, - "y": 104 + "y": 84 }, - "hiddenSeries": false, - "id": 51, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 92, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_systems{last_upload=~\"last.*|all\"}) by (last_upload, pod)) by (last_upload)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{last_upload}}", - "refId": "A" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": false }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.4.3", + "targets": [ { "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_systems{last_upload=~\"last.*|all\"}) by (last_upload, pod)) by (last_upload) - avg(sum(label_replace(patchman_engine_vmaas_sync_cyndi_systems{type=~\"last.*|all\"}, \"last_upload\", \"$1\", \"type\", \"(.*)\")) by (last_upload, pod)) by (last_upload)", - "format": "time_series", + "editorMode": "code", + "expr": "sum(patchman_engine_evaluator_vmaas_cache{type=\"hit\"})/sum(patchman_engine_evaluator_vmaas_cache)", "hide": false, - "intervalFactor": 1, - "legendFormat": "{{last_upload}} - delta (patch - inv): ", - "refId": "B" + "legendFormat": "__auto", + "range": true, + "refId": "A" } ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database items - systems", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1350", - "format": "none", - "label": "System", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1351", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "VMaaS cache hit ratio", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The number of advisories stored by each type and total.", + "description": "", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "items", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "noValue": "0%", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, - "y": 104 + "y": 84 }, - "hiddenSeries": false, - "id": 42, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 93, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.4.3", "targets": [ { "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_advisories{}) by (type, pod)) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{type}}", + "editorMode": "code", + "expr": "sum(patchman_engine_evaluator_vmaas_cache_size) by (container)", + "hide": false, + "legendFormat": "__auto", + "range": true, "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_advisories{}) by (pod))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "all", - "refId": "B" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database items - advisories", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1403", - "format": "none", - "label": "Advisories", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1404", - "format": "short", - "logBase": 1, - "show": true } ], - "yaxis": { - "align": false - } + "title": "VMaaS cache size", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "last_upload: all": "#ba43a9", - "last_upload: last1D": "#7eb26d", - "last_upload: last30D": "#967302", - "last_upload: last7D": "#cca300" - }, - "bars": false, - "dashLength": 10, - "dashes": false, + "collapsed": false, "datasource": { "type": "prometheus", - "uid": "$datasource" - }, - "description": "The number of inventory hosts by type.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - - ] + "uid": "tuHy3WB7z" }, - "fill": 1, - "fillGradient": 0, "gridPos": { - "h": 6, - "w": 12, + "h": 1, + "w": 24, "x": 0, - "y": 110 - }, - "hiddenSeries": false, - "id": 73, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true + "y": 90 }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "id": 67, + "panels": [ ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { - "uid": "$datasource" + "type": "prometheus", + "uid": "tuHy3WB7z" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_cyndi_tags_count) by (type, pod)) by (type)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{type}}", "refId": "A" } ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database items - Cyndi data", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1456", - "format": "none", - "label": "Systems", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1457", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "title": "Jobs", + "type": "row" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "description": "The number of stored packages and packages names.", + "description": "The median value of duration of particular evaluation part.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Median of duration", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 110 + "x": 0, + "y": 91 }, - "hiddenSeries": false, - "id": 78, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 97, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { + "type": "prometheus", "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_packages{}) by (pod))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "packages", - "refId": "A" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_package_names{}) by (pod))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "package_names", - "refId": "B" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database items - packages", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1509", - "format": "none", - "label": "Packages", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1510", - "format": "short", - "logBase": 1, - "show": true + "editorMode": "code", + "expr": "histogram_quantile(0.5, sum(rate(patchman_engine_caches_package_refresh_part_duration_seconds_bucket[$interval])) by (part, le))", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "C" } ], - "yaxis": { - "align": false - } + "title": "Package refresh part duration median", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, - "description": "The current database size and tables sizes.", + "description": "The number of external services calls and their result.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Calls/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 0, - "y": 116 + "x": 12, + "y": 91 }, - "hiddenSeries": false, - "id": 58, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 40, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{}) by (table, pod)) by (table)", + "expr": "sum(increase(patchman_engine_vmaas_sync_vmaas_call{}[$interval])) by (type)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{table}}", + "legendFormat": "VMaaS Sync - {{type}}", "refId": "A" }, { "datasource": { "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"baseline_.*\"}) by (pod))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "baseline_sum", - "refId": "E" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_advisories_.*\"}) by (pod))", + "expr": "sum(increase(patchman_engine_manager_dependency_call{name=\"rbac\"}[$interval])) by (name, status)", "format": "time_series", - "interval": "", "intervalFactor": 1, - "legendFormat": "system_advisories_sum", + "legendFormat": "{{name}} - {{status}}", "refId": "B" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_package2_.*\"}) by (pod))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "system_package_sum", - "refId": "C" - }, - { - "datasource": { - "uid": "$datasource" - }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_platform_.*\"}) by (pod))", - "format": "time_series", - "interval": "", - "intervalFactor": 1, - "legendFormat": "system_platform_sum", - "refId": "D" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database size", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1562", - "format": "decbytes", - "label": "Size", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1563", - "format": "short", - "logBase": 1, - "show": true } ], - "yaxis": { - "align": false - } + "title": "Vmaas sync - external services", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$datasource" }, - "description": "The number of database processes by their use.", + "description": "The number of culled systems per second which were deleted.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Systems/s", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, "overrides": [ ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 12, - "y": 116 + "x": 0, + "y": 97 }, - "hiddenSeries": false, - "id": 59, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 76, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { "uid": "$datasource" }, - "expr": "avg(sum(patchman_engine_vmaas_sync_database_processes{}) by (usename, pod)) by (usename)", + "expr": "sum(increase(patchman_engine_vmaas_sync_deleted_culled_systems{}[$interval]))", "format": "time_series", + "interval": "", "intervalFactor": 1, - "legendFormat": "{{usename}}", + "legendFormat": "deleted systems", "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "Database processes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1615", - "format": "none", - "label": "Processes", - "logBase": 1, - "show": true }, { - "$$hashKey": "object:1616", - "format": "short", - "logBase": 1, - "show": true + "datasource": { + "uid": "$datasource" + }, + "expr": "sum(increase(patchman_engine_vmaas_sync_stale_systems_marked{}[$interval]))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "marked stale systems", + "refId": "B" } ], - "yaxis": { - "align": false - } + "title": "System culling", + "type": "timeseries" }, { "collapsed": false, @@ -5830,9 +5360,9 @@ data: "h": 1, "w": 24, "x": 0, - "y": 122 + "y": 103 }, - "id": 71, + "id": 69, "panels": [ ], @@ -5842,320 +5372,1762 @@ data: "type": "prometheus", "uid": "tuHy3WB7z" }, - "refId": "A" - } - ], - "title": "Database (RDS metrics)", - "type": "row" - }, - { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "sum": "#ba43a9", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "$rds_datasource" - }, - "description": "The percentage of available files in use by mount point.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - + "refId": "A" + } + ], + "title": "Database", + "type": "row" + }, + { + "datasource": { + "uid": "$datasource" + }, + "description": "The number of stored systems by their last upload.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "System", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last1D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#7eb26d", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last30D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#967302", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last7D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#cca300", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 104 + }, + "id": 51, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_systems{last_upload=~\"last.*|all\"}) by (last_upload, pod)) by (last_upload)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{last_upload}}", + "refId": "A" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_systems{last_upload=~\"last.*|all\"}) by (last_upload, pod)) by (last_upload) - avg(sum(label_replace(patchman_engine_vmaas_sync_cyndi_systems{type=~\"last.*|all\"}, \"last_upload\", \"$1\", \"type\", \"(.*)\")) by (last_upload, pod)) by (last_upload)", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{last_upload}} - delta (patch - inv): ", + "refId": "B" + } + ], + "title": "Database items - systems", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "description": "The number of advisories stored by each type and total.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Advisories", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 104 + }, + "id": 42, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_advisories{}) by (type, pod)) by (type)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{type}}", + "refId": "A" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_advisories{}) by (pod))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "all", + "refId": "B" + } + ], + "title": "Database items - advisories", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "$datasource" + }, + "description": "The number of inventory hosts by type.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Systems", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last1D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#7eb26d", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last30D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#967302", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "last_upload: last7D" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#cca300", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 110 + }, + "id": 73, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_cyndi_tags_count) by (type, pod)) by (type)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{type}}", + "refId": "A" + } + ], + "title": "Database items - Cyndi data", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "description": "The number of stored packages and packages names.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Packages", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 110 + }, + "id": 78, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_packages{}) by (pod))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "packages", + "refId": "A" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_package_names{}) by (pod))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "package_names", + "refId": "B" + } + ], + "title": "Database items - packages", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "description": "The current database size and tables sizes.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Size", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 116 + }, + "id": 58, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{}) by (table, pod)) by (table)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{table}}", + "refId": "A" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"baseline_.*\"}) by (pod))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "baseline_sum", + "refId": "E" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_advisories_.*\"}) by (pod))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "system_advisories_sum", + "refId": "B" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_package_.*\"}) by (pod))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "system_package_sum", + "refId": "C" + }, + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_size_bytes{table=~\"system_platform_.*\"}) by (pod))", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "system_platform_sum", + "refId": "D" + } + ], + "title": "Database size", + "type": "timeseries" + }, + { + "datasource": { + "uid": "$datasource" + }, + "description": "The number of database processes by their use.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Processes", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 116 + }, + "id": 59, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$datasource" + }, + "expr": "avg(sum(patchman_engine_vmaas_sync_database_processes{}) by (usename, pod)) by (usename)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{usename}}", + "refId": "A" + } + ], + "title": "Database processes", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "tuHy3WB7z" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 122 + }, + "id": 71, + "panels": [ + + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "tuHy3WB7z" + }, + "refId": "A" + } + ], + "title": "Database (RDS metrics)", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "$rds_datasource" + }, + "description": "The percentage of available files in use by mount point.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "sum" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 123 + }, + "id": 53, + "options": { + "legend": { + "calcs": [ + + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", + "targets": [ + { + "datasource": { + "uid": "$rds_datasource" + }, + "expr": "sum(rdsosmetrics_fileSys_usedPercent{exported_instance=~\"patchman-.*\"}) by (mount_point)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{mount_point}}", + "refId": "A" + } + ], + "title": "RDS - data capacity usage", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "$rds_datasource" + }, + "description": "The percentage of CPU used by the process.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [ + + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "sum" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, - "x": 0, + "x": 12, "y": 123 }, - "hiddenSeries": false, - "id": 53, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", + "id": 52, "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { "uid": "$rds_datasource" }, - "expr": "sum(rdsosmetrics_fileSys_usedPercent{exported_instance=~\"patchman-.*\"}) by (mount_point)", + "expr": "sum(label_replace(rdsosmetrics_processList_cpuUsedPc{exported_instance=~\"patchman-.*\"}, \"db_user\", \"$1\", \"name\", \"postgres: ([^ ]+) .+\")) by (db_user)", "format": "time_series", + "hide": false, "intervalFactor": 1, - "legendFormat": "{{mount_point}}", - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "RDS - data capacity usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1668", - "format": "percent", - "logBase": 1, - "show": true + "legendFormat": "{{db_user}}", + "refId": "B" }, { - "$$hashKey": "object:1669", - "format": "short", - "logBase": 1, - "show": true + "datasource": { + "uid": "$rds_datasource" + }, + "expr": "sum(rdsosmetrics_processList_cpuUsedPc{exported_instance=~\"patchman-.*\"})", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "sum", + "refId": "A" } ], - "yaxis": { - "align": false - } + "title": "RDS - CPU usage", + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "sum": "#ba43a9", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { - "type": "prometheus", "uid": "$rds_datasource" }, - "description": "The percentage of CPU used by the process.", + "description": "The total memory, free memory and dirty memory.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Size", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] - }, - "overrides": [ - - ] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 123 - }, - "hiddenSeries": false, - "id": 52, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + ], + "mappings": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "datasource": { - "uid": "$rds_datasource" + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] }, - "expr": "sum(label_replace(rdsosmetrics_processList_cpuUsedPc{exported_instance=~\"patchman-.*\"}, \"db_user\", \"$1\", \"name\", \"postgres: ([^ ]+) .+\")) by (db_user)", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{db_user}}", - "refId": "B" + "unit": "deckbytes" }, - { - "datasource": { - "uid": "$rds_datasource" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "sum" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] }, - "expr": "sum(rdsosmetrics_processList_cpuUsedPc{exported_instance=~\"patchman-.*\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "sum", - "refId": "A" - } - ], - "thresholds": [ - - ], - "timeRegions": [ - - ], - "title": "RDS - CPU usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1721", - "format": "percent", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1722", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "sum": "#ba43a9", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "uid": "$rds_datasource" - }, - "description": "The total memory, free memory and dirty memory.", - "fieldConfig": { - "defaults": { - "links": [ - - ] - }, - "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 129 }, - "hiddenSeries": false, "id": 54, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -6197,111 +7169,188 @@ data: "legendFormat": "active memory", "refId": "D" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "RDS - memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:2439", - "format": "deckbytes", - "label": "Size", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:2440", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - "all": "#ba43a9", - "bugfix": "#ef843c", - "enhancement": "#9ac48a", - "security": "#e24d42", - "sum": "#ba43a9", - "unknown": "#fce2de" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "uid": "$rds_datasource" }, "description": "The number of processes requesting CPU time over the last 1/5/15 minutes.", "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [ - ] + ], + "mappings": [ + + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, "overrides": [ - + { + "matcher": { + "id": "byName", + "options": "all" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "bugfix" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "enhancement" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#9ac48a", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "security" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#e24d42", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "sum" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ba43a9", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "unknown" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#fce2de", + "mode": "fixed" + } + } + ] + } ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 6, "w": 12, "x": 12, "y": 129 }, - "hiddenSeries": false, "id": 55, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [ - - ], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "9.3.8", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ + "legend": { + "calcs": [ - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -6333,50 +7382,14 @@ data: "legendFormat": "Load Avg 15 min", "refId": "C" } - ], - "thresholds": [ - - ], - "timeRegions": [ - ], "title": "RDS - load average minute", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [ - - ] - }, - "yaxes": [ - { - "$$hashKey": "object:1774", - "format": "short", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:1775", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" } ], "refresh": "", "revision": 1, - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 39, "tags": [ ], @@ -6523,8 +7536,8 @@ data: { "current": { "selected": true, - "text": "crcs02ue1-prometheus", - "value": "crcs02ue1-prometheus" + "text": "crcp01ue1-prometheus", + "value": "PC1EAC84DCBBF0697" }, "hide": 0, "includeAll": false, @@ -6544,8 +7557,8 @@ data: { "current": { "selected": true, - "text": "app-sre-stage-01-prometheus", - "value": "app-sre-stage-01-prometheus" + "text": "app-sre-prod-01-prometheus", + "value": "P465885893AA82E04" }, "hide": 0, "includeAll": false, @@ -6564,7 +7577,7 @@ data: }, { "current": { - "selected": false, + "selected": true, "text": ".*", "value": ".*" }, @@ -6661,7 +7674,7 @@ data: "timezone": "", "title": "patchman-engine", "uid": "patch", - "version": 3, + "version": 1, "weekStart": "" } kind: ConfigMap