2400 lines
69 KiB
JSON
2400 lines
69 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": "Platform engineering entry dashboard",
|
|
"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": "\u603b\u89c8\u5bfc\u822a",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"padding:6px 2px 0 2px;\">\n <div style=\"display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:10px;\">\n <div>\n <div style=\"font-size:11px;color:#6b7280;margin-bottom:4px;\">Platform Engineering Home</div>\n <div style=\"font-size:24px;font-weight:800;color:#111827;line-height:1.15;\">\u5e73\u53f0\u5de5\u7a0b\u603b\u89c8\u5165\u53e3</div>\n <div style=\"font-size:12px;color:#4b5563;margin-top:4px;line-height:1.45;\">\u6309 IaaS\u3001PaaS\u3001SaaS \u9010\u5c42\u4e0b\u94bb\uff0c\u9996\u9875\u53ea\u4fdd\u7559\u5165\u53e3\u4e0e\u5168\u5c40\u8109\u640f\u3002</div>\n </div>\n <div style=\"font-size:11px;color:#94a3b8;font-weight:700;letter-spacing:0.04em;\">IaaS \u2192 PaaS \u2192 SaaS</div>\n </div>\n <div style=\"display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;\">\n <div style=\"border:1px solid #c7d2fe;border-radius:999px;padding:12px 18px;background:#eef4ff;min-height:0;display:flex;align-items:center;justify-content:center;\">\n <div style=\"text-align:center;\">\n <div style=\"font-size:26px;color:#1d4ed8;font-weight:800;line-height:1.1;\">IaaS\u8d44\u6e90</div>\n <div style=\"font-size:12px;color:#5b6b91;margin-top:4px;\">\u8ba1\u7b97 / \u5b58\u50a8 / \u7f51\u7edc</div>\n </div>\n </div>\n <div style=\"border:1px solid #bbf7d0;border-radius:999px;padding:12px 18px;background:#effdf4;min-height:0;display:flex;align-items:center;justify-content:center;\">\n <div style=\"text-align:center;\">\n <div style=\"font-size:26px;color:#047857;font-weight:800;line-height:1.1;\">PaaS\u670d\u52a1</div>\n <div style=\"font-size:12px;color:#537566;margin-top:4px;\">\u63a7\u5236\u9762 / \u96c6\u7fa4 / DB / \u7f13\u5b58</div>\n </div>\n </div>\n <div style=\"border:1px solid #fed7aa;border-radius:999px;padding:12px 18px;background:#fff7ed;min-height:0;display:flex;align-items:center;justify-content:center;\">\n <div style=\"text-align:center;\">\n <div style=\"font-size:26px;color:#c2410c;font-weight:800;line-height:1.1;\">\u4e1a\u52a1\u76d1\u63a7</div>\n <div style=\"font-size:12px;color:#8a6b53;margin-top:4px;\">\u4ee3\u7406 / \u8bf7\u6c42</div>\n </div>\n </div>\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "row",
|
|
"title": "\u5e73\u53f0\u8109\u640f",
|
|
"collapsed": false,
|
|
"panels": [],
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 5
|
|
}
|
|
},
|
|
{
|
|
"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": {
|
|
"x": 0,
|
|
"y": 6,
|
|
"w": 4,
|
|
"h": 6
|
|
},
|
|
"id": 3,
|
|
"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": {
|
|
"x": 4,
|
|
"y": 6,
|
|
"w": 4,
|
|
"h": 6
|
|
},
|
|
"id": 4,
|
|
"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": {
|
|
"x": 8,
|
|
"y": 6,
|
|
"w": 8,
|
|
"h": 6
|
|
},
|
|
"id": 5,
|
|
"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"
|
|
},
|
|
{
|
|
"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": {
|
|
"x": 16,
|
|
"y": 6,
|
|
"w": 8,
|
|
"h": 6
|
|
},
|
|
"id": 6,
|
|
"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"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "row",
|
|
"title": "IAAS\u8d44\u6e90",
|
|
"collapsed": false,
|
|
"panels": [],
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 12
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "text",
|
|
"title": "\u8ba1\u7b97\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 13
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">IAAS / \u8ba1\u7b97</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u8ba1\u7b97</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">\u4e3b\u673a\u5bb9\u91cf\u3001\u8282\u70b9\u5065\u5eb7\u3001\u5b9e\u4f8b\u544a\u8b66</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Node Overview</li><li style='margin:0 0 4px 18px;'>Node Instance</li><li style='margin:0 0 4px 18px;'>Node Alert</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "text",
|
|
"title": "\u5b58\u50a8\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 13
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">IAAS / \u5b58\u50a8</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u5b58\u50a8</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">\u78c1\u76d8\u3001\u5377\u3001\u5bf9\u8c61\u5b58\u50a8\u3001JuiceFS</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Node Disk</li><li style='margin:0 0 4px 18px;'>MinIO Overview</li><li style='margin:0 0 4px 18px;'>Node JuiceFS</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "text",
|
|
"title": "\u7f51\u7edc\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 13
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">IAAS / \u7f51\u7edc</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u7f51\u7edc</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">VIP\u3001\u8282\u70b9\u7f51\u7edc\u3001\u5e95\u5c42\u8fde\u901a\u6027</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Node VIP</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "dashlist",
|
|
"title": "\u8ba1\u7b97\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 18
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"IAAS-COMPUTE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"type": "dashlist",
|
|
"title": "\u5b58\u50a8\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 18
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"IAAS-STORAGE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "dashlist",
|
|
"title": "\u7f51\u7edc\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 18
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"IAAS-NETWORK"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 14,
|
|
"type": "row",
|
|
"title": "PaaS\u670d\u52a1",
|
|
"collapsed": false,
|
|
"panels": [],
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 27
|
|
}
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "text",
|
|
"title": "\u5e73\u53f0\u63a7\u5236\u9762\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 28
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">PaaS / \u5e73\u53f0\u63a7\u5236\u9762</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u5e73\u53f0\u63a7\u5236\u9762</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">Grafana\u3001Victoria\u3001Alertmanager\u3001Etcd\u3001CMDB</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Infra Overview</li><li style='margin:0 0 4px 18px;'>Victoria Metrics</li><li style='margin:0 0 4px 18px;'>Alert Manager</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": "text",
|
|
"title": "\u96c6\u7fa4\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 28
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">PaaS / \u96c6\u7fa4</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u96c6\u7fa4</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">K8S \u96c6\u7fa4\u8d44\u6e90\u3001\u547d\u540d\u7a7a\u95f4\u4e0e\u5de5\u4f5c\u8d1f\u8f7d\u5165\u53e3</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>K8S Dashboard</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": "text",
|
|
"title": "DB\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 28
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">PaaS / DB</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">DB</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">PGSQL\u3001PGRDS\u3001PGCAT\u3001Ferret</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>PGSQL Overview</li><li style='margin:0 0 4px 18px;'>PGSQL Cluster</li><li style='margin:0 0 4px 18px;'>PGCAT Instance</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 18,
|
|
"type": "text",
|
|
"title": "\u7f13\u5b58\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 28
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">PaaS / \u7f13\u5b58</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u7f13\u5b58</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">Redis \u96c6\u7fa4\u3001\u5b9e\u4f8b\u4e0e\u7f13\u5b58\u670d\u52a1\u8fd0\u884c\u9762</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Redis Overview</li><li style='margin:0 0 4px 18px;'>Redis Cluster</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "dashlist",
|
|
"title": "\u5e73\u53f0\u63a7\u5236\u9762\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 33
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"PAAS-CONTROL-PLANE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 20,
|
|
"type": "dashlist",
|
|
"title": "\u96c6\u7fa4\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 33
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"PAAS-CLUSTER"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "dashlist",
|
|
"title": "DB\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 14,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 33
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"PAAS-DB"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "dashlist",
|
|
"title": "\u7f13\u5b58\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 33
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"PAAS-CACHE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 23,
|
|
"type": "row",
|
|
"title": "\u4e1a\u52a1\u76d1\u63a7",
|
|
"collapsed": false,
|
|
"panels": [],
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 47
|
|
}
|
|
},
|
|
{
|
|
"id": 24,
|
|
"type": "text",
|
|
"title": "\u4ee3\u7406\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 48
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">\u4e1a\u52a1\u5355\u5143 / \u4ee3\u7406</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u4ee3\u7406</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">Nginx\u3001HAProxy \u4e0e\u6d41\u91cf\u63a5\u5165\u5c42</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>Nginx Instance</li><li style='margin:0 0 4px 18px;'>Node HAProxy</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 25,
|
|
"type": "text",
|
|
"title": "\u8bf7\u6c42\u6458\u8981",
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 48
|
|
},
|
|
"transparent": true,
|
|
"options": {
|
|
"content": "\n<div style=\"border:1px solid #d1d5db;border-radius:16px;padding:14px 16px;background:#fbfdff;height:100%;\">\n <div style=\"font-size:12px;color:#6b7280;margin-bottom:6px;\">\u4e1a\u52a1\u5355\u5143 / \u8bf7\u6c42</div>\n <div style=\"font-size:20px;font-weight:800;color:#111827;margin-bottom:8px;\">\u8bf7\u6c42</div>\n <div style=\"font-size:13px;line-height:1.5;color:#4b5563;\">\u8bf7\u6c42\u65e5\u5fd7\u3001\u4f1a\u8bdd\u3001\u94fe\u8def\u4e0e\u8bf7\u6c42\u7ea7\u89c2\u6d4b</div>\n <ul style=\"margin:10px 0 12px 0;padding:0;color:#111827;font-size:13px;line-height:1.45;\"><li style='margin:0 0 4px 18px;'>PGLOG Overview</li><li style='margin:0 0 4px 18px;'>Logs Instance</li><li style='margin:0 0 4px 18px;'>Node Vector</li></ul>\n <div style=\"display:inline-block;padding:8px 12px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:700;\">\n \u53f3\u4fa7\u4fdd\u7559\u53ef\u8df3\u8f6c\u76ee\u5f55\n </div>\n</div>\n",
|
|
"mode": "html"
|
|
}
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "dashlist",
|
|
"title": "\u4ee3\u7406\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 53
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"BU-PROXY"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": "dashlist",
|
|
"title": "\u8bf7\u6c42\u76ee\u5f55",
|
|
"pluginVersion": "12.3.0",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 53
|
|
},
|
|
"options": {
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"maxItems": 20,
|
|
"query": "",
|
|
"showFolderNames": false,
|
|
"showHeadings": false,
|
|
"showRecentlyViewed": false,
|
|
"showSearch": false,
|
|
"showStarred": false,
|
|
"tags": [
|
|
"BU-REQUEST"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"schemaVersion": 39,
|
|
"tags": [
|
|
"HOME",
|
|
"Platform"
|
|
],
|
|
"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": "interval",
|
|
"label": "\u91c7\u6837\u95f4\u9694",
|
|
"type": "interval",
|
|
"query": "3m,5m,10m,30m,1h,6h,12h,1d"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "browser",
|
|
"title": "Homepage",
|
|
"uid": "home",
|
|
"version": 1
|
|
} |