604 lines
14 KiB
JSON
604 lines
14 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_PROMETHUES-8",
|
|
"label": "promethues-8",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "5.2.4"
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "table",
|
|
"name": "Table",
|
|
"version": "5.0.0"
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"columns": [],
|
|
"datasource": "${DS_PROMETHUES-8}",
|
|
"fontSize": "100%",
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 4,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"repeatDirection": "h",
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 2,
|
|
"desc": false
|
|
},
|
|
"styles": [
|
|
{
|
|
"alias": "Time",
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"pattern": "Time",
|
|
"type": "date"
|
|
},
|
|
{
|
|
"alias": "State",
|
|
"colorMode": "cell",
|
|
"colors": [
|
|
"#bf1b00",
|
|
"rgb(22, 191, 17)",
|
|
"#bf1b00"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"link": false,
|
|
"mappingType": 1,
|
|
"pattern": "Value",
|
|
"preserveFormat": false,
|
|
"sanitize": false,
|
|
"thresholds": [
|
|
"1"
|
|
],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"text": "down",
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "__name__",
|
|
"thresholds": [],
|
|
"type": "hidden",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "process",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "job",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "minio",
|
|
"value": "minio_filelog_astana"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "State",
|
|
"colorMode": "cell",
|
|
"colors": [
|
|
"#bf1b00",
|
|
"rgb(13, 231, 28)",
|
|
"#bf1b00"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #A",
|
|
"thresholds": [
|
|
"1"
|
|
],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"text": "down",
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "Uptime",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 1,
|
|
"mappingType": 1,
|
|
"pattern": "Value #B",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "s"
|
|
},
|
|
{
|
|
"alias": "CPU",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #C",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "percentunit"
|
|
},
|
|
{
|
|
"alias": "Openfds",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 0,
|
|
"mappingType": 1,
|
|
"pattern": "Value #D",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "MAXfds",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 0,
|
|
"mappingType": 1,
|
|
"pattern": "Value #E",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "MEM",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #F",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "percentunit"
|
|
},
|
|
{
|
|
"alias": "Threads",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 0,
|
|
"mappingType": 1,
|
|
"pattern": "Value #G",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "Restart24H",
|
|
"colorMode": "cell",
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 0,
|
|
"mappingType": 1,
|
|
"pattern": "Value #H",
|
|
"thresholds": [
|
|
"1",
|
|
"4"
|
|
],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "RecvState",
|
|
"colorMode": "cell",
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"#3f6833",
|
|
"#e24d42"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #I",
|
|
"thresholds": [
|
|
"1",
|
|
"3"
|
|
],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "Normal",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"text": "down",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"text": "VersionError",
|
|
"value": "3"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "MainVersion",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #J",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "LatestVer-T1",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #K",
|
|
"thresholds": [],
|
|
"type": "string",
|
|
"unit": "short"
|
|
},
|
|
{
|
|
"alias": "TotalCfgs-T1",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "Value #L",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "LatestVer-VoIP",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 0,
|
|
"mappingType": 1,
|
|
"pattern": "Value #M",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "PostServer",
|
|
"colorMode": "cell",
|
|
"colors": [
|
|
"rgba(40, 233, 13, 0.9)",
|
|
"#cca300",
|
|
"#bf1b00"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": 2,
|
|
"mappingType": 1,
|
|
"pattern": "Value #N",
|
|
"thresholds": [
|
|
"1",
|
|
"2"
|
|
],
|
|
"type": "string",
|
|
"unit": "short",
|
|
"valueMaps": [
|
|
{
|
|
"text": "OK",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"text": "uping",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"text": "down",
|
|
"value": "2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "TotalCfgs-VoIP",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
"decimals": null,
|
|
"mappingType": 1,
|
|
"pattern": "Value #O",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "none"
|
|
},
|
|
{
|
|
"alias": "",
|
|
"colorMode": null,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"decimals": 2,
|
|
"pattern": "/.*/",
|
|
"thresholds": [],
|
|
"type": "number",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"expr": "up{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"expr": "0+process_main_version{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "J"
|
|
},
|
|
{
|
|
"expr": "0+process_uptime_seconds{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"expr": "0+sum_over_time(restart_times{job=~\"doris\"}[24h])",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"refId": "H"
|
|
},
|
|
{
|
|
"expr": "irate(process_cpu_seconds_total{job=~\"doris\"}[1m])",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"expr": "0+(process_resident_memory_bytes{job=~\"doris\"}/process_total_memory_bytes{job=~\"doris\"})",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"expr": "0+process_active_threads{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"expr": "0+process_max_fds{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"expr": "0+process_open_fds{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"expr": "0+http_post_server_status{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "N"
|
|
},
|
|
{
|
|
"expr": "0+latest_cfg_version_T1_1{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "K"
|
|
},
|
|
{
|
|
"expr": "0+total_config_num_T1_1{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "L"
|
|
},
|
|
{
|
|
"expr": "0+user_defined_status{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "I"
|
|
},
|
|
{
|
|
"expr": "0+latest_cfg_version_VoIP{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "M"
|
|
},
|
|
{
|
|
"expr": "0+total_config_num_VoIP{job=~\"doris\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"refId": "O"
|
|
}
|
|
],
|
|
"title": "Doris运行状态",
|
|
"transform": "table",
|
|
"type": "table"
|
|
}
|
|
],
|
|
"refresh": "10s",
|
|
"schemaVersion": 16,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
]
|
|
},
|
|
"timezone": "",
|
|
"title": "配置分发网络运行状态",
|
|
"uid": "HZfW8wi7k",
|
|
"version": 14
|
|
} |