1201 lines
33 KiB
JSON
1201 lines
33 KiB
JSON
{
|
|
"__inputs": [{
|
|
"name": "DS_PROMETHEUS",
|
|
"label": "prometheus",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}],
|
|
"__requires": [{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": ""
|
|
}, {
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
}, {
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "3.1.0"
|
|
}, {
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "1.0.0"
|
|
}],
|
|
"id": null,
|
|
"title": "Kubernetes Pod Resources",
|
|
"description": "Shows resource usage of Kubernetes pods.",
|
|
"tags": [
|
|
"kubernetes"
|
|
],
|
|
"style": "dark",
|
|
"timezone": "browser",
|
|
"editable": true,
|
|
"hideControls": false,
|
|
"sharedCrosshair": false,
|
|
"rows": [{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "percent",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "180px",
|
|
"id": 4,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 4,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum (container_memory_working_set_bytes{id=\"/\",instance=~\"^$\"}) / sum (machine_memory_bytes{instance=~\"^$\"}) * 100",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "",
|
|
"refId": "A",
|
|
"step": 2
|
|
}],
|
|
"thresholds": "65, 90",
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "Memory Working Set",
|
|
"transparent": false,
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "percent",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "180px",
|
|
"id": 6,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 4,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\",instance=~\"^$\"}[1m])) / sum (machine_cpu_cores{instance=~\"^$\"}) * 100",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "65, 90",
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "Cpu Usage",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "percent",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "180px",
|
|
"id": 7,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 4,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum(container_fs_usage_bytes{id=\"/\",instance=~\"^$\"}) / sum(container_fs_limit_bytes{id=\"/\",instance=~\"^$\"}) * 100",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "65, 90",
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "Filesystem Usage",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "bytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 9,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "20%",
|
|
"prefix": "",
|
|
"prefixFontSize": "20%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum(container_memory_working_set_bytes{id=\"/\",instance=~\"^$\"})",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"title": "Used",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "bytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 10,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum (machine_memory_bytes{instance=~\"^$\"})",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"title": "Total",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 11,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": " cores",
|
|
"postfixFontSize": "30%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",instance=~\"^$\"}[1m]))",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"timeShift": null,
|
|
"title": "Used",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 12,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": " cores",
|
|
"postfixFontSize": "30%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum (machine_cpu_cores{instance=~\"^$\"})",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"title": "Total",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "bytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 13,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum(container_fs_usage_bytes{id=\"/\",instance=~\"^$\"})",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"title": "Used",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "bytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "1px",
|
|
"hideTimeOverride": true,
|
|
"id": 14,
|
|
"interval": null,
|
|
"isNew": true,
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [{
|
|
"name": "value to text",
|
|
"value": 1
|
|
}, {
|
|
"name": "range to text",
|
|
"value": 2
|
|
}],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [{
|
|
"from": "null",
|
|
"text": "N/A",
|
|
"to": "null"
|
|
}],
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [{
|
|
"expr": "sum (container_fs_limit_bytes{id=\"/\",instance=~\"^$\"})",
|
|
"interval": "10s",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 10
|
|
}],
|
|
"thresholds": "",
|
|
"timeFrom": "1m",
|
|
"title": "Total",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}],
|
|
"valueName": "current"
|
|
}, {
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)",
|
|
"thresholdLine": false
|
|
},
|
|
"height": "200px",
|
|
"id": 32,
|
|
"isNew": true,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sideWidth": 200,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [{
|
|
"expr": "sum(rate(container_network_receive_bytes_total{instance=~\"^$\",namespace=~\"^$\"}[1m]))",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "receive",
|
|
"metric": "network",
|
|
"refId": "A",
|
|
"step": 240
|
|
}, {
|
|
"expr": "- sum(rate(container_network_transmit_bytes_total{instance=~\"^$\",namespace=~\"^$\"}[1m]))",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "transmit",
|
|
"metric": "network",
|
|
"refId": "B",
|
|
"step": 240
|
|
}],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Network",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [{
|
|
"format": "Bps",
|
|
"label": "transmit / receive",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}, {
|
|
"format": "Bps",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}]
|
|
}],
|
|
"showTitle": true,
|
|
"title": "all pods"
|
|
}, {
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "",
|
|
"decimals": 3,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"height": "",
|
|
"id": 17,
|
|
"isNew": true,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [{
|
|
"expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",instance=~\"^$\",namespace=~\"^$\"}[1m])) by (pod_name)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{ pod_name }}",
|
|
"metric": "container_cpu",
|
|
"refId": "A",
|
|
"step": 240
|
|
}],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Cpu Usage",
|
|
"tooltip": {
|
|
"msResolution": true,
|
|
"shared": false,
|
|
"sort": 2,
|
|
"value_type": "cumulative"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [{
|
|
"format": "none",
|
|
"label": "cores",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}, {
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}]
|
|
}, {
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 33,
|
|
"isNew": true,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sideWidth": null,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [{
|
|
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name=~\"^k8s_.*\",instance=~\"^$\",namespace=~\"^$\"}) by (pod_name)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{ pod_name }}",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 240
|
|
}],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Memory Working Set",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 2,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [{
|
|
"format": "bytes",
|
|
"label": "used",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}, {
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}]
|
|
}, {
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 16,
|
|
"isNew": true,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sideWidth": 200,
|
|
"sort": "avg",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [{
|
|
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",instance=~\"^$\",namespace=~\"^$\"}[1m])) by (pod_name)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{ pod_name }} < in",
|
|
"metric": "network",
|
|
"refId": "A",
|
|
"step": 240
|
|
}, {
|
|
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",instance=~\"^$\",namespace=~\"^$\"}[1m])) by (pod_name)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{ pod_name }} > out",
|
|
"metric": "network",
|
|
"refId": "B",
|
|
"step": 240
|
|
}],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Network",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 2,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [{
|
|
"format": "Bps",
|
|
"label": "transmit / receive",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}, {
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}]
|
|
}, {
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "",
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 34,
|
|
"isNew": true,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"sideWidth": 200,
|
|
"sort": "current",
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [{
|
|
"expr": "sum(container_fs_usage_bytes{image!=\"\",name=~\"^k8s_.*\",instance=~\"^$\",namespace=~\"^$\"}) by (pod_name)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{ pod_name }}",
|
|
"metric": "network",
|
|
"refId": "A",
|
|
"step": 240
|
|
}],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Filesystem",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 2,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [{
|
|
"format": "bytes",
|
|
"label": "used",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}, {
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}]
|
|
}],
|
|
"showTitle": true,
|
|
"title": "each pod"
|
|
}],
|
|
"time": {
|
|
"from": "now-3d",
|
|
"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"
|
|
]
|
|
},
|
|
"templating": {
|
|
"list": [{
|
|
"allValue": ".*",
|
|
"current": {},
|
|
"datasource": "",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "Instance",
|
|
"multi": false,
|
|
"name": "instance",
|
|
"options": [],
|
|
"query": "label_values(instance)",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"type": "query"
|
|
}, {
|
|
"current": {},
|
|
"datasource": "",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"label": "Namespace",
|
|
"multi": true,
|
|
"name": "namespace",
|
|
"options": [],
|
|
"query": "label_values(namespace)",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"type": "query"
|
|
}]
|
|
},
|
|
"annotations": {
|
|
"list": []
|
|
},
|
|
"refresh": false,
|
|
"schemaVersion": 12,
|
|
"version": 8,
|
|
"links": [],
|
|
"gnetId": 737
|
|
}
|