2018-01-28 07:26:41 +01:00
apiVersion : v1
data :
2019-07-21 20:02:18 +02:00
apiserver.json : |-
2019-02-18 21:05:27 +01:00
{
2019-07-21 20:02:18 +02:00
"__inputs": [
] ,
"__requires": [
] ,
2019-02-18 21:05:27 +01:00
"annotations": {
"list": [
]
},
2019-07-21 20:02:18 +02:00
"editable": false ,
2019-02-18 21:05:27 +01:00
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
2019-07-21 20:02:18 +02:00
"id": null ,
2019-02-18 21:05:27 +01:00
"links": [
2020-09-13 23:42:07 +02:00
] ,
"panels": [
{
"content": "The SLO (service level objective) and other metrics displayed on this dashboard are for informational purposes only." ,
"datasource": null ,
"description": "The SLO (service level objective) and other metrics displayed on this dashboard are for informational purposes only." ,
"gridPos": {
"h": 2 ,
"w": 24 ,
"x": 0 ,
"y": 0
},
"id": 2 ,
"mode": "markdown" ,
"span": 12 ,
"title": "Notice" ,
"type": "text"
}
2019-02-18 21:05:27 +01:00
] ,
2020-03-02 08:20:33 +01:00
"refresh": "10s" ,
2019-02-18 21:05:27 +01:00
"rows": [
2018-01-28 07:26:41 +01:00
{
"collapse": false ,
2019-07-21 20:02:18 +02:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
2019-07-21 20:02:18 +02:00
{
"cacheTimeout": null ,
"colorBackground": false ,
"colorValue": false ,
"colors": [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"decimals": 3 ,
"description": "How many percent of requests (both read and write) in 30 days have been answered successfully and fast enough?" ,
"format": "percentunit" ,
2019-07-21 20:02:18 +02:00
"gauge": {
"maxValue": 100 ,
"minValue": 0 ,
"show": false ,
"thresholdLabels": false ,
"thresholdMarkers": true
},
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 3 ,
2019-07-21 20:02:18 +02:00
"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"
}
] ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
2019-07-21 20:02:18 +02:00
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)" ,
"full": false ,
"lineColor": "rgb(31, 120, 193)" ,
"show": false
},
"tableColumn": "" ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "apiserver_request:availability30d{verb=\"all\", cluster=\"$cluster\"}" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
2020-09-13 23:42:07 +02:00
"title": "Availability (30d) > 99.000%" ,
2019-07-21 20:02:18 +02:00
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "N/A" ,
"value": "null"
}
] ,
2020-09-13 23:42:07 +02:00
"valueName": "avg"
2019-07-21 20:02:18 +02:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"decimals": 3 ,
"description": "How much error budget is left looking at our 0.990% availability gurantees?" ,
"fill": 10 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 4 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2019-02-18 21:05:27 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2018-01-28 07:26:41 +01:00
"total": false ,
"values": false
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 8 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "100 * (apiserver_request:availability30d{verb=\"all\", cluster=\"$cluster\"} - 0.990000)" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "errorbudget" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
2018-01-28 07:26:41 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "ErrorBudget (30d) > 99.000%" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"decimals": 3 ,
"format": "percentunit" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"decimals": 3 ,
"format": "percentunit" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
2020-09-13 23:42:07 +02:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"cacheTimeout": null ,
"colorBackground": false ,
"colorValue": false ,
"colors": [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"decimals": 3 ,
"description": "How many percent of read requests (LIST,GET) in 30 days have been answered successfully and fast enough?" ,
"format": "percentunit" ,
"gauge": {
"maxValue": 100 ,
"minValue": 0 ,
"show": false ,
"thresholdLabels": false ,
"thresholdMarkers": true
},
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 5 ,
"interval": null ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2020-09-13 23:42:07 +02:00
"mappingType": 1 ,
"mappingTypes": [
{
"name": "value to text" ,
"value": 1
},
{
"name": "range to text" ,
"value": 2
}
2019-02-18 21:05:27 +01:00
] ,
2020-09-13 23:42:07 +02:00
"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": "" ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "apiserver_request:availability30d{verb=\"read\", cluster=\"$cluster\"}" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2020-09-13 23:42:07 +02:00
"thresholds": "" ,
"title": "Read Availability (30d)" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2020-09-13 23:42:07 +02:00
"shared": false
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"op": "=" ,
"text": "N/A" ,
"value": "null"
2018-01-28 07:26:41 +01:00
}
2020-09-13 23:42:07 +02:00
] ,
"valueName": "avg"
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"description": "How many read requests (LIST,GET) per second do the apiservers get by code?" ,
"fill": 10 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 6 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2020-09-13 23:42:07 +02:00
"show": true ,
"sideWidth": null ,
2018-01-28 07:26:41 +01:00
"total": false ,
"values": false
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2020-09-13 23:42:07 +02:00
{
"alias": "/2../i" ,
"color": "#56A64B"
},
{
"alias": "/3../i" ,
"color": "#F2CC0C"
},
{
"alias": "/4../i" ,
"color": "#3274D9"
},
{
"alias": "/5../i" ,
"color": "#E02F44"
}
2019-02-18 21:05:27 +01:00
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
"stack": true ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum by (code) (code_resource:apiserver_request_total:rate5m{verb=\"read\", cluster=\"$cluster\"})" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ code }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
2018-01-28 07:26:41 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Read SLI - Requests" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "reqps" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "reqps" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
},
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"description": "How many percent of read requests (LIST,GET) per second are returned with errors (5xx)?" ,
2019-07-21 20:02:18 +02:00
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 7 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2020-09-13 23:42:07 +02:00
"show": true ,
"sideWidth": null ,
2018-01-28 07:26:41 +01:00
"total": false ,
"values": false
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"read\",code=~\"5..\", cluster=\"$cluster\"}) / sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"read\", cluster=\"$cluster\"})" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ resource }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
2018-01-28 07:26:41 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Read SLI - Errors" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "percentunit" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
"max": null ,
2019-02-18 21:05:27 +01:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "percentunit" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
]
2019-07-21 20:02:18 +02:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"description": "How many seconds is the 99th percentile for reading (LIST|GET) a given resource?" ,
2019-07-21 20:02:18 +02:00
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 8 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": false ,
2018-01-28 07:26:41 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": false ,
2020-03-02 08:20:33 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2018-01-28 07:26:41 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{verb=\"read\", cluster=\"$cluster\"}" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ resource }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
2018-01-28 07:26:41 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Read SLI - Duration" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
2019-07-21 20:02:18 +02:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"cacheTimeout": null ,
"colorBackground": false ,
"colorValue": false ,
"colors": [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
"datasource": "$datasource" ,
"decimals": 3 ,
"description": "How many percent of write requests (POST|PUT|PATCH|DELETE) in 30 days have been answered successfully and fast enough?" ,
"format": "percentunit" ,
"gauge": {
"maxValue": 100 ,
"minValue": 0 ,
"show": false ,
"thresholdLabels": false ,
"thresholdMarkers": true
2019-07-21 20:02:18 +02:00
},
2020-09-13 23:42:07 +02:00
"gridPos": {
},
"id": 9 ,
"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": "apiserver_request:availability30d{verb=\"write\", cluster=\"$cluster\"}" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "Write Availability (30d)" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "N/A" ,
"value": "null"
}
] ,
"valueName": "avg"
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"description": "How many write requests (POST|PUT|PATCH|DELETE) per second do the apiservers get by code?" ,
"fill": 10 ,
"gridPos": {
},
"id": 10 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2019-02-18 21:05:27 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2018-01-28 07:26:41 +01:00
"total": false ,
"values": false
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2020-09-13 23:42:07 +02:00
{
"alias": "/2../i" ,
"color": "#56A64B"
},
{
"alias": "/3../i" ,
"color": "#F2CC0C"
},
{
"alias": "/4../i" ,
"color": "#3274D9"
},
{
"alias": "/5../i" ,
"color": "#E02F44"
}
2019-02-18 21:05:27 +01:00
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
"stack": true ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum by (code) (code_resource:apiserver_request_total:rate5m{verb=\"write\", cluster=\"$cluster\"})" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ code }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
2018-01-28 07:26:41 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Write SLI - Requests" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "reqps" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "reqps" ,
2018-01-28 07:26:41 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
2019-07-21 20:02:18 +02:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"description": "How many percent of write requests (POST|PUT|PATCH|DELETE) per second are returned with errors (5xx)?" ,
2019-07-21 20:02:18 +02:00
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 11 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2018-01-28 07:26:41 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"write\",code=~\"5..\", cluster=\"$cluster\"}) / sum by (resource) (code_resource:apiserver_request_total:rate5m{verb=\"write\", cluster=\"$cluster\"})" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ resource }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Write SLI - Errors" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "percentunit" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2018-01-28 07:26:41 +01:00
"min": 0 ,
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "percentunit" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
]
},
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"description": "How many seconds is the 99th percentile for writing (POST|PUT|PATCH|DELETE) a given resource?" ,
2019-07-21 20:02:18 +02:00
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 12 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2018-01-28 07:26:41 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 3 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "cluster_quantile:apiserver_request_duration_seconds:histogram_quantile{verb=\"write\", cluster=\"$cluster\"}" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{ resource }}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2019-02-18 21:05:27 +01:00
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Write SLI - Duration" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2019-07-21 20:02:18 +02:00
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
2018-01-28 07:26:41 +01:00
},
{
"collapse": false ,
2019-07-21 20:02:18 +02:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2019-07-21 20:02:18 +02:00
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 13 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2020-09-13 23:42:07 +02:00
"show": false ,
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-07-21 20:02:18 +02:00
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2018-01-28 07:26:41 +01:00
"seriesOverrides": [
2019-02-18 21:05:27 +01:00
2018-01-28 07:26:41 +01:00
] ,
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 6 ,
2019-07-21 20:02:18 +02:00
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(rate(workqueue_adds_total{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2018-01-28 07:26:41 +01:00
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Add Rate" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "ops" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "ops" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": 0 ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
2019-03-14 07:05:14 +01:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 14 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
2020-09-13 23:42:07 +02:00
"show": false ,
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-02-18 21:05:27 +01:00
"linewidth": 1 ,
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2018-01-28 07:26:41 +01:00
"seriesOverrides": [
2019-02-18 21:05:27 +01:00
2018-01-28 07:26:41 +01:00
] ,
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 6 ,
2018-01-28 07:26:41 +01:00
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(rate(workqueue_depth{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Depth" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2019-02-18 21:05:27 +01:00
"format": "short" ,
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
]
},
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 15 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": true ,
2019-02-18 21:05:27 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": true ,
2019-02-18 21:05:27 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": true ,
2018-01-28 07:26:41 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": true
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"lines": true ,
"linewidth": 1 ,
"links": [
2018-01-28 07:26:41 +01:00
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2019-02-18 21:05:27 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 12 ,
2019-02-18 21:05:27 +01:00
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\", cluster=\"$cluster\"}[5m])) by (instance, name, le))" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2018-01-28 07:26:41 +01:00
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Latency" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": null ,
2019-02-18 21:05:27 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
2019-02-18 21:05:27 +01:00
]
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2019-07-21 20:02:18 +02:00
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
2020-09-13 23:42:07 +02:00
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
{
"aliasColors": {
2020-03-02 08:20:33 +01:00
2020-09-13 23:42:07 +02:00
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"gridPos": {
2019-07-21 20:02:18 +02:00
},
2020-09-13 23:42:07 +02:00
"id": 16 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": false ,
2018-01-28 07:26:41 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": false ,
2020-03-02 08:20:33 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-02-18 21:05:27 +01:00
"linewidth": 1 ,
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2018-01-28 07:26:41 +01:00
"seriesOverrides": [
2019-02-18 21:05:27 +01:00
2018-01-28 07:26:41 +01:00
] ,
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
2018-01-28 07:26:41 +01:00
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "process_resident_memory_bytes{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2018-01-28 07:26:41 +01:00
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Memory" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
]
2020-09-13 23:42:07 +02:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
2019-02-18 21:05:27 +01:00
"dashLength": 10 ,
2018-01-28 07:26:41 +01:00
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 17 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
2018-01-28 07:26:41 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": false ,
2018-01-28 07:26:41 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": false ,
2020-03-02 08:20:33 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-02-18 21:05:27 +01:00
"linewidth": 1 ,
"links": [
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
2018-01-28 07:26:41 +01:00
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "rate(process_cpu_seconds_total{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}[5m])" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "CPU usage" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
]
2020-09-13 23:42:07 +02:00
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 18 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
2019-02-18 21:05:27 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": false ,
2019-02-18 21:05:27 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": false ,
2020-03-02 08:20:33 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"lines": true ,
"linewidth": 1 ,
"links": [
2018-01-28 07:26:41 +01:00
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2019-02-18 21:05:27 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
2019-02-18 21:05:27 +01:00
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "go_goroutines{job=\"apiserver\",instance=~\"$instance\", cluster=\"$cluster\"}" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Goroutines" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": null ,
2019-02-18 21:05:27 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
2019-02-18 21:05:27 +01:00
]
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2019-07-21 20:02:18 +02:00
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
2020-09-13 23:42:07 +02:00
}
] ,
"schemaVersion": 14 ,
"style": "dark" ,
"tags": [
"kubernetes-mixin"
] ,
"templating": {
"list": [
{
"current": {
"text": "default" ,
"value": "default"
},
"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(apiserver_request_total, cluster)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
},
"datasource": "$datasource" ,
"hide": 0 ,
"includeAll": true ,
"label": null ,
"multi": false ,
"name": "instance" ,
"options": [
] ,
"query": "label_values(apiserver_request_total{job=\"apiserver\", cluster=\"$cluster\"}, instance)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"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": "UTC" ,
"title": "Kubernetes / API server" ,
"uid": "09ec8aa1e996d6ffcd6817bbaff4db1b" ,
"version": 0
}
controller-manager.json : |-
{
"__inputs": [
] ,
"__requires": [
] ,
"annotations": {
"list": [
]
},
"editable": false ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"id": null ,
"links": [
] ,
"refresh": "10s" ,
"rows": [
2018-01-28 07:26:41 +01:00
{
"collapse": false ,
2019-07-21 20:02:18 +02:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
2020-09-13 23:42:07 +02:00
{
"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-controller-manager\"})" ,
"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"
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 3 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": true ,
2019-02-18 21:05:27 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": true ,
2019-02-18 21:05:27 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": true ,
2019-02-18 21:05:27 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": true
2019-02-18 21:05:27 +01:00
},
"lines": true ,
"linewidth": 1 ,
"links": [
2018-01-28 07:26:41 +01:00
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2019-02-18 21:05:27 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 10 ,
2019-02-18 21:05:27 +01:00
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(rate(workqueue_adds_total{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name)" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Add Rate" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2019-07-21 20:02:18 +02:00
"format": "ops" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": null ,
2019-02-18 21:05:27 +01:00
"show": true
2018-01-28 07:26:41 +01:00
},
{
2019-07-21 20:02:18 +02:00
"format": "ops" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2018-01-28 07:26:41 +01:00
}
2019-02-18 21:05:27 +01:00
]
2020-09-13 23:42:07 +02:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 4 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": true ,
2019-02-18 21:05:27 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": true ,
2019-02-18 21:05:27 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": true ,
2019-02-18 21:05:27 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": true
2019-02-18 21:05:27 +01:00
},
"lines": true ,
"linewidth": 1 ,
"links": [
2018-01-28 07:26:41 +01:00
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2019-02-18 21:05:27 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 12 ,
2019-02-18 21:05:27 +01:00
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(rate(workqueue_depth{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name)" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Depth" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
},
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
2019-02-18 21:05:27 +01:00
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2019-07-21 20:02:18 +02:00
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
2019-02-18 21:05:27 +01:00
},
{
"collapse": false ,
2019-07-21 20:02:18 +02:00
"collapsed": false ,
2019-02-18 21:05:27 +01:00
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-07-21 20:02:18 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 5 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-03-02 08:20:33 +01:00
"alignAsTable": true ,
2019-02-18 21:05:27 +01:00
"avg": false ,
2020-03-02 08:20:33 +01:00
"current": true ,
2019-02-18 21:05:27 +01:00
"max": false ,
"min": false ,
2020-03-02 08:20:33 +01:00
"rightSide": true ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-03-02 08:20:33 +01:00
"values": true
2019-02-18 21:05:27 +01:00
},
"lines": true ,
"linewidth": 1 ,
"links": [
2018-01-28 07:26:41 +01:00
] ,
2019-07-21 20:02:18 +02:00
"nullPointMode": "null" ,
2019-02-18 21:05:27 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-07-21 20:02:18 +02:00
"repeat": null ,
2019-02-18 21:05:27 +01:00
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name, le))" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}} {{name}}" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
2018-01-28 07:26:41 +01:00
] ,
2019-02-18 21:05:27 +01:00
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Work Queue Latency" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2019-02-18 21:05:27 +01:00
"show": true
},
{
2019-07-21 20:02:18 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2019-07-21 20:02:18 +02:00
"show": true
2019-02-18 21:05:27 +01:00
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2019-07-21 20:02:18 +02:00
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
{
"aliasColors": {
2019-02-18 21:05:27 +01:00
2019-07-21 20:02:18 +02:00
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"gridPos": {
2019-03-14 07:05:14 +01:00
2019-07-21 20:02:18 +02:00
},
2020-09-13 23:42:07 +02:00
"id": 6 ,
2019-07-21 20:02:18 +02:00
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-07-21 20:02:18 +02:00
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
2019-03-14 07:05:14 +01:00
2019-07-21 20:02:18 +02:00
] ,
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"repeat": null ,
"seriesOverrides": [
2019-02-18 21:05:27 +01:00
2019-07-21 20:02:18 +02:00
] ,
"spaceLength": 10 ,
"span": 4 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[5m]))" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "2xx" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2020-09-13 23:42:07 +02:00
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "3xx" ,
"refId": "B"
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "4xx" ,
"refId": "C"
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "5xx" ,
"refId": "D"
2019-07-21 20:02:18 +02:00
}
] ,
"thresholds": [
2019-02-18 21:05:27 +01:00
2019-07-21 20:02:18 +02:00
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Kube API Request Rate" ,
2019-07-21 20:02:18 +02:00
"tooltip": {
"shared": false ,
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
2019-02-18 21:05:27 +01:00
2019-07-21 20:02:18 +02:00
]
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "ops" ,
2019-07-21 20:02:18 +02:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "ops" ,
2019-07-21 20:02:18 +02:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": true
}
]
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 7 ,
2018-01-28 07:26:41 +01:00
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2018-01-28 07:26:41 +01:00
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 8 ,
2018-01-28 07:26:41 +01:00
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[5m])) by (verb, url, le))" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{verb}} {{url}}" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Post Request Latency 99th Quantile" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
}
]
2020-09-13 23:42:07 +02:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 8 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": true ,
2018-01-28 07:26:41 +01:00
"avg": false ,
2020-09-13 23:42:07 +02:00
"current": true ,
2018-01-28 07:26:41 +01:00
"max": false ,
"min": false ,
2020-09-13 23:42:07 +02:00
"rightSide": true ,
2018-01-28 07:26:41 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": true
2018-01-28 07:26:41 +01:00
},
"lines": true ,
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2018-01-28 07:26:41 +01:00
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 12 ,
2018-01-28 07:26:41 +01:00
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "histogram_quantile(0.99, sum(rate(rest_client_request_duration_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))" ,
2018-01-28 07:26:41 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{verb}} {{url}}" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Get Request Latency 99th Quantile" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "s" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
}
]
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2018-01-28 07:26:41 +01:00
"showTitle": false ,
"title": "Dashboard Row" ,
2019-02-18 21:05:27 +01:00
"titleSize": "h6" ,
"type": "row"
2020-09-13 23:42:07 +02:00
},
2018-01-28 07:26:41 +01:00
{
"collapse": false ,
2019-02-18 21:05:27 +01:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 9 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2019-07-21 20:02:18 +02:00
"rightSide": false ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-07-21 20:02:18 +02:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2018-01-28 07:26:41 +01:00
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "process_resident_memory_bytes{job=\"kube-controller-manager\",instance=~\"$instance\"}" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 2 ,
"legendFormat": "{{instance}}" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Memory" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-07-21 20:02:18 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2019-07-21 20:02:18 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-07-21 20:02:18 +02:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
}
]
},
{
2020-09-13 23:42:07 +02:00
"aliasColors": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 10 ,
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
"sideWidth": null ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2020-09-13 23:42:07 +02:00
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"repeat": null ,
"seriesOverrides": [
2018-01-28 07:26:41 +01:00
] ,
2020-09-13 23:42:07 +02:00
"spaceLength": 10 ,
"span": 4 ,
"stack": false ,
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "rate(process_cpu_seconds_total{job=\"kube-controller-manager\",instance=~\"$instance\"}[5m])" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2018-01-28 07:26:41 +01:00
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "{{instance}}" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2020-09-13 23:42:07 +02:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU usage" ,
2019-03-01 08:22:07 +01:00
"tooltip": {
2020-09-13 23:42:07 +02:00
"shared": false ,
"sort": 0 ,
"value_type": "individual"
2019-03-01 08:22:07 +01:00
},
2020-09-13 23:42:07 +02:00
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
2018-01-28 07:26:41 +01:00
}
2020-09-13 23:42:07 +02:00
]
},
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 11 ,
2018-01-28 07:26:41 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2018-01-28 07:26:41 +01:00
"rightSide": false ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
"linewidth": 1 ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2018-01-28 07:26:41 +01:00
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 4 ,
"stack": false ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "go_goroutines{job=\"kube-controller-manager\",instance=~\"$instance\"}" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 2 ,
"legendFormat": "{{instance}}" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Goroutines" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2020-09-13 23:42:07 +02:00
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
}
]
2020-09-13 23:42:07 +02:00
}
] ,
"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": "default" ,
"value": "default"
2019-07-21 20:02:18 +02:00
},
"hide": 0 ,
"label": null ,
"name": "datasource" ,
"options": [
] ,
"query": "prometheus" ,
"refresh": 1 ,
"regex": "" ,
"type": "datasource"
},
{
"allValue": null ,
"current": {
},
"datasource": "$datasource" ,
"hide": 0 ,
2020-09-13 23:42:07 +02:00
"includeAll": true ,
"label": null ,
2019-07-21 20:02:18 +02:00
"multi": false ,
2020-09-13 23:42:07 +02:00
"name": "instance" ,
2019-07-21 20:02:18 +02:00
"options": [
] ,
2020-09-13 23:42:07 +02:00
"query": "label_values(process_cpu_seconds_total{job=\"kube-controller-manager\"}, instance)" ,
2019-07-21 20:02:18 +02:00
"refresh": 2 ,
"regex": "" ,
2019-10-28 10:22:15 +01:00
"sort": 1 ,
2019-07-21 20:02:18 +02:00
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
}
]
},
"time": {
2020-09-13 23:42:07 +02:00
"from": "now-1h" ,
2019-07-21 20:02:18 +02:00
"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"
]
},
2020-09-13 23:42:07 +02:00
"timezone": "UTC" ,
"title": "Kubernetes / Controller Manager" ,
"uid": "72e0e05bef5099e5f049b05fdc429ed4" ,
2019-07-21 20:02:18 +02:00
"version": 0
}
2020-09-13 23:42:07 +02:00
persistentvolumesusage.json : |-
2019-07-21 20:02:18 +02:00
{
"__inputs": [
] ,
"__requires": [
] ,
"annotations": {
"list": [
2020-03-02 08:20:33 +01:00
2019-07-21 20:02:18 +02:00
]
},
"editable": false ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"id": null ,
"links": [
] ,
2020-03-02 08:20:33 +01:00
"refresh": "10s" ,
2019-07-21 20:02:18 +02:00
"rows": [
2018-01-28 07:26:41 +01:00
{
"collapse": false ,
2019-02-18 21:05:27 +01:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 2 ,
2018-01-28 07:26:41 +01:00
"legend": {
2019-07-21 20:02:18 +02:00
"alignAsTable": true ,
2020-09-13 23:42:07 +02:00
"avg": true ,
2019-07-21 20:02:18 +02:00
"current": true ,
2020-09-13 23:42:07 +02:00
"max": true ,
"min": true ,
"rightSide": false ,
2018-01-28 07:26:41 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-03-02 08:20:33 +01:00
"values": true
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-02-18 21:05:27 +01:00
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
2019-07-21 20:02:18 +02:00
2019-02-18 21:05:27 +01:00
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 9 ,
"stack": true ,
2018-01-28 07:26:41 +01:00
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "(\n sum without(instance, node) (kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 1 ,
"legendFormat": "Used Space" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
},
{
2020-09-13 23:42:07 +02:00
"expr": "sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 1 ,
"legendFormat": "Free Space" ,
2019-02-18 21:05:27 +01:00
"refId": "B"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Volume Space Usage" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2020-09-13 23:42:07 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "bytes" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2018-01-28 07:26:41 +01:00
"show": true
}
]
2020-03-02 08:20:33 +01:00
},
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"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)"
] ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"format": "percent" ,
"gauge": {
"maxValue": 100 ,
"minValue": 0 ,
"show": true ,
"thresholdLabels": false ,
"thresholdMarkers": true
},
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 3 ,
"interval": null ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2020-09-13 23:42:07 +02:00
"mappingType": 1 ,
"mappingTypes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"name": "value to text" ,
"value": 1
2019-07-21 20:02:18 +02:00
},
{
2020-09-13 23:42:07 +02:00
"name": "range to text" ,
"value": 2
}
] ,
"maxDataPoints": 100 ,
"nullPointMode": "connected" ,
"nullText": null ,
"postfix": "" ,
"postfixFontSize": "50%" ,
"prefix": "" ,
"prefixFontSize": "50%" ,
"rangeMaps": [
2019-07-21 20:02:18 +02:00
{
2020-09-13 23:42:07 +02:00
"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": [
2020-03-02 08:20:33 +01:00
{
2020-09-13 23:42:07 +02:00
"expr": "(\n kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n -\n kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n)\n/\nkubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n" ,
2020-03-02 08:20:33 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "" ,
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2020-09-13 23:42:07 +02:00
"thresholds": "80, 90" ,
"title": "Volume Space Usage" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2020-09-13 23:42:07 +02:00
"shared": false
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"op": "=" ,
"text": "N/A" ,
"value": "null"
2018-01-28 07:26:41 +01:00
}
2020-09-13 23:42:07 +02:00
] ,
"valueName": "current"
2019-07-21 20:02:18 +02:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"panels": [
2018-01-28 07:26:41 +01:00
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 4 ,
2019-02-18 21:05:27 +01:00
"legend": {
2020-09-13 23:42:07 +02:00
"alignAsTable": true ,
"avg": true ,
"current": true ,
"max": true ,
"min": true ,
2020-03-02 08:20:33 +01:00
"rightSide": false ,
2019-02-18 21:05:27 +01:00
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
2020-09-13 23:42:07 +02:00
"values": true
2018-01-28 07:26:41 +01:00
},
2019-02-18 21:05:27 +01:00
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"repeat": null ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2020-09-13 23:42:07 +02:00
"span": 9 ,
"stack": true ,
2019-02-18 21:05:27 +01:00
"steppedLine": false ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 1 ,
"legendFormat": "Used inodes" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2019-07-21 20:02:18 +02:00
},
{
2020-09-13 23:42:07 +02:00
"expr": "(\n sum without(instance, node) (kubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
2020-09-13 23:42:07 +02:00
"intervalFactor": 1 ,
"legendFormat": " Free inodes" ,
2019-07-21 20:02:18 +02:00
"refId": "B"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Volume inodes Usage" ,
2019-02-18 21:05:27 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2019-02-18 21:05:27 +01:00
"sort": 0 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"format": "none" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2019-02-18 21:05:27 +01:00
"show": true
},
{
2020-09-13 23:42:07 +02:00
"format": "none" ,
2019-02-18 21:05:27 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
2019-07-21 20:02:18 +02:00
"min": 0 ,
2019-02-18 21:05:27 +01:00
"show": true
2018-01-28 07:26:41 +01:00
}
2019-02-18 21:05:27 +01:00
]
2020-03-02 08:20:33 +01:00
},
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"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)"
] ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"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": "kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n/\nkubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "80, 90" ,
"title": "Volume 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": "default" ,
"value": "default"
},
"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(kubelet_volume_stats_capacity_bytes, cluster)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
},
"datasource": "$datasource" ,
"hide": 0 ,
"includeAll": false ,
"label": "Namespace" ,
"multi": false ,
"name": "namespace" ,
"options": [
] ,
"query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\"}, namespace)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
},
"datasource": "$datasource" ,
"hide": 0 ,
"includeAll": false ,
"label": "PersistentVolumeClaim" ,
"multi": false ,
"name": "volume" ,
"options": [
] ,
"query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\"}, persistentvolumeclaim)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
}
]
},
"time": {
"from": "now-7d" ,
"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": "UTC" ,
"title": "Kubernetes / Persistent Volumes" ,
"uid": "919b92a8e8041bd567af9edab12c840c" ,
"version": 0
}
scheduler.json : |-
{
"__inputs": [
] ,
"__requires": [
] ,
"annotations": {
"list": [
]
},
"editable": false ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"id": null ,
"links": [
] ,
"refresh": "10s" ,
"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-scheduler\"})" ,
"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": true ,
"avg": false ,
"current": true ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"sideWidth": null ,
"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": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} e2e" ,
"refId": "A"
},
{
"expr": "sum(rate(scheduler_binding_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} binding" ,
"refId": "B"
},
{
"expr": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} scheduling algorithm" ,
"refId": "C"
},
{
"expr": "sum(rate(scheduler_volume_scheduling_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} volume" ,
"refId": "D"
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Scheduling 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 ,
"sideWidth": null ,
"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, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} e2e" ,
"refId": "A"
},
{
"expr": "histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} binding" ,
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} scheduling algorithm" ,
"refId": "C"
},
{
"expr": "histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{instance}} volume" ,
"refId": "D"
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Scheduling 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 ,
"sideWidth": null ,
"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-scheduler\", instance=~\"$instance\",code=~\"2..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "2xx" ,
"refId": "A"
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"3..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "3xx" ,
"refId": "B"
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"4..\"}[5m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "4xx" ,
"refId": "C"
},
{
"expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", 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": 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": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
"sideWidth": null ,
"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_duration_seconds_bucket{job=\"kube-scheduler\", 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": 7 ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": true ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"sideWidth": null ,
"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_duration_seconds_bucket{job=\"kube-scheduler\", 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": 8 ,
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
"sideWidth": null ,
"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-scheduler\", 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": 9 ,
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
"sideWidth": null ,
"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-scheduler\", 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": "bytes" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "bytes" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
}
]
},
{
"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 ,
"sideWidth": null ,
"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-scheduler\",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": "default" ,
"value": "default"
},
"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(process_cpu_seconds_total{job=\"kube-scheduler\"}, instance)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"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": "UTC" ,
"title": "Kubernetes / Scheduler" ,
"uid": "2e6b6a3b4bddf1427b3a55aa1311c656" ,
"version": 0
}
statefulset.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": "cores" ,
"postfixFontSize": "50%" ,
"prefix": "" ,
"prefixFontSize": "50%" ,
"rangeMaps": [
{
"from": "null" ,
"text": "N/A" ,
"to": "null"
}
] ,
"span": 4 ,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)" ,
"lineColor": "rgb(31, 120, 193)" ,
"show": true
},
"tableColumn": "" ,
"targets": [
{
"expr": "sum(rate(container_cpu_usage_seconds_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}[3m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "CPU" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "0" ,
"value": "null"
}
] ,
"valueName": "current"
},
{
"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": "GB" ,
"postfixFontSize": "50%" ,
"prefix": "" ,
"prefixFontSize": "50%" ,
"rangeMaps": [
{
"from": "null" ,
"text": "N/A" ,
"to": "null"
}
] ,
"span": 4 ,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)" ,
"lineColor": "rgb(31, 120, 193)" ,
"show": true
},
"tableColumn": "" ,
"targets": [
{
"expr": "sum(container_memory_usage_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}) / 1024^3" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "Memory" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "0" ,
"value": "null"
}
] ,
"valueName": "current"
},
{
"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": "Bps" ,
"postfixFontSize": "50%" ,
"prefix": "" ,
"prefixFontSize": "50%" ,
"rangeMaps": [
{
"from": "null" ,
"text": "N/A" ,
"to": "null"
}
] ,
"span": 4 ,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)" ,
"lineColor": "rgb(31, 120, 193)" ,
"show": true
},
"tableColumn": "" ,
"targets": [
{
"expr": "sum(rate(container_network_transmit_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}[3m])) + sum(rate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\",pod=~\"$statefulset.*\"}[3m]))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "Network" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "0" ,
"value": "null"
}
] ,
"valueName": "current"
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Dashboard Row" ,
"titleSize": "h6" ,
"type": "row"
},
{
"collapse": false ,
"collapsed": false ,
"height": "100px" ,
"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": 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": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "Desired Replicas" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "0" ,
"value": "null"
}
] ,
"valueName": "current"
},
{
"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": 3 ,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)" ,
"full": false ,
"lineColor": "rgb(31, 120, 193)" ,
"show": false
},
"tableColumn": "" ,
"targets": [
{
"expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A"
}
] ,
"thresholds": "" ,
"title": "Replicas of current version" ,
"tooltip": {
"shared": false
},
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
{
"op": "=" ,
"text": "0" ,
"value": "null"
}
] ,
"valueName": "current"
},
{
"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
},
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 7 ,
"interval": null ,
2019-02-18 21:05:27 +01:00
"links": [
] ,
2020-09-13 23:42:07 +02:00
"mappingType": 1 ,
"mappingTypes": [
{
"name": "value to text" ,
"value": 1
},
{
"name": "range to text" ,
"value": 2
}
2018-01-28 07:26:41 +01:00
] ,
2020-09-13 23:42:07 +02:00
"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": "" ,
2018-01-28 07:26:41 +01:00
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "max(kube_statefulset_status_observed_generation{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
2018-01-28 07:26:41 +01:00
}
] ,
2020-09-13 23:42:07 +02:00
"thresholds": "" ,
"title": "Observed Generation" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2020-09-13 23:42:07 +02:00
"shared": false
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"op": "=" ,
"text": "0" ,
"value": "null"
2018-01-28 07:26:41 +01:00
}
2020-09-13 23:42:07 +02:00
] ,
"valueName": "current"
},
2019-04-28 07:41:13 +02:00
{
2020-09-13 23:42:07 +02:00
"cacheTimeout": null ,
"colorBackground": false ,
"colorValue": false ,
"colors": [
"#299c46" ,
"rgba(237, 129, 40, 0.89)" ,
"#d44a3a"
] ,
2020-03-02 08:20:33 +01:00
"datasource": "$datasource" ,
2020-09-13 23:42:07 +02:00
"format": "none" ,
"gauge": {
"maxValue": 100 ,
"minValue": 0 ,
"show": false ,
"thresholdLabels": false ,
"thresholdMarkers": true
},
2019-04-28 07:41:13 +02:00
"gridPos": {
},
2020-09-13 23:42:07 +02:00
"id": 8 ,
"interval": null ,
2019-04-28 07:41:13 +02:00
"links": [
] ,
2020-09-13 23:42:07 +02:00
"mappingType": 1 ,
"mappingTypes": [
{
"name": "value to text" ,
"value": 1
},
{
"name": "range to text" ,
"value": 2
}
2019-07-21 20:02:18 +02:00
] ,
2020-09-13 23:42:07 +02:00
"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": "" ,
2019-07-21 20:02:18 +02:00
"targets": [
2019-04-28 07:41:13 +02:00
{
2020-09-13 23:42:07 +02:00
"expr": "max(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
2019-07-21 20:02:18 +02:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "" ,
2019-07-21 20:02:18 +02:00
"refId": "A"
2019-04-28 07:41:13 +02:00
}
] ,
2020-09-13 23:42:07 +02:00
"thresholds": "" ,
"title": "Metadata Generation" ,
2019-04-28 07:41:13 +02:00
"tooltip": {
2020-09-13 23:42:07 +02:00
"shared": false
2019-07-21 20:02:18 +02:00
},
2020-09-13 23:42:07 +02:00
"type": "singlestat" ,
"valueFontSize": "80%" ,
"valueMaps": [
2018-01-28 07:26:41 +01:00
{
2020-09-13 23:42:07 +02:00
"op": "=" ,
"text": "0" ,
"value": "null"
2018-01-28 07:26:41 +01:00
}
2020-09-13 23:42:07 +02:00
] ,
"valueName": "current"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2018-01-28 07:26:41 +01:00
"showTitle": false ,
"title": "Dashboard Row" ,
2019-02-18 21:05:27 +01:00
"titleSize": "h6" ,
"type": "row"
2018-01-28 07:26:41 +01:00
},
{
"collapse": false ,
2019-02-18 21:05:27 +01:00
"collapsed": false ,
2018-01-28 07:26:41 +01:00
"panels": [
{
2019-02-18 21:05:27 +01:00
"aliasColors": {
},
2018-01-28 07:26:41 +01:00
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
2019-02-18 21:05:27 +01:00
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"fill": 1 ,
2019-02-18 21:05:27 +01:00
"gridPos": {
2018-01-28 07:26:41 +01:00
},
2020-09-13 23:42:07 +02:00
"id": 9 ,
2018-01-28 07:26:41 +01:00
"legend": {
"alignAsTable": false ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": false ,
"show": true ,
2020-09-13 23:42:07 +02:00
"sideWidth": null ,
2019-02-18 21:05:27 +01:00
"total": false ,
"values": false
2018-01-28 07:26:41 +01:00
},
"lines": true ,
2019-02-18 21:05:27 +01:00
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null" ,
2018-01-28 07:26:41 +01:00
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"seriesOverrides": [
] ,
2018-01-28 07:26:41 +01:00
"spaceLength": 10 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
2018-01-28 07:26:41 +01:00
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "replicas specified" ,
2019-02-18 21:05:27 +01:00
"refId": "A"
},
{
2020-09-13 23:42:07 +02:00
"expr": "max(kube_statefulset_status_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "replicas created" ,
"refId": "B"
},
2020-03-02 08:20:33 +01:00
{
2020-09-13 23:42:07 +02:00
"expr": "min(kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "ready" ,
"refId": "C"
2019-02-18 21:05:27 +01:00
},
{
2020-09-13 23:42:07 +02:00
"expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "replicas of current version" ,
"refId": "D"
},
2020-03-02 08:20:33 +01:00
{
2020-09-13 23:42:07 +02:00
"expr": "min(kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)" ,
2019-02-18 21:05:27 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2020-09-13 23:42:07 +02:00
"legendFormat": "updated" ,
"refId": "E"
2018-01-28 07:26:41 +01:00
}
] ,
2019-02-18 21:05:27 +01:00
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2020-09-13 23:42:07 +02:00
"title": "Replicas" ,
2018-01-28 07:26:41 +01:00
"tooltip": {
2019-03-01 08:22:07 +01:00
"shared": false ,
2018-01-28 07:26:41 +01:00
"sort": 0 ,
2019-02-18 21:05:27 +01:00
"value_type": "individual"
2018-01-28 07:26:41 +01:00
},
"type": "graph" ,
"xaxis": {
2019-02-18 21:05:27 +01:00
"buckets": null ,
2018-01-28 07:26:41 +01:00
"mode": "time" ,
2019-02-18 21:05:27 +01:00
"name": null ,
2018-01-28 07:26:41 +01:00
"show": true ,
2019-02-18 21:05:27 +01:00
"values": [
]
2018-01-28 07:26:41 +01:00
},
"yaxes": [
{
2019-02-18 21:05:27 +01:00
"format": "short" ,
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
"min": null ,
2018-01-28 07:26:41 +01:00
"show": true
},
{
"format": "short" ,
2019-02-18 21:05:27 +01:00
"label": null ,
2018-01-28 07:26:41 +01:00
"logBase": 1 ,
2019-02-18 21:05:27 +01:00
"max": null ,
"min": null ,
"show": true
2018-01-28 07:26:41 +01:00
}
]
}
] ,
2019-02-18 21:05:27 +01:00
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
2018-01-28 07:26:41 +01:00
"showTitle": false ,
"title": "Dashboard Row" ,
2019-02-18 21:05:27 +01:00
"titleSize": "h6" ,
"type": "row"
2018-01-28 07:26:41 +01:00
}
] ,
"schemaVersion": 14 ,
"style": "dark" ,
2019-02-18 21:05:27 +01:00
"tags": [
"kubernetes-mixin"
] ,
2018-01-28 07:26:41 +01:00
"templating": {
"list": [
{
2019-02-18 21:05:27 +01:00
"current": {
2020-03-02 08:20:33 +01:00
"text": "default" ,
"value": "default"
2019-02-18 21:05:27 +01:00
},
"hide": 0 ,
"label": null ,
"name": "datasource" ,
"options": [
] ,
"query": "prometheus" ,
"refresh": 1 ,
"regex": "" ,
"type": "datasource"
},
{
"allValue": null ,
"current": {
2020-09-13 23:42:07 +02:00
},
"datasource": "$datasource" ,
"hide": 2 ,
"includeAll": false ,
"label": "cluster" ,
"multi": false ,
"name": "cluster" ,
"options": [
] ,
"query": "label_values(kube_statefulset_metadata_generation, cluster)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
2019-02-18 21:05:27 +01:00
},
"datasource": "$datasource" ,
2018-01-28 07:26:41 +01:00
"hide": 0 ,
2020-09-13 23:42:07 +02:00
"includeAll": false ,
"label": "Namespace" ,
2018-01-28 07:26:41 +01:00
"multi": false ,
2020-09-13 23:42:07 +02:00
"name": "namespace" ,
2019-02-18 21:05:27 +01:00
"options": [
] ,
2020-09-13 23:42:07 +02:00
"query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)" ,
"refresh": 2 ,
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
},
"datasource": "$datasource" ,
"hide": 0 ,
"includeAll": false ,
"label": "Name" ,
"multi": false ,
"name": "statefulset" ,
"options": [
] ,
"query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\"}, statefulset)" ,
2019-02-18 21:05:27 +01:00
"refresh": 2 ,
2018-01-28 07:26:41 +01:00
"regex": "" ,
2019-10-28 10:22:15 +01:00
"sort": 1 ,
2018-01-28 07:26:41 +01:00
"tagValuesQuery": "" ,
2019-02-18 21:05:27 +01:00
"tags": [
] ,
"tagsQuery": "" ,
2018-01-28 07:26:41 +01:00
"type": "query" ,
"useTags": false
}
]
},
"time": {
2019-02-18 21:05:27 +01:00
"from": "now-1h" ,
2018-01-28 07:26:41 +01:00
"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"
]
},
2020-09-13 23:42:07 +02:00
"timezone": "UTC" ,
"title": "Kubernetes / StatefulSets" ,
"uid": "a31c1f46e6f727cb37c0d731a7245005" ,
2019-02-18 21:05:27 +01:00
"version": 0
2018-01-28 07:26:41 +01:00
}
2019-10-20 02:43:47 +02:00
kind : ConfigMap
metadata :
name : grafana-dashboards-k8s
namespace : monitoring