KubeZero/charts/kubezero-metrics/jsonnet/dashboards/kubelet.json

1242 lines
34 KiB
JSON
Raw Normal View History

{
"editable": false,
"links": [
{
"asDropdown": true,
"includeVars": true,
"keepTime": true,
"tags": [
"kubernetes"
],
"targetBlank": false,
"title": "Kubernetes",
"type": "dashboards"
}
],
"panels": [
{
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
},
2024-07-19 14:14:43 +00:00
"id": 1,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(kubelet_node_name{cluster=\"$cluster\", job=\"kubelet\"})",
2024-07-19 14:14:43 +00:00
"instant": true
}
],
"title": "Running Kubelets",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 0
},
2024-07-19 14:14:43 +00:00
"id": 2,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(kubelet_running_pods{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"})",
"instant": true
}
],
"title": "Running Pods",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 4,
"x": 8,
"y": 0
},
2024-07-19 14:14:43 +00:00
"id": 3,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(kubelet_running_containers{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"})",
"instant": true
}
],
"title": "Running Containers",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 4,
"x": 12,
"y": 0
},
2024-07-19 14:14:43 +00:00
"id": 4,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\", state=\"actual_state_of_world\"})",
2024-07-19 14:14:43 +00:00
"instant": true
}
],
"title": "Actual Volume Count",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 4,
"x": 16,
"y": 0
},
2024-07-19 14:14:43 +00:00
"id": 5,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\",state=\"desired_state_of_world\"})",
2024-07-19 14:14:43 +00:00
"instant": true
}
],
"title": "Desired Volume Count",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"unit": "none"
}
},
"gridPos": {
"h": 7,
"w": 4,
"x": 20,
"y": 0
},
2024-07-19 14:14:43 +00:00
"id": 6,
"interval": "1m",
"options": {
2024-07-19 14:14:43 +00:00
"colorMode": "none"
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_node_config_error{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval]))",
2024-07-19 14:14:43 +00:00
"instant": true
}
],
"title": "Config Error Count",
"type": "stat"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 7
},
2024-07-19 14:14:43 +00:00
"id": 7,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_runtime_operations_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (operation_type, instance)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_type}}"
}
],
"title": "Operation Rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 7
},
2024-07-19 14:14:43 +00:00
"id": 8,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_runtime_operations_errors_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_type}}"
}
],
"title": "Operation Error Rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 14
},
2024-07-19 14:14:43 +00:00
"id": 9,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_type}}"
}
],
2024-07-19 14:14:43 +00:00
"title": "Operation Duration 99th quantile",
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 21
},
2024-07-19 14:14:43 +00:00
"id": 10,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} pod"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_pod_worker_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} worker"
}
],
"title": "Pod Start Rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 21
},
2024-07-19 14:14:43 +00:00
"id": 11,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
2023-04-14 10:44:57 +00:00
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} pod"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} worker"
}
],
"title": "Pod Start Duration",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 28
},
2024-07-19 14:14:43 +00:00
"id": 12,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(storage_operation_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}"
}
],
"title": "Storage Operation Rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 28
},
2024-07-19 14:14:43 +00:00
"id": 13,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(storage_operation_errors_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}"
}
],
"title": "Storage Operation Error Rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 35
},
2024-07-19 14:14:43 +00:00
"id": 14,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_name, volume_plugin, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}"
}
],
"title": "Storage Operation Duration 99th quantile",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 42
},
2024-07-19 14:14:43 +00:00
"id": 15,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_cgroup_manager_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{operation_type}}"
}
],
"title": "Cgroup manager operation rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 42
},
2024-07-19 14:14:43 +00:00
"id": 16,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval])) by (instance, operation_type, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{operation_type}}"
}
],
"title": "Cgroup manager 99th quantile",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 49
},
2024-07-19 14:14:43 +00:00
"id": 17,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(kubelet_pleg_relist_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval])) by (instance)",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "PLEG relist rate",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 49
},
2024-07-19 14:14:43 +00:00
"id": 18,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "PLEG relist interval",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 56
},
2024-07-19 14:14:43 +00:00
"id": 19,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])) by (instance, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "PLEG relist duration",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "ops"
}
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 63
},
2024-07-19 14:14:43 +00:00
"id": 20,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"2..\"}[$__rate_interval]))",
2024-07-19 14:14:43 +00:00
"legendFormat": "2xx"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"3..\"}[$__rate_interval]))",
2024-07-19 14:14:43 +00:00
"legendFormat": "3xx"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"4..\"}[$__rate_interval]))",
2024-07-19 14:14:43 +00:00
"legendFormat": "4xx"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"5..\"}[$__rate_interval]))",
2024-07-19 14:14:43 +00:00
"legendFormat": "5xx"
}
],
2024-07-19 14:14:43 +00:00
"title": "RPC rate",
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "s"
}
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 70
},
2024-07-19 14:14:43 +00:00
"id": 21,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\"}[$__rate_interval])) by (instance, verb, url, le))",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}} {{verb}} {{url}}"
}
],
"title": "Request duration 99th quantile",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "bytes"
}
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 77
},
2024-07-19 14:14:43 +00:00
"id": 22,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "process_resident_memory_bytes{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "Memory",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "short"
}
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 77
},
2024-07-19 14:14:43 +00:00
"id": 23,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[$__rate_interval])",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "CPU usage",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "datasource",
"uid": "-- Mixed --"
},
"fieldConfig": {
"defaults": {
"custom": {
"fillOpacity": 10,
"showPoints": "never",
"spanNulls": true
},
"unit": "short"
}
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 77
},
2024-07-19 14:14:43 +00:00
"id": 24,
"interval": "1m",
"options": {
"legend": {
"asTable": true,
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "v11.1.0",
"targets": [
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "go_goroutines{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}",
2024-07-19 14:14:43 +00:00
"legendFormat": "{{instance}}"
}
],
"title": "Goroutines",
2024-07-19 14:14:43 +00:00
"type": "timeseries"
}
],
"refresh": "10s",
2024-07-19 14:14:43 +00:00
"schemaVersion": 39,
"tags": [
"kubernetes"
],
"templating": {
"list": [
{
"current": {
2023-11-27 12:45:06 +00:00
"selected": true,
"text": "default",
"value": "default"
},
"hide": 0,
"label": "Data source",
"name": "datasource",
"query": "prometheus",
"regex": "",
"type": "datasource"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"hide": 2,
"label": "cluster",
"name": "cluster",
2021-08-25 13:59:17 +00:00
"query": "label_values(up{job=\"kubelet\"}, cluster)",
"refresh": 2,
"sort": 1,
2024-07-19 14:14:43 +00:00
"type": "query"
},
{
2024-07-19 14:14:43 +00:00
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"hide": 0,
"includeAll": true,
"label": "instance",
"name": "instance",
"query": "label_values(up{job=\"kubelet\",cluster=\"$cluster\"}, instance)",
"refresh": 2,
2024-07-19 14:14:43 +00:00
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timezone": "UTC",
"title": "Kubelet",
2024-07-19 14:14:43 +00:00
"uid": "3138fa155d5915769fbded898ac09fd9"
}