2019-10-28 10:22:15 +01:00
apiVersion : v1
data :
k8s-resources-cluster.json : |-
{
"annotations": {
"list": [
]
},
"editable": true ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"links": [
] ,
"refresh": "10s" ,
"rows": [
{
"collapse": false ,
"height": "100px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 1 ,
2020-09-13 23:42:07 +02:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "cluster:node_cpu:ratio_rate5m{cluster=\"$cluster\"}" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Utilisation" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 2 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"cpu\",cluster=\"$cluster\"})" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Requests Commitment" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 3 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"cpu\",cluster=\"$cluster\"})" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Limits Commitment" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 4 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "1 - sum(:node_memory_MemAvailable_bytes:sum{cluster=\"$cluster\"}) / sum(node_memory_MemTotal_bytes{job=\"node-exporter\",cluster=\"$cluster\"})" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Utilisation" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 5 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"memory\",cluster=\"$cluster\"})" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Requests Commitment" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 6 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 2 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable{job=\"kube-state-metrics\",resource=\"memory\",cluster=\"$cluster\"})" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Limits Commitment" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Headlines" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 7 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Usage" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"id": 8 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Pods" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 0 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1" ,
2019-10-28 10:22:15 +01:00
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "Workloads" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 0 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to workloads" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1" ,
2019-10-28 10:22:15 +01:00
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "CPU Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #G" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Namespace" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "namespace" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(kube_pod_owner{job=\"kube-state-metrics\", cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2020-09-13 23:42:07 +02:00
"expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\"}) by (namespace) / sum(namespace_cpu:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "G" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Quota" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU Quota" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 9 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_rss{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Usage (w/o cache)" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"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": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"id": 10 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Pods" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 0 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1" ,
2019-10-28 10:22:15 +01:00
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "Workloads" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 0 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to workloads" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1" ,
2019-10-28 10:22:15 +01:00
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "Memory Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Memory Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #G" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Namespace" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "namespace" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(kube_pod_owner{job=\"kube-state-metrics\", cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2020-09-13 23:42:07 +02:00
"expr": "count(avg(namespace_workload_pod:kube_pod_owner:relabel{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_rss{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_rss{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_requests:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_rss{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(namespace_memory:kube_pod_container_resource_limits:sum{cluster=\"$cluster\"}) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "G" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Requests by Namespace" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory Requests" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"id": 11 ,
2020-09-13 23:42:07 +02:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Current Receive Bandwidth" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Current Transmit Bandwidth" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Rate of Received Packets" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Received Packets Dropped" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets Dropped" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Namespace" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "namespace" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Current Network Usage" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Current Network Usage" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 12 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Receive Bandwidth" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 13 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Transmit Bandwidth" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Bandwidth" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 14 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "avg(irate(container_network_receive_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Average Container Bandwidth by Namespace: Received" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 15 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "avg(irate(container_network_transmit_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Average Container Bandwidth by Namespace: Transmitted" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Average Container Bandwidth by Namespace" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 16 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Rate of Received Packets" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 17 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Rate of Transmitted Packets" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Packets" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 18 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Rate of Received Packets Dropped" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 19 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Rate of Transmitted Packets Dropped" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Packets Dropped" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
2022-03-20 01:04:14 +01:00
},
2020-03-02 08:20:33 +01:00
{
"collapse": false ,
2022-03-20 01:04:14 +01:00
"height": "250px" ,
2020-03-02 08:20:33 +01:00
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
2022-03-20 01:04:14 +01:00
"decimals": -1 ,
"fill": 10 ,
"id": 20 ,
"interval": "1m" ,
2020-03-02 08:20:33 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2020-03-02 08:20:33 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2020-03-02 08:20:33 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
2022-03-20 01:04:14 +01:00
"linewidth": 0 ,
2020-03-02 08:20:33 +01:00
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
"stack": true ,
2020-03-02 08:20:33 +01:00
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "ceil(sum by(namespace) (rate(container_fs_reads_total{job=\"kubernetes-cadvisor\", container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubernetes-cadvisor\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval])))" ,
2020-03-02 08:20:33 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2022-03-20 01:04:14 +01:00
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
2020-03-02 08:20:33 +01:00
}
] ,
2022-03-20 01:04:14 +01:00
"thresholds": [
] ,
2020-03-02 08:20:33 +01:00
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "IOPS(Reads+Writes)" ,
2020-03-02 08:20:33 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2020-03-02 08:20:33 +01:00
"value_type": "individual"
},
2022-03-20 01:04:14 +01:00
"type": "graph" ,
2020-03-02 08:20:33 +01:00
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
2022-03-20 01:04:14 +01:00
"fill": 10 ,
"id": 21 ,
"interval": "1m" ,
2020-03-02 08:20:33 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2020-03-02 08:20:33 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2020-03-02 08:20:33 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
2022-03-20 01:04:14 +01:00
"linewidth": 0 ,
2020-03-02 08:20:33 +01:00
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
"stack": true ,
2020-03-02 08:20:33 +01:00
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubernetes-cadvisor\", container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubernetes-cadvisor\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
2020-03-02 08:20:33 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
2022-03-20 01:04:14 +01:00
"legendFormat": "{{namespace}}" ,
"legendLink": null ,
"step": 10
2020-03-02 08:20:33 +01:00
}
] ,
2022-03-20 01:04:14 +01:00
"thresholds": [
] ,
2020-03-02 08:20:33 +01:00
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "ThroughPut(Read+Write)" ,
2020-03-02 08:20:33 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2020-03-02 08:20:33 +01:00
"value_type": "individual"
},
2022-03-20 01:04:14 +01:00
"type": "graph" ,
2020-03-02 08:20:33 +01:00
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "Bps" ,
2020-03-02 08:20:33 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Storage IO" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
2020-03-02 08:20:33 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2022-03-20 01:04:14 +01:00
"id": 22 ,
"interval": "1m" ,
2020-03-02 08:20:33 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2020-03-02 08:20:33 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2020-03-02 08:20:33 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
2022-03-20 01:04:14 +01:00
"sort": {
"col": 4 ,
"desc": true
},
2020-03-02 08:20:33 +01:00
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 12 ,
2020-03-02 08:20:33 +01:00
"stack": false ,
"steppedLine": false ,
2022-03-20 01:04:14 +01:00
"styles": [
2020-03-02 08:20:33 +01:00
{
2022-03-20 01:04:14 +01:00
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "IOPS(Reads)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "IOPS(Writes)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "IOPS(Reads + Writes)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "Throughput(Read)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Throughput(Write)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Throughput(Read + Write)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Namespace" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down to pods" ,
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell" ,
"pattern": "namespace" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
"expr": "sum by(namespace) (rate(container_fs_reads_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
"expr": "sum by(namespace) (rate(container_fs_writes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
"expr": "sum by(namespace) (rate(container_fs_reads_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
"expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
"expr": "sum by(namespace) (rate(container_fs_writes_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
"expr": "sum by(namespace) (rate(container_fs_reads_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace!=\"\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Current Storage IO" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Storage IO - Distribution" ,
"titleSize": "h6"
}
] ,
"schemaVersion": 14 ,
"style": "dark" ,
"tags": [
"kubernetes-mixin"
] ,
"templating": {
"list": [
{
"current": {
"text": "default" ,
"value": "default"
},
"hide": 0 ,
"label": "Data Source" ,
"name": "datasource" ,
"options": [
] ,
"query": "prometheus" ,
"refresh": 1 ,
"regex": "" ,
"type": "datasource"
},
{
"allValue": null ,
"current": {
"text": "" ,
"value": ""
},
"datasource": "$datasource" ,
"hide": 2 ,
"includeAll": false ,
"label": null ,
"multi": false ,
"name": "cluster" ,
"options": [
] ,
"query": "label_values(up{job=\"kubernetes-cadvisor\"}, cluster)" ,
"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 / Compute Resources / Cluster" ,
"uid": "efa86fd1d0c121a26444b636a3f509a8" ,
"version": 0
}
k8s-resources-namespace.json : |-
{
"annotations": {
"list": [
]
},
"editable": true ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"links": [
] ,
"refresh": "10s" ,
"rows": [
{
"collapse": false ,
"height": "100px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 1 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 3 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) / sum(kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"})" ,
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Utilisation (from requests)" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 2 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 3 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) / sum(kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\"})" ,
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Utilisation (from limits)" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 3 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 3 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) / sum(kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"})" ,
"format": "time_series" ,
"instant": true ,
2020-03-02 08:20:33 +01:00
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Memory Utilisation (from requests)" ,
2020-03-02 08:20:33 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2020-03-02 08:20:33 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"format": "percentunit" ,
"id": 4 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2020-03-02 08:20:33 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2020-03-02 08:20:33 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2020-03-02 08:20:33 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
2019-10-28 10:22:15 +01:00
2020-03-02 08:20:33 +01:00
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 3 ,
"stack": false ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) / sum(kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\"})" ,
2020-03-02 08:20:33 +01:00
"format": "time_series" ,
"instant": true ,
"intervalFactor": 2 ,
"refId": "A"
}
] ,
"thresholds": "70,80" ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Utilisation (from limits)" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2020-03-02 08:20:33 +01:00
"value_type": "individual"
},
"type": "singlestat" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": false ,
"title": "Headlines" ,
"titleSize": "h6"
},
2019-10-28 10:22:15 +01:00
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2020-03-02 08:20:33 +01:00
"id": 5 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
2020-03-02 08:20:33 +01:00
{
"alias": "quota - requests" ,
"color": "#F2495C" ,
"dashes": true ,
"fill": 0 ,
2022-03-20 01:04:14 +01:00
"hiddenSeries": true ,
2020-03-02 08:20:33 +01:00
"hideTooltip": true ,
2022-03-20 01:04:14 +01:00
"legend": true ,
2020-03-02 08:20:33 +01:00
"linewidth": 2 ,
"stack": false
},
{
"alias": "quota - limits" ,
"color": "#FF9830" ,
"dashes": true ,
"fill": 0 ,
2022-03-20 01:04:14 +01:00
"hiddenSeries": true ,
2020-03-02 08:20:33 +01:00
"hideTooltip": true ,
2022-03-20 01:04:14 +01:00
"legend": true ,
2020-03-02 08:20:33 +01:00
"linewidth": 2 ,
"stack": false
}
2019-10-28 10:22:15 +01:00
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
2020-03-02 08:20:33 +01:00
},
{
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.cpu\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "quota - requests" ,
"legendLink": null ,
"step": 10
},
{
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.cpu\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "quota - limits" ,
"legendLink": null ,
"step": 10
2019-10-28 10:22:15 +01:00
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Usage" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU Usage" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2020-03-02 08:20:33 +01:00
"id": 6 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "CPU Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "CPU Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Quota" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU Quota" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2020-03-02 08:20:33 +01:00
"id": 7 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
2020-03-02 08:20:33 +01:00
{
"alias": "quota - requests" ,
"color": "#F2495C" ,
"dashes": true ,
"fill": 0 ,
2022-03-20 01:04:14 +01:00
"hiddenSeries": true ,
2020-03-02 08:20:33 +01:00
"hideTooltip": true ,
2022-03-20 01:04:14 +01:00
"legend": true ,
2020-03-02 08:20:33 +01:00
"linewidth": 2 ,
"stack": false
},
{
"alias": "quota - limits" ,
"color": "#FF9830" ,
"dashes": true ,
"fill": 0 ,
2022-03-20 01:04:14 +01:00
"hiddenSeries": true ,
2020-03-02 08:20:33 +01:00
"hideTooltip": true ,
2022-03-20 01:04:14 +01:00
"legend": true ,
2020-03-02 08:20:33 +01:00
"linewidth": 2 ,
"stack": false
}
2019-10-28 10:22:15 +01:00
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\", image!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
2020-03-02 08:20:33 +01:00
},
{
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"requests.memory\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "quota - requests" ,
"legendLink": null ,
"step": 10
},
{
"expr": "scalar(kube_resourcequota{cluster=\"$cluster\", namespace=\"$namespace\", type=\"hard\",resource=\"limits.memory\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "quota - limits" ,
"legendLink": null ,
"step": 10
2019-10-28 10:22:15 +01:00
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Usage (w/o cache)" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"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": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory Usage" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2020-03-02 08:20:33 +01:00
"id": 8 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Memory Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Memory Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Memory Usage (RSS)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Usage (Cache)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #G" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Usage (Swap)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #H" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_working_set_bytes{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\", image!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_rss{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_cache{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "G" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(container_memory_swap{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "H" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Quota" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory Quota" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
2020-03-02 08:20:33 +01:00
"id": 9 ,
2020-09-13 23:42:07 +02:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Current Receive Bandwidth" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Current Transmit Bandwidth" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Rate of Received Packets" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Received Packets Dropped" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Rate of Transmitted Packets Dropped" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "pps"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down to pods" ,
2022-03-20 01:04:14 +01:00
"linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell" ,
2019-10-28 10:22:15 +01:00
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
"expr": "sum(irate(container_network_transmit_packets_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
"expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
"expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubernetes-cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Current Network Usage" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Current Network Usage" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 10 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 6 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
"expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "time_series" ,
2019-10-28 10:22:15 +01:00
"intervalFactor": 2 ,
2022-03-20 01:04:14 +01:00
"legendFormat": "{{pod}}" ,
"legendLink": null ,
2019-10-28 10:22:15 +01:00
"step": 10
2022-03-20 01:04:14 +01:00
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Receive Bandwidth" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
2019-10-28 10:22:15 +01:00
{
2022-03-20 01:04:14 +01:00
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
2019-10-28 10:22:15 +01:00
},
{
2022-03-20 01:04:14 +01:00
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 11 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 6 ,
"stack": true ,
"steppedLine": false ,
"targets": [
2019-10-28 10:22:15 +01:00
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
"format": "time_series" ,
2019-10-28 10:22:15 +01:00
"intervalFactor": 2 ,
2022-03-20 01:04:14 +01:00
"legendFormat": "{{pod}}" ,
"legendLink": null ,
2019-10-28 10:22:15 +01:00
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Transmit Bandwidth" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
2022-03-20 01:04:14 +01:00
"type": "graph" ,
2019-10-28 10:22:15 +01:00
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "Bps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Bandwidth" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2022-03-20 01:04:14 +01:00
"id": 12 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Received Packets" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2022-03-20 01:04:14 +01:00
"id": 13 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Transmitted Packets" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Packets" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2022-03-20 01:04:14 +01:00
"id": 14 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Received Packets Dropped" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
2022-03-20 01:04:14 +01:00
},
2019-10-28 10:22:15 +01:00
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
2022-03-20 01:04:14 +01:00
"id": 15 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Transmitted Packets Dropped" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "pps" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Rate of Packets Dropped" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
2022-03-20 01:04:14 +01:00
"decimals": -1 ,
2019-10-28 10:22:15 +01:00
"fill": 10 ,
2022-03-20 01:04:14 +01:00
"id": 16 ,
"interval": "1m" ,
"legend": {
"alignAsTable": true ,
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
"rightSide": true ,
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 6 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
"expr": "ceil(sum by(pod) (rate(container_fs_reads_total{container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_total{container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval])))" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "IOPS(Reads+Writes)" ,
"tooltip": {
"shared": false ,
"sort": 2 ,
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
},
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 17 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
2022-03-20 01:04:14 +01:00
"span": 6 ,
2019-10-28 10:22:15 +01:00
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum by(pod) (rate(container_fs_reads_bytes_total{container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{container!=\"\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "ThroughPut(Read+Write)" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "Bps" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Storage IO" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
2022-03-20 01:04:14 +01:00
"fill": 1 ,
"id": 18 ,
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
2022-03-20 01:04:14 +01:00
"linewidth": 1 ,
2019-10-28 10:22:15 +01:00
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
2022-03-20 01:04:14 +01:00
"sort": {
"col": 4 ,
"desc": true
},
2019-10-28 10:22:15 +01:00
"spaceLength": 10 ,
"span": 12 ,
2022-03-20 01:04:14 +01:00
"stack": false ,
2019-10-28 10:22:15 +01:00
"steppedLine": false ,
2022-03-20 01:04:14 +01:00
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "IOPS(Reads)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "IOPS(Writes)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "IOPS(Reads + Writes)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": -1 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "Throughput(Read)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Throughput(Write)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Throughput(Read + Write)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "Bps"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": true ,
"linkTargetBlank": false ,
"linkTooltip": "Drill down to pods" ,
"linkUrl": "/d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell" ,
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
2019-10-28 10:22:15 +01:00
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum by(pod) (rate(container_fs_reads_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
2019-10-28 10:22:15 +01:00
"intervalFactor": 2 ,
2022-03-20 01:04:14 +01:00
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
"expr": "sum by(pod) (rate(container_fs_writes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
"expr": "sum by(pod) (rate(container_fs_reads_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
"expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
"expr": "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
"expr": "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"kubernetes-cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\"}[$__rate_interval]))" ,
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
2019-10-28 10:22:15 +01:00
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
2022-03-20 01:04:14 +01:00
"title": "Current Storage IO" ,
2019-10-28 10:22:15 +01:00
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
2022-03-20 01:04:14 +01:00
"transform": "table" ,
"type": "table" ,
2019-10-28 10:22:15 +01:00
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
2022-03-20 01:04:14 +01:00
"format": "short" ,
2019-10-28 10:22:15 +01:00
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
2022-03-20 01:04:14 +01:00
"title": "Storage IO - Distribution" ,
2019-10-28 10:22:15 +01:00
"titleSize": "h6"
}
] ,
"schemaVersion": 14 ,
"style": "dark" ,
"tags": [
"kubernetes-mixin"
] ,
"templating": {
"list": [
{
"current": {
2020-03-02 08:20:33 +01:00
"text": "default" ,
"value": "default"
2019-10-28 10:22:15 +01:00
},
"hide": 0 ,
2022-03-20 01:04:14 +01:00
"label": "Data Source" ,
2019-10-28 10:22:15 +01:00
"name": "datasource" ,
"options": [
] ,
"query": "prometheus" ,
"refresh": 1 ,
"regex": "" ,
"type": "datasource"
},
{
"allValue": null ,
"current": {
2020-03-02 08:20:33 +01:00
"text": "" ,
"value": ""
2019-10-28 10:22:15 +01:00
},
"datasource": "$datasource" ,
2020-03-02 08:20:33 +01:00
"hide": 2 ,
2019-10-28 10:22:15 +01:00
"includeAll": false ,
2020-03-02 08:20:33 +01:00
"label": null ,
2019-10-28 10:22:15 +01:00
"multi": false ,
2020-03-02 08:20:33 +01:00
"name": "cluster" ,
2019-10-28 10:22:15 +01:00
"options": [
] ,
2022-03-20 01:04:14 +01:00
"query": "label_values(up{job=\"kube-state-metrics\"}, cluster)" ,
"refresh": 2 ,
2019-10-28 10:22:15 +01:00
"regex": "" ,
2020-03-02 08:20:33 +01:00
"sort": 1 ,
2019-10-28 10:22:15 +01:00
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
2020-03-02 08:20:33 +01:00
"text": "" ,
"value": ""
2019-10-28 10:22:15 +01:00
},
2020-03-02 08:20:33 +01:00
"datasource": "$datasource" ,
"hide": 0 ,
2019-10-28 10:22:15 +01:00
"includeAll": false ,
"label": null ,
"multi": false ,
2020-03-02 08:20:33 +01:00
"name": "namespace" ,
2019-10-28 10:22:15 +01:00
"options": [
2020-03-02 08:20:33 +01:00
2019-10-28 10:22:15 +01:00
] ,
2022-03-20 01:04:14 +01:00
"query": "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)" ,
"refresh": 2 ,
2019-10-28 10:22:15 +01:00
"regex": "" ,
"sort": 1 ,
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
2020-03-02 08:20:33 +01:00
"type": "query" ,
2019-10-28 10:22:15 +01:00
"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"
]
},
2020-09-13 23:42:07 +02:00
"timezone": "UTC" ,
2019-10-28 10:22:15 +01:00
"title": "Kubernetes / Compute Resources / Namespace (Pods)" ,
"uid": "85a562078cdf77779eaa1add43ccec1e" ,
"version": 0
}
k8s-resources-node.json : |-
{
"annotations": {
"list": [
]
},
"editable": true ,
"gnetId": null ,
"graphTooltip": 0 ,
"hideControls": false ,
"links": [
] ,
"refresh": "10s" ,
"rows": [
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 1 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
2022-03-20 01:04:14 +01:00
{
"alias": "max capacity" ,
"color": "#F2495C" ,
"dashes": true ,
"fill": 0 ,
"hiddenSeries": true ,
"hideTooltip": true ,
"legend": true ,
"linewidth": 2 ,
"stack": false
}
2019-10-28 10:22:15 +01:00
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(kube_node_status_capacity{cluster=\"$cluster\", node=~\"$node\", resource=\"cpu\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "max capacity" ,
"legendLink": null ,
"step": 10
},
{
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Usage" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"type": "graph" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU Usage" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"id": 2 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "CPU Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "CPU Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "CPU Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", node=~\"$node\"}) by (pod) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "CPU Quota" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "CPU Quota" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 10 ,
"id": 3 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 0 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
2022-03-20 01:04:14 +01:00
{
"alias": "max capacity" ,
"color": "#F2495C" ,
"dashes": true ,
"fill": 0 ,
"hiddenSeries": true ,
"hideTooltip": true ,
"legend": true ,
"linewidth": 2 ,
"stack": false
}
2019-10-28 10:22:15 +01:00
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": true ,
"steppedLine": false ,
"targets": [
2022-03-20 01:04:14 +01:00
{
"expr": "sum(kube_node_status_capacity{cluster=\"$cluster\", node=~\"$node\", resource=\"memory\"})" ,
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "max capacity" ,
"legendLink": null ,
"step": 10
},
2019-10-28 10:22:15 +01:00
{
2020-09-13 23:42:07 +02:00
"expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\", container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "time_series" ,
"intervalFactor": 2 ,
"legendFormat": "{{pod}}" ,
"legendLink": null ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Usage (w/o cache)" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"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": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory Usage" ,
"titleSize": "h6"
},
{
"collapse": false ,
"height": "250px" ,
"panels": [
{
"aliasColors": {
},
"bars": false ,
"dashLength": 10 ,
"dashes": false ,
"datasource": "$datasource" ,
"fill": 1 ,
"id": 4 ,
2022-03-20 01:04:14 +01:00
"interval": "1m" ,
2019-10-28 10:22:15 +01:00
"legend": {
2022-03-20 01:04:14 +01:00
"alignAsTable": true ,
2019-10-28 10:22:15 +01:00
"avg": false ,
"current": false ,
"max": false ,
"min": false ,
2022-03-20 01:04:14 +01:00
"rightSide": true ,
2019-10-28 10:22:15 +01:00
"show": true ,
"total": false ,
"values": false
},
"lines": true ,
"linewidth": 1 ,
"links": [
] ,
"nullPointMode": "null as zero" ,
"percentage": false ,
"pointradius": 5 ,
"points": false ,
"renderer": "flot" ,
"seriesOverrides": [
] ,
"spaceLength": 10 ,
"span": 12 ,
"stack": false ,
"steppedLine": false ,
"styles": [
{
"alias": "Time" ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"pattern": "Time" ,
"type": "hidden"
},
{
"alias": "Memory Usage" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #A" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #B" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Requests %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #C" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Memory Limits" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #D" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Limits %" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #E" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "percentunit"
},
{
"alias": "Memory Usage (RSS)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #F" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Usage (Cache)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #G" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Memory Usage (Swap)" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "Value #H" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "bytes"
},
{
"alias": "Pod" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"link": false ,
2020-09-13 23:42:07 +02:00
"linkTargetBlank": false ,
2019-10-28 10:22:15 +01:00
"linkTooltip": "Drill down" ,
"linkUrl": "" ,
"pattern": "pod" ,
"thresholds": [
] ,
"type": "number" ,
"unit": "short"
},
{
"alias": "" ,
"colorMode": null ,
"colors": [
] ,
"dateFormat": "YYYY-MM-DD HH:mm:ss" ,
"decimals": 2 ,
"pattern": "/.*/" ,
"thresholds": [
] ,
"type": "string" ,
"unit": "short"
}
] ,
"targets": [
{
2020-09-13 23:42:07 +02:00
"expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "A" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "B" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "C" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "D" ,
"step": 10
},
{
2022-03-20 01:04:14 +01:00
"expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", node=~\"$node\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "E" ,
"step": 10
},
{
2020-09-13 23:42:07 +02:00
"expr": "sum(node_namespace_pod_container:container_memory_rss{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "F" ,
"step": 10
},
{
2020-09-13 23:42:07 +02:00
"expr": "sum(node_namespace_pod_container:container_memory_cache{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "G" ,
"step": 10
},
{
2020-09-13 23:42:07 +02:00
"expr": "sum(node_namespace_pod_container:container_memory_swap{cluster=\"$cluster\", node=~\"$node\",container!=\"\"}) by (pod)" ,
2019-10-28 10:22:15 +01:00
"format": "table" ,
"instant": true ,
"intervalFactor": 2 ,
"legendFormat": "" ,
"refId": "H" ,
"step": 10
}
] ,
"thresholds": [
] ,
"timeFrom": null ,
"timeShift": null ,
"title": "Memory Quota" ,
"tooltip": {
"shared": false ,
2022-03-20 01:04:14 +01:00
"sort": 2 ,
2019-10-28 10:22:15 +01:00
"value_type": "individual"
},
"transform": "table" ,
"type": "table" ,
"xaxis": {
"buckets": null ,
"mode": "time" ,
"name": null ,
"show": true ,
"values": [
]
},
"yaxes": [
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": 0 ,
"show": true
},
{
"format": "short" ,
"label": null ,
"logBase": 1 ,
"max": null ,
"min": null ,
"show": false
}
]
}
] ,
"repeat": null ,
"repeatIteration": null ,
"repeatRowId": null ,
"showTitle": true ,
"title": "Memory Quota" ,
"titleSize": "h6"
}
] ,
"schemaVersion": 14 ,
"style": "dark" ,
"tags": [
"kubernetes-mixin"
] ,
"templating": {
"list": [
{
"current": {
2020-03-02 08:20:33 +01:00
"text": "default" ,
"value": "default"
2019-10-28 10:22:15 +01:00
},
"hide": 0 ,
2022-03-20 01:04:14 +01:00
"label": "Data Source" ,
2019-10-28 10:22:15 +01:00
"name": "datasource" ,
"options": [
] ,
"query": "prometheus" ,
"refresh": 1 ,
"regex": "" ,
"type": "datasource"
},
2020-03-02 08:20:33 +01:00
{
"allValue": null ,
"current": {
"text": "" ,
"value": ""
},
"datasource": "$datasource" ,
"hide": 2 ,
"includeAll": false ,
"label": null ,
2019-10-28 10:22:15 +01:00
"multi": false ,
"name": "cluster" ,
"options": [
] ,
2022-03-20 01:04:14 +01:00
"query": "label_values(up{job=\"kube-state-metrics\"}, cluster)" ,
"refresh": 2 ,
2019-10-28 10:22:15 +01:00
"regex": "" ,
2020-03-02 08:20:33 +01:00
"sort": 1 ,
2019-10-28 10:22:15 +01:00
"tagValuesQuery": "" ,
"tags": [
] ,
"tagsQuery": "" ,
"type": "query" ,
"useTags": false
},
{
"allValue": null ,
"current": {
2020-03-02 08:20:33 +01:00
"text": "" ,
"value": ""
2019-10-28 10:22:15 +01:00
},
"datasource": "$datasource" ,
"hide": 0 ,
"includeAll": false ,
2020-03-02 08:20:33 +01:00
"label": null ,
2020-09-13 23:42:07 +02:00
"multi": true ,
2019-10-28 10:22:15 +01:00
"name": "node" ,
"options": [
] ,
2022-03-20 01:04:14 +01:00
"query": "label_values(kube_node_info{cluster=\"$cluster\"}, node)" ,
"refresh": 2 ,
2019-10-28 10:22:15 +01:00
"regex": "" ,
2020-03-02 08:20:33 +01:00
"sort": 1 ,
2019-10-28 10:22:15 +01:00
"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"
]
},
2020-09-13 23:42:07 +02:00
"timezone": "UTC" ,
2019-10-28 10:22:15 +01:00
"title": "Kubernetes / Compute Resources / Node (Pods)" ,
"uid": "200ac8fdbfbb74b39aff88118e4d1c2c" ,
"version": 0
}
kind : ConfigMap
metadata :
name : grafana-dashboards-k8s-resources-1
namespace : monitoring