diff --git a/manifests/pipecd/grafana-dashboards/control-plane/overview.json b/manifests/pipecd/grafana-dashboards/control-plane/overview.json index 47c21727f0..139686e0d7 100644 --- a/manifests/pipecd/grafana-dashboards/control-plane/overview.json +++ b/manifests/pipecd/grafana-dashboards/control-plane/overview.json @@ -71,7 +71,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1631262178409, + "iteration": 1713932522030, "links": [], "panels": [ { @@ -279,7 +279,7 @@ "refId": "A" } ], - "title": "Panel Title", + "title": "Applications by project", "type": "table" }, { @@ -379,7 +379,7 @@ }, "gridPos": { "h": 8, - "w": 12, + "w": 6, "x": 0, "y": 24 }, @@ -409,11 +409,139 @@ "refId": "A" } ], - "title": "Total completed Deployments in the Last 24h", + "title": "Total completed Deployments [24h]", "type": "stat" }, { - "collapsed": true, + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 100 + }, + { + "color": "green", + "value": 1000 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 6, + "y": 24 + }, + "id": 24, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.2", + "targets": [ + { + "exemplar": true, + "expr": "sum(grpcapi_create_deployment_total{project=~\"$project\"})", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total triggered deployments [24h]", + "type": "stat" + }, + { + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 50 + }, + { + "color": "#EAB839", + "value": 90 + }, + { + "color": "green", + "value": 100 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 22, + "options": { + "displayMode": "lcd", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": {} + }, + "pluginVersion": "8.1.2", + "targets": [ + { + "exemplar": true, + "expr": "grpcapi_create_deployment_total{project=~\"$project\"}", + "interval": "", + "legendFormat": "{{project}}", + "refId": "A" + } + ], + "title": "Deployments count by project [24h]", + "type": "bargauge" + }, + { + "collapsed": false, "datasource": null, "gridPos": { "h": 1, @@ -422,101 +550,100 @@ "y": 32 }, "id": 4, - "panels": [ + "panels": [], + "title": "Cache", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 33 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_PROMETHEUS}", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 24 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.1.2", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "exemplar": true, - "expr": "sum by(source) (rate(cache_get_operation_total{status=\"hit\", pipecd_component=\"server\"}[5m]))\n/\nsum by(source) (rate(cache_get_operation_total{pipecd_component=\"server\"}[5m])\n)\n* 100", - "interval": "", - "legendFormat": "{{source}}", - "queryType": "randomWalk", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cache hit ratio", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "label": null, - "logBase": 1, - "max": null, - "min": "0", - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "exemplar": true, + "expr": "sum by(source) (rate(cache_get_operation_total{status=\"hit\", pipecd_component=\"server\"}[5m]))\n/\nsum by(source) (rate(cache_get_operation_total{pipecd_component=\"server\"}[5m])\n)\n* 100", + "interval": "", + "legendFormat": "{{source}}", + "queryType": "randomWalk", + "refId": "A" } ], - "title": "Cache", - "type": "row" + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Cache hit ratio", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], "refresh": "1m", @@ -526,18 +653,32 @@ "templating": { "list": [ { + "current": { + "selected": false, + "text": "Prometheus", + "value": "Prometheus" + }, + "description": null, + "error": null, "hide": 0, + "includeAll": false, "label": "datasource", + "multi": false, "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", + "skipUrlSync": false, "type": "datasource" }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(insight_application_total{pipecd_component=\"ops\"}, project)", "description": null, @@ -561,7 +702,7 @@ ] }, "time": { - "from": "now-6h", + "from": "now-24h", "to": "now" }, "timepicker": {},