mirror of https://git.rancher.io/charts
1274 lines
30 KiB
JSON
1274 lines
30 KiB
JSON
|
{
|
||
|
"annotations": {
|
||
|
"list": []
|
||
|
},
|
||
|
"editable": false,
|
||
|
"gnetId": null,
|
||
|
"graphTooltip": 0,
|
||
|
"id": null,
|
||
|
"links": [],
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": null,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 1,
|
||
|
"title": "",
|
||
|
"type": "welcome"
|
||
|
},
|
||
|
{
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 4
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(1 - (avg(irate({__name__=~\"node_cpu_seconds_total|windows_cpu_time_total\",mode=\"idle\"}[5m])))) * 100",
|
||
|
"format": "time_series",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "65, 90",
|
||
|
"title": "CPU Utilization",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 4
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(1 - sum({__name__=~\"node_memory_MemAvailable_bytes|windows_os_physical_memory_free_bytes\"}) / sum({__name__=~\"node_memory_MemTotal_bytes|windows_cs_physical_memory_bytes\"})) * 100",
|
||
|
"format": "time_series",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "65, 90",
|
||
|
"title": "Memory Utilization",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "percent",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": true,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 4
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(1 - (((sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_free_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) OR on() vector(0))) / ((sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_size_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) OR on() vector(0))))) * 100",
|
||
|
"format": "time_series",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"metric": "",
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "65, 90",
|
||
|
"title": "Disk Utilization",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "80%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(irate({__name__=~\"node_cpu_seconds_total|windows_cpu_time_total\",mode!=\"idle\"}[5m]))",
|
||
|
"format": "time_series",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "CPU Used",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "none",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 4,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(kube_node_status_allocatable_cpu_cores{}) OR sum(kube_node_status_allocatable{resource=\"cpu\",unit=\"core\"})",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "CPU Total",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "bytes",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 8,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum({__name__=~\"node_memory_MemTotal_bytes|windows_cs_physical_memory_bytes\"}) - sum({__name__=~\"node_memory_MemAvailable_bytes|windows_os_physical_memory_free_bytes\"})",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Memory Used",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "bytes",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 12,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "sum(kube_node_status_allocatable_memory_bytes{}) OR sum(kube_node_status_allocatable{resource=\"memory\", unit=\"byte\"})",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Memory Total",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "bytes",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 16,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\"}) - sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_size_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) - sum(windows_logical_disk_free_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) OR on() vector(0))",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Disk Used",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"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": "Prometheus",
|
||
|
"decimals": 2,
|
||
|
"editable": true,
|
||
|
"error": false,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"format": "bytes",
|
||
|
"gauge": {
|
||
|
"maxValue": 100,
|
||
|
"minValue": 0,
|
||
|
"show": false,
|
||
|
"thresholdLabels": false,
|
||
|
"thresholdMarkers": true
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 3,
|
||
|
"w": 4,
|
||
|
"x": 20,
|
||
|
"y": 9
|
||
|
},
|
||
|
"height": "1px",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"sparkline": {
|
||
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
||
|
"full": false,
|
||
|
"lineColor": "rgb(31, 120, 193)",
|
||
|
"show": false
|
||
|
},
|
||
|
"tableColumn": "",
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_size_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) OR on() vector(0))",
|
||
|
"interval": "10s",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A",
|
||
|
"step": 10
|
||
|
}
|
||
|
],
|
||
|
"thresholds": "",
|
||
|
"title": "Disk Total",
|
||
|
"type": "singlestat",
|
||
|
"valueFontSize": "50%",
|
||
|
"valueMaps": [
|
||
|
{
|
||
|
"op": "=",
|
||
|
"text": "0",
|
||
|
"value": "null"
|
||
|
}
|
||
|
],
|
||
|
"valueName": "current"
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "Prometheus",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {},
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 0,
|
||
|
"y": 12
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 2051,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "7.1.5",
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "1 - (avg(irate({__name__=~\"node_cpu_seconds_total|windows_cpu_time_total\",mode=\"idle\"}[$__rate_interval])))",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "Cluster",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "1 - avg(irate({__name__=~\"node_cpu_seconds_total|windows_cpu_time_total\", mode=\"idle\"}[$__rate_interval])) by (instance)",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{ instance }}",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "CPU Usage",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "percentunit",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false,
|
||
|
"alignLevel": null
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "Prometheus",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {},
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 8,
|
||
|
"y": 12
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 2052,
|
||
|
"legend": {
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "7.1.5",
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "100 * (1 - sum({__name__=~\"node_memory_MemAvailable_bytes|windows_os_physical_memory_free_bytes\"}) / sum({__name__=~\"node_memory_MemTotal_bytes|windows_cs_physical_memory_bytes\"}))",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "Cluster",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "100 * (1- sum({__name__=~\"node_memory_MemAvailable_bytes|windows_os_physical_memory_free_bytes\"}) by (instance) / sum({__name__=~\"node_memory_MemTotal_bytes|windows_cs_physical_memory_bytes\"}) by (instance))",
|
||
|
"format": "time_series",
|
||
|
"hide": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{ instance }}",
|
||
|
"refId": "B"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Memory Usage",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"format": "percent",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false,
|
||
|
"alignLevel": null
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"aliasColors": {},
|
||
|
"bars": false,
|
||
|
"dashLength": 10,
|
||
|
"dashes": false,
|
||
|
"datasource": "Prometheus",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {},
|
||
|
"links": []
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"fill": 1,
|
||
|
"fillGradient": 0,
|
||
|
"gridPos": {
|
||
|
"h": 6,
|
||
|
"w": 8,
|
||
|
"x": 16,
|
||
|
"y": 12
|
||
|
},
|
||
|
"hiddenSeries": false,
|
||
|
"id": 2053,
|
||
|
"legend": {
|
||
|
"alignAsTable": false,
|
||
|
"avg": false,
|
||
|
"current": false,
|
||
|
"max": false,
|
||
|
"min": false,
|
||
|
"rightSide": false,
|
||
|
"show": true,
|
||
|
"total": false,
|
||
|
"values": false
|
||
|
},
|
||
|
"lines": true,
|
||
|
"linewidth": 1,
|
||
|
"links": [],
|
||
|
"nullPointMode": "null",
|
||
|
"percentage": false,
|
||
|
"pluginVersion": "7.1.5",
|
||
|
"pointradius": 5,
|
||
|
"points": false,
|
||
|
"renderer": "flot",
|
||
|
"seriesOverrides": [],
|
||
|
"spaceLength": 10,
|
||
|
"stack": false,
|
||
|
"steppedLine": false,
|
||
|
"targets": [
|
||
|
{
|
||
|
"expr": "(1 - ((sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_free_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"} OR on() vector(0)))) / ((sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\"}) OR on() vector(0)) + (sum(windows_logical_disk_size_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) OR on() vector(0)))) * 100",
|
||
|
"legendFormat": "Cluster",
|
||
|
"refId": "A"
|
||
|
},
|
||
|
{
|
||
|
"expr": "(1 - (sum(node_filesystem_free_bytes{device!~\"rootfs|HarddiskVolume.+\"}) by (instance)) / sum(node_filesystem_size_bytes{device!~\"rootfs|HarddiskVolume.+\"}) by (instance)) * 100",
|
||
|
"hide": false,
|
||
|
"legendFormat": "{{ instance }}",
|
||
|
"refId": "B"
|
||
|
},
|
||
|
{
|
||
|
"expr": "(1 - (sum(windows_logical_disk_free_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) by (instance)) / sum(windows_logical_disk_size_bytes{volume!~\"(HarddiskVolume.+|[A-Z]:.+)\"}) by (instance)) * 100",
|
||
|
"hide": false,
|
||
|
"legendFormat": "{{ instance }}",
|
||
|
"refId": "C"
|
||
|
}
|
||
|
],
|
||
|
"thresholds": [],
|
||
|
"timeFrom": null,
|
||
|
"timeRegions": [],
|
||
|
"timeShift": null,
|
||
|
"title": "Disk Usage",
|
||
|
"tooltip": {
|
||
|
"shared": true,
|
||
|
"sort": 0,
|
||
|
"value_type": "individual"
|
||
|
},
|
||
|
"type": "graph",
|
||
|
"xaxis": {
|
||
|
"buckets": null,
|
||
|
"mode": "time",
|
||
|
"name": null,
|
||
|
"show": true,
|
||
|
"values": []
|
||
|
},
|
||
|
"yaxes": [
|
||
|
{
|
||
|
"decimals": null,
|
||
|
"format": "percent",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
},
|
||
|
{
|
||
|
"format": "short",
|
||
|
"label": "",
|
||
|
"logBase": 1,
|
||
|
"max": null,
|
||
|
"min": null,
|
||
|
"show": true
|
||
|
}
|
||
|
],
|
||
|
"yaxis": {
|
||
|
"align": false,
|
||
|
"alignLevel": null
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"datasource": null,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"folderId": 0,
|
||
|
"gridPos": {
|
||
|
"h": 15,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 18
|
||
|
},
|
||
|
"headings": true,
|
||
|
"id": 3,
|
||
|
"limit": 30,
|
||
|
"links": [],
|
||
|
"query": "",
|
||
|
"recent": true,
|
||
|
"search": true,
|
||
|
"starred": false,
|
||
|
"tags": [],
|
||
|
"title": "Dashboards",
|
||
|
"type": "dashlist"
|
||
|
},
|
||
|
{
|
||
|
"datasource": null,
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"custom": {}
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 8,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 18
|
||
|
},
|
||
|
"id": 2055,
|
||
|
"options": {
|
||
|
"content": "## About Rancher Monitoring\n\nRancher Monitoring is a Helm chart developed by Rancher that is powered by [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator). It is based on the upstream [kube-prometheus-stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack) Helm chart maintained by the Prometheus community.\n\nBy default, the chart deploys Grafana alongside a set of Grafana dashboards curated by the [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus) project.\n\nFor more information on how Rancher Monitoring differs from [kube-prometheus-stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack), please view the CHANGELOG.md of the rancher-monitoring chart located in the [rancher/charts](https://github.com/rancher/charts) repository.\n\nFor more information about how to configure Rancher Monitoring, please view the [Rancher docs](https://rancher.com/docs/rancher/v2.x/en/).\n\n",
|
||
|
"mode": "markdown"
|
||
|
},
|
||
|
"pluginVersion": "7.1.0",
|
||
|
"timeFrom": null,
|
||
|
"timeShift": null,
|
||
|
"title": "",
|
||
|
"type": "text"
|
||
|
}
|
||
|
],
|
||
|
"schemaVersion": 26,
|
||
|
"style": "dark",
|
||
|
"tags": [],
|
||
|
"templating": {
|
||
|
"list": []
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-1h",
|
||
|
"to": "now"
|
||
|
},
|
||
|
"timepicker": {
|
||
|
"hidden": true,
|
||
|
"refresh_intervals": [
|
||
|
"5s",
|
||
|
"10s",
|
||
|
"30s",
|
||
|
"1m",
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"30m",
|
||
|
"1h",
|
||
|
"2h",
|
||
|
"1d"
|
||
|
],
|
||
|
"time_options": [
|
||
|
"5m",
|
||
|
"15m",
|
||
|
"1h",
|
||
|
"6h",
|
||
|
"12h",
|
||
|
"24h",
|
||
|
"2d",
|
||
|
"7d",
|
||
|
"30d"
|
||
|
],
|
||
|
"type": "timepicker"
|
||
|
},
|
||
|
"timezone": "browser",
|
||
|
"title": "Home",
|
||
|
"uid": "rancher-home-1",
|
||
|
"version": 5
|
||
|
}
|