| { |
| "__inputs": [ |
| { |
| "name": "DS_PROMETHEUS", |
| "label": "Prometheus", |
| "description": "", |
| "type": "datasource", |
| "pluginId": "prometheus", |
| "pluginName": "Prometheus" |
| } |
| ], |
| "__elements": [], |
| "__requires": [ |
| { |
| "type": "grafana", |
| "id": "grafana", |
| "name": "Grafana", |
| "version": "8.4.7" |
| }, |
| { |
| "type": "panel", |
| "id": "graph", |
| "name": "Graph (old)", |
| "version": "" |
| }, |
| { |
| "type": "panel", |
| "id": "piechart", |
| "name": "Pie chart", |
| "version": "" |
| }, |
| { |
| "type": "datasource", |
| "id": "prometheus", |
| "name": "Prometheus", |
| "version": "1.0.0" |
| }, |
| { |
| "type": "panel", |
| "id": "stat", |
| "name": "Stat", |
| "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": "Complete dashboard using metrics from prometheus JMX exporter, with drill down per job > instance", |
| "editable": true, |
| "fiscalYearStartMonth": 0, |
| "gnetId": 8563, |
| "graphTooltip": 0, |
| "id": null, |
| "iteration": 1703843098511, |
| "links": [], |
| "liveNow": false, |
| "panels": [ |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 88, |
| "panels": [], |
| "title": "shenyu gateway custom metrics", |
| "type": "row" |
| }, |
| { |
| "description": "Start time of the process since unix epoch in seconds.", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "decimals": 0, |
| "mappings": [ |
| { |
| "options": { |
| "match": "null", |
| "result": { |
| "text": "N/A" |
| } |
| }, |
| "type": "special" |
| } |
| ], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| }, |
| "unit": "s" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 4, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 14, |
| "links": [], |
| "maxDataPoints": 100, |
| "options": { |
| "colorMode": "none", |
| "graphMode": "none", |
| "justifyMode": "auto", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "textMode": "auto" |
| }, |
| "pluginVersion": "8.4.7", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": false, |
| "expr": "time() - process_start_time_seconds{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "instant": true, |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "", |
| "refId": "A" |
| } |
| ], |
| "title": "During", |
| "type": "stat" |
| }, |
| { |
| "description": "Api execute count.", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| } |
| }, |
| "mappings": [] |
| }, |
| "overrides": [ |
| { |
| "__systemRef": "hideSeriesFrom", |
| "matcher": { |
| "id": "byNames", |
| "options": { |
| "mode": "exclude", |
| "names": [ |
| "/", |
| "/fallback/sentinel", |
| "/favicon.ico", |
| "/operation", |
| "/operation/api/trade/order/v2/page", |
| "/operation/trade", |
| "/operation/trade/order/v2", |
| "/operation/trade/order/v2/page", |
| "/operation/trade/order/v2/page1" |
| ], |
| "prefix": "All except:", |
| "readOnly": true |
| } |
| }, |
| "properties": [ |
| { |
| "id": "custom.hideFrom", |
| "value": { |
| "legend": false, |
| "tooltip": false, |
| "viz": true |
| } |
| } |
| ] |
| } |
| ] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 4, |
| "x": 4, |
| "y": 1 |
| }, |
| "id": 110, |
| "options": { |
| "legend": { |
| "displayMode": "list", |
| "placement": "bottom" |
| }, |
| "pieType": "donut", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "8.3.3", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "shenyu_request_type_total{job=\"$job\",instance=~\"$instance\"}", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{path}}", |
| "refId": "A" |
| } |
| ], |
| "title": "execute count", |
| "type": "piechart" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "description": "collecting all requests of Apache ShenYu Gateway", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 16, |
| "x": 8, |
| "y": 1 |
| }, |
| "hiddenSeries": false, |
| "id": 108, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideZero": false, |
| "max": true, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "shenyu_request_total{job=\"$job\",instance=~\"$instance\"}", |
| "interval": "", |
| "legendFormat": "total request", |
| "refId": "A" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "shenyu_request_throw_total{job=\"$job\",instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "legendFormat": "throw request", |
| "refId": "B" |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Shenyu request total", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:678", |
| "decimals": 0, |
| "format": "short", |
| "logBase": 1, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:679", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 9 |
| }, |
| "id": 84, |
| "panels": [], |
| "title": "jmx memory pools metrics", |
| "type": "row" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 15, |
| "w": 8, |
| "x": 0, |
| "y": 10 |
| }, |
| "hiddenSeries": false, |
| "id": 2, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "maxPerRow": 2, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "repeat": "mempool", |
| "repeatDirection": "h", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_pool_bytes_used{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{pool}}", |
| "metric": "jvm_memory_bytes_used", |
| "refId": "A", |
| "step": 5 |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Memory pool used", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:197", |
| "format": "bytes", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:198", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 15, |
| "w": 8, |
| "x": 8, |
| "y": 10 |
| }, |
| "hiddenSeries": false, |
| "id": 113, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "maxPerRow": 2, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_pool_bytes_max{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{pool}}", |
| "metric": "jvm_memory_bytes_used", |
| "refId": "B", |
| "step": 5 |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Memory pool max", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:197", |
| "format": "bytes", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:198", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 15, |
| "w": 8, |
| "x": 16, |
| "y": 10 |
| }, |
| "hiddenSeries": false, |
| "id": 114, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "maxPerRow": 2, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_memory_pool_bytes_committed{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{pool}}", |
| "metric": "jvm_memory_bytes_used", |
| "refId": "C", |
| "step": 5 |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Memory pool committed", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:197", |
| "format": "bytes", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:198", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 25 |
| }, |
| "id": 74, |
| "panels": [], |
| "title": "jmx buffer pool metrics", |
| "type": "row" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "description": "Bytes of a given JVM buffer pool.", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 24, |
| "x": 0, |
| "y": 26 |
| }, |
| "hiddenSeries": false, |
| "id": 104, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": false, |
| "hideZero": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_buffer_pool_used_bytes{job=\"$job\",instance=~\"$instance\"}", |
| "instant": false, |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "Used", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Buffer pools", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:493", |
| "format": "bytes", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:494", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 35 |
| }, |
| "id": 72, |
| "panels": [], |
| "title": "garbage collector metrics", |
| "type": "row" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "decimals": 0, |
| "description": "Time spent in a given JVM garbage collector in seconds.", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 36 |
| }, |
| "hiddenSeries": false, |
| "id": 5, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "min", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "increase(jvm_gc_collection_seconds_sum{job=\"$job\",instance=~\"$instance\"}[$__interval])", |
| "format": "time_series", |
| "interval": "60s", |
| "intervalFactor": 1, |
| "legendFormat": "{{gc}}", |
| "metric": "jvm_gc_collection_seconds_sum", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "GC time", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:717", |
| "format": "s", |
| "logBase": 1, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:718", |
| "format": "short", |
| "logBase": 1, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "description": "Count of events that have been observed for the base metric (Time spent in a given JVM garbage collector in seconds.)", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 36 |
| }, |
| "hiddenSeries": false, |
| "id": 96, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": false, |
| "show": true, |
| "total": true, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 2, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "increase(jvm_gc_collection_seconds_count{job=\"$job\",instance=~\"$instance\"}[$__interval])", |
| "interval": "60s", |
| "legendFormat": "{{gc}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "GC number", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:71", |
| "decimals": 0, |
| "format": "short", |
| "logBase": 1, |
| "min": "0", |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:72", |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 44 |
| }, |
| "id": 70, |
| "panels": [], |
| "title": "thread metrics", |
| "type": "row" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "decimals": 0, |
| "description": "Thread JVM.", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 0, |
| "y": 45 |
| }, |
| "hiddenSeries": false, |
| "id": 3, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": true, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_current{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "JVM current threads", |
| "metric": "jvm_threads_current", |
| "refId": "A", |
| "step": 10 |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_daemon{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "JVM daemon threads", |
| "metric": "jvm_threads_daemon", |
| "refId": "B", |
| "step": 10 |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_deadlocked{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "JVM deadlocked threads", |
| "refId": "C" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_deadlocked_monitor{job=\"$job\",instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "JVM deadlocked monitor threads", |
| "refId": "D" |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Threads used", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:558", |
| "decimals": 0, |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:559", |
| "format": "short", |
| "logBase": 1, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "decimals": 0, |
| "description": "Thread JVM.", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 12, |
| "y": 45 |
| }, |
| "hiddenSeries": false, |
| "id": 115, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": true, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true |
| }, |
| "percentage": false, |
| "pluginVersion": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_threads_state{job=\"$job\",instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{state}}", |
| "metric": "jvm_threads_current", |
| "refId": "A", |
| "step": 10 |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Threads state", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:558", |
| "decimals": 0, |
| "format": "short", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:559", |
| "format": "short", |
| "logBase": 1, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 55 |
| }, |
| "id": 68, |
| "panels": [], |
| "title": "class loading metrics", |
| "type": "row" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "description": "The total number of classes that have been loaded or \n loaded since the JVM has started", |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 24, |
| "x": 0, |
| "y": 56 |
| }, |
| "hiddenSeries": false, |
| "id": 4, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "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": "8.4.7", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_classes_loaded{job=\"$job\", instance=~\"$instance\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "classes loaded", |
| "metric": "jvm_classes_loaded", |
| "refId": "A", |
| "step": 10 |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "exemplar": true, |
| "expr": "jvm_classes_unloaded_total{job=\"$job\", instance=~\"$instance\"}", |
| "hide": false, |
| "interval": "", |
| "intervalFactor": 5, |
| "legendFormat": "classes loaded total", |
| "refId": "B" |
| } |
| ], |
| "thresholds": [], |
| "timeRegions": [], |
| "title": "Class loading", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "mode": "time", |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "$$hashKey": "object:723", |
| "decimals": 0, |
| "format": "short", |
| "label": "", |
| "logBase": 1, |
| "show": true |
| }, |
| { |
| "$$hashKey": "object:724", |
| "format": "short", |
| "logBase": 1, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false |
| } |
| } |
| ], |
| "refresh": "", |
| "schemaVersion": 35, |
| "style": "dark", |
| "tags": [ |
| "JVM", |
| "gateway", |
| "shenyu" |
| ], |
| "templating": { |
| "list": [ |
| { |
| "current": { |
| "selected": false, |
| "text": "Apache ShenYu", |
| "value": "Apache ShenYu" |
| }, |
| "hide": 0, |
| "label": "job", |
| "name": "job", |
| "options": [ |
| { |
| "selected": true, |
| "text": "Apache ShenYu", |
| "value": "Apache ShenYu" |
| } |
| ], |
| "query": "Apache ShenYu", |
| "skipUrlSync": false, |
| "type": "textbox" |
| }, |
| { |
| "allValue": ".*", |
| "current": {}, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "definition": "label_values(jvm_info{job=\"$job\"},instance)", |
| "hide": 0, |
| "includeAll": false, |
| "label": "instance", |
| "multi": true, |
| "name": "instance", |
| "options": [], |
| "query": { |
| "query": "label_values(jvm_info{job=\"$job\"},instance)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "current": {}, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "definition": "", |
| "hide": 2, |
| "includeAll": true, |
| "multi": true, |
| "name": "mempool", |
| "options": [], |
| "query": { |
| "query": "label_values(jvm_memory_pool_bytes_max{job=\"$job\", instance=\"$instance\"}, pool)", |
| "refId": "Prometheus-mempool-Variable-Query" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "current": {}, |
| "datasource": { |
| "type": "prometheus", |
| "uid": "${DS_PROMETHEUS}" |
| }, |
| "definition": "label_values(jvm_memory_bytes_used{job=\"$job\", instance=\"$instance\"}, area)", |
| "hide": 2, |
| "includeAll": true, |
| "multi": true, |
| "name": "memarea", |
| "options": [], |
| "query": { |
| "query": "label_values(jvm_memory_bytes_used{job=\"$job\", instance=\"$instance\"}, area)", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-15m", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "5s", |
| "10s", |
| "30s", |
| "1m", |
| "5m" |
| ], |
| "time_options": [ |
| "5m", |
| "15m", |
| "1h", |
| "6h", |
| "12h", |
| "24h", |
| "2d", |
| "7d", |
| "30d" |
| ] |
| }, |
| "timezone": "browser", |
| "title": "Apache ShenYu Dashboard", |
| "uid": "apache_shenyu_dashboard", |
| "version": 16, |
| "weekStart": "" |
| } |