json啊啊啊啊啊啊啊啊啊

{

"dashboard": {

"title": "Windows磁盘监控",

"panels": [

{

"id": 2,

"title": "磁盘使用情况",

"type": "table",

"datasource": "${DS_PROMETHEUS}",

"transformations": [

{

"id": "organize",

"options": {

"indexByName": {},

"excludeByName": {

"Time": true,

"name": true,

"instance": true,

"job": true

},

"renameByName": {

"Value": "可用空间",

"volume": "磁盘"

}

}

},

{

"id": "calculateField",

"options": {

"alias": "使用率%",

"binaryOptions": {

"left": "windows_logical_disk_size_bytes",

"operator": "-",

"reducer": "sum",

"right": "可用空间"

},

"mode": "binary",

"reduceOptions": {

"reducer": "sum"

}

}

},

{

"id": "calculateField",

"options": {

"alias": "使用率%",

"binaryOptions": {

"left": "使用率%",

"operator": "/",

"reducer": "sum",

"right": "windows_logical_disk_size_bytes"

},

"mode": "binary",

"reduceOptions": {

"reducer": "sum"

}

}

},

{

"id": "calculateField",

"options": {

"alias": "使用率%",

"binaryOptions": {

"left": "使用率%",

"operator": "*",

"reducer": "sum",

"right": "100"

},

"mode": "binary",

"reduceOptions": {

"reducer": "sum"

}

}

},

{

"id": "calculateField",

"options": {

"alias": "已用空间",

"binaryOptions": {

"left": "windows_logical_disk_size_bytes",

"operator": "-",

"reducer": "sum",

"right": "可用空间"

},

"mode": "binary",

"reduceOptions": {

"reducer": "sum"

}

}

},

{

"id": "calculateField",

"options": {

"alias": "总空间",

"binaryOptions": {

"left": "windows_logical_disk_size_bytes",

"operator": "*",

"reducer": "sum",

"right": "1"

},

"mode": "binary",

"reduceOptions": {

"reducer": "sum"

}

}

},

{

"id": "organize",

"options": {

"indexByName": {

"磁盘": 0,

"使用率%": 1,

"可用空间": 2,

"已用空间": 3,

"总空间": 4

},

"excludeByName": {

"Time": true,

"name": true,

"instance": true,

"job": true,

"windows_logical_disk_size_bytes": true

},

"renameByName": {}

}

}

],

"fieldConfig": {

"defaults": {

"custom": {

"align": "center",

"displayMode": "auto",

"inspect": false

},

"decimals": 2,

"color": {

"mode": "thresholds"

},

"thresholds": {

"mode": "absolute",

"steps": [

{

"color": "green",

"value": null

},

{

"color": "red",

"value": 80

}

]

},

"mappings": [],

"unit": "bytes"

},

"overrides": [

{

"matcher": {

"id": "byName",

"options": "使用率%"

},

"properties": [

{

"id": "unit",

"value": "percent"

},

{

"id": "decimals",

"value": 1

},

{

"id": "min",

"value": 0

},

{

"id": "max",

"value": 100

},

{

"id": "thresholds",

"value": {

"mode": "absolute",

"steps": [

{

"color": "green",

"value": null

},

{

"color": "#EAB839",

"value": 80

},

{

"color": "red",

"value": 90

}

]

}

}

]

},

{

"matcher": {

"id": "byName",

"options": "磁盘"

},

"properties": [

{

"id": "unit",

"value": "short"

},

{

"id": "decimals",

"value": 0

}

]

}

]

},

"options": {

"showHeader": true,

"footer": {

"show": false,

"reducer": [

"sum"

],

"countRows": false,

"fields": "",

"enablePagination": false

},

"sortBy": [

{

"desc": false,

"displayName": "磁盘"

}

]

},

"targets": [

{

"expr": "windows_logical_disk_free_bytes{volume=~\"C:|D:.*\"}",

"format": "table",

"instant": true,

"interval": "",

"legendFormat": "",

"refId": "A"

},

{

"expr": "windows_logical_disk_size_bytes{volume=~\"C:|D:.*\"}",

"format": "table",

"instant": true,

"interval": "",

"legendFormat": "",

"refId": "B"

}

],

"gridPos": {

"h": 12,

"w": 24,

"x": 0,

"y": 0

}

}

],

"time": {

"from": "now-6h",

"to": "now"

},

"timezone": "browser",

"tags": [],

"version": 1

}

}

相关推荐
ljj2535575051__7 小时前
nginx的https的搭建
运维·nginx·https
上海云盾-小余7 小时前
系统漏洞扫描原理,什么是系统漏洞?
运维·安全·网络安全·ddos
JaHeng07237 小时前
nginx的https搭建
运维·nginx·https
TDengine (老段)7 小时前
TDengine 运维命令 SCAN 使用手册
大数据·运维·数据库·物联网·时序数据库·tdengine·涛思数据
dishugj7 小时前
Linux系统磁盘性能相关命令详解与实例分析
linux·运维·服务器
南风~古草8 小时前
20252803《Linux内核原理与分析》第12周作业-Linux系统监控实战(系统安全实验)
linux·运维·系统安全
TsingtaoAI8 小时前
企业实训:AI运维工程师实训——某外资商业银行
运维·人工智能
python百炼成钢8 小时前
48.Linux IIC驱动多点电容屏
linux·运维·服务器
『 时光荏苒 』8 小时前
生产服务器log日志文件很多-精准查询问题
运维·服务器·生产服务器问题查询·日志过滤
触想工业平板电脑一体机8 小时前
【触想智能】工业触控一体机在工业应用中扮演的角色以及其应用场景分析
android·大数据·运维·电脑·智能电视