Skip to content

Commit

Permalink
monitoring: add Sources Stats panels
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Este-Gracias <sestegra@gmail.com>
  • Loading branch information
sestegra authored and darkowlzz committed Aug 9, 2023
1 parent 2716ca4 commit 2351895
Showing 1 changed file with 327 additions and 9 deletions.
336 changes: 327 additions & 9 deletions manifests/monitoring/monitoring-config/dashboards/control-plane.json
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,8 @@
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"h": 8,
"w": 24,
"x": 0,
"y": 34
},
Expand Down Expand Up @@ -811,6 +811,24 @@
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": "${DS_PROMETHEUS}",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 42
},
"id": 29,
"panels": [],
"title": "Sources Stats",
"type": "row"
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -824,8 +842,8 @@
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 34
"x": 0,
"y": 43
},
"hiddenSeries": false,
"id": 4,
Expand Down Expand Up @@ -872,7 +890,307 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Git Sources ops/min",
"title": "Git Repos ops/min",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:285",
"format": "opm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:286",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 43
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "8.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"ocirepository\",result!=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "successful oci pulls",
"refId": "A"
},
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"ocirepository\",result=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "failed oci pulls",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "OCI Repos ops/min",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:285",
"format": "opm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:286",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 52
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "8.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"helmrepository\",result!=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "successful helm pulls",
"refId": "A"
},
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"helmrepository\",result=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "failed helm pulls",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Helm Repos ops/min",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:285",
"format": "opm",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:286",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"decimals": 2,
"description": "",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 52
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "8.2.3",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"bucket\",result!=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "successful bucket pulls",
"refId": "A"
},
{
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"bucket\",result=\"error\"}[1m]))",
"format": "time_series",
"interval": "",
"legendFormat": "failed bucket pulls",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Buckets ops/min",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -922,7 +1240,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 43
"y": 61
},
"id": 19,
"panels": [],
Expand All @@ -941,7 +1259,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 44
"y": 62
},
"hiddenSeries": false,
"id": 9,
Expand Down Expand Up @@ -1048,7 +1366,7 @@
"h": 9,
"w": 12,
"x": 0,
"y": 52
"y": 70
},
"hiddenSeries": false,
"id": 5,
Expand Down Expand Up @@ -1148,7 +1466,7 @@
"h": 9,
"w": 12,
"x": 12,
"y": 52
"y": 70
},
"hiddenSeries": false,
"id": 6,
Expand Down

0 comments on commit 2351895

Please sign in to comment.