2021-04-26 14:27:19 +00:00
|
|
|
{
|
|
|
|
"editable": false,
|
2024-10-21 14:41:14 +00:00
|
|
|
"links": [
|
|
|
|
{
|
|
|
|
"asDropdown": true,
|
|
|
|
"includeVars": true,
|
|
|
|
"keepTime": true,
|
|
|
|
"tags": [
|
|
|
|
"kubernetes"
|
|
|
|
],
|
|
|
|
"targetBlank": false,
|
|
|
|
"title": "Kubernetes",
|
|
|
|
"type": "dashboards"
|
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"panels": [
|
2021-04-26 14:27:19 +00:00
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"unit": "none"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 4,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 1,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"colorMode": "none"
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
2021-04-26 14:27:19 +00:00
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(up{cluster=\"$cluster\", job=\"kube-controller-manager\"})",
|
|
|
|
"instant": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Up",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "ops"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 20,
|
|
|
|
"x": 4,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
2021-04-26 14:27:19 +00:00
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(workqueue_adds_total{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)",
|
|
|
|
"legendFormat": "{{cluster}} {{instance}} {{name}}"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Work Queue Add Rate",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 7
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(workqueue_depth{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name)",
|
|
|
|
"legendFormat": "{{cluster}} {{instance}} {{name}}"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Work Queue Depth",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "s"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 14
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\"}[$__rate_interval])) by (cluster, instance, name, le))",
|
|
|
|
"legendFormat": "{{cluster}} {{instance}} {{name}}"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Work Queue Latency",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "ops"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 8,
|
|
|
|
"x": 0,
|
|
|
|
"y": 21
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
|
|
|
|
"legendFormat": "2xx"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
|
|
|
|
"legendFormat": "3xx"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
|
|
|
|
"legendFormat": "4xx"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
|
|
|
|
"legendFormat": "5xx"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Kube API Request Rate",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "s"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 16,
|
|
|
|
"x": 8,
|
|
|
|
"y": 21
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[$__rate_interval])) by (verb, url, le))",
|
|
|
|
"legendFormat": "{{verb}} {{url}}"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Post Request Latency 99th Quantile",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "s"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 28
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
2021-04-26 14:27:19 +00:00
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\", job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[$__rate_interval])) by (verb, url, le))",
|
|
|
|
"legendFormat": "{{verb}} {{url}}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Get Request Latency 99th Quantile",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
|
|
|
},
|
|
|
|
"unit": "bytes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 8,
|
|
|
|
"x": 0,
|
|
|
|
"y": 35
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
2021-04-26 14:27:19 +00:00
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "process_resident_memory_bytes{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}",
|
|
|
|
"legendFormat": "{{instance}}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Memory",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 8,
|
|
|
|
"x": 8,
|
|
|
|
"y": 35
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
2021-04-26 14:27:19 +00:00
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}[$__rate_interval])",
|
|
|
|
"legendFormat": "{{instance}}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "CPU usage",
|
|
|
|
"type": "timeseries"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "-- Mixed --"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": true
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 8,
|
|
|
|
"x": 16,
|
|
|
|
"y": 35
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"interval": "1m",
|
|
|
|
"options": {
|
|
|
|
"legend": {
|
|
|
|
"asTable": true,
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "single"
|
|
|
|
}
|
|
|
|
},
|
2024-10-21 14:41:14 +00:00
|
|
|
"pluginVersion": "v11.1.0",
|
2024-07-19 14:14:43 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
2024-07-19 14:14:43 +00:00
|
|
|
"expr": "go_goroutines{cluster=\"$cluster\", job=\"kube-controller-manager\",instance=~\"$instance\"}",
|
|
|
|
"legendFormat": "{{instance}}"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"title": "Goroutines",
|
|
|
|
"type": "timeseries"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
],
|
2024-07-19 14:14:43 +00:00
|
|
|
"refresh": "10s",
|
|
|
|
"schemaVersion": 39,
|
2021-04-26 14:27:19 +00:00
|
|
|
"tags": [
|
|
|
|
"kubernetes"
|
|
|
|
],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"current": {
|
2023-11-27 12:45:06 +00:00
|
|
|
"selected": true,
|
2021-04-26 14:27:19 +00:00
|
|
|
"text": "default",
|
|
|
|
"value": "default"
|
|
|
|
},
|
|
|
|
"hide": 0,
|
2024-04-04 13:39:36 +00:00
|
|
|
"label": "Data source",
|
2021-04-26 14:27:19 +00:00
|
|
|
"name": "datasource",
|
|
|
|
"query": "prometheus",
|
|
|
|
"regex": "",
|
|
|
|
"type": "datasource"
|
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
|
|
|
},
|
2021-04-26 14:27:19 +00:00
|
|
|
"hide": 2,
|
|
|
|
"label": "cluster",
|
|
|
|
"name": "cluster",
|
2021-08-25 13:59:17 +00:00
|
|
|
"query": "label_values(up{job=\"kube-controller-manager\"}, cluster)",
|
2021-04-26 14:27:19 +00:00
|
|
|
"refresh": 2,
|
|
|
|
"sort": 1,
|
2024-07-19 14:14:43 +00:00
|
|
|
"type": "query"
|
2021-04-26 14:27:19 +00:00
|
|
|
},
|
|
|
|
{
|
2024-07-19 14:14:43 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "${datasource}"
|
|
|
|
},
|
2021-04-26 14:27:19 +00:00
|
|
|
"hide": 0,
|
|
|
|
"includeAll": true,
|
2024-07-19 14:14:43 +00:00
|
|
|
"label": "instance",
|
2021-04-26 14:27:19 +00:00
|
|
|
"name": "instance",
|
2021-08-25 13:59:17 +00:00
|
|
|
"query": "label_values(up{cluster=\"$cluster\", job=\"kube-controller-manager\"}, instance)",
|
2021-04-26 14:27:19 +00:00
|
|
|
"refresh": 2,
|
|
|
|
"sort": 1,
|
2024-07-19 14:14:43 +00:00
|
|
|
"type": "query"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-1h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timezone": "UTC",
|
2021-04-26 14:46:35 +00:00
|
|
|
"title": "Controller Manager",
|
2024-07-19 14:14:43 +00:00
|
|
|
"uid": "72e0e05bef5099e5f049b05fdc429ed4"
|
2021-04-26 14:27:19 +00:00
|
|
|
}
|