Grafana dashboard: TaosKeeper Prometheus Dashboard for 3.x
Description: Metrics display for TDengine database for 3.x

Please reference to [document](https://docs.taosdata.com/third-party/prometheus/)

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.5.10"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 18587,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1683711442408,
  "links": [],
  "panels": [
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {},
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 32,
      "options": {
        "content": "<h1><center>TDengine Cluster Dashboard (First EP: ${firstEp}, Version: ${version})</center></h1>",
        "mode": "markdown"
      },
      "pluginVersion": "7.5.10",
      "repeatDirection": "h",
      "targets": [
        {
          "alias": "mnodes",
          "formatType": "Time series",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "timeshift": {
            "period": null
          },
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "-- OVERVIEW --",
      "transformations": [
        {
          "id": "calculateField",
          "options": {
            "binary": {
              "left": "Time",
              "operator": "+",
              "reducer": "sum",
              "right": ""
            },
            "mode": "binary",
            "reduce": {
              "reducer": "sum"
            }
          }
        }
      ],
      "type": "text"
    },
    {
      "collapsed": false,
      "datasource": "${DS_PROMETHEUS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 3
      },
      "id": 57,
      "panels": [],
      "title": "Cluster Status",
      "type": "row"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 4
      },
      "id": 73,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_first_ep{cluster_id=\"$cluster\"}",
          "format": "table",
          "formatType": "Time series",
          "instant": false,
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "title": "First EP",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "value"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 4
      },
      "id": 74,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "/.*/",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_version{cluster_id=\"$cluster\"}",
          "format": "table",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "title": "Version",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "value"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "d"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 6,
        "y": 4
      },
      "id": 72,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_master_uptime{cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "title": "Master Uptime",
      "transformations": [
        {
          "id": "reduce",
          "options": {
            "includeTimeField": false,
            "mode": "reduceFields",
            "reducers": [
              "lastNotNull"
            ]
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "s"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 9,
        "y": 4
      },
      "id": 99,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_grants_info_expire_time{cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "title": "Expire Time",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 12,
        "y": 4
      },
      "id": 100,
      "options": {
        "displayMode": "gradient",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "sum(taos_grants_info_timeseries_used{cluster_id=\"$cluster\"}) by (dnode_ep)",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "used",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        },
        {
          "exemplar": true,
          "expr": "sum(taos_grants_info_timeseries_total{cluster_id=\"$cluster\"}) by (dnode_ep)",
          "hide": false,
          "interval": "",
          "legendFormat": "total",
          "refId": "B"
        }
      ],
      "title": "Used Measuring Points",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 16,
        "y": 4
      },
      "id": 65,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "repeatDirection": "h",
      "targets": [
        {
          "alias": "dnodes",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_dbs_total{cluster_id=\"$cluster\"}",
          "format": "time_series",
          "formatType": "Time series",
          "instant": false,
          "interval": "",
          "legendFormat": "databases",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "timeshift": {
            "period": null
          },
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Databases",
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "Time",
                "databases"
              ]
            }
          }
        }
      ],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 18,
        "y": 4
      },
      "id": 68,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "repeatDirection": "h",
      "targets": [
        {
          "alias": "dnodes",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_tbs_total{cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "timeshift": {
            "period": null
          },
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Tables",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 21,
        "y": 4
      },
      "id": 82,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_connections_total{cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "title": "Connections",
      "type": "stat"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 0,
        "y": 8
      },
      "id": 75,
      "options": {
        "displayMode": "basic",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_dnodes_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "DNodes",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 6,
        "y": 8
      },
      "id": 101,
      "options": {
        "displayMode": "basic",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_mnodes_total{cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "MNodes",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 12,
        "y": 8
      },
      "id": 102,
      "options": {
        "displayMode": "basic",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_vgroups_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "VGroups",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 18,
        "y": 8
      },
      "id": 103,
      "options": {
        "displayMode": "basic",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {}
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "sum(sum(taos_dnodes_info_vnodes_num{cluster_id=\"$cluster\"}) by (dnode_id))",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "VNodes",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                1
              ],
              "type": "lt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "1m",
        "frequency": "10s",
        "handler": 1,
        "name": "DNodes Alive Percent alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 5,
            "pointSize": 10,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 0,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 84,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true,
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "percentage": false,
      "pluginVersion": "8.2.2",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_dnodes_alive / taos_cluster_info_dnodes_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "lt",
          "value": 1,
          "visible": true
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "DNodes Alive Percent",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "timeseries",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                1
              ],
              "type": "lt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "1m",
        "frequency": "10s",
        "handler": 1,
        "name": "MNodes Alive Percent alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 5,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 6,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 87,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true,
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "percentage": false,
      "pluginVersion": "8.2.2",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_mnodes_alive / taos_cluster_info_mnodes_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "lt",
          "value": 1,
          "visible": true
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "MNodes Alive Percent",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "timeseries",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                1
              ],
              "type": "lt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "1m",
        "frequency": "10s",
        "handler": 1,
        "name": "VGroups Alive Percent alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 5,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 12,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 85,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true,
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "percentage": false,
      "pluginVersion": "8.2.2",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_vgroups_alive / taos_cluster_info_vgroups_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "lt",
          "value": 1,
          "visible": true
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "VGroups Alive Percent",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "timeseries",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "alert": {
        "alertRuleTags": {},
        "conditions": [
          {
            "evaluator": {
              "params": [
                1
              ],
              "type": "lt"
            },
            "operator": {
              "type": "and"
            },
            "query": {
              "params": [
                "A",
                "1m",
                "now"
              ]
            },
            "reducer": {
              "params": [],
              "type": "avg"
            },
            "type": "query"
          }
        ],
        "executionErrorState": "alerting",
        "for": "1m",
        "frequency": "10s",
        "handler": 1,
        "name": "VNodes Alive Percent alert",
        "noDataState": "no_data",
        "notifications": []
      },
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 5,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 18,
        "y": 12
      },
      "hiddenSeries": false,
      "id": 86,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true,
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "percentage": false,
      "pluginVersion": "8.2.2",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "alias": "",
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_cluster_info_vnodes_alive / taos_cluster_info_vnodes_total",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "thresholds": [
        {
          "colorMode": "critical",
          "fill": true,
          "line": true,
          "op": "lt",
          "value": 1,
          "visible": true
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "VNodes Alive Percent",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "timeseries",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percentunit",
          "label": null,
          "logBase": 1,
          "max": "1",
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true
          },
          "mappings": [],
          "max": 1,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percentunit"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 0,
        "y": 18
      },
      "id": 104,
      "options": {
        "graph": {},
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_grants_info_timeseries_used {cluster_id=\"$cluster\"}/ taos_grants_info_timeseries_total {cluster_id=\"$cluster\"}",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "percent",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Measuring Points Used Percent Alert",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true
          },
          "mappings": [],
          "min": 864000,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "s"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "percent"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percentunit"
              },
              {
                "id": "max",
                "value": 1
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 6,
        "y": 18
      },
      "id": 105,
      "options": {
        "graph": {},
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "taos_grants_info_expire_time",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Grants Expire Time",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "graph": false,
              "legend": false,
              "tooltip": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "cps"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "percent"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percentunit"
              },
              {
                "id": "max",
                "value": 1
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 6,
        "x": 12,
        "y": 18
      },
      "id": 106,
      "options": {
        "graph": {},
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltipOptions": {
          "mode": "single"
        }
      },
      "pluginVersion": "7.5.10",
      "targets": [
        {
          "colNameFormatStr": "",
          "colNameToGroup": "",
          "exemplar": true,
          "expr": "deriv(taos_dnodes_info_errors{cluster_id=\"$cluster\"}[1m])",
          "formatType": "Time series",
          "interval": "",
          "legendFormat": "",
          "queryType": "SQL",
          "refId": "A",
          "target": "select metric",
          "type": "timeserie"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Error Rate",
      "type": "timeseries"
    },
    {
      "collapsed": true,
      "datasource": "${DS_PROMETHEUS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 24,
      "panels": [
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "d"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 4,
            "x": 0,
            "y": 5
          },
          "id": 90,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "value_and_name"
          },
          "pluginVersion": "7.5.10",
          "repeat": null,
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "{{groupValue}}",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "taos_dnodes_info_uptime{cluster_id=\"$cluster\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "{{dnode_ep}}",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "DNodes Lifetime",
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 10,
            "x": 4,
            "y": 5
          },
          "id": 88,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "targets": [
            {
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_cluster_info_dnodes_total{cluster_id=\"$cluster\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "total",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_cluster_info_dnodes_alive{cluster_id=\"$cluster\"}",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "alive",
              "queryType": "SQL",
              "refId": "B",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "DNodes Number",
          "type": "timeseries"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 10,
            "x": 14,
            "y": 5
          },
          "id": 89,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "targets": [
            {
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_cluster_info_mnodes_total{cluster_id=\"$cluster\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "total",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "exemplar": true,
              "expr": "taos_cluster_info_mnodes_alive{cluster_id=\"$cluster\"}",
              "hide": false,
              "interval": "",
              "legendFormat": "alive",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "MNodes Number",
          "type": "timeseries"
        }
      ],
      "repeat": null,
      "title": "DNodes Overview",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${DS_PROMETHEUS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 25
      },
      "id": 108,
      "panels": [
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "/success_rate/"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "percentunit"
                  },
                  {
                    "id": "min",
                    "value": 0
                  },
                  {
                    "id": "max",
                    "value": 1
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 9,
            "w": 24,
            "x": 0,
            "y": 6
          },
          "id": 110,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "right"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "targets": [
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "insert_count - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "A"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert_success{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "insert_success - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "B"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert_batch{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "insert_batches - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "C"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert_batch_success{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "insert_batches_success - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "D"
            },
            {
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert_success{cluster_id=\"$cluster\"}) by (dnode_ep) / sum(taos_dnodes_info_req_insert{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "hide": false,
              "interval": "",
              "legendFormat": "success_rate - {{dnode_ep}}",
              "refId": "E"
            },
            {
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_insert_batch_success{cluster_id=\"$cluster\"}) by (dnode_ep) / sum(taos_dnodes_info_req_insert_batch{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "hide": false,
              "interval": "",
              "legendFormat": "batch_success_rate - {{dnode_ep}}",
              "refId": "F"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Requests (Inserts)",
          "type": "timeseries"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "cps"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 9,
            "w": 24,
            "x": 0,
            "y": 15
          },
          "id": 112,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "right"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "targets": [
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_insert_rate{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "insert_rate - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "A"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_insert_batch_rate{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "batch_rate - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "B"
            },
            {
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_insert_rate{cluster_id=\"$cluster\"})",
              "hide": false,
              "interval": "",
              "legendFormat": "cluster_insert_rate",
              "refId": "C"
            },
            {
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_insert_batch_rate{cluster_id=\"$cluster\"})",
              "hide": false,
              "interval": "",
              "legendFormat": "cluster_batch_rate",
              "refId": "D"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Requests Rate (Inserts per Second)",
          "type": "timeseries"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "short"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "/rate/"
                },
                "properties": [
                  {
                    "id": "unit",
                    "value": "cps"
                  }
                ]
              }
            ]
          },
          "gridPos": {
            "h": 8,
            "w": 24,
            "x": 0,
            "y": 24
          },
          "id": 114,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "right"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "targets": [
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_select{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "req_select - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "A"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "sum(taos_dnodes_info_req_select{cluster_id=\"$cluster\"})",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "cluster_req_select",
              "queryType": "SQL",
              "refId": "B"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_select_rate{cluster_id=\"$cluster\"}) by (dnode_ep)",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "req_select_rate - {{dnode_ep}}",
              "queryType": "SQL",
              "refId": "C"
            },
            {
              "colNameFormatStr": "",
              "colNameToGroup": "dnode_ep",
              "exemplar": true,
              "expr": "avg(taos_dnodes_info_req_select_rate{cluster_id=\"$cluster\"})",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "cluster_req_select_rate",
              "queryType": "SQL",
              "refId": "D"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Requests (Selects)",
          "type": "timeseries"
        }
      ],
      "title": "Requests",
      "type": "row"
    },
    {
      "collapsed": true,
      "datasource": "${DS_PROMETHEUS}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 26
      },
      "id": 20,
      "panels": [
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "noValue": "Down",
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "d"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 4,
            "x": 0,
            "y": 7
          },
          "id": 120,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "disk_used",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_uptime{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Uptime",
          "transformations": [
            {
              "id": "reduce",
              "options": {
                "includeTimeField": false,
                "mode": "reduceFields",
                "reducers": [
                  "lastNotNull"
                ]
              }
            }
          ],
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [
                {
                  "options": {
                    "0": {
                      "index": 1,
                      "text": "No"
                    },
                    "1": {
                      "index": 0,
                      "text": "Yes"
                    }
                  },
                  "text": "Yes",
                  "type": 1,
                  "value": "1"
                },
                {
                  "from": "",
                  "id": null,
                  "text": "",
                  "to": "",
                  "type": 1
                }
              ],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 2,
            "x": 4,
            "y": 7
          },
          "id": 121,
          "options": {
            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_has_mnode{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Has MNode?",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "noValue": "Down",
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 2,
            "x": 6,
            "y": 7
          },
          "id": 122,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_cpu_cores{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "CPU Cores",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 2,
            "x": 8,
            "y": 7
          },
          "id": 123,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_vnodes_num{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "VNodes Number",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "none"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 2,
            "x": 10,
            "y": 7
          },
          "id": 124,
          "options": {
            "colorMode": "value",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "text": {},
            "textMode": "auto"
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_masters{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "VNodes Masters",
          "transformations": [],
          "type": "stat"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-GrYlRd"
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "percent"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 4,
            "x": 12,
            "y": 7
          },
          "id": 45,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "mem_taosd",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_cpu_engine{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "format": "time_series",
              "formatType": "Table",
              "instant": false,
              "interval": "",
              "legendFormat": "",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current CPU  Usage of taosd",
          "type": "gauge"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "continuous-GrYlRd"
              },
              "mappings": [],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  }
                ]
              },
              "unit": "deckbytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 4,
            "x": 16,
            "y": 7
          },
          "id": 66,
          "options": {
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "/^taosd$/",
              "values": false
            },
            "showThresholdLabels": false,
            "showThresholdMarkers": false,
            "text": {}
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "memory",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_mem_engine{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "taosd",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "exemplar": true,
              "expr": "taos_dnodes_info_mem_total{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "hide": false,
              "interval": "",
              "legendFormat": "",
              "refId": "B"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Current Memory Usage of taosd",
          "type": "gauge"
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "thresholds"
              },
              "mappings": [],
              "max": 1,
              "min": 0,
              "thresholds": {
                "mode": "percentage",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "#EAB839",
                    "value": 75
                  },
                  {
                    "color": "red",
                    "value": 80
                  },
                  {
                    "color": "dark-red",
                    "value": 95
                  }
                ]
              },
              "unit": "percentunit"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 6,
            "w": 4,
            "x": 20,
            "y": 7
          },
          "id": 51,
          "options": {
            "displayMode": "gradient",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "last"
              ],
              "fields": "",
              "values": false
            },
            "showUnfilled": true,
            "text": {}
          },
          "pluginVersion": "7.5.10",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "disk_used",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_data_dir_used/taos_data_dir_total{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "interval": "",
              "legendFormat": "level0",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Used",
          "transformations": [],
          "type": "bargauge"
        },
        {
          "aliasColors": {},
          "bars": false,
          "cacheTimeout": null,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "unit": "percent"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 11,
            "w": 12,
            "x": 0,
            "y": 13
          },
          "hiddenSeries": false,
          "hideTimeOverride": true,
          "id": 2,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "hideZero": false,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.5.10",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_cpu_engine{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "taosd",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_cpu_system{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "format": "time_series",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "system",
              "queryType": "SQL",
              "refId": "B",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": "1h",
          "timeRegions": [],
          "timeShift": "30s",
          "title": "CPU Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": null,
              "format": "percent",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "cacheTimeout": null,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "unit": "deckbytes"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 11,
            "w": 12,
            "x": 12,
            "y": 13
          },
          "hiddenSeries": false,
          "hideTimeOverride": true,
          "id": 42,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.5.10",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_mem_engine{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "taosd",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_mem_system{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "system",
              "queryType": "SQL",
              "refId": "B",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_dnodes_info_mem_total{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": true,
              "interval": "",
              "legendFormat": "total",
              "queryType": "SQL",
              "refId": "C",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": "1h",
          "timeRegions": [],
          "timeShift": "30s",
          "title": "RAM Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "deckbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "color": {
                "mode": "palette-classic"
              },
              "custom": {
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "graph": false,
                  "legend": false,
                  "tooltip": false
                },
                "lineInterpolation": "linear",
                "lineWidth": 1,
                "pointSize": 5,
                "scaleDistribution": {
                  "type": "linear"
                },
                "showPoints": "never",
                "spanNulls": true
              },
              "mappings": [],
              "min": 1024000,
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 10,
            "w": 12,
            "x": 0,
            "y": 24
          },
          "id": 117,
          "options": {
            "graph": {},
            "legend": {
              "calcs": [
                "mean",
                "lastNotNull",
                "max",
                "min",
                "sum"
              ],
              "displayMode": "table",
              "placement": "bottom"
            },
            "tooltipOptions": {
              "mode": "single"
            }
          },
          "pluginVersion": "7.5.10",
          "repeat": null,
          "repeatDirection": "h",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_data_dir_used{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": false,
              "instant": false,
              "interval": "",
              "legendFormat": "level0_used",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "taos_data_dir_total{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}",
              "formatType": "Time series",
              "hide": true,
              "instant": false,
              "interval": "",
              "legendFormat": "level0_total",
              "queryType": "SQL",
              "refId": "C",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Used",
          "transformations": [],
          "type": "timeseries"
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_PROMETHEUS}",
          "fieldConfig": {
            "defaults": {
              "unit": "binBps"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 10,
            "w": 12,
            "x": 12,
            "y": 24
          },
          "hiddenSeries": false,
          "id": 64,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "sideWidth": 400,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.5.10",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "seriesOverrides": [],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "level0",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "deriv(rate(taos_data_dir_used{cluster_id=\"$cluster\", dnode_ep=\"$fqdn\"}[1m])[5m:1s])  * 1024",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "level0",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "timeshift": {
                "period": null
              },
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeRegions": [],
          "timeShift": null,
          "title": "Disk Used Increasing Rate per Minute",
          "tooltip": {
            "shared": false,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "binBps",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "percentunit",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "cacheTimeout": null,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "unit": "KBs"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 12,
            "w": 12,
            "x": 0,
            "y": 34
          },
          "hiddenSeries": false,
          "hideTimeOverride": true,
          "id": 119,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.5.10",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/last/",
              "dashLength": 5,
              "dashes": true,
              "spaceLength": 5
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "avg_over_time(taos_dnodes_info_io_write_disk{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}[$interval])",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "io_write_disk",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "avg_over_time(taos_dnodes_info_io_read_disk{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}[$interval])",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "io_read_disk",
              "queryType": "SQL",
              "refId": "B",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": "1h",
          "timeRegions": [],
          "timeShift": "30s",
          "title": "Disk IO",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": null,
              "format": "KBs",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        },
        {
          "aliasColors": {},
          "bars": false,
          "cacheTimeout": null,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_PROMETHEUS}",
          "description": "",
          "fieldConfig": {
            "defaults": {
              "links": [],
              "unit": "KBs"
            },
            "overrides": []
          },
          "fill": 1,
          "fillGradient": 0,
          "gridPos": {
            "h": 12,
            "w": 12,
            "x": 12,
            "y": 34
          },
          "hiddenSeries": false,
          "hideTimeOverride": true,
          "id": 118,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": true,
            "min": true,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "options": {
            "alertThreshold": true
          },
          "percentage": false,
          "pluginVersion": "7.5.10",
          "pointradius": 2,
          "points": false,
          "renderer": "flot",
          "scopedVars": {
            "fqdn": {
              "selected": true,
              "text": "26e4f37c41a7:6030",
              "value": "26e4f37c41a7:6030"
            }
          },
          "seriesOverrides": [
            {
              "alias": "/in/",
              "transform": "negative-Y"
            }
          ],
          "spaceLength": 10,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "avg_over_time(taos_dnodes_info_net_in{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}[$interval])",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "net_in",
              "queryType": "SQL",
              "refId": "A",
              "target": "select metric",
              "type": "timeserie"
            },
            {
              "alias": "",
              "colNameFormatStr": "",
              "colNameToGroup": "",
              "exemplar": true,
              "expr": "avg_over_time(taos_dnodes_info_net_out{cluster_id=\"$cluster\",dnode_ep=\"$fqdn\"}[$interval])",
              "formatType": "Time series",
              "hide": false,
              "interval": "",
              "legendFormat": "net_out",
              "queryType": "SQL",
              "refId": "B",
              "target": "select metric",
              "type": "timeserie"
            }
          ],
          "thresholds": [],
          "timeFrom": "1h",
          "timeRegions": [],
          "timeShift": "30s",
          "title": "Net",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": null,
              "format": "KBs",
              "label": "",
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ],
          "yaxis": {
            "align": false,
            "alignLevel": null
          }
        }
      ],
      "repeat": "fqdn",
      "title": "DNode Usage [ $fqdn ]",
      "type": "row"
    }
  ],
  "refresh": "5s",
  "schemaVersion": 27,
  "style": "dark",
  "tags": [
    "TDengine",
    "Prometheus",
    "TaosKeeper"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_cluster_info_version, cluster_id)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "cluster",
        "options": [],
        "query": {
          "query": "label_values(taos_cluster_info_version, cluster_id)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_dnodes_info_uptime{cluster_id=\"$cluster\"}, dnode_ep)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "fqdn",
        "options": [],
        "query": {
          "query": "label_values(taos_dnodes_info_uptime{cluster_id=\"$cluster\"}, dnode_ep)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_dnodes_info_uptime{cluster_id=\"$cluster\"}, dnode_id)",
        "description": null,
        "error": null,
        "hide": 2,
        "includeAll": false,
        "label": "with DNode ID:",
        "multi": false,
        "name": "dnodeid",
        "options": [],
        "query": {
          "query": "label_values(taos_dnodes_info_uptime{cluster_id=\"$cluster\"}, dnode_id)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_vgroups_info_database_name{cluster_id=\"$cluster\"}, value)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "database",
        "options": [],
        "query": {
          "query": "label_values(taos_vgroups_info_database_name{cluster_id=\"$cluster\"}, value)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_cluster_info_first_ep{cluster_id=\"$cluster\"}, value)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "firstEp",
        "options": [],
        "query": {
          "query": "label_values(taos_cluster_info_first_ep{cluster_id=\"$cluster\"}, value)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(taos_cluster_info_version{cluster_id=\"$cluster\"}, value)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "version",
        "options": [],
        "query": {
          "query": "label_values(taos_cluster_info_version{cluster_id=\"$cluster\"}, value)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": true,
        "auto_count": 100,
        "auto_min": "10s",
        "current": {
          "selected": false,
          "text": "5s",
          "value": "5s"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "label": null,
        "name": "interval",
        "options": [
          {
            "selected": false,
            "text": "auto",
            "value": "$__auto_interval_interval"
          },
          {
            "selected": true,
            "text": "5s",
            "value": "5s"
          },
          {
            "selected": false,
            "text": "10s",
            "value": "10s"
          },
          {
            "selected": false,
            "text": "15s",
            "value": "15s"
          },
          {
            "selected": false,
            "text": "20s",
            "value": "20s"
          },
          {
            "selected": false,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "2m",
            "value": "2m"
          },
          {
            "selected": false,
            "text": "5m",
            "value": "5m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          }
        ],
        "query": "5s,10s,15s,20s,30s,1m,2m,5m,10m,30m,1h,6h,12h,1d",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-30m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "TaosKeeper Prometheus Dashboard for 3.x",
  "version": 2,
  "description": "Metrics display for TDengine database for 3.x"
}