5006 lines
139 KiB
YAML
5006 lines
139 KiB
YAML
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: grafana-dashboards-k8s-nodes
|
||
|
namespace: monitoring
|
||
|
data:
|
||
|
kubelet.json: |-
|
||
|
{
|
||
|
"__inputs": [
|
||
|
|
||
|
],
|
||
|
"__requires": [
|
||
|
|
||
|
],
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"editable": false,
|
||
|
"gnetId": null,
|
||
|
"graphTooltip": 0,
|
||
|
"hideControls": false,
|
||
|
"id": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"refresh": "",
|
||
|
"rows": [
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 2,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(up{job=\"kubelet\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Up",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 3,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(kubelet_running_pod_count{job=\"kubelet\", instance=~\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Running Pods",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 4,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(kubelet_running_container_count{job=\"kubelet\", instance=~\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Running Container",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 5,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(volume_manager_total_volumes{job=\"kubelet\", instance=~\"$instance\", state=\"actual_state_of_world\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Actual Volume Count",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 6,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(volume_manager_total_volumes{job=\"kubelet\", instance=~\"$instance\",state=\"desired_state_of_world\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Desired Volume Count",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 7,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_node_config_error{job=\"kubelet\", instance=~\"$instance\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Config Error Count",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 8,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_runtime_operations_total{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (operation_type, instance)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Operation Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 9,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_runtime_operations_errors_total{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_type)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Operation Error Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 10,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_type, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Operation duration 99th quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 11,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_pod_start_duration_seconds_count{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} pod",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_pod_worker_duration_seconds_count{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} worker",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Pod Start Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 12,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_count{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} pod",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} worker",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Pod Start Duration",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 13,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"hideEmpty": "true",
|
||
|
"hideZero": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(storage_operation_duration_seconds_count{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Storage Operation Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 14,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"hideEmpty": "true",
|
||
|
"hideZero": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(storage_operation_errors_total{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Storage Operation Error Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 15,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"hideEmpty": "true",
|
||
|
"hideZero": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Storage Operation Duration 99th quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 16,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_cgroup_manager_duration_seconds_count{job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_type)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{operation_type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Cgroup manager operation rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 17,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_type, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{operation_type}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Cgroup manager 99th quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"description": "Pod lifecycle event generator",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 18,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubelet_pleg_relist_duration_seconds_count{job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "PLEG relist rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 19,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "PLEG relist interval",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 20,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "PLEG relist duration",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 21,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kubelet\", instance=~\"$instance\",code=~\"2..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "2xx",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kubelet\", instance=~\"$instance\",code=~\"3..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "3xx",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kubelet\", instance=~\"$instance\",code=~\"4..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "4xx",
|
||
|
"refId": "C"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kubelet\", instance=~\"$instance\",code=~\"5..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "5xx",
|
||
|
"refId": "D"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "RPC Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 22,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, verb, url, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}} {{verb}} {{url}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Request duration 99th quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 23,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "process_resident_memory_bytes{job=\"kubelet\",instance=~\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Memory",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 24,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "rate(process_cpu_seconds_total{job=\"kubelet\",instance=~\"$instance\"}[5m])",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "CPU usage",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 25,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "go_goroutines{job=\"kubelet\",instance=~\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Goroutines",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 14,
|
||
|
"style": "dark",
|
||
|
"tags": [
|
||
|
"kubernetes-mixin"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {
|
||
|
"text": "Prometheus",
|
||
|
"value": "Prometheus"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"label": null,
|
||
|
"name": "datasource",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {
|
||
|
|
||
|
},
|
||
|
"datasource": "$datasource",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": null,
|
||
|
"multi": false,
|
||
|
"name": "instance",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "label_values(kubelet_runtime_operations{job=\"kubelet\"}, instance)",
|
||
|
"refresh": 2,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [
|
||
|
|
||
|
],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
],
|
||
|
"time_options": [
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"1h",
|
||
|
"6h",
|
||
|
"12h",
|
||
|
"24h",
|
||
|
"2d",
|
||
|
"7d",
|
||
|
"30d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "Kubernetes / Kubelet",
|
||
|
"uid": "3138fa155d5915769fbded898ac09fd9",
|
||
|
"version": 0
|
||
|
}
|
||
|
nodes.json: |-
|
||
|
{
|
||
|
"__inputs": [
|
||
|
|
||
|
],
|
||
|
"__requires": [
|
||
|
|
||
|
],
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"editable": false,
|
||
|
"gnetId": null,
|
||
|
"graphTooltip": 0,
|
||
|
"hideControls": false,
|
||
|
"id": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"refresh": "",
|
||
|
"rows": [
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 2,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(node_load1{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "load 1m",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_load5{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "load 5m",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_load15{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "load 15m",
|
||
|
"refId": "C"
|
||
|
},
|
||
|
{
|
||
|
"expr": "count(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", mode=\"user\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "logical cores",
|
||
|
"refId": "D"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "System load",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 3,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{cpu}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Usage Per Core",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 4,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": "true",
|
||
|
"current": "true",
|
||
|
"max": "false",
|
||
|
"min": "false",
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": "false",
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 9,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max (sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m])) ) * 100\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 10,
|
||
|
"legendFormat": "{{ cpu }}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "CPU Utilization",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"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": 100,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "percent",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": 100,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"rgba(50, 172, 45, 0.97)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(245, 54, 54, 0.9)"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 5,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 3,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "avg(sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m]))) * 100\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "80, 90",
|
||
|
"title": "CPU Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 6,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 9,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "memory used",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "memory buffers",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "memory cached",
|
||
|
"refId": "C"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "memory free",
|
||
|
"refId": "D"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Memory Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"rgba(50, 172, 45, 0.97)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(245, 54, 54, 0.9)"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 7,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 3,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(\n (\n (\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "80, 90",
|
||
|
"title": "Memory Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 8,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
{
|
||
|
"alias": "read",
|
||
|
"yaxis": 1
|
||
|
},
|
||
|
{
|
||
|
"alias": "io time",
|
||
|
"yaxis": 2
|
||
|
}
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(rate(node_disk_read_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "read",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(rate(node_disk_written_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "written",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(rate(node_disk_io_time_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "io time",
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Disk I/O",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ms",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 9,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "node:node_filesystem_usage:{cluster=\"$cluster\", instance=\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{device}} disk used",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "node:node_filesystem_usage:{cluster=\"$cluster\", instance=\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{device}} disk free",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Disk Space Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 10,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "rate(node_network_receive_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m])",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{device}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Network Received",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 11,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": true,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "rate(node_network_transmit_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m])",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{device}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Network Transmitted",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 12,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 9,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "inodes used",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "max(node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "inodes free",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Inodes Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"rgba(50, 172, 45, 0.97)",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"rgba(245, 54, 54, 0.9)"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 13,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 3,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "max(\n (\n (\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "80, 90",
|
||
|
"title": "Inodes Usage",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 14,
|
||
|
"style": "dark",
|
||
|
"tags": [
|
||
|
"kubernetes-mixin"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {
|
||
|
"text": "Prometheus",
|
||
|
"value": "Prometheus"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"label": null,
|
||
|
"name": "datasource",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {
|
||
|
|
||
|
},
|
||
|
"datasource": "$datasource",
|
||
|
"hide": 2,
|
||
|
"includeAll": false,
|
||
|
"label": "cluster",
|
||
|
"multi": false,
|
||
|
"name": "cluster",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "label_values(kube_pod_info, cluster)",
|
||
|
"refresh": 2,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [
|
||
|
|
||
|
],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {
|
||
|
|
||
|
},
|
||
|
"datasource": "$datasource",
|
||
|
"hide": 0,
|
||
|
"includeAll": false,
|
||
|
"label": null,
|
||
|
"multi": false,
|
||
|
"name": "instance",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "label_values(node_boot_time_seconds{cluster=\"$cluster\", job=\"node-exporter\"}, instance)",
|
||
|
"refresh": 2,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [
|
||
|
|
||
|
],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
],
|
||
|
"time_options": [
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"1h",
|
||
|
"6h",
|
||
|
"12h",
|
||
|
"24h",
|
||
|
"2d",
|
||
|
"7d",
|
||
|
"30d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "Kubernetes / Nodes",
|
||
|
"uid": "fa49a4706d07a042595b664c87fb33ea",
|
||
|
"version": 0
|
||
|
}
|
||
|
proxy.json: |-
|
||
|
{
|
||
|
"__inputs": [
|
||
|
|
||
|
],
|
||
|
"__requires": [
|
||
|
|
||
|
],
|
||
|
"annotations": {
|
||
|
"list": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"editable": false,
|
||
|
"gnetId": null,
|
||
|
"graphTooltip": 0,
|
||
|
"hideControls": false,
|
||
|
"id": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"refresh": "",
|
||
|
"rows": [
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"cacheTimeout": null,
|
||
|
"colorBackground": false,
|
||
|
"colorValue": false,
|
||
|
"colors": [
|
||
|
"#299c46",
|
||
|
"rgba(237, 129, 40, 0.89)",
|
||
|
"#d44a3a"
|
||
|
],
|
||
|
"datasource": "$datasource",
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 2,
|
||
|
"interval": null,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"mappingType": 1,
|
||
|
"mappingTypes": [
|
||
|
{
|
||
|
"name": "value to text",
|
||
|
"value": 1
|
||
|
},
|
||
|
{
|
||
|
"name": "range to text",
|
||
|
"value": 2
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"nullPointMode": "connected",
|
||
|
"nullText": null,
|
||
|
"postfix": "",
|
||
|
"postfixFontSize": "50%",
|
||
|
"prefix": "",
|
||
|
"prefixFontSize": "50%",
|
||
|
"rangeMaps": [
|
||
|
{
|
||
|
"from": "null",
|
||
|
"text": "N/A",
|
||
|
"to": "null"
|
||
|
}
|
||
|
],
|
||
|
"span": 2,
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(up{job=\"kube-proxy\"})",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Up",
|
||
|
"tooltip": {
|
||
|
"shared": false
|
||
|
},
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "N/A",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "min"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 3,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 5,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "rate",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Rules Sync Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 4,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 5,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Rule Sync Latency 99th Quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 5,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "rate",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Network Programming Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 6,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 6,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m])) by (instance, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Network Programming Latency 99th Quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 7,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "2xx",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "3xx",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "4xx",
|
||
|
"refId": "C"
|
||
|
},
|
||
|
{
|
||
|
"expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "5xx",
|
||
|
"refId": "D"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Kube API Request Rate",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "ops",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 8,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 8,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\",instance=~\"$instance\",verb=\"POST\"}[5m])) by (verb, url, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{verb}} {{url}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Post Request Latency 99th Quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 9,
|
||
|
"legend": {
|
||
|
"alignAsTable": "true",
|
||
|
"avg": false,
|
||
|
"current": "true",
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": "true",
|
||
|
"show": "true",
|
||
|
"total": false,
|
||
|
"values": "true"
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 12,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{verb}} {{url}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Get Request Latency 99th Quantile",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "s",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
},
|
||
|
{
|
||
|
"collapse": false,
|
||
|
"collapsed": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 10,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "process_resident_memory_bytes{job=\"kube-proxy\",instance=~\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Memory",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "bytes",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 11,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "rate(process_cpu_seconds_total{job=\"kube-proxy\",instance=~\"$instance\"}[5m])",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "CPU usage",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": 0,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {
|
||
|
|
||
|
},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "$datasource",
|
||
|
"fill": 1,
|
||
|
"gridPos": {
|
||
|
|
||
|
},
|
||
|
"id": 12,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [
|
||
|
|
||
|
],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"repeat": null,
|
||
|
"seriesOverrides": [
|
||
|
|
||
|
],
|
||
|
"spaceLength": 10,
|
||
|
"span": 4,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "go_goroutines{job=\"kube-proxy\",instance=~\"$instance\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 2,
|
||
|
"legendFormat": "{{instance}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [
|
||
|
|
||
|
],
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "Goroutines",
|
||
|
"tooltip": {
|
||
|
"shared": false,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": [
|
||
|
|
||
|
]
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": null,
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"repeat": null,
|
||
|
"repeatIteration": null,
|
||
|
"repeatRowId": null,
|
||
|
"showTitle": false,
|
||
|
"title": "Dashboard Row",
|
||
|
"titleSize": "h6",
|
||
|
"type": "row"
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 14,
|
||
|
"style": "dark",
|
||
|
"tags": [
|
||
|
"kubernetes-mixin"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {
|
||
|
"text": "Prometheus",
|
||
|
"value": "Prometheus"
|
||
|
},
|
||
|
"hide": 0,
|
||
|
"label": null,
|
||
|
"name": "datasource",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "prometheus",
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"type": "datasource"
|
||
|
},
|
||
|
{
|
||
|
"allValue": null,
|
||
|
"current": {
|
||
|
|
||
|
},
|
||
|
"datasource": "$datasource",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"label": null,
|
||
|
"multi": false,
|
||
|
"name": "instance",
|
||
|
"options": [
|
||
|
|
||
|
],
|
||
|
"query": "label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\"}, instance)",
|
||
|
"refresh": 2,
|
||
|
"regex": "",
|
||
|
"sort": 0,
|
||
|
"tagValuesQuery": "",
|
||
|
"tags": [
|
||
|
|
||
|
],
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
],
|
||
|
"time_options": [
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"1h",
|
||
|
"6h",
|
||
|
"12h",
|
||
|
"24h",
|
||
|
"2d",
|
||
|
"7d",
|
||
|
"30d"
|
||
|
]
|
||
|
},
|
||
|
"timezone": "",
|
||
|
"title": "Kubernetes / Proxy",
|
||
|
"uid": "632e265de029684c40b21cb76bca4f94",
|
||
|
"version": 0
|
||
|
}
|