Filter controllers in control plane dashboard
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
"pluginVersion": "7.1.1",
|
"pluginVersion": "7.1.1",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(go_info{kubernetes_namespace=\"$namespace\"})",
|
"expr": "sum(go_info{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"})",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "pods",
|
"legendFormat": "pods",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
"orientation": "auto",
|
"orientation": "auto",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"mean"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -130,16 +130,16 @@
|
|||||||
"pluginVersion": "7.1.1",
|
"pluginVersion": "7.1.1",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "histogram_quantile(0.90, sum(rate(workqueue_work_duration_seconds_bucket{kubernetes_namespace=\"$namespace\"}[5m])) by (le))",
|
"expr": "max(workqueue_longest_running_processor_seconds{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"})",
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "seconds",
|
"legendFormat": "seconds",
|
||||||
"refId": "A"
|
"refId": "B"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Work Queue",
|
"title": "Max Work Queue",
|
||||||
"type": "stat"
|
"type": "stat"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -181,7 +181,7 @@
|
|||||||
"orientation": "auto",
|
"orientation": "auto",
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"calcs": [
|
"calcs": [
|
||||||
"mean"
|
"lastNotNull"
|
||||||
],
|
],
|
||||||
"fields": "",
|
"fields": "",
|
||||||
"values": false
|
"values": false
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
"pluginVersion": "7.1.1",
|
"pluginVersion": "7.1.1",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(go_memstats_alloc_bytes{kubernetes_namespace=\"$namespace\"})",
|
"expr": "sum(go_memstats_alloc_bytes{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"})",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -208,7 +208,9 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"custom": {},
|
"custom": {
|
||||||
|
"align": null
|
||||||
|
},
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
@@ -254,9 +256,9 @@
|
|||||||
"pluginVersion": "7.1.1",
|
"pluginVersion": "7.1.1",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(rate(rest_client_requests_total{kubernetes_namespace=\"$namespace\"}[1m]))",
|
"expr": "sum(rate(rest_client_requests_total{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"}[1m]))",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "requests",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -543,7 +545,7 @@
|
|||||||
"steppedLine": false,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "rate(process_cpu_seconds_total{kubernetes_namespace=\"$namespace\"}[1m])",
|
"expr": "rate(process_cpu_seconds_total{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"}[1m])",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{kubernetes_pod_name}}",
|
"legendFormat": "{{kubernetes_pod_name}}",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -638,7 +640,7 @@
|
|||||||
"steppedLine": false,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "rate(go_memstats_alloc_bytes_total{kubernetes_namespace=\"$namespace\"}[1m])",
|
"expr": "rate(go_memstats_alloc_bytes_total{kubernetes_namespace=\"$namespace\",kubernetes_pod_name=~\".*-controller-.*\"}[1m])",
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{kubernetes_pod_name}}",
|
"legendFormat": "{{kubernetes_pod_name}}",
|
||||||
@@ -724,15 +726,15 @@
|
|||||||
"y": 26
|
"y": 26
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"hiddenSeries": false,
|
||||||
"id": 20,
|
"id": 27,
|
||||||
"legend": {
|
"legend": {
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": true,
|
||||||
"current": true,
|
"current": true,
|
||||||
"max": false,
|
"max": false,
|
||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": true,
|
"rightSide": false,
|
||||||
"show": false,
|
"show": true,
|
||||||
"total": false,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
@@ -750,24 +752,11 @@
|
|||||||
"steppedLine": false,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "histogram_quantile(0.50, sum(rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"kustomization\"}[5m])) by (le))",
|
"expr": "workqueue_longest_running_processor_seconds{name=\"kustomization\"}",
|
||||||
"interval": "",
|
|
||||||
"legendFormat": "P50",
|
|
||||||
"refId": "A"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"expr": "histogram_quantile(0.90, sum(rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"kustomization\"}[5m])) by (le))",
|
|
||||||
"hide": true,
|
|
||||||
"interval": "",
|
|
||||||
"legendFormat": "P90",
|
|
||||||
"refId": "B"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"expr": "histogram_quantile(0.99, sum(rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"kustomization\"}[5m])) by (le))",
|
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "P99",
|
"legendFormat": "kustomizations",
|
||||||
"refId": "C"
|
"refId": "B"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
@@ -845,7 +834,7 @@
|
|||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": false,
|
"rightSide": false,
|
||||||
"show": true,
|
"show": true,
|
||||||
"total": true,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
"lines": false,
|
"lines": false,
|
||||||
@@ -951,7 +940,7 @@
|
|||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": false,
|
"rightSide": false,
|
||||||
"show": true,
|
"show": true,
|
||||||
"total": true,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
"lines": false,
|
"lines": false,
|
||||||
@@ -968,14 +957,14 @@
|
|||||||
"steppedLine": true,
|
"steppedLine": true,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"gitrepository\",result!=\"error\"}[1m])) by (controller)",
|
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"gitrepository\",result!=\"error\"}[1m]))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "successful git pulls",
|
"legendFormat": "successful git pulls",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"gitrepository\",result=\"error\"}[1m])) by (controller)",
|
"expr": "sum(increase(controller_runtime_reconcile_total{controller=\"gitrepository\",result=\"error\"}[1m]))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "failed git pulls",
|
"legendFormat": "failed git pulls",
|
||||||
@@ -1002,6 +991,7 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:285",
|
||||||
"format": "opm",
|
"format": "opm",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1010,6 +1000,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:286",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1085,6 +1076,7 @@
|
|||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "histogram_quantile(0.50, sum(rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"helmrelease\"}[5m])) by (le))",
|
"expr": "histogram_quantile(0.50, sum(rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"helmrelease\"}[5m])) by (le))",
|
||||||
|
"hide": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "P50",
|
"legendFormat": "P50",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -1124,6 +1116,7 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1612",
|
||||||
"format": "s",
|
"format": "s",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1132,6 +1125,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1613",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1177,7 +1171,7 @@
|
|||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": false,
|
"rightSide": false,
|
||||||
"show": true,
|
"show": true,
|
||||||
"total": true,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
"lines": false,
|
"lines": false,
|
||||||
@@ -1228,6 +1222,7 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1102",
|
||||||
"format": "opm",
|
"format": "opm",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1236,6 +1231,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1103",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1281,7 +1277,7 @@
|
|||||||
"min": false,
|
"min": false,
|
||||||
"rightSide": false,
|
"rightSide": false,
|
||||||
"show": true,
|
"show": true,
|
||||||
"total": true,
|
"total": false,
|
||||||
"values": true
|
"values": true
|
||||||
},
|
},
|
||||||
"lines": false,
|
"lines": false,
|
||||||
@@ -1332,6 +1328,7 @@
|
|||||||
},
|
},
|
||||||
"yaxes": [
|
"yaxes": [
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1892",
|
||||||
"format": "opm",
|
"format": "opm",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
@@ -1340,6 +1337,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"$$hashKey": "object:1893",
|
||||||
"format": "short",
|
"format": "short",
|
||||||
"label": null,
|
"label": null,
|
||||||
"logBase": 1,
|
"logBase": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user