| { |
| "__inputs": [ |
| { |
| "name": "DS_PROMETHEUS", |
| "label": "Prometheus", |
| "description": "", |
| "type": "datasource", |
| "pluginId": "prometheus", |
| "pluginName": "Prometheus" |
| } |
| ], |
| "__elements": [], |
| "__requires": [ |
| { |
| "type": "grafana", |
| "id": "grafana", |
| "name": "Grafana", |
| "version": "8.4.2" |
| }, |
| { |
| "type": "datasource", |
| "id": "prometheus", |
| "name": "Prometheus", |
| "version": "1.0.0" |
| }, |
| { |
| "type": "panel", |
| "id": "stat", |
| "name": "Stat", |
| "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" |
| } |
| ] |
| }, |
| "description": "", |
| "editable": true, |
| "fiscalYearStartMonth": 0, |
| "graphTooltip": 0, |
| "id": null, |
| "iteration": 1661505070918, |
| "links": [], |
| "liveNow": false, |
| "panels": [ |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 47, |
| "options": { |
| "colorMode": "value", |
| "graphMode": "area", |
| "justifyMode": "auto", |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.4.2", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "config_node{instance=~\"$instance\"}", |
| "format": "time_series", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{status}} ConfigNode", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "data_node{instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "{{status}} DataNode", |
| "refId": "B" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "storage_group{instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Storage Group", |
| "refId": "E" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(region{instance=~\"$instance\", name=\"total\"})", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Total Region", |
| "refId": "C" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "region{instance=~\"$instance\", name=\"total\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "{{type}}", |
| "refId": "D" |
| } |
| ], |
| "title": "Overview", |
| "type": "stat" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 8 |
| }, |
| "id": 36, |
| "panels": [], |
| "title": "Node Info", |
| "type": "row" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "axisSoftMax": 2, |
| "axisSoftMin": 0, |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [ |
| { |
| "options": { |
| "0": { |
| "index": 1, |
| "text": "Unknown" |
| }, |
| "1": { |
| "index": 0, |
| "text": "Online" |
| } |
| }, |
| "type": "value" |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 9 |
| }, |
| "id": 30, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "8.4.2", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "editorMode": "code", |
| "exemplar": true, |
| "expr": "cluster_node_status{}", |
| "legendFormat": "{{instance}} {{type}} {{name}}", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "The status of cluster node", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 19 |
| }, |
| "id": 28, |
| "panels": [], |
| "title": "Leadership Distribution", |
| "type": "row" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 24, |
| "x": 0, |
| "y": 20 |
| }, |
| "id": 26, |
| "options": { |
| "colorMode": "value", |
| "graphMode": "area", |
| "justifyMode": "auto", |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.4.2", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "editorMode": "code", |
| "exemplar": true, |
| "expr": "max(cluster_node_leader_count{}) by (name) ", |
| "interval": "", |
| "legendFormat": "Total leaders on {{name}} ", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Leadership distribution", |
| "type": "stat" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 28 |
| }, |
| "id": 24, |
| "panels": [], |
| "title": "Region", |
| "type": "row" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 29 |
| }, |
| "id": 22, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(region{instance=~\"${instance}\", name=~\"EndPoint.*\"}) by (name)", |
| "interval": "", |
| "legendFormat": "{{name}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Total Region in Node", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 29 |
| }, |
| "id": 20, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "region{instance=~\"${instance}\", name=~\"EndPoint.*\"}", |
| "interval": "", |
| "legendFormat": "{{name}}-{{type}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Region in Node", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 37 |
| }, |
| "id": 20, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "region{instance=~\"${instance}\", name!=\"total\", name!~\"EndPoint.*\"}", |
| "interval": "", |
| "legendFormat": "{{name}}-{{type}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Region in StorageGroup", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 37 |
| }, |
| "id": 18, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "slot{instance=~\"$instance\"}", |
| "interval": "", |
| "legendFormat": "{{name}}-{{type}}", |
| "refId": "A" |
| } |
| ], |
| "title": "Slot In Storage Group", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 45 |
| }, |
| "id": 16, |
| "panels": [], |
| "title": "System", |
| "type": "row" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 46 |
| }, |
| "id": 10, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60", |
| "interval": "", |
| "legendFormat": "Young GC number", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Full GC number", |
| "refId": "B" |
| } |
| ], |
| "title": "The number of GC (per minute)", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "s" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 46 |
| }, |
| "id": 8, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of minor GC\"}[1m]))*60", |
| "interval": "", |
| "legendFormat": "The time of young GC", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", action=\"end of major GC\"}[1m]))*60", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "The time of full GC", |
| "refId": "B" |
| } |
| ], |
| "title": "The time consumed of GC(per minute)", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "bytes" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 54 |
| }, |
| "id": 6, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(jvm_memory_max_bytes{instance=~\"$instance\",area=\"heap\"})", |
| "interval": "", |
| "legendFormat": "Maximum heap memory", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\"})", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Used heap memory", |
| "refId": "B" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Old Gen\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Old area", |
| "refId": "C" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Eden Space\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Eden area", |
| "refId": "D" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_used_bytes{instance=~\"$instance\",area=\"heap\",id=\"PS Survivor Space\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Survivor area", |
| "refId": "E" |
| } |
| ], |
| "title": "Heap Memory", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "bytes" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 54 |
| }, |
| "id": 4, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sum(jvm_buffer_memory_used_bytes{instance=~\"$instance\"})", |
| "interval": "", |
| "legendFormat": "off-heap memory", |
| "refId": "A" |
| } |
| ], |
| "title": "Off-heap Memory", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 62 |
| }, |
| "id": 2, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_live_threads{instance=~\"$instance\"}", |
| "interval": "", |
| "legendFormat": "The total number of jvm thread", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_states_threads{instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "{{state}}", |
| "refId": "B" |
| } |
| ], |
| "title": "The number of Java thread", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "s" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 62 |
| }, |
| "id": 26, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "avg(rate(entry_seconds_sum{}[1m])/rate(entry_seconds_count{}[1m])) by (name,instance)", |
| "interval": "", |
| "legendFormat": "{{instance}}-{{name}}", |
| "refId": "A" |
| } |
| ], |
| "title": "The time consumed of interface", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "axisSoftMax": 0, |
| "axisSoftMin": 0, |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "percentage", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 70 |
| }, |
| "id": 42, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sys_cpu_load{instance=\"$instance\",name=\"system\"}", |
| "interval": "", |
| "legendFormat": "System CPU Load", |
| "refId": "A" |
| } |
| ], |
| "title": "CPU-Load", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "bytes" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 70 |
| }, |
| "id": 44, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}-sys_free_physical_memory_size{instance=\"$instance\", name=\"system\"}", |
| "interval": "", |
| "legendFormat": "Used physical memory", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sys_total_physical_memory_size{instance=\"$instance\", name=\"system\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Total physical memory", |
| "refId": "B" |
| } |
| ], |
| "title": "Memory", |
| "type": "timeseries" |
| }, |
| { |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "axisSoftMin": -5, |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| } |
| ] |
| }, |
| "unit": "bytes" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 78 |
| }, |
| "id": 46, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sys_disk_total_space{instance=\"$instance\", name=\"system\"}-sys_disk_free_space{instance=\"$instance\", name=\"system\"}", |
| "interval": "", |
| "legendFormat": "Used disk space", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "sys_disk_total_space{instance=\"$instance\", name=\"system\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "Total disk space", |
| "refId": "B" |
| } |
| ], |
| "title": "Disk-Space", |
| "type": "timeseries" |
| } |
| ], |
| "refresh": "", |
| "schemaVersion": 35, |
| "style": "dark", |
| "tags": [ |
| "Apache-IoTDB", |
| "ConfigNode", |
| "0.14.0" |
| ], |
| "templating": { |
| "list": [ |
| { |
| "current": {}, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "definition": "label_values(job)", |
| "hide": 0, |
| "includeAll": false, |
| "multi": false, |
| "name": "job", |
| "options": [], |
| "query": { |
| "query": "label_values(job)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "type": "query" |
| }, |
| { |
| "current": {}, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "definition": "label_values(up{job=~\"$job\"},instance)", |
| "hide": 0, |
| "includeAll": false, |
| "multi": false, |
| "name": "instance", |
| "options": [], |
| "query": { |
| "query": "label_values(up{job=~\"$job\"},instance)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "type": "query" |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-30m", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "15s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m" |
| ] |
| }, |
| "timezone": "browser", |
| "title": "Apache IoTDB ConfigNode Dashboard", |
| "uid": "TbEVYRw7g", |
| "version": 4, |
| "weekStart": "" |
| } |