n9e 仪表盘模板

all server

{
    "name": " all server",
    "tags": "",
    "ident": "",
    "uuid": 1764927658751000,
    "configs": {
        "links": [
            {
                "targetBlank": true,
                "title": "n9e",
                "url": "https://n9e.github.io/"
            },
            {
                "targetBlank": true,
                "title": "author",
                "url": "http://flashcat.cloud/"
            }
        ],
        "panels": [
            {
                "custom": {
                    "calc": "lastNotNull",
                    "colorRange": [
                        "thresholds"
                    ],
                    "detailUrl": "/dashboards/linux-host-by-categraf?ident=${__field.labels.ident}",
                    "textMode": "valueAndName"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${prom}",
                "id": "21b8b3ab-26aa-47cb-b814-f310f2d143aa",
                "layout": {
                    "h": 5,
                    "w": 12,
                    "x": 0,
                    "y": 0,
                    "i": "21b8b3ab-26aa-47cb-b814-f310f2d143aa",
                    "isResizable": true
                },
                "maxPerRow": 4,
                "name": "CPU利用率",
                "options": {
                    "standardOptions": {
                        "util": "percent"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#ef3c3c",
                                "type": "",
                                "value": 95
                            },
                            {
                                "color": "#ff656b",
                                "type": "",
                                "value": 85
                            },
                            {
                                "color": "#ffae39",
                                "type": "",
                                "value": 75
                            },
                            {
                                "color": "#2c9d3d",
                                "type": "base",
                                "value": null
                            }
                        ]
                    }
                },
                "targets": [
                    {
                        "expr": "cpu_usage_active{cpu=\"cpu-total\", ident=~\"$ident\"}",
                        "instant": true,
                        "legend": "{{ident}}",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "type": "hexbin",
                "version": "3.0.0"
            },
            {
                "custom": {
                    "calc": "lastNotNull",
                    "colorRange": [
                        "thresholds"
                    ],
                    "detailUrl": "/dashboards/linux-host-by-categraf?ident=${__field.labels.ident}",
                    "textMode": "valueAndName"
                },
                "datasourceCate": "prometheus",
                "datasourceValue": "${prom}",
                "id": "86d4a502-21f7-4981-9b38-ed8e696b6f49",
                "layout": {
                    "h": 5,
                    "w": 12,
                    "x": 12,
                    "y": 0,
                    "i": "872b2040-c5b0-43fe-92c7-e37cb77edffc",
                    "isResizable": true
                },
                "maxPerRow": 4,
                "name": "内存利用率",
                "options": {
                    "standardOptions": {
                        "util": "percent"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#ef3c3c",
                                "type": "",
                                "value": 95
                            },
                            {
                                "color": "#ff656b",
                                "type": "",
                                "value": 85
                            },
                            {
                                "color": "#ffae39",
                                "type": "",
                                "value": 75
                            },
                            {
                                "color": "#2c9d3d",
                                "type": "base",
                                "value": null
                            }
                        ]
                    }
                },
                "targets": [
                    {
                        "expr": "mem_used_percent{ident=~\"$ident\"}",
                        "instant": true,
                        "legend": "{{ident}}",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "type": "hexbin",
                "version": "3.0.0"
            },
            {
                "type": "table",
                "id": "77bf513a-8504-4d33-9efe-75aaf9abc9e4",
                "layout": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 5,
                    "i": "77bf513a-8504-4d33-9efe-75aaf9abc9e4",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${prom}",
                "targets": [
                    {
                        "expr": "avg(cpu_usage_active{cpu=\"cpu-total\", ident=~\"$ident\"}) by (ident)",
                        "legend": "CPU使用率",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "avg(mem_used_percent{ident=~\"$ident\"}) by (ident)",
                        "legend": "内存使用率",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "avg(mem_total{ident=~\"$ident\"}) by (ident)",
                        "legend": "总内存",
                        "refId": "C",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {
                            "renameByName": {
                                "ident": "机器"
                            }
                        }
                    }
                ],
                "name": "机器列表",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "background",
                    "calc": "lastNotNull",
                    "displayMode": "labelValuesToRows",
                    "aggrDimension": "ident",
                    "sortColumn": "ident",
                    "sortOrder": "ascend",
                    "linkMode": "appendLinkColumn",
                    "links": []
                },
                "options": {
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID",
                            "value": "A"
                        },
                        "properties": {
                            "standardOptions": {
                                "util": "percent"
                            },
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 65
                                    },
                                    "result": {
                                        "color": "#2c9d3d"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "to": 90
                                    },
                                    "result": {
                                        "color": "#ff656b"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 90
                                    },
                                    "result": {
                                        "color": "#f50505"
                                    },
                                    "type": "range"
                                }
                            ]
                        }
                    },
                    {
                        "matcher": {
                            "id": "byFrameRefID",
                            "value": "B"
                        },
                        "properties": {
                            "standardOptions": {
                                "util": "percent"
                            },
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 65
                                    },
                                    "result": {
                                        "color": "#2c9d3d"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "to": 90
                                    },
                                    "result": {
                                        "color": "#ff656b"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 90
                                    },
                                    "result": {
                                        "color": "#fa0a0a"
                                    },
                                    "type": "range"
                                }
                            ]
                        },
                        "type": "special"
                    },
                    {
                        "matcher": {
                            "id": "byFrameRefID",
                            "value": "C"
                        },
                        "properties": {
                            "standardOptions": {
                                "decimals": 2,
                                "util": "bytesIEC"
                            },
                            "valueMappings": []
                        },
                        "type": "special"
                    },
                    {
                        "matcher": {
                            "id": "byFrameRefID",
                            "value": "D"
                        },
                        "properties": {
                            "standardOptions": {
                                "decimals": 2,
                                "util": "percent"
                            },
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 90
                                    },
                                    "result": {
                                        "color": "#2c9d3d"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 90
                                    },
                                    "result": {
                                        "color": "#ff656b"
                                    },
                                    "type": "range"
                                }
                            ]
                        },
                        "type": "special"
                    }
                ]
            },
            {
                "type": "hexbin",
                "id": "7abce376-6afc-4860-b626-088e6a025588",
                "layout": {
                    "h": 7,
                    "w": 24,
                    "x": 0,
                    "y": 21,
                    "i": "7abce376-6afc-4860-b626-088e6a025588",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${prom}",
                "targets": [
                    {
                        "refId": "A",
                        "expr": "disk_used_percent{ident=~\"$ident\"}",
                        "maxDataPoints": 240,
                        "legend": "主机名:{{ident}} - 盘符:{{path}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "磁盘使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "valueAndName",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colorRange": [
                        "#83c898",
                        "#c2c2c2",
                        "#fc653f"
                    ],
                    "reverseColorOrder": false,
                    "colorDomainAuto": true
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {}
                }
            }
        ],
        "var": [
            {
                "definition": "prometheus",
                "name": "prom",
                "type": "datasource"
            },
            {
                "allOption": true,
                "datasource": {
                    "cate": "prometheus",
                    "value": "${prom}"
                },
                "definition": "label_values(system_load1,ident)",
                "multi": true,
                "name": "ident",
                "type": "query"
            }
        ],
        "version": "3.0.0"
    }
}

http

{
    "name": "HTTP detect by UlricQin",
    "tags": "",
    "ident": "",
    "uuid": 1764927744390000,
    "configs": {
        "panels": [
            {
                "type": "table",
                "id": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
                "layout": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 0,
                    "i": "3674dbfa-243a-49f6-baa5-b7f887c1afb0",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "name": "URL Details",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "background",
                    "nowrap": false,
                    "tableLayout": "fixed",
                    "calc": "lastNotNull",
                    "displayMode": "labelValuesToRows",
                    "aggrDimension": "target",
                    "sortColumn": "target",
                    "sortOrder": "ascend",
                    "pageLimit": 500,
                    "linkMode": "appendLinkColumn"
                },
                "options": {
                    "valueMappings": [],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "value": "A",
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "standardOptions": {},
                            "valueMappings": [
                                {
                                    "match": {
                                        "special": 0
                                    },
                                    "result": {
                                        "color": "#417505",
                                        "text": "UP"
                                    },
                                    "type": "special"
                                },
                                {
                                    "match": {
                                        "from": 1,
                                        "special": 1
                                    },
                                    "result": {
                                        "color": "#e90f0f",
                                        "text": "DOWN"
                                    },
                                    "type": "range"
                                }
                            ]
                        }
                    },
                    {
                        "matcher": {
                            "value": "D",
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "standardOptions": {
                                "util": "humantimeSeconds"
                            },
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 604800
                                    },
                                    "result": {
                                        "color": "#f60c0c"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "to": 2592000
                                    },
                                    "result": {
                                        "color": "#ffae39"
                                    },
                                    "type": "range"
                                }
                            ]
                        },
                        "type": "special"
                    },
                    {
                        "matcher": {
                            "value": "B",
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "standardOptions": {},
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 399
                                    },
                                    "result": {
                                        "color": "#2c9d3d"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "to": 499
                                    },
                                    "result": {
                                        "color": "#ff656b"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 500
                                    },
                                    "result": {
                                        "color": "#f10808"
                                    },
                                    "type": "range"
                                }
                            ]
                        },
                        "type": "special"
                    },
                    {
                        "matcher": {
                            "value": "C",
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "standardOptions": {
                                "util": "milliseconds"
                            },
                            "valueMappings": [
                                {
                                    "match": {
                                        "to": 400
                                    },
                                    "result": {
                                        "color": "#2c9d3d"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 400
                                    },
                                    "result": {
                                        "color": "#ff656b"
                                    },
                                    "type": "range"
                                },
                                {
                                    "match": {
                                        "from": 2000
                                    },
                                    "result": {
                                        "color": "#f11313"
                                    },
                                    "type": "range"
                                }
                            ]
                        },
                        "type": "special"
                    }
                ],
                "targets": [
                    {
                        "expr": "max(http_response_result_code{ident=~\"$ident\", system=~\"$system\"}) by (target)",
                        "instant": true,
                        "legend": "UP?",
                        "refId": "A"
                    },
                    {
                        "expr": "max(http_response_response_code{ident=~\"$ident\", system=~\"$system\"}) by (target)",
                        "instant": true,
                        "legend": "status code",
                        "refId": "B"
                    },
                    {
                        "expr": "max(http_response_response_time{ident=~\"$ident\", system=~\"$system\"}) by (target) *1000",
                        "instant": true,
                        "legend": "latency",
                        "refId": "C"
                    },
                    {
                        "expr": "max(http_response_cert_expire_timestamp{ident=~\"$ident\", system=~\"$system\"}) by (target) - time()",
                        "instant": true,
                        "legend": "cert expire",
                        "refId": "D"
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "fdc37004-e157-439d-8d33-a37c9ad26ba2",
                "layout": {
                    "h": 8,
                    "w": 24,
                    "x": 0,
                    "y": 8,
                    "i": "fdc37004-e157-439d-8d33-a37c9ad26ba2",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "name": "响应时间",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "single"
                    },
                    "legend": {
                        "displayMode": "table",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "milliseconds"
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "rgb(44, 157, 61)",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.01,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ],
                "targets": [
                    {
                        "refId": "A",
                        "expr": "(http_response_response_time_ms{ident=~\"$ident\",system=~\"$system\"}) "
                    }
                ]
            }
        ],
        "var": [
            {
                "definition": "prometheus",
                "name": "Datasource",
                "type": "datasource"
            },
            {
                "name": "ident",
                "label": "",
                "type": "query",
                "hide": false,
                "datasource": {
                    "cate": "prometheus",
                    "value": "${Datasource}"
                },
                "definition": "label_values(http_response_response_code,ident)",
                "multi": false
            },
            {
                "name": "system",
                "type": "query",
                "hide": false,
                "datasource": {
                    "cate": "prometheus",
                    "value": "${Datasource}"
                },
                "definition": "label_values(http_response_response_code{ident=\"$ident\"},system)",
                "multi": true,
                "allOption": true,
                "allValue": ""
            }
        ],
        "version": "3.0.0"
    }
}

linux

{
    "name": "Linux",
    "tags": "",
    "ident": "",
    "uuid": 1764927806743000,
    "configs": {
        "links": [
            {
                "targetBlank": true,
                "title": "n9e",
                "url": "https://n9e.github.io/"
            },
            {
                "targetBlank": true,
                "title": "author",
                "url": "http://flashcat.cloud/"
            }
        ],
        "panels": [
            {
                "collapsed": true,
                "id": "2b2de3d1-65c8-4c39-9bea-02b754e0d751",
                "layout": {
                    "h": 1,
                    "i": "2b2de3d1-65c8-4c39-9bea-02b754e0d751",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 0
                },
                "name": "单机概况",
                "type": "row"
            },
            {
                "type": "stat",
                "id": "deec579b-3090-4344-a9a6-c1455c4a8e50",
                "layout": {
                    "h": 3,
                    "i": "deec579b-3090-4344-a9a6-c1455c4a8e50",
                    "isResizable": true,
                    "w": 6,
                    "x": 0,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "system_uptime{ident=~\"$ident\"}/3600/24",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "启动时长(单位:天)",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [],
                    "standardOptions": {
                        "util": "none",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "stat",
                "id": "7a7bd5db-d12e-49f0-92a8-15958e99ee54",
                "layout": {
                    "h": 3,
                    "i": "7a7bd5db-d12e-49f0-92a8-15958e99ee54",
                    "isResizable": true,
                    "w": 6,
                    "x": 6,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "100-cpu_usage_idle{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [
                        {
                            "match": {
                                "from": 0,
                                "to": 50
                            },
                            "result": {
                                "color": "#129b22"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 50,
                                "to": 100
                            },
                            "result": {
                                "color": "#f51919"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "stat",
                "id": "8a814265-54ad-419c-8cb7-e1f84a242de0",
                "layout": {
                    "h": 3,
                    "i": "8a814265-54ad-419c-8cb7-e1f84a242de0",
                    "isResizable": true,
                    "w": 6,
                    "x": 12,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_used_percent{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "内存使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [
                        {
                            "match": {
                                "from": 0,
                                "to": 50
                            },
                            "result": {
                                "color": "#129b22"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 50,
                                "to": 100
                            },
                            "result": {
                                "color": "#f51919"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "stat",
                "id": "d7d11972-5c5b-4bc6-98f8-bbbe9f018896",
                "layout": {
                    "h": 3,
                    "i": "d7d11972-5c5b-4bc6-98f8-bbbe9f018896",
                    "isResizable": true,
                    "w": 3,
                    "x": 18,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "linux_sysctl_fs_file_nr{ident=~\"$ident\"}/linux_sysctl_fs_file_max{ident=~\"$ident\"}*100",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "FD使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 25
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [
                        {
                            "match": {
                                "from": 0,
                                "to": 50
                            },
                            "result": {
                                "color": "#129b22"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 50,
                                "to": 100
                            },
                            "result": {
                                "color": "#f51919"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 2
                    }
                }
            },
            {
                "type": "stat",
                "id": "209d3aba-5e02-4b8f-a364-65f20ba92a2c",
                "layout": {
                    "h": 3,
                    "i": "209d3aba-5e02-4b8f-a364-65f20ba92a2c",
                    "isResizable": true,
                    "w": 3,
                    "x": 21,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_swap_total{ident=~\"$ident\"}-mem_swap_free{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "SWAP使用",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 40
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [],
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "barGauge",
                "id": "b3c5dd9d-e82a-4b15-8b23-c510e2bee152",
                "layout": {
                    "h": 3,
                    "i": "b3c5dd9d-e82a-4b15-8b23-c510e2bee152",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 4
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_used_percent{ident=~\"$ident\"}",
                        "instant": false,
                        "legend": "{{ident}}-{{path}}",
                        "refId": "A",
                        "step": 60,
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "磁盘使用率",
                "maxPerRow": 4,
                "custom": {
                    "calc": "lastNotNull",
                    "baseColor": "#9470FF",
                    "serieWidth": 20,
                    "sortOrder": "desc"
                },
                "options": {
                    "standardOptions": {}
                }
            },
            {
                "type": "barGauge",
                "id": "0de74cd9-cc74-4a96-bcb2-05d3a8bde2ea",
                "layout": {
                    "h": 3,
                    "i": "0de74cd9-cc74-4a96-bcb2-05d3a8bde2ea",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 4
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_inodes_used{ident=~\"$ident\"}/disk_inodes_total{ident=~\"$ident\"}",
                        "instant": true,
                        "legend": "{{ident}}-{{path}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "inode使用率",
                "maxPerRow": 4,
                "custom": {
                    "calc": "lastNotNull",
                    "baseColor": "#9470FF",
                    "serieWidth": 20,
                    "sortOrder": "desc"
                },
                "options": {
                    "standardOptions": {}
                }
            },
            {
                "type": "timeseries",
                "id": "59afa167-434d-496c-a3ef-ceff6db7c1f6",
                "layout": {
                    "h": 3,
                    "i": "59afa167-434d-496c-a3ef-ceff6db7c1f6",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 4
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_io_time{ident=~\"$ident\"}[1m])/10",
                        "legend": "{{ident}}-{{name}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "io_util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "aabb8263-1a9b-43fb-bee1-6c532f5012a3",
                "layout": {
                    "h": 1,
                    "i": "aabb8263-1a9b-43fb-bee1-6c532f5012a3",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 7
                },
                "name": "系统指标",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "1b4da538-29d4-4c58-b3f4-773fabb8616c",
                "layout": {
                    "h": 7,
                    "i": "1b4da538-29d4-4c58-b3f4-773fabb8616c",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 8
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "processes_total{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "进程总数",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            },
                            {
                                "color": "#fa2a05",
                                "value": 2000
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "aa7adae0-ae3b-4e28-a8ce-801c65961552",
                "layout": {
                    "h": 7,
                    "i": "aa7adae0-ae3b-4e28-a8ce-801c65961552",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 8
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(kernel_context_switches{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-context_switches",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(kernel_interrupts{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-kernel_interrupts",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "上下文切换/中断",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "71e22f58-5b9a-4604-bca8-55bcef59b5fe",
                "layout": {
                    "h": 7,
                    "i": "71e22f58-5b9a-4604-bca8-55bcef59b5fe",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 8
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "kernel_entropy_avail{ident=~\"$ident\"}",
                        "legend": "{{ident}}-entropy_avail",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "熵池大小",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            },
                            {
                                "color": "#f50505",
                                "value": 100
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "10f34f8f-f94d-4a28-9551-16e6667e3833",
                "layout": {
                    "h": 1,
                    "i": "10f34f8f-f94d-4a28-9551-16e6667e3833",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 15
                },
                "name": "CPU",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "1559d880-7e26-4e42-9427-4e55fb6f67be",
                "layout": {
                    "h": 7,
                    "i": "1559d880-7e26-4e42-9427-4e55fb6f67be",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 16
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "cpu_usage_idle{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU空闲率",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            },
                            {
                                "color": "#f20202",
                                "value": 10
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "043c26de-d19f-4fe8-a615-2b7c10ceb828",
                "layout": {
                    "h": 7,
                    "i": "043c26de-d19f-4fe8-a615-2b7c10ceb828",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 16
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "cpu_usage_guest{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_guest",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_iowait{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_iowait",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_user{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_user",
                        "refId": "C",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_system{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_system",
                        "refId": "D",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_irq{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_irq",
                        "refId": "E",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_softirq{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_softirq",
                        "refId": "F",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_nice{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_nice",
                        "refId": "G",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_steal{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_steal",
                        "refId": "H",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU使用率详情",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "a420ce25-6968-47f8-8335-60cde70fd062",
                "layout": {
                    "h": 7,
                    "i": "a420ce25-6968-47f8-8335-60cde70fd062",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 16
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "system_load15{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "system_load1{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "system_load5{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU负载",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "b7a3c99f-a796-4b76-89b5-cbddd566f91c",
                "layout": {
                    "h": 1,
                    "i": "b7a3c99f-a796-4b76-89b5-cbddd566f91c",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 23
                },
                "name": "内存详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "239aacdf-1982-428b-b240-57f4ce7f946d",
                "layout": {
                    "h": 7,
                    "i": "239aacdf-1982-428b-b240-57f4ce7f946d",
                    "isResizable": true,
                    "w": 12,
                    "x": 0,
                    "y": 24
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_active{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_cached{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_buffered{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_inactive{ident=~\"$ident\"}",
                        "refId": "D",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_mapped{ident=~\"$ident\"}",
                        "refId": "E",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_shared{ident=~\"$ident\"}",
                        "refId": "F",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_swap_cached{ident=~\"$ident\"}",
                        "refId": "G",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "用户态内存使用",
                "description": "内存指标可参考链接 [/PROC/MEMINFO之谜](http://linuxperf.com/?p=142) ",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "00ed6e4d-c979-4938-a20e-56d42ca452cf",
                "layout": {
                    "h": 7,
                    "i": "00ed6e4d-c979-4938-a20e-56d42ca452cf",
                    "isResizable": true,
                    "w": 12,
                    "x": 12,
                    "y": 24
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_slab{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_sreclaimable{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_sunreclaim{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_vmalloc_used{ident=~\"$ident\"}",
                        "refId": "D",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "mem_vmalloc_chunk{ident=~\"$ident\"}",
                        "refId": "E",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "内核态内存使用",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "842a8c48-0e93-40bf-8f28-1b2f837e5c19",
                "layout": {
                    "h": 1,
                    "i": "842a8c48-0e93-40bf-8f28-1b2f837e5c19",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 31
                },
                "name": "磁盘详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "bc894871-1c03-4d12-91be-6867f394a8a6",
                "layout": {
                    "h": 7,
                    "i": "bc894871-1c03-4d12-91be-6867f394a8a6",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 32
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_free{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "disk_total{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "disk_used{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "磁盘空间",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": null
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "d825671f-7dc5-46a2-89dc-4fff084a3ae0",
                "layout": {
                    "h": 7,
                    "i": "d825671f-7dc5-46a2-89dc-4fff084a3ae0",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 32
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "linux_sysctl_fs_file_max{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "linux_sysctl_fs_file_nr{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "fd使用",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "d27b522f-9c70-42f2-9e31-fed3816fd675",
                "layout": {
                    "h": 7,
                    "i": "d27b522f-9c70-42f2-9e31-fed3816fd675",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 32
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_inodes_total{ident=~\"$ident\",path!~\"/var.*\"}",
                        "legend": "",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "disk_inodes_used{ident=~\"$ident\",path!~\"/var.*\"}",
                        "legend": "",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "inode",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "f645741e-c632-4685-b267-c7ad26b5c10e",
                "layout": {
                    "h": 7,
                    "i": "f645741e-c632-4685-b267-c7ad26b5c10e",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 39
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_reads{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-read",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(diskio_writes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-writes",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "IOPS",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "bbd1ebda-99f6-419c-90a5-5f84973976dd",
                "layout": {
                    "h": 7,
                    "i": "bbd1ebda-99f6-419c-90a5-5f84973976dd",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 39
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_read_bytes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-read",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(diskio_write_bytes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-writes",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "IO吞吐量",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "d6b45598-54c6-4b36-a896-0a7529ac21f8",
                "layout": {
                    "h": 7,
                    "i": "d6b45598-54c6-4b36-a896-0a7529ac21f8",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 39
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_write_time{ident=~\"$ident\"}[1m])/rate(diskio_writes{ident=~\"$ident\"}[1m])+rate(diskio_read_time{ident=~\"$ident\"}[1m])/rate(diskio_reads{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "iowait",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "307152d2-708c-4736-98cf-08b886cbf7f2",
                "layout": {
                    "h": 1,
                    "i": "307152d2-708c-4736-98cf-08b886cbf7f2",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 46
                },
                "name": "网络详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "f2ee5d32-737c-4095-b6b7-b15b778ffdb9",
                "layout": {
                    "h": 7,
                    "i": "f2ee5d32-737c-4095-b6b7-b15b778ffdb9",
                    "isResizable": true,
                    "w": 6,
                    "x": 0,
                    "y": 47
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_bytes_recv{ident=~\"$ident\"}[1m])*8",
                        "legend": "{{ident}}-{{interface}}-recv",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_bytes_sent{ident=~\"$ident\"}[1m])*8",
                        "legend": "{{ident}}-{{interface}}-sent",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "网络流量",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bitsIEC",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "9113323a-98f5-4bff-a8ce-3b459e7e2190",
                "layout": {
                    "h": 7,
                    "i": "9113323a-98f5-4bff-a8ce-3b459e7e2190",
                    "isResizable": true,
                    "w": 6,
                    "x": 6,
                    "y": 47
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_packets_recv{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-recv",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_packets_sent{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-sent",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "packets",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "9634c41c-e124-4d7f-9406-0f86753e8d70",
                "layout": {
                    "h": 7,
                    "i": "9634c41c-e124-4d7f-9406-0f86753e8d70",
                    "isResizable": true,
                    "w": 6,
                    "x": 12,
                    "y": 47
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_err_in{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-in",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_err_out{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-out",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "error",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "4123f4c1-bf8e-400e-b267-8d7f6a92691a",
                "layout": {
                    "h": 7,
                    "i": "4123f4c1-bf8e-400e-b267-8d7f6a92691a",
                    "isResizable": true,
                    "w": 6,
                    "x": 18,
                    "y": 47
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_drop_in{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-in",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_drop_out{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-out",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "drop",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            }
        ],
        "var": [
            {
                "name": "ident",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": 1
                },
                "definition": "label_values(linux_sysctl_fs_dentry_age_limit,ident)",
                "multi": true,
                "allOption": true,
                "allValue": ""
            }
        ],
        "version": "3.0.0"
    }
}

ping

{
    "name": "ping",
    "tags": "",
    "ident": "",
    "uuid": 1764927838968000,
    "configs": {
        "panels": [
            {
                "type": "table",
                "id": "cc788533-f60a-4fe7-bea5-9bdb20389bc9",
                "layout": {
                    "h": 6,
                    "w": 24,
                    "x": 0,
                    "y": 0,
                    "i": "cc788533-f60a-4fe7-bea5-9bdb20389bc9",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "max by(target, subnet,lable,region) (ping_result_code{region=\"$region\"})",
                        "legend": "源地址: {{subnet}}  目标地址:{{target}}",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "连通性",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "background",
                    "calc": "lastNotNull",
                    "displayMode": "labelsOfSeriesToRows",
                    "linkMode": "appendLinkColumn"
                },
                "options": {
                    "valueMappings": [
                        {
                            "match": {
                                "special": 0
                            },
                            "result": {
                                "color": "#2c9d3d",
                                "text": "UP"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 1
                            },
                            "result": {
                                "color": "#ff656b",
                                "text": "DOWN"
                            },
                            "type": "special"
                        }
                    ],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "7cea935d-7178-4c2e-8bd8-21d75d99872d",
                "layout": {
                    "h": 14,
                    "w": 24,
                    "x": 0,
                    "y": 6,
                    "i": "7cea935d-7178-4c2e-8bd8-21d75d99872d",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}",
                "targets": [
                    {
                        "expr": "ping_average_response_ms{region=\"$region\"}",
                        "refId": "D",
                        "instant": false
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "响应时间",
                "maxPerRow": 12,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "table",
                        "columns": [
                            "max",
                            "min",
                            "last",
                            "avg"
                        ],
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "milliseconds"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off",
                            "standardOptions": {
                                "util": "milliseconds"
                            }
                        }
                    }
                ]
            },
            {
                "type": "table",
                "id": "0372da5a-d139-4fc4-92e5-bbf77dc6ee3b",
                "layout": {
                    "h": 9,
                    "w": 7,
                    "x": 0,
                    "y": 20,
                    "i": "0372da5a-d139-4fc4-92e5-bbf77dc6ee3b",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}",
                "targets": [
                    {
                        "expr": "max by(target, subnet, region, lable) (ping_maximum_response_ms{region=\"$region\"})",
                        "legend": "源地址: {{subnet}}  目标地址:{{target}}",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "延迟",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "background",
                    "calc": "lastNotNull",
                    "displayMode": "labelsOfSeriesToRows",
                    "columns": [],
                    "sortOrder": "descend",
                    "linkMode": "appendLinkColumn"
                },
                "options": {
                    "valueMappings": [
                        {
                            "match": {
                                "special": -1
                            },
                            "result": {
                                "color": "#ff656b"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "from": 0,
                                "to": 5
                            },
                            "result": {
                                "color": "#61d071"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 5,
                                "to": 100
                            },
                            "result": {
                                "color": "#ecd245"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 100,
                                "to": 200
                            },
                            "result": {
                                "color": "#ffae39"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "value": "A",
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "valueMappings": []
                        }
                    }
                ]
            },
            {
                "type": "pie",
                "id": "4b8d51bf-01cf-4007-8c96-8f21378bee3f",
                "layout": {
                    "h": 9,
                    "w": 7,
                    "x": 7,
                    "y": 20,
                    "i": "4b8d51bf-01cf-4007-8c96-8f21378bee3f",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}",
                "targets": [
                    {
                        "expr": "max by(target, subnet, region, label) (ping_ttl{region=\"$region\"})",
                        "legend": "探测源: {{subnet}}目标地址: {{target }}  TTL",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "TTL",
                "maxPerRow": 4,
                "custom": {
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "legengPosition": "hidden",
                    "donut": false,
                    "labelWithName": false,
                    "detailName": "详情"
                },
                "options": {
                    "standardOptions": {}
                }
            },
            {
                "type": "hexbin",
                "id": "95ad7fba-c794-47fc-aec3-dde0a4531829",
                "layout": {
                    "h": 9,
                    "w": 10,
                    "x": 14,
                    "y": 20,
                    "i": "95ad7fba-c794-47fc-aec3-dde0a4531829",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${datasource}",
                "targets": [
                    {
                        "expr": "max by(subnet, target, region, lable) (ping_percent_packet_loss)",
                        "legend": "目标地址: {{target}}",
                        "refId": "B"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "丢包率all",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "valueAndName",
                    "calc": "last",
                    "valueField": "Value",
                    "colorRange": [
                        "#83c898",
                        "#c2c2c2",
                        "#fc653f"
                    ],
                    "reverseColorOrder": false,
                    "colorDomainAuto": false,
                    "colorDomain": [
                        0,
                        50
                    ]
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {}
                }
            },
            {
                "collapsed": true,
                "id": "200a02f9-1132-4345-a251-3e497a2e01d1",
                "layout": {
                    "h": 1,
                    "w": 24,
                    "x": 0,
                    "y": 29,
                    "i": "200a02f9-1132-4345-a251-3e497a2e01d1",
                    "isResizable": false
                },
                "name": "",
                "panels": [],
                "type": "row"
            }
        ],
        "var": [
            {
                "definition": "prometheus",
                "name": "datasource",
                "type": "datasource"
            },
            {
                "name": "region",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": 1
                },
                "definition": "label_values(ping_result_code,region)"
            }
        ],
        "version": "3.0.0"
    }
}

porcstat

{
    "name": "Procstat",
    "tags": "win-server",
    "ident": "",
    "uuid": 1764927866948000,
    "configs": {
        "panels": [
            {
                "type": "stat",
                "id": "be9aac6c-4401-4c61-8c43-574cf314ffef",
                "layout": {
                    "h": 4,
                    "w": 5,
                    "x": 0,
                    "y": 0,
                    "i": "be9aac6c-4401-4c61-8c43-574cf314ffef",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_lookup_count{ident=\"$ident\"}",
                        "instant": true,
                        "legend": "{{ident}}",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Proc Count Now",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "valueAndName",
                    "graphMode": "none",
                    "colorMode": "background",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 0,
                    "textSize": {},
                    "orientation": "auto"
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "thresholds": {
                                "steps": [
                                    {
                                        "color": "#6C53B1",
                                        "type": "base",
                                        "value": null
                                    }
                                ]
                            }
                        }
                    }
                ]
            },
            {
                "type": "table",
                "id": "da621e2c-ae2b-4375-9a66-2bec7832490b",
                "layout": {
                    "h": 4,
                    "w": 9,
                    "x": 5,
                    "y": 0,
                    "i": "79db82d9-5f46-4c45-bb9f-c23f94d99e0a",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_lookup_count{ident=~\"$ident\"}",
                        "instant": true,
                        "legend": "{{ident}} {{search_string}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Proc Count Table",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "background",
                    "nowrap": false,
                    "tableLayout": "fixed",
                    "calc": "lastNotNull",
                    "displayMode": "labelsOfSeriesToRows",
                    "columns": [
                        "ident",
                        "search_string",
                        "value"
                    ],
                    "sortColumn": "ident",
                    "sortOrder": "ascend",
                    "pageLimit": 500,
                    "linkMode": "appendLinkColumn"
                },
                "options": {
                    "valueMappings": [
                        {
                            "match": {
                                "special": 0
                            },
                            "result": {
                                "color": "#fa0c0c"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "from": 1
                            },
                            "result": {
                                "color": "#2c9d3d"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "881c04fd-8804-432e-9b34-b4761590de20",
                "layout": {
                    "h": 4,
                    "w": 10,
                    "x": 14,
                    "y": 0,
                    "i": "24b55362-d900-43c0-98d5-f2e994bf22a6",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_lookup_count{ident=~\"$ident\"}",
                        "instant": false,
                        "legend": "{{ident}} {{search_string}}",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Proc Count Trend",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "ac9b14d0-6e3e-409c-a2e7-82c640bf7996",
                "layout": {
                    "h": 12,
                    "w": 24,
                    "x": 0,
                    "y": 4,
                    "i": "ac9b14d0-6e3e-409c-a2e7-82c640bf7996",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "refId": "A",
                        "maxDataPoints": 240,
                        "expr": "topk(20, procstat_cpu_usage{ident=\"$ident\"})",
                        "legend": "{{ident}}-{{comm}}-{{pid}}"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Panel Title",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "single"
                    },
                    "legend": {
                        "displayMode": "table",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single",
                        "heightInPercentage": null
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "rgb(44, 157, 61)",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.01,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "stat",
                "id": "ffeb0fc6-ee02-4fdd-a8e3-ec2b9db9c23c",
                "layout": {
                    "h": 4,
                    "w": 5,
                    "x": 0,
                    "y": 16,
                    "i": "acd6e7b5-99f5-4d9b-9124-8072c14e5fea",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_uptime_minimum{ident=~\"$host\"}",
                        "instant": true,
                        "legend": "{{ident}} {{search_string}}",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Proc Uptime",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "valueAndName",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 0,
                    "textSize": {},
                    "orientation": "auto"
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#2c9d3d",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {
                        "util": "seconds",
                        "decimals": 2
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "thresholds": {
                                "steps": [
                                    {
                                        "color": "#6C53B1",
                                        "type": "base",
                                        "value": null
                                    }
                                ]
                            }
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "c642a30a-da86-402c-87bf-c2f98616bf95",
                "layout": {
                    "h": 4,
                    "w": 9,
                    "x": 5,
                    "y": 16,
                    "i": "c642a30a-da86-402c-87bf-c2f98616bf95",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_cpu_usage_total{ident=~\"$ident\"}",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU Util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 2
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "cbc2444e-49c7-45e1-b64e-cd1282b5a419",
                "layout": {
                    "h": 4,
                    "w": 10,
                    "x": 14,
                    "y": 16,
                    "i": "198846a2-4794-4ba9-9c2d-137bce22f266",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_mem_usage_total{ident=~\"$ident\"}",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Mem Util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 2
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "d2bff162-5801-4d85-94d7-d63145d5b935",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 0,
                    "y": 20,
                    "i": "a208e192-cf74-468b-9bcb-cb81c8d78d24",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_num_fds_total{ident=~\"$ident\"}/procstat_rlimit_num_fds_soft_minimum{ident=~\"$ident\"}*100",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "FD soft Util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 2
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "46a71143-84b5-4dde-87db-2f0403df6519",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 12,
                    "y": 20,
                    "i": "22dfb5e4-1d17-4e06-a9b4-b25cb33d1c20",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "procstat_num_fds_total{ident=~\"$ident\"}/procstat_rlimit_num_fds_hard_minimum{ident=~\"$ident\"}*100",
                        "maxDataPoints": 240,
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "FD hard Util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 2
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "3dda4eb5-a27f-4d54-9547-ae8f0ac9bb96",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 0,
                    "y": 24,
                    "i": "3dda4eb5-a27f-4d54-9547-ae8f0ac9bb96",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "rate(procstat_read_bytes_total{ident=~\"$ident\"}[$__rate_interval])",
                        "maxDataPoints": 240,
                        "refId": "A",
                        "step": 15
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Read bytes",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": 1
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "c97403f4-618d-4037-8ea7-5deb32eb8d56",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 12,
                    "y": 24,
                    "i": "ae0dc449-8263-4f38-8c52-d50b3cb3f1b4",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": "${Datasource}",
                "targets": [
                    {
                        "expr": "rate(procstat_write_bytes_total{ident=~\"$ident\"}[$__rate_interval])",
                        "maxDataPoints": 240,
                        "refId": "A",
                        "step": 15
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Write bytes",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "placement": "bottom",
                        "behaviour": "showItem",
                        "selectMode": "single"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": 1
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "thresholdsStyle": {
                        "mode": "dashed"
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 2,
                    "fillOpacity": 0.3,
                    "gradientMode": "opacity",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    },
                    "showPoints": "none",
                    "pointSize": 5
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            }
        ],
        "var": [
            {
                "definition": "prometheus",
                "name": "Datasource",
                "type": "datasource"
            },
            {
                "allOption": true,
                "datasource": {
                    "cate": "prometheus",
                    "value": "${Datasource}"
                },
                "definition": "label_values(system_load_norm_1, ident)",
                "label": "Host",
                "multi": true,
                "name": "ident",
                "type": "query"
            }
        ],
        "version": "3.0.0"
    }
}

snmp

{
    "name": "SNMP",
    "tags": "",
    "ident": "",
    "uuid": 1764927898490000,
    "configs": {
        "links": [],
        "panels": [
            {
                "type": "table",
                "id": "acb06025-c088-42cc-84bf-bfe80f720d0f",
                "layout": {
                    "h": 7,
                    "w": 24,
                    "x": 0,
                    "y": 0,
                    "i": "acb06025-c088-42cc-84bf-bfe80f720d0f",
                    "isResizable": true
                },
                "version": "3.1.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "refId": "A",
                        "expr": "max by(ip, lable, source, region,model) (snmp_uptime/100)",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Panel Title",
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "value",
                    "nowrap": false,
                    "tableLayout": "fixed",
                    "calc": "lastNotNull",
                    "displayMode": "labelsOfSeriesToRows",
                    "columns": [
                        "ip",
                        "lable",
                        "region",
                        "source",
                        "model"
                    ],
                    "pageLimit": 500,
                    "linkMode": "appendLinkColumn"
                },
                "options": {
                    "valueMappings": [],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "standardOptions": {
                                "util": "seconds"
                            }
                        }
                    }
                ]
            },
            {
                "type": "stat",
                "id": "d5e905cf-da22-48be-9fca-1f92695ca730",
                "layout": {
                    "h": 3,
                    "w": 8,
                    "x": 0,
                    "y": 7,
                    "i": "d5e905cf-da22-48be-9fca-1f92695ca730",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "snmp_uptime{lable=\"$lable\"} / 100",
                        "legend": "In",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Uptime",
                "links": [],
                "description": "系统启动时间,timetick转换为秒,大盘自动转换为时 天 周 月……",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {}
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {
                        "util": "seconds"
                    }
                }
            },
            {
                "type": "stat",
                "id": "26ae7fc1-230e-451e-9415-ea93ae8b2abb",
                "layout": {
                    "h": 3,
                    "w": 8,
                    "x": 8,
                    "y": 7,
                    "i": "26ae7fc1-230e-451e-9415-ea93ae8b2abb",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "max(irate(snmp_interface_ifOutOctets{lable=\"$lable\"}[5m]))*8",
                        "legend": "Out",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Max Out (Current)",
                "links": [],
                "description": "端口每秒最大出流量  单位是bit,大盘自动转换",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {}
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {
                        "util": "bitsSecSI"
                    }
                }
            },
            {
                "type": "stat",
                "id": "c5496f39-e194-401c-888c-556292e39254",
                "layout": {
                    "h": 3,
                    "w": 8,
                    "x": 16,
                    "y": 7,
                    "i": "c5496f39-e194-401c-888c-556292e39254",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "max(irate(snmp_interface_ifInOctets{lable=\"$lable\"}[5m]))*8",
                        "legend": "In",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Max In (Current)",
                "links": [],
                "description": "端口每秒最大入流量",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {}
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {
                        "util": "bitsSecSI"
                    }
                }
            },
            {
                "type": "barGauge",
                "id": "a925c635-0ff8-4984-a8b0-ca99948960f0",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 0,
                    "y": 10,
                    "i": "a925c635-0ff8-4984-a8b0-ca99948960f0",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "irate(snmp_interface_ifOutOctets{lable=\"$lable\"}[5m]) *8",
                        "legend": "{{ifDescr}}( {{ifIndex}})",
                        "refId": "B"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Out (Current)",
                "links": [],
                "description": "Max: 10MB  \nRed Status: 9MB",
                "maxPerRow": 4,
                "custom": {
                    "calc": "lastNotNull",
                    "serieWidth": 20,
                    "sortOrder": "desc"
                },
                "options": {
                    "standardOptions": {
                        "util": "bitsSecSI"
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#9470FF",
                                "type": "base",
                                "value": null
                            }
                        ]
                    }
                }
            },
            {
                "type": "barGauge",
                "id": "86345d37-977a-44e0-96ca-e46fe388b529",
                "layout": {
                    "h": 4,
                    "w": 12,
                    "x": 12,
                    "y": 10,
                    "i": "86345d37-977a-44e0-96ca-e46fe388b529",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "irate(snmp_interface_ifInOctets{lable=\"$lable\"}[5m])*8",
                        "legend": "{{ifDescr}}({{ifIndex}})",
                        "refId": "B"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "In (Current)",
                "links": [],
                "description": "Max: 10MB  \nRed Status: 9MB",
                "maxPerRow": 4,
                "custom": {
                    "calc": "lastNotNull",
                    "serieWidth": 20,
                    "sortOrder": "desc"
                },
                "options": {
                    "standardOptions": {
                        "util": "bitsSecSI"
                    },
                    "thresholds": {
                        "mode": "absolute",
                        "steps": [
                            {
                                "color": "#9470FF",
                                "type": "base",
                                "value": null
                            }
                        ]
                    }
                }
            },
            {
                "type": "timeseries",
                "id": "69190649-6b06-4418-9f22-a2c334e9b88a",
                "layout": {
                    "h": 14,
                    "w": 24,
                    "x": 0,
                    "y": 14,
                    "i": "53b52631-8c8e-40bc-a6df-6f2230f10bd9",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "irate(snmp_interface_ifInOctets{lable=\"$lable\"}[5m]) * 8 ",
                        "legend": "in: {{ifDescr}} {{index}} ",
                        "refId": "B",
                        "step": 10,
                        "instant": false
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "interface In",
                "links": [],
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "table",
                        "columns": [
                            "last",
                            "min",
                            "avg",
                            "max"
                        ],
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bitsSI"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": true,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off",
                            "standardOptions": {
                                "util": "none"
                            }
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "fcab66f0-c61c-4f25-9f49-c9df79c7095c",
                "layout": {
                    "h": 14,
                    "w": 24,
                    "x": 0,
                    "y": 28,
                    "i": "430637a9-3fe4-4f04-bec1-85685c029bf0",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "irate(snmp_interface_ifOutOctets{lable=\"$lable\"}[5m]) *8",
                        "legend": "out: {{ifDescr}} {{index}} ",
                        "refId": "B",
                        "step": 15
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "interface Out",
                "links": [],
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "table",
                        "columns": [
                            "last",
                            "min",
                            "avg",
                            "max"
                        ],
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bitsSI"
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "linear",
                    "spanNulls": true,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off",
                            "standardOptions": {
                                "util": "bitsSecSI"
                            }
                        }
                    }
                ]
            },
            {
                "type": "table",
                "id": "b663d53d-41a9-4e28-a60e-6ced1b9d46ce",
                "layout": {
                    "h": 10,
                    "w": 24,
                    "x": 0,
                    "y": 42,
                    "i": "b663d53d-41a9-4e28-a60e-6ced1b9d46ce",
                    "isResizable": true
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "snmp_interface_ifOperStatus{lable=\"$lable\"}",
                        "legend": "out",
                        "refId": "A"
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "Interface Status",
                "links": [],
                "maxPerRow": 4,
                "custom": {
                    "showHeader": true,
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "displayMode": "labelsOfSeriesToRows",
                    "columns": [
                        "ifIndex",
                        "value",
                        "ifDescr",
                        "ip"
                    ],
                    "sortColumn": "ifDescr",
                    "sortOrder": "ascend",
                    "linkMode": "appendLinkColumn",
                    "tableLayout": "fixed",
                    "nowrap": false
                },
                "options": {
                    "valueMappings": [
                        {
                            "match": {
                                "special": 1
                            },
                            "result": {
                                "color": "#3fc453",
                                "text": "UP"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 2
                            },
                            "result": {
                                "color": "#ce4f52",
                                "text": "DOWN"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 3
                            },
                            "result": {
                                "color": "#9470ff",
                                "text": "TESTING"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 4
                            },
                            "result": {
                                "color": "#000000",
                                "text": "UNKNOWN"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 5
                            },
                            "result": {
                                "color": "#ffae39",
                                "text": "DORMANT"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 6
                            },
                            "result": {
                                "color": "#e6c627",
                                "text": "NotPresent"
                            },
                            "type": "special"
                        },
                        {
                            "match": {
                                "special": 7
                            },
                            "result": {
                                "color": "#ff8286",
                                "text": "LowerLayerDown"
                            },
                            "type": "special"
                        }
                    ],
                    "standardOptions": {}
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        }
                    }
                ]
            }
        ],
        "var": [
            {
                "name": "lable",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": 1
                },
                "definition": "label_values(snmp_uptime,lable)",
                "multi": false
            }
        ],
        "version": "3.0.0"
    }
}

windows

{
    "name": "Windows",
    "tags": "",
    "ident": "",
    "uuid": 1764927937149000,
    "configs": {
        "links": [
            {
                "targetBlank": true,
                "title": "n9e",
                "url": "https://n9e.github.io/"
            },
            {
                "targetBlank": true,
                "title": "author",
                "url": "http://flashcat.cloud/"
            }
        ],
        "panels": [
            {
                "collapsed": true,
                "id": "2b2de3d1-65c8-4c39-9bea-02b754e0d751",
                "layout": {
                    "h": 1,
                    "i": "2b2de3d1-65c8-4c39-9bea-02b754e0d751",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 0
                },
                "name": "单机概况",
                "type": "row"
            },
            {
                "type": "stat",
                "id": "deec579b-3090-4344-a9a6-c1455c4a8e50",
                "layout": {
                    "h": 5,
                    "i": "deec579b-3090-4344-a9a6-c1455c4a8e50",
                    "isResizable": true,
                    "w": 4,
                    "x": 0,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "system_uptime{ident=~\"$ident\"}/3600/24",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "启动时长(单位:天)",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [],
                    "standardOptions": {
                        "util": "none",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "stat",
                "id": "7a7bd5db-d12e-49f0-92a8-15958e99ee54",
                "layout": {
                    "h": 5,
                    "i": "7a7bd5db-d12e-49f0-92a8-15958e99ee54",
                    "isResizable": true,
                    "w": 4,
                    "x": 4,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "100-cpu_usage_idle{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [
                        {
                            "match": {
                                "from": 0,
                                "to": 50
                            },
                            "result": {
                                "color": "#129b22"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 50,
                                "to": 100
                            },
                            "result": {
                                "color": "#f51919"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "stat",
                "id": "8a814265-54ad-419c-8cb7-e1f84a242de0",
                "layout": {
                    "h": 5,
                    "i": "8a814265-54ad-419c-8cb7-e1f84a242de0",
                    "isResizable": true,
                    "w": 4,
                    "x": 8,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_used_percent{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "内存使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "value",
                    "graphMode": "none",
                    "colorMode": "value",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colSpan": 1,
                    "textSize": {
                        "value": 30
                    }
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "valueMappings": [
                        {
                            "match": {
                                "from": 0,
                                "to": 50
                            },
                            "result": {
                                "color": "#129b22"
                            },
                            "type": "range"
                        },
                        {
                            "match": {
                                "from": 50,
                                "to": 100
                            },
                            "result": {
                                "color": "#f51919"
                            },
                            "type": "range"
                        }
                    ],
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    }
                }
            },
            {
                "type": "hexbin",
                "id": "b3c5dd9d-e82a-4b15-8b23-c510e2bee152",
                "layout": {
                    "h": 5,
                    "i": "b3c5dd9d-e82a-4b15-8b23-c510e2bee152",
                    "isResizable": true,
                    "w": 6,
                    "x": 12,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_used_percent{ident=~\"$ident\"}",
                        "instant": false,
                        "legend": "主机名:{{ident}} - 盘符:{{path}}",
                        "refId": "A",
                        "step": 60,
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "磁盘使用率",
                "maxPerRow": 4,
                "custom": {
                    "textMode": "valueAndName",
                    "calc": "lastNotNull",
                    "valueField": "Value",
                    "colorRange": [
                        "#83c898",
                        "#c2c2c2",
                        "#fc653f"
                    ],
                    "reverseColorOrder": false,
                    "colorDomainAuto": true
                },
                "options": {
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    },
                    "standardOptions": {}
                }
            },
            {
                "type": "timeseries",
                "id": "59afa167-434d-496c-a3ef-ceff6db7c1f6",
                "layout": {
                    "h": 5,
                    "i": "59afa167-434d-496c-a3ef-ceff6db7c1f6",
                    "isResizable": true,
                    "w": 6,
                    "x": 18,
                    "y": 1
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_io_time{ident=~\"$ident\"}[1m])/10",
                        "legend": "{{ident}}-{{name}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "io_util",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 1
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "10f34f8f-f94d-4a28-9551-16e6667e3833",
                "layout": {
                    "h": 1,
                    "i": "10f34f8f-f94d-4a28-9551-16e6667e3833",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 6
                },
                "name": "CPU",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "1559d880-7e26-4e42-9427-4e55fb6f67be",
                "layout": {
                    "h": 7,
                    "i": "1559d880-7e26-4e42-9427-4e55fb6f67be",
                    "isResizable": true,
                    "w": 8,
                    "x": 0,
                    "y": 7
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "cpu_usage_idle{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU空闲率",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            },
                            {
                                "color": "#f20202",
                                "value": 10
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "043c26de-d19f-4fe8-a615-2b7c10ceb828",
                "layout": {
                    "h": 7,
                    "i": "043c26de-d19f-4fe8-a615-2b7c10ceb828",
                    "isResizable": true,
                    "w": 8,
                    "x": 8,
                    "y": 7
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "cpu_usage_guest{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_guest",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_iowait{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_iowait",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_user{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_user",
                        "refId": "C",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_system{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_system",
                        "refId": "D",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_irq{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_irq",
                        "refId": "E",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_softirq{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_softirq",
                        "refId": "F",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_nice{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_nice",
                        "refId": "G",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "cpu_usage_steal{ident=~\"$ident\",cpu=\"cpu-total\"}",
                        "legend": "{{ident}}-cpu_usage_steal",
                        "refId": "H",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU使用率详情",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "a420ce25-6968-47f8-8335-60cde70fd062",
                "layout": {
                    "h": 7,
                    "i": "a420ce25-6968-47f8-8335-60cde70fd062",
                    "isResizable": true,
                    "w": 8,
                    "x": 16,
                    "y": 7
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "system_load15{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "system_load1{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "system_load5{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "CPU负载",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "b7a3c99f-a796-4b76-89b5-cbddd566f91c",
                "layout": {
                    "h": 1,
                    "i": "b7a3c99f-a796-4b76-89b5-cbddd566f91c",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 14
                },
                "name": "内存详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "44a07a85-0f3e-4c73-abfe-dcc3c5c7f30e",
                "layout": {
                    "h": 6,
                    "i": "44a07a85-0f3e-4c73-abfe-dcc3c5c7f30e",
                    "isResizable": true,
                    "w": 12,
                    "x": 0,
                    "y": 15
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_used_percent{ident=~\"$ident\"}",
                        "legend": "platform: {{platform}} {{ident}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "内存使用率",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "28a1dac8-2ddc-408d-8e17-27fc7d7bc9ff",
                "layout": {
                    "h": 6,
                    "i": "bab1e1f4-87cc-48b9-a655-bcac9839ec9b",
                    "isResizable": true,
                    "w": 12,
                    "x": 12,
                    "y": 15
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "mem_available_percent{ident=~\"$ident\"}",
                        "legend": "{{ident}} ",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "内用当前可用率",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "percent",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "842a8c48-0e93-40bf-8f28-1b2f837e5c19",
                "layout": {
                    "h": 1,
                    "i": "842a8c48-0e93-40bf-8f28-1b2f837e5c19",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 21
                },
                "name": "磁盘详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "bc894871-1c03-4d12-91be-6867f394a8a6",
                "layout": {
                    "h": 7,
                    "i": "bc894871-1c03-4d12-91be-6867f394a8a6",
                    "isResizable": true,
                    "w": 6,
                    "x": 0,
                    "y": 22
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "disk_free{ident=~\"$ident\"}",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "disk_total{ident=~\"$ident\"}",
                        "refId": "B",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "disk_used{ident=~\"$ident\"}",
                        "refId": "C",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "磁盘空间",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": null
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "bbd1ebda-99f6-419c-90a5-5f84973976dd",
                "layout": {
                    "h": 7,
                    "i": "bbd1ebda-99f6-419c-90a5-5f84973976dd",
                    "isResizable": true,
                    "w": 6,
                    "x": 6,
                    "y": 22
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_read_bytes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-read",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(diskio_write_bytes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-writes",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "IO吞吐量",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bytesIEC",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "f645741e-c632-4685-b267-c7ad26b5c10e",
                "layout": {
                    "h": 7,
                    "i": "f645741e-c632-4685-b267-c7ad26b5c10e",
                    "isResizable": true,
                    "w": 6,
                    "x": 12,
                    "y": 22
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_reads{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-read",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(diskio_writes{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}-writes",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "IOPS",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "d6b45598-54c6-4b36-a896-0a7529ac21f8",
                "layout": {
                    "h": 7,
                    "i": "d6b45598-54c6-4b36-a896-0a7529ac21f8",
                    "isResizable": true,
                    "w": 6,
                    "x": 18,
                    "y": 22
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(diskio_write_time{ident=~\"$ident\"}[1m])/rate(diskio_writes{ident=~\"$ident\"}[1m])+rate(diskio_read_time{ident=~\"$ident\"}[1m])/rate(diskio_reads{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{name}}",
                        "refId": "A",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "iowait",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "none"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {},
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "collapsed": true,
                "id": "307152d2-708c-4736-98cf-08b886cbf7f2",
                "layout": {
                    "h": 1,
                    "i": "307152d2-708c-4736-98cf-08b886cbf7f2",
                    "isResizable": false,
                    "w": 24,
                    "x": 0,
                    "y": 29
                },
                "name": "网络详情",
                "type": "row"
            },
            {
                "type": "timeseries",
                "id": "f2ee5d32-737c-4095-b6b7-b15b778ffdb9",
                "layout": {
                    "h": 7,
                    "i": "f2ee5d32-737c-4095-b6b7-b15b778ffdb9",
                    "isResizable": true,
                    "w": 6,
                    "x": 0,
                    "y": 30
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_bytes_recv{ident=~\"$ident\"}[1m])*8",
                        "legend": "{{ident}}-{{interface}}-recv",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_bytes_sent{ident=~\"$ident\"}[1m])*8",
                        "legend": "{{ident}}-{{interface}}-sent",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "网络流量",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "util": "bitsIEC",
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "9113323a-98f5-4bff-a8ce-3b459e7e2190",
                "layout": {
                    "h": 7,
                    "i": "9113323a-98f5-4bff-a8ce-3b459e7e2190",
                    "isResizable": true,
                    "w": 6,
                    "x": 6,
                    "y": 30
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_packets_recv{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-recv",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_packets_sent{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-sent",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "packets",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "9634c41c-e124-4d7f-9406-0f86753e8d70",
                "layout": {
                    "h": 7,
                    "i": "9634c41c-e124-4d7f-9406-0f86753e8d70",
                    "isResizable": true,
                    "w": 6,
                    "x": 12,
                    "y": 30
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_err_in{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-in",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_err_out{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-out",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "error",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            },
            {
                "type": "timeseries",
                "id": "4123f4c1-bf8e-400e-b267-8d7f6a92691a",
                "layout": {
                    "h": 7,
                    "i": "4123f4c1-bf8e-400e-b267-8d7f6a92691a",
                    "isResizable": true,
                    "w": 6,
                    "x": 18,
                    "y": 30
                },
                "version": "3.0.0",
                "datasourceCate": "prometheus",
                "datasourceValue": 1,
                "targets": [
                    {
                        "expr": "rate(net_drop_in{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-in",
                        "refId": "A",
                        "maxDataPoints": 240
                    },
                    {
                        "expr": "rate(net_drop_out{ident=~\"$ident\"}[1m])",
                        "legend": "{{ident}}-{{interface}}-out",
                        "refId": "B",
                        "maxDataPoints": 240
                    }
                ],
                "transformations": [
                    {
                        "id": "organize",
                        "options": {}
                    }
                ],
                "name": "drop",
                "maxPerRow": 4,
                "options": {
                    "tooltip": {
                        "mode": "all",
                        "sort": "desc"
                    },
                    "legend": {
                        "displayMode": "hidden",
                        "behaviour": "showItem"
                    },
                    "standardOptions": {
                        "decimals": 0
                    },
                    "thresholds": {
                        "steps": [
                            {
                                "color": "#634CD9",
                                "value": null,
                                "type": "base"
                            }
                        ]
                    }
                },
                "custom": {
                    "drawStyle": "lines",
                    "lineInterpolation": "smooth",
                    "spanNulls": false,
                    "lineWidth": 1,
                    "fillOpacity": 0.5,
                    "gradientMode": "none",
                    "stack": "off",
                    "scaleDistribution": {
                        "type": "linear"
                    }
                },
                "overrides": [
                    {
                        "matcher": {
                            "id": "byFrameRefID"
                        },
                        "properties": {
                            "rightYAxisDisplay": "off"
                        }
                    }
                ]
            }
        ],
        "var": [
            {
                "name": "ident",
                "type": "query",
                "datasource": {
                    "cate": "prometheus",
                    "value": 1
                },
                "definition": "label_values(disk_used_percent{device=~\".+:\"},ident)",
                "multi": true,
                "allOption": true
            }
        ],
        "version": "3.0.0"
    }
}
在 Docker 中部署 N9E 应用涉及多个步骤,包括准备配置文件、设置服务依赖项以及启动容器化服务。以下是一个完整的部署指南: ### 创建项目目录并编写 `docker-compose.yml` 文件 首先,创建一个新的工作目录,并进入该目录以进行后续操作: ```bash mkdir n9e-prometheus cd n9e-prometheus ``` 接着,在该目录下创建一个名为 `docker-compose.yml` 的文件,用于定义和配置所需的服务[^1]。以下是一个基础示例配置: ```yaml version: &#39;3.8&#39; services: n9e: image: n9e/prometheus:latest container_name: n9e ports: - "9090:9090" volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml command: - &#39;--config.file=/etc/prometheus/prometheus.yml&#39; restart: unless-stopped ``` 在这个示例中: - **image**: 指定使用的镜像名称和标签。 - **container_name**: 设置容器的自定义名称。 - **ports**: 将主机上的端口映射到容器中的端口。 - **volumes**: 将本地文件挂载到容器内部,例如 Prometheus 配置文件。 - **command**: 覆盖默认命令,指定自定义参数。 ### 准备配置文件 确保将所有必要的配置文件放置在合适的位置。例如,Prometheus 的主配置文件 `prometheus.yml` 应该包含目标抓取配置和其他相关设置。以下是一个简单的 `prometheus.yml` 示例: ```yaml global: scrape_interval: 15s scrape_configs: - job_name: &#39;n9e&#39; static_configs: - targets: [&#39;localhost:9090&#39;] ``` ### 启动服务 使用以下命令启动服务: ```bash docker-compose up -d ``` 此命令将以分离模式运行容器,并根据 `docker-compose.yml` 中定义的配置自动构建和启动服务[^2]。 ### 验证部署 访问 N9E 提供的 Web 界面来验证是否成功部署。通常可以通过浏览器访问 `http://<your-host-ip>:9090` 来查看 Prometheus 的用户界面。 ### 数据持久化与备份 为了确保数据不会因容器重启而丢失,建议通过卷(volumes)将重要数据存储在宿主机上。例如,可以在 `docker-compose.yml` 文件中添加如下配置: ```yaml volumes: - n9e_data:/path/to/data volumes: n9e_data: ``` 这样可以保证即使容器被删除或重建,关键数据仍然得以保留。 ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

为什么不问问神奇的海螺呢丶

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值