我在做自定义表格,一个有5列数据,现在想删除1列,发现override无法删除。
其实把第五列留空就好,但是现在我不想删除了,我要把它加回去,发现不管怎么改第五个override,效果不生效(感觉是第一次配置的时候数据没删除导致的)。
我在做自定义表格,一个有5列数据,现在想删除1列,发现override无法删除。
其实把第五列留空就好,但是现在我不想删除了,我要把它加回去,发现不管怎么改第五个override,效果不生效(感觉是第一次配置的时候数据没删除导致的)。
{
"name": "【云平台状态】 Copy",
"tags": "",
"ident": "",
"configs": {
"links": [
{
"targetBlank": true,
"title": "n9e",
"url": "https://n9e.github.io/"
},
{
"targetBlank": true,
"title": "author",
"url": "http://flashcat.cloud/"
}
],
"panels": [
{
"type": "row",
"id": "866b33de-6162-4d82-acc3-3213d1d7b174",
"name": "云数据库状态",
"collapsed": true,
"layout": {
"h": 1,
"w": 24,
"x": 0,
"y": 0,
"i": "866b33de-6162-4d82-acc3-3213d1d7b174",
"isResizable": false
},
"panels": []
},
{
"type": "table",
"id": "b90285c3-feef-46ba-b417-b69156c84b9e",
"layout": {
"h": 4,
"w": 24,
"x": 0,
"y": 1,
"i": "69032787-fade-4049-a07d-cda942898ebf",
"isResizable": true
},
"version": "2.0.0",
"datasourceCate": "prometheus",
"targets": [
{
"expr": "bingocloud_bcc_cloud_mysql_node_role",
"legend": "角色",
"refId": "A",
"instant": false
},
{
"expr": "bingocloud_bcc_cloud_mysql_node_daemon_status",
"refId": "B",
"legend": "daemon状态"
},
{
"expr": "bingocloud_bcc_cloud_mysql_node_status",
"refId": "C",
"legend": "status状态"
},
{
"expr": "bingocloud_bcc_cloud_mysql_node_vip_attach",
"refId": "D",
"legend": "VIP挂载"
},
{
"expr": "bingocloud_bcc_cloud_mysql_node_usage*1024",
"refId": "E",
"legend": "空间占用"
}
],
"transformations": [
{
"id": "organize",
"options": {}
}
],
"name": "数据库节点状态",
"custom": {
"showHeader": true,
"colorMode": "background",
"calc": "lastNotNull",
"displayMode": "labelValuesToRows",
"sortColumn": "node_ip",
"sortOrder": "ascend",
"aggrDimension": "node_ip"
},
"options": {
"valueMappings": [],
"standardOptions": {
"util": "none"
}
},
"overrides": [
{
"matcher": {
"value": "A"
},
"properties": {
"valueMappings": [
{
"type": "special",
"result": {
"color": "#634cd9",
"text": "MASTER"
},
"match": {
"special": 0
}
},
{
"type": "special",
"result": {
"color": "#1d90d6",
"text": "SLAVER"
},
"match": {
"special": 1
}
},
{
"type": "special",
"result": {
"color": "#51566b",
"text": "未知"
},
"match": {
"special": 2
}
}
]
}
},
{
"type": "special",
"matcher": {
"value": "B"
},
"properties": {
"valueMappings": [
{
"type": "special",
"result": {
"color": "#2c9d3d",
"text": "正常"
},
"match": {
"special": 0
}
},
{
"type": "special",
"result": {
"color": "#ce4f52",
"text": "异常"
},
"match": {
"special": 1
}
}
],
"standardOptions": {}
}
},
{
"type": "special",
"matcher": {
"value": "C"
},
"properties": {
"valueMappings": [
{
"type": "special",
"result": {
"color": "#2c9d3d",
"text": "正常"
},
"match": {
"special": 0
}
},
{
"type": "special",
"result": {
"color": "#ce4f52",
"text": "异常"
},
"match": {
"special": 1
}
}
],
"standardOptions": {}
}
},
{
"type": "special",
"matcher": {
"value": "D"
},
"properties": {
"valueMappings": [
{
"type": "special",
"result": {
"color": "#634cd9",
"text": "挂载"
},
"match": {
"special": 0
}
},
{
"type": "special",
"result": {
"color": "#51566b",
"text": "无"
},
"match": {
"special": 1
}
}
],
"standardOptions": {}
}
},
{
"type": "special",
"matcher": {
"value": "E"
},
"properties": {
"standardOptions": {
"util": "bytesIEC"
},
"valueMappings": [
{
"type": "range",
"result": {
"color": "#2c9d3d"
},
"match": {
"to": 53676353781,
"from": 0
}
},
{
"type": "range",
"result": {
"color": "#ffae39"
},
"match": {
"from": 53687091200,
"to": 7363444981
}
},
{
"type": "range",
"result": {
"color": "#ce4f52"
},
"match": {
"from": 107374182400
}
}
]
}
}
]
}
],
"var": [
{
"name": "ident",
"type": "query",
"datasource": {
"cate": "prometheus"
},
"definition": "label_values(system_load1{department=\"shishiyun\"},ident)",
"multi": true,
"allOption": true
},
{
"name": "instance",
"type": "query",
"datasource": {
"cate": "prometheus"
},
"definition": "label_values(mysql_global_status_uptime{department=\"shishiyun\"}, instance)"
},
{
"name": "storage_id",
"type": "query",
"datasource": {
"cate": "prometheus"
},
"definition": "label_values(bingocloud_bcc_cloud_storage_used_percent{metrics_type=\"cloud_storage\"},storage_id)"
}
],
"version": "2.0.0"
}
}
版本信息发下
前端版本:6.0.0-ga.3
后端版本:v6.0.0-ga.3-4c7746b3b4cfaa1d32e282323f8a4a455980d8f5
暂时还无法复现,方便的话发我下大盘 json