observability.svc.plus/files/grafana/homepage.json

14847 lines
454 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Pigsty Consolidated Homepage",
"editable": true,
"graphTooltip": 0,
"id": null,
"links": [
{
"asDropdown": true,
"icon": "dashboard",
"includeVars": false,
"keepTime": false,
"tags": [
"PGSQL"
],
"targetBlank": false,
"title": "PGSQL",
"tooltip": "",
"type": "dashboards",
"url": ""
},
{
"asDropdown": true,
"icon": "dashboard",
"includeVars": false,
"keepTime": false,
"tags": [
"NODE"
],
"targetBlank": false,
"title": "NODE",
"tooltip": "",
"type": "dashboards",
"url": ""
},
{
"asDropdown": true,
"icon": "dashboard",
"includeVars": false,
"keepTime": true,
"tags": [
"Pigsty",
"INFRA"
],
"targetBlank": false,
"title": "INFRA",
"tooltip": "",
"type": "dashboards",
"url": ""
},
{
"asDropdown": true,
"icon": "dashboard",
"includeVars": false,
"keepTime": false,
"tags": [
"Pigsty",
"HOME"
],
"targetBlank": false,
"title": "Module",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"panels": [
{
"id": 1,
"type": "text",
"title": "\u6a21\u5757\u5bfc\u822a",
"gridPos": {
"h": 3,
"w": 24,
"x": 0,
"y": 0
},
"transparent": true,
"options": {
"content": "\n<div style=\"display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 4px 2px 4px;\">\n <div style=\"display:flex;gap:12px;flex-wrap:wrap;\">\n <a href=\"/d/infra-overview\" style=\"text-decoration:none;padding:10px 16px;border-radius:999px;background:#1f2937;color:#f9fafb;font-weight:700;\">\u57fa\u7840\u8bbe\u65bd</a>\n <a href=\"/d/node-overview\" style=\"text-decoration:none;padding:10px 16px;border-radius:999px;background:#e5eefb;color:#1d4ed8;font-weight:700;\">\u4e3b\u673a</a>\n <a href=\"/d/pgsql-overview\" style=\"text-decoration:none;padding:10px 16px;border-radius:999px;background:#ecfdf3;color:#047857;font-weight:700;\">\u6570\u636e\u5e93</a>\n <a href=\"/dashboards\" style=\"text-decoration:none;padding:10px 16px;border-radius:999px;background:#f4f4f5;color:#27272a;font-weight:700;\">\u66f4\u591a\u6a21\u5757</a>\n </div>\n <div style=\"color:#6b7280;font-size:12px;\">\u5148\u9009\u6a21\u5757\uff0c\u518d\u7528\u9876\u90e8\u7b5b\u9009\u5668\u7f29\u5c0f\u8303\u56f4\u3002</div>\n</div>\n",
"mode": "html"
}
},
{
"id": 2,
"type": "text",
"title": "\u7b5b\u9009\u8bf4\u660e",
"gridPos": {
"h": 5,
"w": 24,
"x": 0,
"y": 3
},
"transparent": true,
"options": {
"content": "\n<div style=\"display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:4px 2px 0 2px;\">\n <div style=\"border:1px solid #d1d5db;border-radius:12px;padding:12px 14px;background:#fbfdff;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">\u8303\u56f4\u7b5b\u9009</div>\n <div style=\"font-size:14px;font-weight:700;color:#111827;\">\u6570\u636e\u6e90 \u2192 \u547d\u540d\u7a7a\u95f4 \u2192 \u670d\u52a1 \u2192 Pod</div>\n <div style=\"font-size:12px;color:#6b7280;margin-top:6px;\">\u7528\u4e8e\u7f29\u5c0f K8S \u8d44\u6e90\u8303\u56f4</div>\n </div>\n <div style=\"border:1px solid #d1d5db;border-radius:12px;padding:12px 14px;background:#fbfdff;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">\u5f53\u524d\u5bf9\u8c61</div>\n <div style=\"font-size:14px;font-weight:700;color:#111827;\">\u4e3b\u673a\u540d \u2192 \u5b9e\u4f8b IP \u2192 \u7f51\u5361</div>\n <div style=\"font-size:12px;color:#6b7280;margin-top:6px;\">\u7528\u4e8e\u5b9a\u4f4d\u5f53\u524d\u5206\u6790\u5bf9\u8c61</div>\n </div>\n <div style=\"border:1px solid #d1d5db;border-radius:12px;padding:12px 14px;background:#fbfdff;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">\u89c6\u56fe\u53c2\u6570</div>\n <div style=\"font-size:14px;font-weight:700;color:#111827;\">\u91c7\u6837\u95f4\u9694 + \u9ad8\u7ea7\u7b5b\u9009</div>\n <div style=\"font-size:12px;color:#6b7280;margin-top:6px;\">JOB \u4e0e\u8282\u70b9\u6c60\u5df2\u6298\u53e0\u4e3a\u9ad8\u7ea7\u9879</div>\n </div>\n</div>\n",
"mode": "html"
}
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"title": "\u57fa\u7840\u8bbe\u65bd\u603b\u89c8",
"type": "row",
"panels": [],
"id": 3
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Home"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#3e668f",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Pigsty Homepage",
"url": "../../"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Nginx"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#346f36cc",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Nginx Overview",
"url": "/d/nginx-instance?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Metrics"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Victoria Metrics UI",
"url": "/vmetrics/vmui/"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#e02f44bf",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Alerting"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Pigsty alerting service: Alertmanager",
"url": "/alertmgr/"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#e02f44d9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Logs"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Victoria Logs UI",
"url": "/vlogs/select/vmui/"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#d9a637d9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Grafana"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#db6e37ed",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Grafana Overview",
"url": "/d/grafana-instance?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "Docs"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#587591",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Pigsty Docs",
"url": "https://pigsty.io/docs"
}
]
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 4,
"x": 0,
"y": 9
},
"id": 4,
"links": [
{
"title": "Pigsty Docs",
"url": "https://pigsty.io/docs"
}
],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 10,
"valueSize": 12
},
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "1",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Home",
"queryType": "measurements",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "1",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Docs",
"queryType": "measurements",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(up{cls=\"nginx\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Nginx",
"queryType": "measurements",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(up{cls=\"vlogs\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Logs",
"queryType": "measurements",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(up{cls=\"vmetrics\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Metrics",
"queryType": "measurements",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(up{cls=\"grafana\"})",
"format": "time_series",
"hide": true,
"instant": false,
"interval": "",
"legendFormat": "Grafana",
"queryType": "measurements",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(up{cls=\"alertmanager\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Alerting",
"queryType": "measurements",
"refId": "E"
}
],
"title": "Pigsty ${version}",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "NODE"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Node Overview",
"url": "/d/node-overview?${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#e6b03ee6",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "PGSQL"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#3e668f",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "PGSQL Overview",
"url": "/d/pgsql-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "INFRA"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Infra Overview",
"url": "/d/infra-overview?${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#346f36cc",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "REDIS"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Redis Overview",
"url": "/d/redis-overview?${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#cc4637d9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "ETCD"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#5b9cd5",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "ETCD Overview",
"url": "/d/etcd-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "MINIO"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#d0475799",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Minio Overview",
"url": "/d/minio-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "MONGO"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#806c52",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "MongoDB Overview",
"url": "/d/mongo-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "MYSQL"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#6a8d9d",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "MySQL Overview",
"url": "/d/mysql-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "PGRDS"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "PGRDS Clusters",
"url": "/d/pgrds-cluster?${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#6986a3",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "KAFKA"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#4bb39ce0",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Kafka Cluster ${__field.labels.cls}",
"url": "/d/kafka-overview?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 4,
"x": 4,
"y": 9
},
"id": 5,
"links": [
{
"targetBlank": true,
"title": "Module: PGSQL",
"url": "https://pigsty.io/docs/pgsql"
},
{
"targetBlank": true,
"title": "Module: INFRA",
"url": "https://pigsty.io/docs/infra"
},
{
"targetBlank": true,
"title": "Module: NODE",
"url": "https://pigsty.io/docs/node"
},
{
"targetBlank": true,
"title": "Module: ETCD",
"url": "https://pigsty.io/docs/etcd"
},
{
"targetBlank": true,
"title": "Module: MinIO",
"url": "https://pigsty.io/docs/minio"
},
{
"targetBlank": true,
"title": "Module: REDIS",
"url": "https://pigsty.io/docs/redis"
},
{
"targetBlank": true,
"title": "Module: FERRET",
"url": "https://pigsty.io/docs/ferret"
}
],
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"valueSize": 16
},
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"pgsql\"})",
"hide": false,
"interval": "",
"legendFormat": "PGSQL",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"pgrds\"})",
"hide": true,
"interval": "",
"legendFormat": "PGRDS",
"range": true,
"refId": "R"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"mysql\"})",
"hide": false,
"interval": "",
"legendFormat": "MYSQL",
"range": true,
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"redis\"})",
"hide": false,
"interval": "",
"legendFormat": "REDIS",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"node\"})",
"hide": false,
"interval": "",
"legendFormat": "NODE",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"minio\"})",
"hide": false,
"interval": "",
"legendFormat": "MINIO",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"etcd\"})",
"hide": false,
"interval": "",
"legendFormat": "ETCD",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"mongo\"})",
"hide": false,
"interval": "",
"legendFormat": "MONGO",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"kafka\"})",
"hide": false,
"interval": "",
"legendFormat": "KAFKA",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(up{job=\"infra\"})",
"hide": false,
"interval": "",
"legendFormat": "INFRA",
"range": true,
"refId": "X"
}
],
"title": "Modules",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Click instance to view the detailed dashboard. \n\nBlue: PostgreSQL\n\nRed: Redis\n\nAmber: Node\n\nAzure: etcd\n\nPink: MinIO\n\nGreen: Infra",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"links": [],
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "No Instances"
}
},
"type": "special"
}
],
"max": 1.1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
},
{
"color": "#aaaaaa",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#1f3347",
"value": 0
},
{
"color": "#3e668f",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "PGSQL Instance ${__field.labels.ins}",
"url": "/d/pgsql-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#65231b",
"value": 0
},
{
"color": "#cc4637d9",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "Redis Instance ${__field.labels.ins} @ ${__field.labels.instance}",
"url": "/d/redis-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "C"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#3e3012",
"value": 0
},
{
"color": "#e6b03ee6",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "Node Instance : ${__field.labels.ip}",
"url": "/d/node-instance?var-id=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "D"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#324e64",
"value": 0
},
{
"color": "#5b9cd5",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "ETCD Overview",
"url": "/d/etcd-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "E"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#561c24",
"value": 0
},
{
"color": "#d0475799",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "Minio Instance: ${__field.labels.ins}",
"url": "/d/minio-overview?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "F"
},
"properties": [
{
"id": "color"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#342c22",
"value": 0
},
{
"color": "#806c52",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "MongoDB Instance : ${__field.labels.ins}",
"url": "/d/mongo-overview?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "M"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#252f34",
"value": 0
},
{
"color": "#6a8d9d",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "MySQL Instance : ${__field.labels.ins}",
"url": "/d/mysql-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "R"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "PGRDS Instance: ${__field.labels.ins}",
"url": "/d/pgrds-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#1c232a",
"value": 0
},
{
"color": "#6986a3",
"value": 1
}
]
}
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "K"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#4bb39ce0",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Kafka Instance ${__field.labels.ins}",
"url": "/d/kafka-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "NGINX"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#152c16",
"value": 0
},
{
"color": "#346f36cc",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "Nginx Instance : ${__field.labels.ins}",
"url": "/d/nginx-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "GRAFANA"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#3d2a1d",
"value": 0
},
{
"color": "#f79f64",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "Grafana Instance : ${__field.labels.ins}",
"url": "/d/grafana-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "VMETRICS"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#2a1414",
"value": 0
},
{
"color": "#a64d4d",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "VMetrics Instance : ${__field.labels.ins}",
"url": "/d/vmetrics-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "VLOGS"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#2e1d14",
"value": 0
},
{
"color": "#ba7552",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "VLogs Instance : ${__field.labels.ins}",
"url": "/d/vlogs-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "VTRACES"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#31221a",
"value": 0
},
{
"color": "#c4895c",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "VTraces Instance : ${__field.labels.ins}",
"url": "/d/vtraces-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "VMALERT"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#2c161b",
"value": 0
},
{
"color": "#b3596d",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "VMAlert Instance : ${__field.labels.ins}",
"url": "/d/vmalert-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "ALERTMGR"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "#361c1c",
"value": 0
},
{
"color": "#db7070",
"value": 1
}
]
}
},
{
"id": "links",
"value": [
{
"title": "AlertManager Instance : ${__field.labels.ins}",
"url": "/d/alertmanager-instance?var-ins=${__field.labels.ins}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 20,
"w": 12,
"x": 8,
"y": 9
},
"id": 6,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins) (up{job=\"pgsql\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins) (pg_up{job=\"pgrds\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "R"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins) (up{job=\"mysql\"}) * min by (ins) (mysql_up{job=\"mysql\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins) (redis_up{job=\"redis\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins,instance) (up{job=\"mongo\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins) (up{job=\"node\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins,instance) (up{job=\"kafka\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"nginx\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "NGINX"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"grafana\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "GRAFANA"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"vmetrics\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "VMETRICS"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"vlogs\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "VLOGS"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"vtraces\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "VTRACES"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"vmalert\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "VMALERT"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (ins) (up{cls=\"alertmanager\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "ALERTMGR"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (instance) (up{job!~\"(node|infra|etcd|pgsql|redis|minio|kafka|pgrds)\"})",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "{{ instance }}",
"refId": "Z"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins,instance) (up{job=\"minio\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (ins,instance) (up{job=\"etcd\"})",
"instant": true,
"interval": "",
"legendFormat": "{{ ins }}",
"refId": "D"
}
],
"title": "Instances",
"type": "stat"
},
{
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 9
},
"id": 7,
"options": {
"content": "<div style='text-align: center; padding-top: 10px;'><a href='https://observability.svc.plus/insight/' style='font-size: 18px; color: #58a6ff; font-weight: bold;'>insight Overview</a></div>",
"mode": "html"
},
"pluginVersion": "12.3.0",
"title": "insight Overview",
"type": "text"
},
{
"gridPos": {
"h": 16,
"w": 4,
"x": 20,
"y": 13
},
"id": 8,
"options": {
"includeVars": false,
"keepTime": false,
"maxItems": 50,
"query": "",
"showFolderNames": true,
"showHeadings": false,
"showRecentlyViewed": false,
"showSearch": true,
"showStarred": false,
"tags": [
"Pigsty"
]
},
"pluginVersion": "12.3.0",
"title": "Dashboards",
"type": "dashlist"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"links": [
{
"title": "PGSQL Cluster ${__field.labels.cls}",
"url": "/d/pgsql-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
],
"mappings": [
{
"options": {
"-1": {
"color": "gray",
"index": 1,
"text": "N/A"
}
},
"type": "value"
},
{
"options": {
"match": "null+nan",
"result": {
"color": "#3e668f",
"index": 0,
"text": "No Clusters"
}
},
"type": "special"
}
],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
}
]
},
"unit": "percentunit"
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "PGSQL Cluster ${__field.labels.cls}",
"url": "/d/pgsql-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#3e668f",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Redis Cluster ${__field.labels.cls}",
"url": "/d/redis-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#cc4637d9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "C"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "Node Cluster : ${__field.labels.cls}",
"url": "/d/node-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
},
{
"id": "color",
"value": {
"fixedColor": "#e6b03ee6",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "D"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#5b9cd5",
"mode": "thresholds"
}
},
{
"id": "links",
"value": [
{
"title": "ETCD Overview",
"url": "/d/etcd-overview?${__url_time_range}"
}
]
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "text",
"value": 0
},
{
"color": "#b783af",
"value": 0.5
},
{
"color": "red",
"value": 0.66666
},
{
"color": "#5b9cd5",
"value": 1
}
]
}
},
{
"id": "decimals",
"value": 0
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "text",
"index": 1,
"text": "Dead"
},
"1": {
"color": "#5b9cd5",
"index": 0,
"text": "Healthy"
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "E"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#d0475799",
"mode": "fixed"
}
},
{
"id": "links",
"value": [
{
"title": "Minio Overview",
"url": "/d/minio-overview?${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "R"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#6986a3",
"mode": "fixed"
}
},
{
"id": "unit",
"value": "tps"
},
{
"id": "decimals",
"value": 0
},
{
"id": "links",
"value": [
{
"title": "PGRDS Cluster : ${__field.labels.cls}",
"url": "/d/pgrds-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "K"
},
"properties": [
{
"id": "color"
},
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "#193e36e0",
"index": 0,
"text": "Down"
},
"1": {
"color": "#4bb39ce0",
"index": 1,
"text": "Alive"
}
},
"type": "value"
}
]
},
{
"id": "links",
"value": [
{
"title": "Kafka Cluster : ${__field.labels.cls}",
"url": "/d/kafka-overview?var-cls=${__field.labels.cls}&${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 8,
"x": 0,
"y": 16
},
"id": 9,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "value_and_name",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "cls:pressure5{job=\"pgsql\"}",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "pg:cls:xact_commit_rate5m{job=\"pgrds\"}",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "R"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "redis:cls:cpu_usage{job=\"redis\"}",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node:cls:cpu_usage{job=\"node\"}",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by (cls) (rate(minio_node_process_cpu_total_seconds{job=\"minio\"}[1m]))",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (cls) (up{job=\"kafka\"})",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(etcd_up{job=\"etcd\"}) by (cls) / count(etcd_up{job=\"etcd\"}) by (cls)",
"hide": false,
"interval": "",
"legendFormat": "{{ cls }}",
"range": true,
"refId": "D"
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"links": [],
"mappings": [],
"max": 1,
"min": 0,
"noValue": "OK",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
},
{
"color": "#fcdb72",
"value": 1
},
{
"color": "#f79f64",
"value": 4
},
{
"color": "#b783af",
"value": 8
},
{
"color": "text",
"value": 16
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "links",
"value": [
{
"targetBlank": true,
"title": "Pigsty Alertmanager",
"url": "/alertmgr/"
}
]
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "links",
"value": [
{
"title": "PGSQL Alert",
"url": "/d/pgsql-alert?${__url_time_range}"
}
]
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 29
},
"id": 10,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "count(ALERTS{alertstate=\"firing\"}) or on() vector(0)",
"interval": "",
"legendFormat": "Firing Alert",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "count(ALERTS{alertstate=\"pending\"})",
"hide": true,
"interval": "",
"legendFormat": "Pending Alert",
"refId": "B"
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"links": [
{
"targetBlank": true,
"title": "AlertInfo ${__field.labels.alertname}",
"url": "/alertmgr/#/alerts?filter=%7Balertname%3D%22${__field.labels.alertname}%22%7D"
}
],
"mappings": [],
"max": 1,
"min": 0,
"noValue": "OK",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#3e668f",
"value": 0
},
{
"color": "#fcdb72",
"value": 1
},
{
"color": "#f79f64",
"value": 2
},
{
"color": "#b783af",
"value": 4
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 5,
"x": 3,
"y": 29
},
"id": 11,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 12
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "count(ALERTS{alertstate=\"firing\"}) by (alertname, severity)",
"interval": "",
"legendFormat": "{{ alertname }}",
"refId": "A"
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "This panel shows all currently firing alerts.\n\nClick on the alert event bar to view or silent it on alertmanager",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "hidden",
"axisSoftMin": 0,
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "stepBefore",
"lineWidth": 0,
"pointSize": 1,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"showValues": false,
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [
{
"targetBlank": true,
"title": "AlertInfo ${__field.labels.alertname} on Cluster ${__field.labels.cls}",
"url": "/alertmgr/#/alerts?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D"
},
{
"targetBlank": true,
"title": "Silence ${__field.labels.alertname} on Cluster ${__field.labels.cls}",
"url": "/alertmgr/#/silences/new?filter=%7Bcls%3D%22${__field.labels.cls}%22%2C%20alertname%3D%22${__field.labels.alertname}%22%7D"
},
{
"title": "PGSQL Cluster : Alerts for ${__field.labels.cls}",
"url": "/d/pgsql-cluster?var-cls=${__field.labels.cls}&${__url_time_range}"
}
],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "custom.fillOpacity",
"value": 66
}
]
},
{
"matcher": {
"id": "byType",
"options": "time"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "auto"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 16,
"x": 8,
"y": 29
},
"id": 12,
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "12.3.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (job,cls,severity,alertname) (ALERTS{alertstate=\"firing\"})",
"interval": "",
"legendFormat": "[{{ severity }}] {{alertname}} @ {{ cls }}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "0",
"hide": true,
"interval": "",
"legendFormat": "Alert",
"refId": "C"
}
],
"title": "Firing Alerts",
"type": "timeseries"
},
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 37
},
"id": 13,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<a href=\"/\"><div style=\"display: block; margin: 20px auto auto auto; height:80px; width: 80px; background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGRlZnM+CiAgICAgICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgICAgICAgICAgPCFbQ0RBVEFbCiAgICAgICAgICAgIC5zdHIwIHtzdHJva2U6IzMzMkMyQjtzdHJva2Utd2lkdGg6MC4yfQogICAgICAgICAgICAuZmlsMCB7ZmlsbDojMzMyQzJCfQogICAgICAgICAgICAuZmlsNCB7ZmlsbDojNUY1RDVEfQogICAgICAgICAgICAuZmlsMSB7ZmlsbDojRkVGRUZFfQogICAgICAgICAgICAuZmlsMiB7ZmlsbDojNDg2NzhFfQogICAg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TQ2MTA4ODY1NzM3OTE1IDMyLjY4MDg4MTk3NzA4MTMsMjcuNzk2NTA3MTIwMTMyNDQ2IDMxLjAzMDg3MjgyMTgwNzg2LDI3LjgyMzAwNDAwNzMzOTQ3OCAzMS4wMDM4ODAwMjM5NTYzLDI2LjE3MjYwNTc1Mjk0NDk0NiAyOS4zNTM4ODYxMjc0NzE5MjQsMjYuMTk5MTEwMjY5NTQ2NTEgMjkuMzI2ODc4MDcwODMxMywyNC41NDg3MDQzODU3NTc0NDYgMjcuMzkzODc5NDEzNjA0NzM2LDI0LjU3OTcxMDI0NTEzMjQ0NiAiIGNsYXNzPSJmaWwxIHN0cjAiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==');\"></div></a>\n<img alt=\"\" src=\"http://pigsty.cc/logo.gif?version=${version}\">",
"mode": "html"
},
"pluginVersion": "12.3.0",
"transparent": true,
"type": "text"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 38
},
"title": "\u4e3b\u673a\u89c2\u6d4b",
"type": "row",
"panels": [],
"id": 14
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "WAYOn0FGz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 39
},
"id": 15,
"panels": [],
"title": "\ud83c\udfe1\u8d44\u6e90\u603b\u89c8\uff1a\u5f53\u524dJOB\u3010$origin_prometheus\uff1a$job\u3011\u5f53\u524d\u9009\u4e2d\u4e3b\u673a\u3010$show_hostname\u3011\u5b9e\u4f8b\uff1a$node",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "\u5206\u533a\u4f7f\u7528\u7387\u3001\u78c1\u76d8\u8bfb\u53d6\u3001\u78c1\u76d8\u5199\u5165\u3001\u4e0b\u8f7d\u5e26\u5bbd\u3001\u4e0a\u4f20\u5e26\u5bbd\uff0c\u5982\u679c\u6709\u591a\u4e2a\u7f51\u5361\u6216\u8005\u591a\u4e2a\u5206\u533a\uff0c\u662f\u91c7\u96c6\u7684\u4f7f\u7528\u7387\u6700\u9ad8\u7684\u7f51\u5361\u6216\u8005\u5206\u533a\u7684\u6570\u503c\u3002\n\n\u8fde\u63a5\u6570\uff1aCurrEstab - \u5f53\u524d\u72b6\u6001\u4e3a ESTABLISHED \u6216 CLOSE-WAIT \u7684 TCP \u8fde\u63a5\u6570\u3002\n\n\u5065\u5eb7\u503c\u662f\u4e00\u4e2a\u65b0\u589e\u7684\u6307\u6807\uff0c\u6839\u636eCPU\uff0c\u5185\u5b58\uff0cIO\u8ba1\u7b97\u51fa\u6765\u7684\u4e00\u4e2a\u503c\uff0c\u4f4e\u4e8e90\u5206\u8bf4\u660e\u7cfb\u7edf\u7684\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u9700\u8981\u6ce8\u610f\u4e86\uff0c\u8fd9\u662f\u4e00\u4e2a\u6b63\u5728\u6d4b\u8bd5\u7684\u6307\u6807\uff0c\u53c2\u6570\u53ef\u80fd\u9700\u8981\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u518d\u4f18\u5316\u3002",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"decimals": 1,
"mappings": [],
"max": 100,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals"
},
{
"id": "custom.width",
"value": 66
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u542f\u52a8(\u5929)"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "custom.width",
"value": 69
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u8bfb\u53d6*"
},
"properties": [
{
"id": "unit",
"value": "binBps"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20485760
}
]
}
},
{
"id": "custom.width",
"value": 93
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u5199\u5165*"
},
"properties": [
{
"id": "unit",
"value": "binBps"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20485760
}
]
}
},
{
"id": "custom.width",
"value": 95
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4e0b\u8f7d\u5e26\u5bbd*"
},
"properties": [
{
"id": "unit",
"value": "binbps"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 104857600
}
]
}
},
{
"id": "custom.width",
"value": 91
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4e0a\u4f20\u5e26\u5bbd*"
},
"properties": [
{
"id": "unit",
"value": "binbps"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 30485760
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 104857600
}
]
}
},
{
"id": "custom.width",
"value": 85
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8d1f\u8f7d"
},
"properties": [
{
"id": "decimals",
"value": 2
},
{
"id": "custom.width",
"value": 63
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8fde\u63a5\u6570"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 1000
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 1500
}
]
}
},
{
"id": "custom.width",
"value": 59
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "TCP_tw"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 5000
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 20000
}
]
}
},
{
"id": "custom.width",
"value": 69
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU"
},
"properties": [
{
"id": "custom.width",
"value": 63
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "IP"
},
"properties": [
{
"id": "custom.width",
"value": 111
},
{
"id": "custom.filterable",
"value": true
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4e3b\u673a\u540d"
},
"properties": [
{
"id": "custom.filterable",
"value": true
},
{
"id": "custom.width"
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5065\u5eb7\u503c"
},
"properties": [
{
"id": "custom.width",
"value": 75
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 80
},
{
"color": "green",
"value": 90
}
]
}
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u4f7f\u7528\u7387.*/"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge"
}
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "custom.width",
"value": 110
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 40
},
"id": 16,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": [
"Value #B",
"Value #C",
"Value #L",
"Value #H",
"Value #I",
"Value #M",
"Value #N",
"Value #J",
"Value #K"
],
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "\u5065\u5eb7\u503c"
}
]
},
"pluginVersion": "11.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_uname_info{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u4e3b\u673a\u540d",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(time() - node_boot_time_seconds{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})by(instance)/86400",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u8fd0\u884c\u65f6\u95f4",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u5185\u5b58",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",mode='system'}) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u6838\u6570",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_load5{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "5\u5206\u949f\u8d1f\u8f7d",
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(1 - avg(irate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",mode=\"idle\"}[$interval])) by (instance)) * 100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u4f7f\u7528\u7387",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(1 - (node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} / (node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})))* 100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u4f7f\u7528\u7387",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max((node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"ext.?|xfs\"}) *100/(node_filesystem_avail_bytes {origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"ext.?|xfs\"}+(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"ext.?|xfs\"})))by(instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(irate(node_disk_read_bytes_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval])) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u6700\u5927\u8bfb\u53d6",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(irate(node_disk_written_bytes_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval])) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u6700\u5927\u5199\u5165",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_netstat_Tcp_CurrEstab{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u8fde\u63a5\u6570",
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_sockstat_TCP_tw{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "TIME_WAIT",
"refId": "N"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(irate(node_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval])*8) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u4e0b\u8f7d\u5e26\u5bbd",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(irate(node_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval])*8) by (instance)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u4e0a\u4f20\u5e26\u5bbd",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "((1-(1 - avg(irate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",mode=\"idle\"}[$interval])) by (instance))^1.3)^(1/3)*0.5 + \r\n(1-(1 - avg(node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} / node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})by (instance))^6)^(1/3)*0.3 + \r\n(1 - max(irate(node_disk_io_time_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval]))by (instance)^1.1)^(1/2)*0.2)*100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "O"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(irate(node_disk_io_time_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[$interval])) by (instance) *100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "IOutil\u4f7f\u7528\u7387",
"refId": "P"
}
],
"title": "\u670d\u52a1\u5668\u8d44\u6e90\u603b\u89c8\u8868\u3010\u4e3b\u673a\u603b\u6570\uff1a$total\u3011",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"exp": false,
"iid": false
},
"includeByName": {},
"indexByName": {
"Time": 20,
"Value #A": 36,
"Value #B": 7,
"Value #C": 8,
"Value #D": 4,
"Value #E": 13,
"Value #F": 10,
"Value #G": 11,
"Value #H": 14,
"Value #I": 15,
"Value #J": 18,
"Value #K": 19,
"Value #L": 9,
"Value #M": 16,
"Value #N": 17,
"Value #O": 6,
"Value #P": 12,
"__name__": 37,
"account": 21,
"cservice": 22,
"domainname": 23,
"exp": 5,
"group": 24,
"iaccount": 25,
"igroup": 26,
"iid": 3,
"iname": 27,
"instance": 2,
"job": 28,
"machine": 29,
"name": 1,
"nodename": 0,
"origin_prometheus": 30,
"region": 31,
"release": 32,
"sysname": 33,
"vendor": 34,
"version": 35
},
"renameByName": {
"Value #B": "\u5185\u5b58",
"Value #C": "CPU",
"Value #D": "\u542f\u52a8(\u5929)",
"Value #E": "\u5206\u533a\u4f7f\u7528\u7387*",
"Value #F": "CPU\u4f7f\u7528\u7387",
"Value #G": "\u5185\u5b58\u4f7f\u7528\u7387",
"Value #H": "\u78c1\u76d8\u8bfb\u53d6*",
"Value #I": "\u78c1\u76d8\u5199\u5165*",
"Value #J": "\u4e0b\u8f7d\u5e26\u5bbd*",
"Value #K": "\u4e0a\u4f20\u5e26\u5bbd*",
"Value #L": "\u8d1f\u8f7d",
"Value #M": "\u8fde\u63a5\u6570",
"Value #N": "TCP_tw",
"Value #O": "\u5065\u5eb7\u503c",
"Value #P": "IOutil\u4f7f\u7528\u7387*",
"exp": "\u5230\u671f\u65e5",
"iid": "\u5b9e\u4f8bID",
"instance": "IP",
"name": "",
"nodename": "\u4e3b\u673a\u540d"
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"\u4e3b\u673a\u540d",
"IP",
"\u542f\u52a8(\u5929)",
"\u5065\u5eb7\u503c",
"\u5185\u5b58",
"CPU",
"\u8d1f\u8f7d",
"CPU\u4f7f\u7528\u7387",
"\u5185\u5b58\u4f7f\u7528\u7387",
"IOutil\u4f7f\u7528\u7387*",
"\u5206\u533a\u4f7f\u7528\u7387*",
"\u78c1\u76d8\u8bfb\u53d6*",
"\u78c1\u76d8\u5199\u5165*",
"\u8fde\u63a5\u6570",
"TCP_tw",
"\u4e0b\u8f7d\u5e26\u5bbd*",
"\u4e0a\u4f20\u5e26\u5bbd*"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "- P99\uff1a\u6570\u636e\u96c6\u6309\u5347\u5e8f\u6392\u5217\uff0c\u7b2c99\u5206\u4f4d\u7f6e\u5927\u7684\u6570\u636e\u3002\uff08\u5373\u5347\u5e8f\u6392\u5217\u540e\u6392\u572899%\u4f4d\u7f6e\u7684\u6570\u636e\uff09\n- \u8be5\u8868\u683c\u9700\u8981\u5728Prometheus\u589e\u52a0\u8bb0\u5f55\u89c4\u5219\uff08\u53c2\u8003\u770b\u677f\u4e0b\u8f7d\u9875\uff09\n- \u589e\u52a0\u8bb0\u5f55\u89c4\u52191\u5c0f\u65f6\u540e\u624d\u4f1a\u6709\u5c55\u793a\u7684\u6570\u636e\u3002\n- \u65f6\u95f4\u8303\u56f4[7d:1h]\u8868\u793a\u8981\u67e5\u770b\u8fc7\u53bb 7 \u5929\u5185\u6bcf\u5c0f\u65f6\u7684\u6570\u636e\u70b9\u3002",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "color-text"
},
"inspect": false
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*%/"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 1
},
{
"id": "custom.width",
"value": 72
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "IP"
},
"properties": [
{
"id": "custom.width",
"value": 91
},
{
"id": "mappings",
"value": [
{
"options": {
"pattern": "/(.+):.+/",
"result": {
"index": 0,
"text": "$1"
}
},
"type": "regex"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "P99\u5185\u5b58\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "custom.width",
"value": 79
}
]
},
{
"matcher": {
"id": "byName",
"options": "P99CPU\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "custom.width",
"value": 101
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u540d\u79f0"
},
"properties": [
{
"id": "custom.width",
"value": 128
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4e3b\u673a\u540d"
},
"properties": [
{
"id": "custom.width",
"value": 138
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 0,
"y": 51
},
"id": 17,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "P99\u5185\u5b58%"
}
]
},
"pluginVersion": "11.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_uname_info{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - 0",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "\u4e3b\u673a\u540d",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "quantile_over_time(0.99, cpu:usage:rate1m{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[7d:1h])",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u4f7f\u7528\u7387P99",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "quantile_over_time(0.99, mem:usage:rate1m{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}[7d:1h])",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u4f7f\u7528\u7387P99",
"refId": "C"
}
],
"title": "\u6700\u8fd17\u5929P99\u8d44\u6e90\u4f7f\u7528\u7387",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "instance"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "/^Value #[^A]|^instance$|^nodename$/"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"includeByName": {},
"indexByName": {
"Value #B": 2,
"Value #C": 3,
"instance": 1,
"nodename": 0
},
"renameByName": {
"Value #B": "P99CPU%",
"Value #C": "P99\u5185\u5b58%",
"instance": "IP",
"name": "",
"name 1": "",
"nodename": "\u4e3b\u673a\u540d"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u603b5\u5206\u949f\u8d1f\u8f7d",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747%"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.axisLabel",
"value": "\u603b\u5e73\u5747\u4f7f\u7528\u7387"
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.axisSoftMin"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u6838\u6570"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.drawStyle",
"value": "points"
}
]
},
{
"matcher": {
"id": "byName",
"options": "5m\u8d1f\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 6,
"y": 51
},
"id": 18,
"maxDataPoints": 100,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(node_load5{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "5m\u8d1f\u8f7d",
"range": true,
"refId": "A",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "count(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",mode='system'})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6838\u6570",
"refId": "B",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg(1 - avg(irate(node_cpu_seconds_total{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",mode=\"idle\"}[$interval])) by (instance)) * 100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5e73\u5747%",
"range": true,
"refId": "F",
"step": 240
}
],
"title": "\u6574\u4f53\u603b\u8d1f\u8f7d\u4e0e\u6574\u4f53\u5e73\u5747CPU\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u603b\u5df2\u7528\u5185\u5b58",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
},
{
"id": "custom.drawStyle",
"value": "points"
},
{
"id": "custom.pointSize",
"value": 3
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747%"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 1
},
{
"id": "custom.axisLabel",
"value": "\u603b\u5e73\u5747\u4f7f\u7528\u7387"
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.axisSoftMin"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u5df2\u7528"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 12,
"y": 51
},
"id": 19,
"maxDataPoints": 100,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u5df2\u7528",
"range": true,
"refId": "B",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u5185\u5b58",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"} - node_memory_MemAvailable_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}) / sum(node_memory_MemTotal_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}))*100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5e73\u5747%",
"range": true,
"refId": "H"
}
],
"title": "\u6574\u4f53\u603b\u5185\u5b58\u4e0e\u6574\u4f53\u5e73\u5747\u5185\u5b58\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u603b\u78c1\u76d8\u4f7f\u7528\u91cf",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747%"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.axisLabel",
"value": "\u603b\u5e73\u5747\u4f7f\u7528\u7387"
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.axisSoftMin"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u78c1\u76d8"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
},
{
"id": "custom.drawStyle",
"value": "points"
},
{
"id": "custom.pointSize",
"value": 3
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u91cf"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 6,
"x": 18,
"y": 51
},
"id": 20,
"maxDataPoints": 100,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u78c1\u76d8",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance))) *100/(sum(avg(node_filesystem_avail_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance))+(sum(avg(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance)) - sum(avg(node_filesystem_free_bytes{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\",fstype=~\"xfs|ext.*\"})by(device,instance))))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5e73\u5747%",
"refId": "A"
}
],
"title": "\u6574\u4f53\u603b\u78c1\u76d8\u4e0e\u6574\u4f53\u5e73\u5747\u78c1\u76d8\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "WAYOn0FGz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 58
},
"id": 21,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "\u672c\u770b\u677f\u4e2d\u7684\uff1a\u78c1\u76d8\u603b\u91cf\u3001\u4f7f\u7528\u91cf\u3001\u53ef\u7528\u91cf\u3001\u4f7f\u7528\u7387\u4fdd\u6301\u548cdf\u547d\u4ee4\u7684Size\u3001Used\u3001Avail\u3001Use% \u5217\u7684\u503c\u4e00\u81f4\uff0c\u5e76\u4e14Use%\u7684\u503c\u4f1a\u56db\u820d\u4e94\u5165\u4fdd\u7559\u4e00\u4f4d\u5c0f\u6570\uff0c\u4f1a\u66f4\u52a0\u51c6\u786e\u3002\n\n\u6ce8\uff1adf\u4e2dUse%\u7b97\u6cd5\u4e3a\uff1a(size - free) * 100 / (avail + (size - free))\uff0c\u7ed3\u679c\u662f\u6574\u9664\u5219\u4e3a\u8be5\u503c\uff0c\u975e\u6574\u9664\u5219\u4e3a\u8be5\u503c+1\uff0c\u7ed3\u679c\u7684\u5355\u4f4d\u662f%\u3002\n\u53c2\u8003df\u547d\u4ee4\u6e90\u7801\uff1a",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u5206\u533a"
},
"properties": [
{
"id": "custom.width",
"value": 81
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5269\u4f59\u7a7a\u95f4"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "orange",
"value": 10000000000
},
{
"color": "green",
"value": 20000000000
}
]
}
},
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "decimals",
"value": 0
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge"
}
},
{
"id": "custom.width",
"value": 115
},
{
"id": "min",
"value": 0
},
{
"id": "max",
"value": 100
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u7a7a\u95f4"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "custom.width",
"value": 75
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u7c7b\u578b"
},
"properties": [
{
"id": "custom.width",
"value": 51
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8bbe\u5907\u540d"
},
"properties": [
{
"id": "custom.width",
"value": 120
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 59
},
"id": 181,
"links": [
{
"targetBlank": true,
"title": "https://github.com/coreutils/coreutils/blob/master/src/df.c",
"url": "https://github.com/coreutils/coreutils/blob/master/src/df.c"
}
],
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "\u4f7f\u7528\u7387"
}
]
},
"pluginVersion": "11.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "node_filesystem_avail_bytes {instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-0",
"format": "table",
"hide": false,
"instant": true,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}) *100/(node_filesystem_avail_bytes {instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}+(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "B"
}
],
"title": "\u3010$show_hostname\u3011\uff1a\u5206\u533a\u53ef\u7528\u7a7a\u95f4(EXT.*/XFS/NFS)",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"device",
"fstype",
"mountpoint",
"Value #C",
"Value #A",
"Value #B"
]
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"Value #A": "\u5269\u4f59\u7a7a\u95f4",
"Value #B": "\u4f7f\u7528\u7387",
"Value #C": "\u603b\u7a7a\u95f4",
"device": "\u8bbe\u5907\u540d",
"fstype": "\u7c7b\u578b",
"mountpoint": "\u5206\u533a"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [
{
"options": {
"0": {
"text": "N/A"
}
},
"type": "value"
}
],
"max": 100,
"min": 0.1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "#EAB839",
"value": 70
},
{
"color": "red",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 8,
"y": 59
},
"id": 177,
"options": {
"displayMode": "lcd",
"maxVizHeight": 300,
"minVizHeight": 45,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"valueMode": "color"
},
"pluginVersion": "11.0.0",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "100 - (avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"idle\"}[$interval])) * 100)",
"instant": true,
"interval": "",
"legendFormat": "\u603bCPU\u4f7f\u7528\u7387",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"iowait\"}[$interval])) * 100",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "IOwait\u4f7f\u7528\u7387",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "(1 - (node_memory_MemAvailable_bytes{instance=~\"$node\"} / (node_memory_MemTotal_bytes{instance=~\"$node\"})))* 100",
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u4f7f\u7528\u7387",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"})*100 /(node_filesystem_avail_bytes {instance=~\"$node\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}+(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs\",mountpoint=\"$maxmount\"}))",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u6700\u5927\u5206\u533a\u4f7f\u7528\u7387({{mountpoint}})",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(1 - ((node_memory_SwapFree_bytes{instance=~\"$node\"} + 1)/ (node_memory_SwapTotal_bytes{instance=~\"$node\"} + 1))) * 100",
"instant": true,
"interval": "",
"legendFormat": "\u4ea4\u6362\u5206\u533a\u4f7f\u7528\u7387",
"refId": "F"
}
],
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u8fd0\u884c\u65f6\u95f4"
},
"properties": [
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "orange",
"value": 3600
},
{
"color": "green",
"value": 7200
}
]
}
},
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58"
},
"properties": [
{
"id": "unit",
"value": "bytes"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU iowait"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "thresholds",
"value": {
"mode": "percentage",
"steps": [
{
"color": "green"
},
{
"color": "orange",
"value": 40
},
{
"color": "red",
"value": 60
}
]
}
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u6587\u4ef6\u63cf\u8ff0\u7b26"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "orange",
"value": 50000
},
{
"color": "green",
"value": 200000
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u6700\u5927\u6253\u5f00\u6587\u4ef6"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "orange",
"value": 10000
},
{
"color": "green",
"value": 50000
}
]
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 4,
"x": 12,
"y": 59
},
"id": 206,
"interval": "15s",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"valueSize": 15
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.0.0",
"targets": [
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "avg(time() - node_boot_time_seconds{instance=~\"$node\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u8fd0\u884c\u65f6\u95f4",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "C",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "count(node_cpu_seconds_total{instance=~\"$node\", mode='system'})",
"instant": true,
"interval": "",
"legendFormat": "CPU \u6838\u6570",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "A",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(node_memory_MemTotal_bytes{instance=~\"$node\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u5185\u5b58",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "B",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"iowait\"}[$interval])) * 100",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU iowait",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "D",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "node_filefd_maximum{instance=~\"$node\"}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u6587\u4ef6\u63cf\u8ff0\u7b26",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "E",
"timeField": "@timestamp"
},
{
"alias": "",
"bucketAggs": [
{
"id": "2",
"settings": {
"interval": "auto"
},
"type": "date_histogram"
}
],
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "process_max_fds{job=\"node_exporter\",instance=~\"$node\"}",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u6700\u5927\u6253\u5f00\u6587\u4ef6",
"metrics": [
{
"id": "1",
"type": "count"
}
],
"query": "",
"refId": "F",
"timeField": "@timestamp"
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 60,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in\u4e0b\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_out\u4e0a\u4f20"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_in\u4e0b\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out\u4e0a\u4f20"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 59
},
"id": 183,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "increase(node_network_receive_bytes_total{instance=~\"$node\",device=~\"$device\"}[1m])",
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "{{device}}_in\u4e0b\u8f7d",
"metric": "",
"refId": "A",
"step": 600,
"target": ""
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "increase(node_network_transmit_bytes_total{instance=~\"$node\",device=~\"$device\"}[1m])",
"hide": false,
"interval": "1m",
"intervalFactor": 2,
"legendFormat": "{{device}}_out\u4e0a\u4f20",
"refId": "B",
"step": 600
}
],
"title": "\u6bcf\u5206\u949f\u6d41\u91cf$device",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u603b\u4f7f\u7528\u7387",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u603b\u4f7f\u7528\u7387/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
},
{
"id": "custom.fillOpacity",
"value": 0
},
{
"id": "custom.lineWidth",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8IO\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "custom.axisLabel",
"value": "\u78c1\u76d8IO\u4f7f\u7528\u7387"
},
{
"id": "color",
"value": {
"fixedColor": "#0ad4ff",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u7528\u6237\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u7cfb\u7edf\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 65
},
"id": 207,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "(1 - avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"idle\"}[$interval])) by (instance))*100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u4f7f\u7528\u7387",
"refId": "F",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"system\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u7cfb\u7edf\u4f7f\u7528\u7387",
"refId": "A",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"user\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u7528\u6237\u4f7f\u7528\u7387",
"refId": "B",
"step": 240
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"iowait\"}[$interval])) by (instance) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u78c1\u76d8IO\u4f7f\u7528\u7387",
"refId": "D",
"step": 240
}
],
"title": "CPU\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u5269\u4f59\u5185\u5b58",
"axisPlacement": "left",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u53ef\u7528"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#9ac48a",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.showPoints",
"value": "always"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#00d1ff",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.axisLabel",
"value": "\u5185\u5b58\u4f7f\u7528\u7387"
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "custom.axisSoftMin"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5df2\u7528"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 65
},
"id": 156,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_memory_MemAvailable_bytes{instance=~\"$node\"}",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u53ef\u7528",
"refId": "F",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "node_memory_MemTotal_bytes{instance=~\"$node\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "2m",
"intervalFactor": 1,
"legendFormat": "\u603b\u5185\u5b58",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_memory_MemTotal_bytes{instance=~\"$node\"} - node_memory_MemAvailable_bytes{instance=~\"$node\"}",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5df2\u7528",
"refId": "B",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "(1 - (node_memory_MemAvailable_bytes{instance=~\"$node\"} / (node_memory_MemTotal_bytes{instance=~\"$node\"})))* 100",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u4f7f\u7528\u7387",
"refId": "H"
}
],
"title": "\u5185\u5b58\u4fe1\u606f",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u5bb9\u91cf\u4f7f\u7528\u7387",
"axisPlacement": "auto",
"axisSoftMax": 100,
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/Inodes.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#00d1ff",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 0
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.axisLabel",
"value": "Inodes\u4f7f\u7528\u7387"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 65
},
"id": 174,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}) *100/(node_filesystem_avail_bytes {instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}+(node_filesystem_size_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}-node_filesystem_free_bytes{instance=~\"$node\",fstype=~\"ext.*|xfs|nfs\",mountpoint !~\".*pod.*\"}))",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5bb9\u91cf%\uff1a{{mountpoint}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(1 - node_filesystem_files_free{instance=~\"$node\",fstype=~\"ext.?|xfs|nfs\",mountpoint !~\".*pod.*\"} / node_filesystem_files{instance=~\"$node\",fstype=~\"ext.?|xfs|nfs\",mountpoint !~\".*pod.*\"}) * 100",
"hide": false,
"interval": "",
"legendFormat": "Inodes%\uff1a{{mountpoint}}",
"range": true,
"refId": "B"
}
],
"title": "\u78c1\u76d8\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "1\u5206\u949f\u8d1f\u8f7d",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "15\u5206\u949f\u8d1f\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "1\u5206\u949f\u8d1f\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "5\u5206\u949f\u8d1f\u8f7d"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u603b\u6838\u6570/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.pointSize",
"value": 4
},
{
"id": "custom.showPoints",
"value": "always"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 73
},
"id": 13,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "node_load1{instance=~\"$node\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "1\u5206\u949f\u8d1f\u8f7d",
"metric": "",
"refId": "A",
"step": 20,
"target": ""
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": " sum(count(node_cpu_seconds_total{instance=~\"$node\", mode='system'}) by (cpu,instance)) by(instance)",
"format": "time_series",
"instant": false,
"interval": "2m",
"intervalFactor": 1,
"legendFormat": "CPU\u603b\u6838\u6570",
"refId": "D",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_load5{instance=~\"$node\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "5\u5206\u949f\u8d1f\u8f7d",
"refId": "B",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_load15{instance=~\"$node\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "15\u5206\u949f\u8d1f\u8f7d",
"refId": "C",
"step": 20
}
],
"title": "\u7cfb\u7edf\u5e73\u5747\u8d1f\u8f7d",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "bars",
"fillOpacity": 100,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u7b49\u5f85IO\u5b8c\u6210\u963b\u585e\u7684\u8fdb\u7a0b"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8fd0\u884c\u6001\u7684\u8fdb\u7a0b"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 73
},
"id": 202,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"calculatedInterval": "2m",
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"datasourceErrors": {},
"errors": {},
"exemplar": true,
"expr": "node_procs_running{instance=~\"$node\"}",
"format": "time_series",
"interval": "1m",
"intervalFactor": 1,
"legendFormat": "\u8fd0\u884c\u6001\u7684\u8fdb\u7a0b",
"metric": "",
"prometheusLink": "/api/datasources/proxy/1/graph#%5B%7B%22expr%22%3A%22node_procs_running%7Binstance%3D%5C%22%24host%5C%22%7D%22%2C%22range_input%22%3A%2243200s%22%2C%22end_input%22%3A%222015-9-18%2013%3A46%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D",
"refId": "A",
"step": 5,
"target": ""
},
{
"calculatedInterval": "2m",
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"datasourceErrors": {},
"errors": {},
"exemplar": true,
"expr": "node_procs_blocked{instance=~\"$node\"}",
"format": "time_series",
"interval": "1m",
"intervalFactor": 1,
"legendFormat": "\u7b49\u5f85IO\u5b8c\u6210\u963b\u585e\u7684\u8fdb\u7a0b",
"metric": "",
"prometheusLink": "/api/datasources/proxy/1/graph#%5B%7B%22expr%22%3A%22node_procs_blocked%7Binstance%3D%5C%22%24host%5C%22%7D%22%2C%22range_input%22%3A%2243200s%22%2C%22end_input%22%3A%222015-9-18%2013%3A46%22%2C%22step_input%22%3A%22%22%2C%22stacked%22%3Atrue%2C%22tab%22%3A0%7D%5D",
"refId": "B",
"step": 5,
"target": ""
}
],
"title": "\u8fdb\u7a0b\u8fd0\u884c\u72b6\u6001",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u603b\u4f7f\u7528FD"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u4f7f\u7528FD\u5360\u6bd4"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u6bcf\u79d2\u4e0a\u4e0b\u6587\u5207\u6362"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u5360\u6bd4/"
},
"properties": [
{
"id": "custom.lineWidth",
"value": 0
},
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.showPoints",
"value": "always"
},
{
"id": "custom.pointSize",
"value": 3
},
{
"id": "custom.axisSoftMax",
"value": 100
},
{
"id": "custom.axisSoftMin",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8fdb\u7a0b\u4f7f\u7528FD\u5360\u6bd4"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-orange",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 73
},
"hideTimeOverride": false,
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "irate(node_context_switches_total{instance=~\"$node\"}[$interval])",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6bcf\u79d2\u4e0a\u4e0b\u6587\u5207\u6362",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "node_filefd_allocated{instance=~\"$node\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u4f7f\u7528FD",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(node_filefd_allocated{instance=~\"$node\"}/node_filefd_maximum{instance=~\"$node\"}) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u603b\u4f7f\u7528FD\u5360\u6bd4",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(process_open_fds{instance=~\"$node\"}/process_max_fds{instance=~\"$node\"}) *100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u8fdb\u7a0b\u4f7f\u7528FD\u5360\u6bd4",
"refId": "D"
}
],
"title": "\u6587\u4ef6\u63cf\u8ff0\u7b26(FD)/\u6bcf\u79d2\u4e0a\u4e0b\u6587\u5207\u6362",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Read time seconds \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u8bfb\u64cd\u4f5c\u82b1\u8d39\u7684\u79d2\u6570\n\nWrite time seconds \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u5199\u64cd\u4f5c\u82b1\u8d39\u7684\u79d2\u6570\n\nIO time seconds \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u8f93\u5165/\u8f93\u51fa\u64cd\u4f5c\u82b1\u8d39\u7684\u79d2\u6570\n\nIO time weighted seconds\u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u8f93\u5165/\u8f93\u51fa\u64cd\u4f5c\u82b1\u8d39\u7684\u52a0\u6743\u79d2\u6570",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "\u8bfb\u53d6\uff08-\uff09/\u5199\u5165\uff08+\uff09",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "vda"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#6ED0E0",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/,*_\u8bfb\u53d6$/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 81
},
"id": 160,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_read_time_seconds_total{instance=~\"$node\"}[$interval]) / irate(node_disk_reads_completed_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u8bfb\u53d6",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_write_time_seconds_total{instance=~\"$node\"}[$interval]) / irate(node_disk_writes_completed_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u5199\u5165",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_io_time_seconds_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_io_time_weighted_seconds_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u52a0\u6743",
"refId": "D"
}
],
"title": "\u6bcf\u6b21IO\u8bfb\u5199\u7684\u8017\u65f6\uff08\u53c2\u8003\uff1a\u5c0f\u4e8e100ms\uff09",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Reads completed: \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u6bcf\u79d2\u8bfb\u5b8c\u6210\u6b21\u6570\n\nWrites completed: \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u6bcf\u79d2\u5199\u5b8c\u6210\u6b21\u6570\n\nIO now \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u6bcf\u79d2\u6b63\u5728\u5904\u7406\u7684\u8f93\u5165/\u8f93\u51fa\u8bf7\u6c42\u6570",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "\u8bfb\u53d6\uff08-\uff09/\u5199\u5165\uff08+\uff09I/O ops/sec",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "vda_write"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#6ED0E0",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*_\u8bfb\u53d6$/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 81
},
"id": 161,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_reads_completed_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u8bfb\u53d6",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_writes_completed_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u5199\u5165",
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_disk_io_now{instance=~\"$node\"}",
"format": "time_series",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}",
"refId": "C"
}
],
"title": "\u78c1\u76d8\u8bfb\u5199\u901f\u7387\uff08IOPS\uff09",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Read bytes \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u6bcf\u79d2\u8bfb\u53d6\u7684\u6bd4\u7279\u6570\nWritten bytes \u6bcf\u4e2a\u78c1\u76d8\u5206\u533a\u6bcf\u79d2\u5199\u5165\u7684\u6bd4\u7279\u6570",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "\u8bfb\u53d6\uff08-\uff09/\u5199\u5165\uff08+\uff09",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "vda_write"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#6ED0E0",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*_\u8bfb\u53d6$/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 81
},
"id": 168,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_read_bytes_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u8bfb\u53d6",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_disk_written_bytes_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u5199\u5165",
"refId": "B",
"step": 10
}
],
"title": "\u6bcf\u79d2\u78c1\u76d8\u8bfb\u5199\u5bb9\u91cf",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "\u6bcf\u4e00\u79d2\u949f\u7684\u81ea\u7136\u65f6\u95f4\u5185\uff0c\u82b1\u8d39\u5728I/O\u4e0a\u7684\u8017\u65f6\u3002\uff08wall-clock time\uff09\n\nnode_disk_io_time_seconds_total\uff1a\n\u78c1\u76d8\u82b1\u8d39\u5728\u8f93\u5165/\u8f93\u51fa\u64cd\u4f5c\u4e0a\u7684\u79d2\u6570\u3002\u8be5\u503c\u4e3a\u7d2f\u52a0\u503c\u3002\uff08Milliseconds Spent Doing I/Os\uff09\n\nirate(node_disk_io_time_seconds_total[1m])\uff1a\n\u8ba1\u7b97\u6bcf\u79d2\u7684\u901f\u7387\uff1a(last\u503c-last\u524d\u4e00\u4e2a\u503c)/\u65f6\u95f4\u6233\u5dee\u503c\uff0c\u5373\uff1a1\u79d2\u949f\u5185\u78c1\u76d8\u82b1\u8d39\u5728I/O\u64cd\u4f5c\u7684\u65f6\u95f4\u5360\u6bd4\u3002",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percentunit"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Idle - Waiting for something to happen"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#052B51",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "guest"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#9AC48A",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "idle"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#052B51",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "iowait"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#EAB839",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "irq"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#BF1B00",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "nice"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C15C17",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "sdb_\u6bcf\u79d2I/O\u64cd\u4f5c%"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#d683ce",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "softirq"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#E24D42",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "steal"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#FCE2DE",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "system"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#508642",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "user"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#5195CE",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u82b1\u8d39\u5728I/O\u64cd\u4f5c\u5360\u6bd4"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#ba43a9",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 81
},
"id": 175,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "irate(node_disk_io_time_seconds_total{instance=~\"$node\"}[$interval])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_\u6bcf\u79d2I/O\u64cd\u4f5c%",
"refId": "C"
}
],
"title": "\u6bcf1\u79d2\u5185I/O\u64cd\u4f5c\u8017\u65f6\u5360\u6bd4\uff08I/O Util\uff09",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "Sockets_used - \u5df2\u4f7f\u7528\u7684\u6240\u6709\u534f\u8bae\u5957\u63a5\u5b57\u603b\u91cf\n\nCurrEstab - \u5f53\u524d\u72b6\u6001\u4e3a ESTABLISHED \u6216 CLOSE-WAIT \u7684 TCP \u8fde\u63a5\u6570\n\nTCP_alloc - \u5df2\u5206\u914d\uff08\u5df2\u5efa\u7acb\u3001\u5df2\u7533\u8bf7\u5230sk_buff\uff09\u7684TCP\u5957\u63a5\u5b57\u6570\u91cf\n\nTCP_tw - \u7b49\u5f85\u5173\u95ed\u7684TCP\u8fde\u63a5\u6570\n\nUDP_inuse - \u6b63\u5728\u4f7f\u7528\u7684 UDP \u5957\u63a5\u5b57\u6570\u91cf\n\nRetransSegs - TCP \u91cd\u4f20\u62a5\u6587\u6570\n\nOutSegs - TCP \u53d1\u9001\u7684\u62a5\u6587\u6570\n\nInSegs - TCP \u63a5\u6536\u7684\u62a5\u6587\u6570",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "CurrEstab",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "TCP_alloc"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*Sockets_used/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#E02F44",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 1
},
{
"id": "custom.axisLabel",
"value": "\u5df2\u4f7f\u7528\u7684\u6240\u6709\u534f\u8bae\u5957\u63a5\u5b57\u603b\u91cf"
},
{
"id": "custom.showPoints",
"value": "always"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 16,
"x": 0,
"y": 89
},
"id": 158,
"interval": "",
"options": {
"legend": {
"calcs": [
"last",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_netstat_Tcp_CurrEstab{instance=~\"$node\"}",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "CurrEstab",
"refId": "A",
"step": 20
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_sockstat_TCP_tw{instance=~\"$node\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "TCP_tw",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "node_sockstat_sockets_used{instance=~\"$node\"}",
"hide": false,
"interval": "2m",
"intervalFactor": 1,
"legendFormat": "Sockets_used",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_sockstat_UDP_inuse{instance=~\"$node\"}",
"interval": "",
"legendFormat": "UDP_inuse",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "node_sockstat_TCP_alloc{instance=~\"$node\"}",
"interval": "",
"legendFormat": "TCP_alloc",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_Tcp_PassiveOpens{instance=~\"$node\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "{{instance}}_Tcp_PassiveOpens",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_Tcp_ActiveOpens{instance=~\"$node\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "{{instance}}_Tcp_ActiveOpens",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_Tcp_InSegs{instance=~\"$node\"}[$interval])",
"interval": "",
"legendFormat": "Tcp_InSegs",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_Tcp_OutSegs{instance=~\"$node\"}[$interval])",
"interval": "",
"legendFormat": "Tcp_OutSegs",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_Tcp_RetransSegs{instance=~\"$node\"}[$interval])",
"hide": false,
"interval": "",
"legendFormat": "Tcp_RetransSegs",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_netstat_TcpExt_ListenDrops{instance=~\"$node\"}[$interval])",
"hide": true,
"interval": "",
"legendFormat": "",
"refId": "K"
}
],
"title": "\u7f51\u7edcSocket\u8fde\u63a5\u4fe1\u606f",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "\u4e0a\u4f20\uff08-\uff09/\u4e0b\u8f7d\uff08+\uff09",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*_out\u4e0a\u4f20$/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsZero",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byValue",
"options": {
"op": "gte",
"reducer": "allIsNull",
"value": 0
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": true,
"tooltip": true,
"viz": false
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*_in\u4e0b\u8f7d$/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "yellow",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 89
},
"id": 157,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"maxHeight": 600,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.0.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "irate(node_network_receive_bytes_total{instance=~\"$node\",device=~\"$device\"}[$interval])*8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_in\u4e0b\u8f7d",
"refId": "A",
"step": 4
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "irate(node_network_transmit_bytes_total{instance=~\"$node\",device=~\"$device\"}[$interval])*8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{device}}_out\u4e0a\u4f20",
"refId": "B",
"step": 4
}
],
"title": "\u6bcf\u79d2\u7f51\u7edc\u5e26\u5bbd\u4f7f\u7528$device",
"type": "timeseries"
}
],
"title": "\ud83e\uddee\u8d44\u6e90\u660e\u7ec6\uff1a\u3010$show_hostname\u3011\u3010$node\u3011",
"type": "row"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 59
},
"title": "K8S \u96c6\u7fa4",
"type": "row",
"panels": [],
"id": 22
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "WAYOn0FGz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 60
},
"id": 23,
"panels": [],
"title": "\u8282\u70b9\u8d44\u6e90\u603b\u89c8\uff1a\u6240\u9009\u8282\u70b9:\u3010$Node\u3011",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 0.8
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 61
},
"id": 24,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u4f7f\u7528\u7387",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u8bf7\u6c42\u7387",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5185\u5b58\u9650\u5236\u7387",
"refId": "B",
"step": 10
}
],
"title": "\u8282\u70b9\u5185\u5b58\u6bd4\u4f8b",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 0.7
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 61
},
"id": 25,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u4f7f\u7528\u7387",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
"format": "time_series",
"instant": true,
"interval": "",
"legendFormat": "CPU\u8bf7\u6c42\u7387",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
"format": "time_series",
"instant": true,
"interval": "",
"legendFormat": "CPU\u9650\u5236\u7387",
"refId": "B"
}
],
"title": "\u8282\u70b9CPU\u6bd4\u4f8b",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "\u96c6\u7fa4\u8282\u70b9\u6570\uff0c\u8282\u70b9POD\u6570\uff0c\u8282\u70b9POD\u4e0a\u9650",
"fieldConfig": {
"defaults": {
"mappings": [],
"max": 100,
"min": 1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 1000
},
{
"color": "red",
"value": 2000
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 3,
"x": 8,
"y": 61
},
"id": 26,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})",
"instant": true,
"interval": "",
"legendFormat": "\u8282\u70b9\u6570",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "Pod\u6570",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u4e0a\u9650Pod",
"refId": "C"
}
],
"title": "\u8282\u70b9\u4e0ePod",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "color-text"
},
"filterable": false,
"inspect": false
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u7a7a\u95f4"
},
"properties": [
{
"id": "custom.width",
"value": 59
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod"
},
"properties": [
{
"id": "custom.width",
"value": 21
}
]
},
{
"matcher": {
"id": "byName",
"options": "SVC"
},
"properties": [
{
"id": "custom.width",
"value": 7
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5fae\u670d\u52a1"
},
"properties": [
{
"id": "custom.width",
"value": 4
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u914d\u7f6e"
},
"properties": [
{
"id": "custom.width",
"value": 16
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5bc6\u7801"
},
"properties": [
{
"id": "custom.width",
"value": 33
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 5,
"x": 11,
"y": 61
},
"id": 27,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": true
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "\u5fae\u670d\u52a1"
}
]
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}) by (namespace)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count(kube_service_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count by (namespace)({__name__=~\"kube_deployment_metadata_generation|kube_daemonset_metadata_generation|kube_statefulset_metadata_generation\",origin_prometheus=~\"$origin_prometheus\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count(kube_configmap_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "configmap",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count(kube_secret_info{origin_prometheus=~\"$origin_prometheus\"}) by(namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "secret",
"refId": "E"
}
],
"title": "\u547d\u540d\u7a7a\u95f4\u8d44\u6e90\u7edf\u8ba1",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "namespace"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true
},
"includeByName": {},
"indexByName": {
"Time 1": 2,
"Time 2": 4,
"Time 3": 6,
"Value #A": 3,
"Value #C": 5,
"Value #D": 1,
"namespace": 0
},
"renameByName": {
"Time 1": "",
"Time 2": "",
"Value #A": "Pod",
"Value #B": "\u914d\u7f6e",
"Value #C": "SVC",
"Value #D": "\u5fae\u670d\u52a1",
"Value #E": "\u5bc6\u7801",
"namespace": "\u7a7a\u95f4"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 30,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 4,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 61
},
"id": 28,
"options": {
"legend": {
"calcs": [
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true,
"width": 200
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u63a5\u6536",
"metric": "network",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m]))*8",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u53d1\u9001",
"metric": "network",
"refId": "B",
"step": 10
}
],
"title": "$NameSpace\uff1a\u7f51\u7edc\u603b\u89c8\uff08\u53ef\u5173\u8054\u8282\u70b9\u4e0e\u547d\u540d\u7a7a\u95f4\uff09",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [],
"max": 2000000000000,
"min": 1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 100000000000
},
{
"color": "red",
"value": 2000000000000
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 65
},
"id": 29,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u603b\u5185\u5b58",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u8bf7\u6c42\u91cf",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u9650\u5236\u91cf",
"refId": "B"
}
],
"title": "\u8282\u70b9\u5185\u5b58\u4fe1\u606f",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [],
"max": 500,
"min": 1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 500
},
{
"color": "red",
"value": 1000
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 65
},
"id": 30,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u603b\u6838\u6570",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))",
"instant": true,
"interval": "",
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u8bf7\u6c42\u91cf",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u9650\u5236\u91cf",
"refId": "B"
}
],
"title": "\u8282\u70b9CPU\u6838\u6570",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"decimals": 1,
"mappings": [],
"max": 8000000000000,
"min": 1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 5000000000000
},
{
"color": "red",
"value": 10000000000000
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "max"
},
{
"id": "min",
"value": 0
},
{
"id": "thresholds",
"value": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 80
},
{
"color": "red",
"value": 90
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u91cf"
},
"properties": [
{
"id": "decimals",
"value": 0
}
]
}
]
},
"gridPos": {
"h": 4,
"w": 3,
"x": 8,
"y": 65
},
"id": 31,
"options": {
"displayMode": "basic",
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
"namePlacement": "auto",
"orientation": "vertical",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showUnfilled": false,
"sizing": "auto",
"text": {},
"valueMode": "color"
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u4f7f\u7528\u7387",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})",
"instant": true,
"interval": "",
"legendFormat": "\u603b\u91cf",
"refId": "B"
}
],
"title": "\u8282\u70b9\u5b58\u50a8\u4fe1\u606f",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/\u5f02\u5e38.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 69
},
"id": 32,
"maxPerRow": 2,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.4.1",
"repeat": "origin_prometheus",
"repeatDirection": "v",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count({__name__=~\"kube_deployment_metadata_generation|kube_daemonset_metadata_generation|kube_statefulset_metadata_generation\",origin_prometheus=~\"$origin_prometheus\"})",
"hide": false,
"instant": true,
"legendFormat": "\u5de5\u4f5c\u8d1f\u8f7d",
"range": false,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\"})",
"hide": false,
"instant": true,
"legendFormat": "\u603bPod",
"range": false,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count by(key,origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key=~\"node.kubernetes.io.*\"})",
"format": "time_series",
"hide": false,
"instant": true,
"legendFormat": "{{key}}",
"range": false,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count by(origin_prometheus)(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})",
"hide": false,
"instant": true,
"legendFormat": "\u603b\u8282\u70b9",
"range": false,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count by(origin_prometheus)(kube_node_info{origin_prometheus=~\"$origin_prometheus\"}) - count by(origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key!~\"node.kubernetes.io.*\"})",
"hide": false,
"instant": true,
"legendFormat": "\u6b63\u5e38\u8282\u70b9",
"range": false,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count by(key,origin_prometheus)(kube_node_spec_taint{origin_prometheus=~\"$origin_prometheus\",key!~\"node.kubernetes.io.*\"})",
"hide": false,
"instant": true,
"legendFormat": "{{key}}",
"range": false,
"refId": "A"
}
],
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "(node.kubernetes.io/)(.*)",
"renamePattern": "\u5f02\u5e38:$2"
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 2
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 71
},
"id": 33,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})",
"instant": false,
"interval": "",
"legendFormat": "\u603b\u5185\u5b58",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})",
"instant": false,
"interval": "",
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
"hide": true,
"instant": false,
"interval": "",
"legendFormat": "\u8bf7\u6c42\u91cf",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})",
"hide": true,
"instant": false,
"interval": "",
"legendFormat": "\u9650\u5236\u91cf",
"refId": "B"
}
],
"title": "\u5185\u5b58\u4f7f\u7528\u91cf\u3010$Node\u3011",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u603b\u6838\u6570"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 2
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 71
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})",
"instant": false,
"interval": "",
"legendFormat": "\u603b\u6838\u6570",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",id=\"/\",node=~\"^$Node$\"}[2m]))",
"instant": false,
"interval": "",
"legendFormat": "\u4f7f\u7528\u91cf",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
"hide": true,
"instant": false,
"interval": "",
"legendFormat": "\u8bf7\u6c42\u91cf",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "\u9650\u5236\u91cf",
"refId": "B"
}
],
"title": "CPU\u4f7f\u7528\u6838\u3010$Node\u3011",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"description": "\u96c6\u7fa4\u8282\u70b9\u6570\uff0c\u8282\u70b9POD\u6570\uff0c\u8282\u70b9POD\u4e0a\u9650",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u4e0a\u9650Pod"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8282\u70b9\u6570"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "custom.drawStyle",
"value": "points"
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.pointSize",
"value": 3
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 71
},
"id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "count(kube_node_info{origin_prometheus=~\"$origin_prometheus\"})",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "\u8282\u70b9\u6570",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"})",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Pod\u6570",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "\u4e0a\u9650Pod",
"refId": "C"
}
],
"title": "Pod\u6570\u4e0e\u8282\u70b9\u6570\u3010$Node\u3011",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/\u603b\u6838\u6570.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "#C4162A",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 76
},
"id": 36,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)*100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{node}}",
"refId": "I"
}
],
"title": "$Node\uff1a\u8282\u70b9CPU\u660e\u7ec6",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 76
},
"id": 37,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)*100",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{node}}",
"refId": "I"
}
],
"title": "$Node\uff1a\u8282\u70b9\u5185\u5b58\u660e\u7ec6",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "series",
"axisLabel": "\u2190\u6d41\u5165/\u6d41\u51fa\u2192",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binbps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/\u6d41\u5165.*/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 76
},
"id": 38,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u5165:{{node}}",
"metric": "network",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum (irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\"}[2m]))by (node) *8",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u51fa:{{node}}",
"metric": "network",
"refId": "B",
"step": 10
}
],
"title": "$Node\uff1a\u8282\u70b9\u7f51\u7edc\u603b\u89c8",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "CPU\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 76
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 71
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": ".*%"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "custom.width",
"value": 85
},
{
"id": "unit",
"value": "percentunit"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "(\u5185\u5b58\u4f7f\u7528|\u5185\u5b58\u603b|\u5185\u5b58\u8bf7\u6c42|\u5185\u5b58\u9650\u5236|\u78c1\u76d8\u4f7f\u7528|\u78c1\u76d8\u603b)"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8282\u70b9"
},
"properties": [
{
"id": "custom.width",
"value": 96
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u8bf7\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 76
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU\u8bf7\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 75
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "(CPU\u603b|\u5185\u5b58\u603b|\u78c1\u76d8\u603b|Pod\u4e0a\u9650)"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "blue"
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod\u4e0a\u9650"
},
"properties": [
{
"id": "custom.width",
"value": 66
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "CPU\u6838\u4f7f\u7528$|\u5185\u5b58\u4f7f\u7528$|\u78c1\u76d8\u4f7f\u7528$|Pod\u6570"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u603b/"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod\u6570"
},
"properties": [
{
"id": "custom.width",
"value": 58
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU\u6838\u603b"
},
"properties": [
{
"id": "custom.width",
"value": 69
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u603b"
},
"properties": [
{
"id": "custom.width",
"value": 75
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u603b"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU\u6838\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u4f7f\u7528%"
},
"properties": [
{
"id": "custom.width",
"value": 102
}
]
}
]
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 82
},
"id": 39,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "\u5185\u5b58\u4f7f\u7528%"
}
]
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "count(kube_pod_info{origin_prometheus=~\"$origin_prometheus\",created_by_kind!~\"<none>|Job\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "pod\u6570",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "kube_node_status_condition{origin_prometheus=~\"$origin_prometheus\",status=\"true\",node=~\"^$Node$\"} == 1",
"format": "table",
"hide": true,
"instant": true,
"interval": "",
"legendFormat": "\u72b6\u6001",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m])) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"} - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"}) by (node) - 0",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"}) by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u4f7f\u7528%",
"refId": "M"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u8bf7\u6c42%",
"refId": "N"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u9650\u5236%",
"refId": "O"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container!=\"\",node=~\"^$Node$\"}[2m]))by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u4f7f\u7528%",
"refId": "P"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u8bf7\u6c42%",
"refId": "Q"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",node=~\"^$Node$\"})by (node) / sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\", node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5185\u5b58\u9650\u5236%",
"refId": "R"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node) / sum (container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",device=~\"^/dev/.*$\",id=\"/\",node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u78c1\u76d8\u4f7f\u7528%",
"refId": "S"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_node_status_allocatable{origin_prometheus=~\"$origin_prometheus\",resource=\"pods\", unit=\"integer\",node=~\"^$Node$\"})by (node)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "Pod\u4e0a\u9650",
"refId": "T"
}
],
"title": "$Node\uff1a\u8282\u70b9\u4fe1\u606f\u660e\u7ec6",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 10": true,
"Time 11": true,
"Time 12": true,
"Time 13": true,
"Time 14": true,
"Time 15": true,
"Time 16": true,
"Time 17": true,
"Time 18": true,
"Time 19": true,
"Time 2": true,
"Time 20": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Time 7": true,
"Time 8": true,
"Time 9": true,
"Value #B": true,
"Value #E": false,
"Value #F": false,
"__name__": true,
"app_kubernetes_io_name": true,
"app_kubernetes_io_name 1": true,
"app_kubernetes_io_name 2": true,
"app_kubernetes_io_name 3": true,
"app_kubernetes_io_version": true,
"app_kubernetes_io_version 1": true,
"app_kubernetes_io_version 2": true,
"app_kubernetes_io_version 3": true,
"condition": true,
"instance": true,
"instance 1": true,
"instance 2": true,
"instance 3": true,
"job": true,
"job 1": true,
"job 2": true,
"job 3": true,
"k8s_namespace": true,
"k8s_namespace 1": true,
"k8s_namespace 2": true,
"k8s_namespace 3": true,
"k8s_sname": true,
"k8s_sname 1": true,
"k8s_sname 2": true,
"k8s_sname 3": true,
"origin_prometheus": true,
"origin_prometheus 1": true,
"origin_prometheus 2": true,
"origin_prometheus 3": true,
"resource": true,
"status": true,
"unit": true
},
"includeByName": {},
"indexByName": {
"Time": 22,
"Value #A": 2,
"Value #C": 6,
"Value #D": 8,
"Value #E": 16,
"Value #F": 17,
"Value #G": 18,
"Value #H": 19,
"Value #I": 7,
"Value #J": 9,
"Value #K": 11,
"Value #L": 10,
"Value #M": 4,
"Value #N": 13,
"Value #O": 15,
"Value #P": 3,
"Value #Q": 12,
"Value #R": 14,
"Value #S": 5,
"Value #T": 1,
"instance": 23,
"job": 24,
"node": 0,
"origin_prometheus": 25,
"resource": 20,
"unit": 21
},
"renameByName": {
"Value #A": "Pod\u6570",
"Value #C": "CPU\u6838\u603b",
"Value #D": "\u5185\u5b58\u603b",
"Value #E": "CPU\u8bf7\u6c42",
"Value #F": "CPU\u9650\u5236",
"Value #G": "\u5185\u5b58\u8bf7\u6c42",
"Value #H": "\u5185\u5b58\u9650\u5236",
"Value #I": "CPU\u6838\u4f7f\u7528",
"Value #J": "\u5185\u5b58\u4f7f\u7528",
"Value #K": "\u78c1\u76d8\u4f7f\u7528",
"Value #L": "\u78c1\u76d8\u603b",
"Value #M": "\u5185\u5b58\u4f7f\u7528%",
"Value #N": "\u5185\u5b58\u8bf7\u6c42%",
"Value #O": "\u5185\u5b58\u9650\u5236%",
"Value #P": "CPU\u4f7f\u7528%",
"Value #Q": "CPU\u8bf7\u6c42%",
"Value #R": "CPU\u9650\u5236%",
"Value #S": "\u78c1\u76d8\u4f7f\u7528%",
"Value #T": "Pod\u4e0a\u9650",
"condition": "\u72b6\u6001",
"node": "\u8282\u70b9"
}
}
},
{
"id": "filterFieldsByName",
"options": {}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "color-background"
},
"inspect": false
},
"decimals": 0,
"links": [],
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 0
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"color": "red",
"index": 1
}
},
"type": "special"
}
],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u7387"
},
"properties": [
{
"id": "unit",
"value": "percent"
},
{
"id": "custom.width",
"value": 54
},
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
},
{
"id": "decimals"
},
{
"id": "mappings",
"value": [
{
"options": {
"from": 75,
"result": {
"color": "semi-dark-red",
"index": 0
},
"to": 110
},
"type": "range"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u6302\u8f7dPod\u6570"
},
"properties": [
{
"id": "unit",
"value": "none"
},
{
"id": "custom.width",
"value": 59
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u547d\u540d\u7a7a\u95f4"
},
"properties": [
{
"id": "custom.width",
"value": 58
}
]
},
{
"matcher": {
"id": "byName",
"options": "PVC"
},
"properties": [
{
"id": "custom.width",
"value": 94
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u91cf"
},
"properties": [
{
"id": "custom.width",
"value": 57
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u91cf"
},
"properties": [
{
"id": "custom.width",
"value": 54
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 93
},
"id": 40,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "\u4f7f\u7528\u7387"
}
]
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"})",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{namespace}}:{{ persistentvolumeclaim }}",
"metric": "container_memory_usage:sort_desc",
"range": false,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "min by (namespace,persistentvolumeclaim) (kubelet_volume_stats_available_bytes{origin_prometheus=~\"$origin_prometheus\"}) + max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "__auto",
"metric": "container_memory_usage:sort_desc",
"range": false,
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"}) /(min by (namespace,persistentvolumeclaim) (kubelet_volume_stats_available_bytes{origin_prometheus=~\"$origin_prometheus\"}) + max by (namespace,persistentvolumeclaim) (kubelet_volume_stats_used_bytes{origin_prometheus=~\"$origin_prometheus\"}))*100",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{namespace}}:{{ persistentvolumeclaim }}",
"metric": "container_memory_usage:sort_desc",
"range": false,
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count by (namespace,persistentvolumeclaim)(kube_pod_spec_volumes_persistentvolumeclaims_info{origin_prometheus=~\"$origin_prometheus\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "__auto",
"metric": "container_memory_usage:sort_desc",
"range": false,
"refId": "D",
"step": 10
}
],
"title": "PVC\u5b58\u50a8\u4f7f\u7528\u60c5\u51b5",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"includeByName": {},
"indexByName": {},
"renameByName": {
"Value #A": "\u4f7f\u7528\u91cf",
"Value #B": "\u603b\u91cf",
"Value #C": "\u4f7f\u7528\u7387",
"Value #D": "\u6302\u8f7dPod\u6570",
"namespace": "\u547d\u540d\u7a7a\u95f4",
"persistentvolumeclaim": "PVC"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 6,
"y": 93
},
"id": 41,
"options": {
"legend": {
"calcs": [
"last",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\"}[2m])) by (namespace)>0.5",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ namespace }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"title": "\u5404\u547d\u540d\u7a7a\u95f4CPU\u4f7f\u7528\u6838(>0.5)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 9,
"x": 15,
"y": 93
},
"id": 42,
"options": {
"legend": {
"calcs": [
"last",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container !=\"\",container!=\"POD\"}) by (namespace) > 1*1024*1024*1024",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{namespace} {{ pod }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "\u547d\u540d\u7a7a\u95f4WSS\u5185\u5b58\u4f7f\u7528(>1G)",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "WAYOn0FGz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 101
},
"id": 43,
"panels": [],
"title": "Pod\u8d44\u6e90\u603b\u89c8\uff1a\u6240\u9009Pod:\u3010$Pod\u3011",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"displayName": "",
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 80
},
{
"color": "red",
"value": 90
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "\u547d\u540d\u7a7a\u95f4"
},
"properties": [
{
"id": "custom.width",
"value": 96
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod\u540d\u79f0"
},
"properties": [
{
"id": "custom.width",
"value": 207
},
{
"id": "custom.align",
"value": "right"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u6838\u6570"
},
"properties": [
{
"id": "custom.width",
"value": 71
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u91cd\u542f"
},
"properties": [
{
"id": "custom.width",
"value": 38
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 1
},
{
"color": "red",
"value": 3
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
},
{
"id": "decimals"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": ".*%"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "decimals",
"value": 1
},
{
"id": "custom.width",
"value": 55
},
{
"id": "min",
"value": 0
},
{
"id": "max",
"value": 1
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": ".*\u9650\u5236"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u8282\u70b9"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "\u4f7f\u7528\u6838$|WSS$|RSS$|\u5b58\u6d3b|\u6d41\u5165|\u6d41\u51fa"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5bb9\u5668\u540d"
},
"properties": [
{
"id": "custom.width",
"value": 57
},
{
"id": "custom.align",
"value": "left"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5b58\u6d3b"
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u4f7f\u7528\u6838"
},
"properties": [
{
"id": "custom.width",
"value": 62
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 58
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 68
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5185\u5b58\u9700\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 88
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "WSS$|RSS$|\u5185\u5b58\u9700\u6c42$|\u5185\u5b58\u9650\u5236$|\u78c1\u76d8.*$"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "WSS"
},
"properties": [
{
"id": "custom.width",
"value": 81
}
]
},
{
"matcher": {
"id": "byName",
"options": "RSS"
},
"properties": [
{
"id": "custom.width",
"value": 74
}
]
},
{
"matcher": {
"id": "byName",
"options": "CPU\u9700\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 72
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 83
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u78c1\u76d8\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 72
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 10737418240
},
{
"color": "red",
"value": 16106127360
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "WSS%"
},
"properties": [
{
"id": "custom.width",
"value": 77
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/\u6d41\u5165|\u6d41\u51fa/"
},
"properties": [
{
"id": "unit",
"value": "binbps"
},
{
"id": "custom.width",
"value": 80
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 102
},
"id": 44,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "WSS%"
}
]
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod,node,namespace)) ",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "CPU\u6838\u6570\u4f7f\u7528",
"refId": "Q"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "wss%",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "wss",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "rss%",
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "rss",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "kube_pod_container_status_restarts_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"} * on (pod) group_left(node) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "time() - kube_pod_created{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"} * on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "R"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "S"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "T"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "__auto",
"refId": "U"
}
],
"title": "$Node\uff1aPod\u8d44\u6e90\u660e\u7ec6(\u53ef\u5173\u8054\u8282\u70b9)",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 10": true,
"Time 11": true,
"Time 12": true,
"Time 13": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Time 7": true,
"Time 8": true,
"Time 9": true,
"Value #G": false,
"__name__": true,
"app_kubernetes_io_name": true,
"app_kubernetes_io_name 1": true,
"app_kubernetes_io_name 2": true,
"app_kubernetes_io_version": true,
"app_kubernetes_io_version 1": true,
"app_kubernetes_io_version 2": true,
"container 1": true,
"container 10": true,
"container 11": true,
"container 12": true,
"container 2": true,
"container 3": true,
"container 4": true,
"container 5": true,
"container 6": true,
"container 7": true,
"container 8": true,
"container 9": true,
"created_by_kind": true,
"created_by_name": true,
"host_ip": true,
"instance": true,
"instance 1": true,
"instance 2": true,
"job": true,
"job 1": true,
"job 2": true,
"k8s_namespace": true,
"k8s_namespace 1": true,
"k8s_namespace 2": true,
"k8s_sname": true,
"k8s_sname 1": true,
"k8s_sname 2": true,
"namespace": false,
"namespace 1": true,
"namespace 10": true,
"namespace 11": true,
"namespace 12": false,
"namespace 2": true,
"namespace 3": true,
"namespace 4": true,
"namespace 5": true,
"namespace 6": true,
"namespace 7": true,
"namespace 8": true,
"namespace 9": true,
"node 1": true,
"node 10": true,
"node 11": false,
"node 12": true,
"node 2": true,
"node 3": true,
"node 4": true,
"node 5": true,
"node 6": true,
"node 7": true,
"node 8": true,
"node 9": true,
"origin_prometheus": true,
"origin_prometheus 1": true,
"origin_prometheus 2": true,
"phase": true,
"pod_ip": true,
"priority_class": true,
"uid": true
},
"includeByName": {},
"indexByName": {
"Time": 21,
"Value #A": 4,
"Value #B": 16,
"Value #C": 7,
"Value #D": 10,
"Value #E": 17,
"Value #F": 9,
"Value #G": 23,
"Value #H": 14,
"Value #I": 5,
"Value #J": 13,
"Value #K": 11,
"Value #L": 6,
"Value #M": 24,
"Value #N": 25,
"Value #O": 26,
"Value #P": 27,
"Value #Q": 8,
"Value #R": 15,
"Value #S": 12,
"container": 2,
"instance": 18,
"ip": 28,
"job": 19,
"namespace": 1,
"node": 0,
"origin_prometheus": 20,
"pod": 3,
"uid": 22
},
"renameByName": {
"Value #A": "CPU%",
"Value #B": "CPU\u9700\u6c42",
"Value #C": "CPU\u9650\u5236",
"Value #D": "WSS",
"Value #E": "\u5185\u5b58\u9700\u6c42",
"Value #F": "\u5185\u5b58\u9650\u5236",
"Value #H": "\u91cd\u542f",
"Value #I": "WSS%",
"Value #J": "\u78c1\u76d8\u4f7f\u7528",
"Value #K": "RSS",
"Value #L": "RSS%",
"Value #M": "\u5806\u5185\u5b58",
"Value #N": "max\u5806",
"Value #O": "\u975e\u5806",
"Value #P": "max\u975e\u5806",
"Value #Q": "\u4f7f\u7528\u6838",
"Value #R": "\u5b58\u6d3b",
"Value #S": "\u78c1\u76d8\u9650\u5236",
"Value #T": "\u6d41\u5165",
"Value #U": "\u6d41\u51fa",
"container": "\u5bb9\u5668\u540d",
"instance": "",
"ip": "POD IP",
"namespace": "\u547d\u540d\u7a7a\u95f4",
"namespace 1": "",
"namespace 12": "\u547d\u540d\u7a7a\u95f4",
"node": "\u8282\u70b9",
"node 1": "",
"node 11": "\u8282\u70b9",
"pod": "Pod\u540d\u79f0",
"priority_class": ""
}
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"\u8282\u70b9",
"\u547d\u540d\u7a7a\u95f4",
"\u5bb9\u5668\u540d",
"Pod\u540d\u79f0",
"CPU%",
"WSS%",
"RSS%",
"CPU\u9650\u5236",
"\u4f7f\u7528\u6838",
"\u5185\u5b58\u9650\u5236",
"WSS",
"RSS",
"\u78c1\u76d8\u9650\u5236",
"\u78c1\u76d8\u4f7f\u7528",
"\u91cd\u542f",
"CPU\u9700\u6c42",
"\u5185\u5b58\u9700\u6c42",
"\u6d41\u5165",
"\u6d41\u51fa",
"\u5b58\u6d3b"
]
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 110
},
"id": 45,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "max(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod) / (max(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}/100000) by (container, pod)) * 100",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ pod }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"title": "Pod\u5bb9\u5668CPU\u4f7f\u7528\u7387(\u6700\u5927100%\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 110
},
"id": 46,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ max(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100",
"interval": "",
"intervalFactor": 1,
"legendFormat": "WSS\uff1a{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod)/ max(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod) * 100",
"interval": "",
"intervalFactor": 1,
"legendFormat": "RSS\uff1a{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "(cass_jvm_heap{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) / (cass_jvm_heap_max{service=~\"$Container\"} * on (pod_ip) group_right(service) kube_pod_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\"}) * 100",
"hide": true,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Heap\uff1a{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"refId": "C",
"step": 10
}
],
"title": "Pod\u5bb9\u5668\u5185\u5b58\u4f7f\u7528\u7387(\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 110
},
"id": 47,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(max(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u5165:{{ pod}}",
"metric": "network",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(max(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(pod) *8",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u51fa:{{ pod}}",
"metric": "network",
"range": true,
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "__auto",
"metric": "network",
"range": true,
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info) by(pod) *8",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "__auto",
"metric": "network",
"range": true,
"refId": "D",
"step": 10
}
],
"title": "Pod\u6bcf\u79d2\u7f51\u7edc\u5e26\u5bbd (\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/\u9650\u5236.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 0,
"y": 119
},
"id": 48,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "max(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (container, pod,node,namespace)",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "CPU\u4f7f\u7528\uff1a{{ pod }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "max(max(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)) by(container)",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod CPU\u9650\u5236\uff1a{{ container}}",
"metric": "container_cpu",
"refId": "B",
"step": 10
}
],
"title": "Pod\u5bb9\u5668CPU\u6838\u4f7f\u7528",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u9650\u5236/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 8,
"x": 8,
"y": 119
},
"id": 49,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "WSS\uff1a{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "max(max(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",pod=~\"$Pod\",container =~\"$Container\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container,pod,node,namespace)) by(container)",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Pod\u5185\u5b58\u9650\u5236\uff1a{{ container}}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "B",
"step": 10
}
],
"title": "Pod\u5bb9\u5668WSS\u5185\u5b58\u4f7f\u7528(\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 8,
"x": 16,
"y": 119
},
"id": 50,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "max (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",container =~\"$Container\",container !=\"\",container!=\"POD\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}) by (container, pod,node,namespace)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "RSS\uff1a{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "Pod\u5bb9\u5668RSS\u5185\u5b58\u4f7f\u7528(\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "WAYOn0FGz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 128
},
"id": 51,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green"
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": ".*%"
},
"properties": [
{
"id": "unit",
"value": "percentunit"
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "gauge",
"valueDisplayMode": "color"
}
},
{
"id": "max",
"value": 1
},
{
"id": "min",
"value": 0
},
{
"id": "color",
"value": {
"mode": "continuous-GrYlRd"
}
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": ".*\u5185\u5b58\u4f7f\u7528$|.*\u5185\u5b58\u9650\u5236$|.*\u5185\u5b58\u9700\u6c42$|.*\u78c1\u76d8\u4f7f\u7528$|.*\u78c1\u76d8\u9650\u5236$"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u547d\u540d\u7a7a\u95f4"
},
"properties": [
{
"id": "custom.width",
"value": 92
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5bb9\u5668\u540d"
},
"properties": [
{
"id": "custom.width",
"value": 187
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603bCPU\u6838\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 100
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pod"
},
"properties": [
{
"id": "custom.width",
"value": 44
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747CPU\u4f7f\u7528%"
},
"properties": [
{
"id": "custom.width",
"value": 116
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747RSS\u5185\u5b58\u4f7f\u7528%"
},
"properties": [
{
"id": "custom.width",
"value": 141
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747WSS\u5185\u5b58\u4f7f\u7528%"
},
"properties": [
{
"id": "custom.width",
"value": 165
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603bCPU\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 86
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 86
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u9650\u5236$/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*\u5185\u5b58\u4f7f\u7528$|.*\u6838\u4f7f\u7528$/"
},
"properties": [
{
"id": "custom.cellOptions",
"value": {
"type": "color-text"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603bRSS\u5185\u5b58\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 107
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603bWSS\u5185\u5b58\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 113
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747\u78c1\u76d8\u4f7f\u7528"
},
"properties": [
{
"id": "custom.width",
"value": 96
},
{
"id": "custom.cellOptions",
"value": {
"type": "color-background"
}
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "orange",
"value": 10737418240
},
{
"color": "red",
"value": 16106127360
}
]
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u5e73\u5747\u78c1\u76d8\u9650\u5236"
},
"properties": [
{
"id": "custom.width",
"value": 96
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603bCPU\u9700\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
},
{
"matcher": {
"id": "byName",
"options": "\u603b\u5185\u5b58\u9700\u6c42"
},
"properties": [
{
"id": "custom.width",
"value": 80
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 3
},
"id": 87,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "\u5e73\u5747WSS\u5185\u5b58\u4f7f\u7528%"
}
]
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u6838\u6570\u4f7f\u7528",
"refId": "L"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u5e73\u5747\u5185\u5b58%(RSS)",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "\u603b\u5185\u5b58\u4f7f\u7528(RSS) ",
"refId": "K"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(container) (kube_pod_container_resource_requests{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": false,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"memory\", unit=\"byte\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg(container_fs_usage_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by(container,namespace)",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg(container_fs_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "M"
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u8d44\u6e90\u7edf\u8ba1",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 10": true,
"Time 11": true,
"Time 12": true,
"Time 2": true,
"Time 3": true,
"Time 4": true,
"Time 5": true,
"Time 6": true,
"Time 7": true,
"Time 8": true,
"Time 9": true
},
"includeByName": {},
"indexByName": {
"Time": 15,
"Value #A": 3,
"Value #B": 13,
"Value #C": 6,
"Value #D": 9,
"Value #E": 14,
"Value #F": 8,
"Value #G": 2,
"Value #H": 5,
"Value #I": 4,
"Value #J": 12,
"Value #K": 10,
"Value #L": 7,
"Value #M": 11,
"container": 1,
"namespace": 0
},
"renameByName": {
"Time 1": "",
"Value #A": "\u5e73\u5747CPU\u4f7f\u7528%",
"Value #B": "\u603bCPU\u9700\u6c42",
"Value #C": "\u603bCPU\u9650\u5236",
"Value #D": "\u603bWSS\u5185\u5b58\u4f7f\u7528",
"Value #E": "\u603b\u5185\u5b58\u9700\u6c42",
"Value #F": "\u603b\u5185\u5b58\u9650\u5236",
"Value #G": "Pod",
"Value #H": "\u5e73\u5747RSS\u5185\u5b58\u4f7f\u7528%",
"Value #I": "\u5e73\u5747WSS\u5185\u5b58\u4f7f\u7528%",
"Value #J": "\u5e73\u5747\u78c1\u76d8\u4f7f\u7528",
"Value #K": "\u603bRSS\u5185\u5b58\u4f7f\u7528",
"Value #L": "\u603bCPU\u6838\u4f7f\u7528",
"Value #M": "\u5e73\u5747\u78c1\u76d8\u9650\u5236",
"container": "\u5bb9\u5668\u540d",
"namespace": "\u547d\u540d\u7a7a\u95f4"
}
}
},
{
"id": "filterFieldsByName",
"options": {}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 12
},
"id": 24,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"exemplar": true,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container) / (sum(container_spec_cpu_quota{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}/100000) by (container)) * 100",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ container}}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u5e73\u5747CPU\u4f7f\u7528\u7387(\u6700\u5927100%)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 12
},
"id": 89,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
"interval": "",
"intervalFactor": 1,
"legendFormat": "WSS\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)/ sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container) * 100",
"interval": "",
"intervalFactor": 1,
"legendFormat": "RSS\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"refId": "B",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u5e73\u5747\u5185\u5b58\u4f7f\u7528\u7387",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 12
},
"id": 16,
"options": {
"legend": {
"calcs": [
"mean",
"last",
"max"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(sum(irate(container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(container) *8",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u5165:{{ container }}",
"metric": "network",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(sum(irate(container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",node=~\"^$Node$\",namespace=~\"$NameSpace\"}[2m])) by (pod)* on(pod) group_right kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container =~\"$Container\"}) by(container) *8",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u6d41\u51fa:{{ container }}",
"metric": "network",
"range": true,
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "sum (rate (container_network_receive_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "-> {{ pod }}",
"metric": "network",
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{origin_prometheus=~\"$origin_prometheus\",pod=~\"$Pod\",image!=\"\",name=~\"^k8s_.*\",node=~\"^$Node$\",namespace=~\"$NameSpace\",pod=~\".*$Container.*\"}[2m])) by (pod)",
"hide": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "<- {{ pod }}",
"metric": "network",
"refId": "D",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u6bcf\u79d2\u7f51\u7edc\u5e26\u5bbd (\u53ef\u5173\u8054\u8282\u70b9)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/CPU\u9650\u5236.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 19
},
"id": 91,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(kube_pod_container_resource_limits{origin_prometheus=~\"$origin_prometheus\",resource=\"cpu\", unit=\"core\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "CPU\u9650\u5236\uff1a{{ container}}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(irate(container_cpu_usage_seconds_total{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}[2m])) by (container)",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "CPU\u6838\u4f7f\u7528\uff1a{{ container}}",
"metric": "container_cpu",
"refId": "B",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u6574\u4f53CPU\u4f7f\u7528\u6838",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/\u5185\u5b58\u9650\u5236.*/"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 19
},
"id": 90,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true,
"sortBy": "Max",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "sum (container_memory_working_set_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "WSS\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "sum(container_spec_memory_limit_bytes{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "\u5185\u5b58\u9650\u5236\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "sum (container_memory_rss{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by (container)",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "RSS\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "C",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u6574\u4f53\u5185\u5b58\u4f7f\u7528\u91cf",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 19
},
"id": 59,
"options": {
"legend": {
"calcs": [
"max",
"last",
"mean"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "10.4.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "ds-prometheus"
},
"editorMode": "code",
"expr": "count(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",container =~\"$Container\",container !=\"\",container!=\"POD\",namespace=~\"$NameSpace\"}) by(container,namespace)",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{namespace}}\uff1a{{ container }}",
"metric": "container_memory_usage:sort_desc",
"range": true,
"refId": "A",
"step": 10
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)Pod\u6570",
"type": "timeseries"
}
],
"title": "\u5fae\u670d\u52a1(\u5bb9\u5668\u540d)\u8d44\u6e90\u603b\u89c8\uff1a\u6240\u9009\u5fae\u670d\u52a1:\u3010$Container\u3011",
"type": "row"
}
],
"schemaVersion": 39,
"tags": [
"HOME",
"Pigsty"
],
"templating": {
"list": [
{
"name": "version",
"type": "constant",
"query": "v4.0.0",
"hide": 2
},
{
"name": "origin_prometheus",
"label": "\u6570\u636e\u6e90",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(kube_node_info,origin_prometheus)",
"refresh": 1
},
{
"name": "NameSpace",
"label": "\u547d\u540d\u7a7a\u95f4",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(kube_namespace_created{origin_prometheus=~\"$origin_prometheus\"},namespace)"
},
{
"name": "Container",
"label": "\u670d\u52a1",
"description": "\u670d\u52a1\uff08\u5bb9\u5668\uff09",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\"},container)"
},
{
"name": "Pod",
"label": "Pod",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(kube_pod_container_info{origin_prometheus=~\"$origin_prometheus\",namespace=~\"$NameSpace\",container=~\"$Container\"},pod)"
},
{
"name": "hostname",
"label": "\u4e3b\u673a\u540d",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\", job=~\"$job\"},nodename)"
},
{
"name": "node",
"label": "\u5b9e\u4f8b IP",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\", job=~\"$job\", nodename=~\"$hostname\"},instance)"
},
{
"name": "device",
"label": "\u7f51\u5361",
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(node_network_info{origin_prometheus=~\"$origin_prometheus\", job=~\"$job\", instance=~\"$node\", device!~\"'tap.*|veth.*|br.*|docker.*|virbr.*|lo.*|cni.*'\"},device)"
},
{
"name": "interval",
"label": "\u91c7\u6837\u95f4\u9694",
"type": "interval",
"query": "3m,5m,10m,30m,1h,6h,12h,1d"
},
{
"name": "job",
"label": "JOB\uff08\u9ad8\u7ea7\uff09",
"hide": 2,
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\"},job)"
},
{
"name": "Node",
"label": "\u8282\u70b9\u6c60\uff08\u9ad8\u7ea7\uff09",
"hide": 2,
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(kube_node_info{origin_prometheus=~\"$origin_prometheus\"},node)"
},
{
"name": "maxmount",
"hide": 2,
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "query_result(topk(1,sort_desc(max(node_filesystem_size_bytes{origin_prometheus=~\"$origin_prometheus\",instance=~\"$node\",fstype=~\"ext.?|xfs\",mountpoint!~\".*pods.*\"}) by (mountpoint))))"
},
{
"name": "show_hostname",
"hide": 2,
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "label_values(node_uname_info{origin_prometheus=~\"$origin_prometheus\", job=~\"$job\", nodename=~\"$hostname\", instance=~\"$node\"},nodename)"
},
{
"name": "total",
"hide": 2,
"type": "query",
"datasource": {
"uid": "ds-prometheus"
},
"query": "query_result(count(node_uname_info{origin_prometheus=~\"$origin_prometheus\",job=~\"$job\"}))"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Homepage",
"uid": "home",
"version": 1
}