| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": "-- Grafana --", |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 0, |
| "id": 9, |
| "iteration": 1646375564179, |
| "links": [], |
| "panels": [ |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 71, |
| "panels": [ |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 4, |
| "w": 24, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 69, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "Broker 名称", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "broker", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "broker IP", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "brokerIP", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "集群", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "cluster", |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "最早的消息时间", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss.SSS", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "Value #B", |
| "thresholds": [], |
| "type": "date", |
| "unit": "short" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_broker_tps{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "集群信息", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "集群信息", |
| "transform": "table", |
| "type": "table-old" |
| } |
| ], |
| "title": "集群信息", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 1 |
| }, |
| "id": 41, |
| "panels": [ |
| { |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "custom": {}, |
| "mappings": [], |
| "max": 100, |
| "min": 0, |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "purple", |
| "value": null |
| }, |
| { |
| "color": "green", |
| "value": 0 |
| }, |
| { |
| "color": "blue", |
| "value": 60 |
| }, |
| { |
| "color": "yellow", |
| "value": 70 |
| }, |
| { |
| "color": "red", |
| "value": 85 |
| } |
| ] |
| }, |
| "unit": "percent" |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 7, |
| "w": 24, |
| "x": 0, |
| "y": 2 |
| }, |
| "id": 24, |
| "interval": "", |
| "links": [], |
| "options": { |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "mean" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showThresholdLabels": true, |
| "showThresholdMarkers": true |
| }, |
| "pluginVersion": "7.3.1", |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_commitlog_disk_ratio{Cluster=\"$cluster\",Env=\"$env\"}*100", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "磁盘空间使用百分比", |
| "type": "gauge" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "decimals": 0, |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 12, |
| "x": 0, |
| "y": 9 |
| }, |
| "hiddenSeries": false, |
| "id": 20, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_0ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "0ms", |
| "refId": "A" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_0to10ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "0-10ms", |
| "refId": "B" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_10to50ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "10-50ms", |
| "refId": "C" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_50to100ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "50-100ms", |
| "refId": "D" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_100to200ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "100-200ms", |
| "refId": "E" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_200to500ms{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "200-500ms", |
| "refId": "F" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_500to1s{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "500ms-1s", |
| "refId": "G" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_1to2s{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "1-2s", |
| "refId": "H" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_2to3s{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": "2-3s", |
| "refId": "I" |
| }, |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_3to4s{Cluster=\"$cluster\",Env=\"$env\"})+sum(rocketmq_brokeruntime_pmdt_4to5s{Cluster=\"$cluster\",Env=\"$env\"})+sum(rocketmq_brokeruntime_pmdt_5to10s{Cluster=\"$cluster\",Env=\"$env\"})+sum(rocketmq_brokeruntime_pmdt_10stomore{Cluster=\"$cluster\",Env=\"$env\"})", |
| "interval": "", |
| "legendFormat": ">3s", |
| "refId": "J" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "集群每分钟写入消息不同耗时区间趋势", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "decimals": 0, |
| "format": "none", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "decimals": -1, |
| "format": "none", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "decimals": 0, |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 12, |
| "x": 12, |
| "y": 9 |
| }, |
| "hiddenSeries": false, |
| "id": 57, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "max": true, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_brokeruntime_pmdt_200to500ms{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP) + sum(rocketmq_brokeruntime_pmdt_500to1s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_1to2s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_2to3s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_3to4s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_4to5s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_5to10s{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)+sum(rocketmq_brokeruntime_pmdt_10stomore{Cluster=\"$cluster\",Env=\"$env\"}) by (brokerIP)", |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "F" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "可能限流的broker(写入耗时超过200ms的消息数大于0)", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "decimals": -2, |
| "format": "none", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "decimals": 0, |
| "format": "none", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "decimals": 0, |
| "description": "broker收到请求后暂存队列,经过多久后才进行处理,反映broker此时的繁忙程度", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 18 |
| }, |
| "hiddenSeries": false, |
| "id": 28, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": false, |
| "max": true, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "repeat": null, |
| "repeatDirection": "h", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_send_threadpoolqueue_headwait_timemills{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}-发送请求", |
| "refId": "C" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_pull_threadpoolqueue_headwait_timemills{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}-拉取请求", |
| "refId": "A" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_query_threadpoolqueue_headwait_timemills{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}-查询请求", |
| "refId": "B" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "请求等待处理耗时", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "decimals": 0, |
| "format": "ms", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "decimals": 0, |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "decimals": 0, |
| "description": "broker收到请求后暂存队列,经过多久后才进行处理,反映broker此时的繁忙程度", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 18 |
| }, |
| "hiddenSeries": false, |
| "id": 68, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": false, |
| "max": true, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "repeatDirection": "h", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_dispatch_behind_bytes{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": false, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "C" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "已提交commit log等待构建消费队列的消息大小", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "decimals": 2, |
| "format": "bytes", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "decimals": 0, |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 26 |
| }, |
| "hiddenSeries": false, |
| "id": 10, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": true, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "max(rocketmq_group_get_latency_by_storetime{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",group=~\"$group\",topic=~\"$topic\"}) by(group, topic, broker)", |
| "interval": "", |
| "legendFormat": "{{broker}}-{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消息消费的滞后时间(发送到broker经过多少时间还未消费)", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "ms", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "none", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 4, |
| "w": 24, |
| "x": 0, |
| "y": 36 |
| }, |
| "id": 72, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "broker IP", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "brokerIP", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "string", |
| "unit": "none" |
| }, |
| { |
| "alias": "昨天生产消息数", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 0, |
| "mappingType": 1, |
| "pattern": "Value #A", |
| "thresholds": [], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "今天生产消息数", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 0, |
| "mappingType": 1, |
| "pattern": "Value #B", |
| "thresholds": [], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "昨天消费消息数", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 0, |
| "mappingType": 1, |
| "pattern": "Value #C", |
| "thresholds": [], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "今天消费消息数", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 0, |
| "mappingType": 1, |
| "pattern": "Value #D", |
| "thresholds": [], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "最早的有效消息时间", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss.SSS", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "Value #E", |
| "thresholds": [], |
| "type": "date", |
| "unit": "short" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_msg_puttotal_todaymorning{Cluster=\"$cluster\",Env=\"$env\"}-rocketmq_brokeruntime_msg_puttotal_yesterdaymorning{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "hide": false, |
| "instant": true, |
| "interval": "", |
| "legendFormat": "昨天写入", |
| "refId": "A" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_msg_put_total_today_now{Cluster=\"$cluster\",Env=\"$env\"} - rocketmq_brokeruntime_msg_puttotal_todaymorning{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "hide": false, |
| "instant": true, |
| "interval": "", |
| "legendFormat": "今天写入", |
| "refId": "B" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_msg_gettotal_todaymorning{Cluster=\"$cluster\",Env=\"$env\"}-rocketmq_brokeruntime_msg_gettotal_yesterdaymorning{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "hide": false, |
| "instant": true, |
| "interval": "", |
| "legendFormat": "昨天读出", |
| "refId": "C" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_msg_gettotal_today_now{Cluster=\"$cluster\",Env=\"$env\"} - rocketmq_brokeruntime_msg_gettotal_todaymorning{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "hide": false, |
| "instant": true, |
| "interval": "", |
| "legendFormat": "今天读出", |
| "refId": "D" |
| }, |
| { |
| "expr": "rocketmq_brokeruntime_earliest_message_timestamp{Cluster=\"$cluster\",Env=\"$env\"}", |
| "format": "table", |
| "hide": false, |
| "instant": true, |
| "interval": "", |
| "legendFormat": "min消息时间", |
| "refId": "E" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "消息状态", |
| "transform": "table", |
| "transformations": [], |
| "type": "table-old" |
| } |
| ], |
| "title": "集群运行状态", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 2 |
| }, |
| "id": 35, |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 7, |
| "w": 11, |
| "x": 0, |
| "y": 3 |
| }, |
| "hiddenSeries": false, |
| "id": 12, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_broker_tps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}", |
| "interval": "", |
| "legendFormat": "{{broker}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "broker发送tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 7, |
| "w": 13, |
| "x": 11, |
| "y": 3 |
| }, |
| "hiddenSeries": false, |
| "id": 31, |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_broker_qps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}", |
| "interval": "", |
| "legendFormat": " {{broker}}", |
| "refId": "B" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "broker消费tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 15, |
| "x": 0, |
| "y": 10 |
| }, |
| "hiddenSeries": false, |
| "id": 2, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_producer_tps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\"}", |
| "format": "time_series", |
| "hide": false, |
| "instant": false, |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{broker}}-{{topic}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "客户端发送tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 9, |
| "x": 15, |
| "y": 10 |
| }, |
| "hiddenSeries": false, |
| "id": 32, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum by(topic)(rocketmq_producer_tps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\"})", |
| "format": "time_series", |
| "hide": false, |
| "instant": false, |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{topic}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "客户端发送total tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "description": "消费tps", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 15, |
| "x": 0, |
| "y": 20 |
| }, |
| "hiddenSeries": false, |
| "id": 4, |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_consumer_tps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\",group=~\"$group\"}", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{broker}}-{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "客户端消费tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "description": "消费tps", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 9, |
| "x": 15, |
| "y": 20 |
| }, |
| "hiddenSeries": false, |
| "id": 33, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum by(group)(rocketmq_consumer_tps{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\",group=~\"$group\"})", |
| "format": "time_series", |
| "interval": "", |
| "intervalFactor": 1, |
| "legendFormat": "{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "客户端消费total tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "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 |
| } |
| } |
| ], |
| "title": "消息吞吐量", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 3 |
| }, |
| "id": 37, |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 11, |
| "x": 0, |
| "y": 4 |
| }, |
| "hiddenSeries": false, |
| "id": 42, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_producer_message_size{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}) by (broker)", |
| "interval": "", |
| "legendFormat": "{{broker}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "broker每秒发送消息流量大小", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 13, |
| "x": 11, |
| "y": 4 |
| }, |
| "hiddenSeries": false, |
| "id": 43, |
| "legend": { |
| "alignAsTable": false, |
| "avg": false, |
| "current": false, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_consumer_message_size{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}) by (broker)", |
| "interval": "", |
| "legendFormat": "{{broker}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "broker每秒消费消息流量大小", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 11, |
| "x": 0, |
| "y": 12 |
| }, |
| "hiddenSeries": false, |
| "id": 14, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_producer_message_size{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\"}) by(topic)", |
| "interval": "", |
| "legendFormat": "{{topic}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "Topic每秒发送消息大小", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 13, |
| "x": 11, |
| "y": 12 |
| }, |
| "hiddenSeries": false, |
| "id": 16, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_consumer_message_size{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\",group=~\"$group\"}) by (topic, group)", |
| "interval": "", |
| "legendFormat": "{{broker}}-{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费组每秒消费消息大小", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "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 |
| } |
| } |
| ], |
| "title": "流量大小", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 4 |
| }, |
| "id": 39, |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 9, |
| "w": 24, |
| "x": 0, |
| "y": 5 |
| }, |
| "hiddenSeries": false, |
| "id": 44, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": " sum(rocketmq_group_diff{Cluster=\"$cluster\",Env=\"$env\",topic=~\"$topic\",group=~\"$group\"}) by (group,topic) >= 0 and sum(rocketmq_group_diff{Cluster=\"$cluster\",Env=\"$env\",topic=~\"$topic\",group=~\"$group\"}) by (group,topic) <= 100000", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消息积压(积压量: [0, 10W])", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "none", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 11, |
| "x": 0, |
| "y": 14 |
| }, |
| "hiddenSeries": false, |
| "id": 18, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": " sum(rocketmq_group_diff{Cluster=\"$cluster\",Env=\"$env\",topic=~\"$topic\",group=~\"$group\"}) by (group,topic) < 0", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "异常积压(积压量<0)", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": null, |
| "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, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 8, |
| "w": 13, |
| "x": 11, |
| "y": 14 |
| }, |
| "hiddenSeries": false, |
| "id": 45, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": true, |
| "hideZero": true, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": " sum(rocketmq_group_diff{Cluster=\"$cluster\",Env=\"$env\",topic=~\"$topic\",group=~\"$group\"}) by (group,topic) > 100000", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "大量积压(积压量>10W)", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "none", |
| "label": null, |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": false |
| } |
| ], |
| "yaxis": { |
| "align": false, |
| "alignLevel": null |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "decimals": 0, |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 7, |
| "w": 24, |
| "x": 0, |
| "y": 22 |
| }, |
| "hiddenSeries": false, |
| "id": 47, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_group_retrydiff{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\"}) by (group)", |
| "interval": "", |
| "legendFormat": "{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "重试队列积压", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "none", |
| "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 |
| } |
| } |
| ], |
| "title": "积压情况", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 5 |
| }, |
| "id": 49, |
| "panels": [ |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 11, |
| "w": 24, |
| "x": 0, |
| "y": 6 |
| }, |
| "id": 51, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": 10, |
| "desc": true |
| }, |
| "styles": [ |
| { |
| "alias": "消费组", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "group", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "Topic", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "mappingType": 1, |
| "pattern": "topic", |
| "thresholds": [], |
| "type": "string", |
| "unit": "bytes" |
| }, |
| { |
| "alias": "客户端地址", |
| "align": "auto", |
| "colorMode": "value", |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "#37872D" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "clientAddr", |
| "thresholds": [], |
| "type": "string", |
| "unit": "none" |
| }, |
| { |
| "alias": "客户端ID", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "#37872D" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "clientId", |
| "thresholds": [], |
| "type": "string", |
| "unit": "none" |
| }, |
| { |
| "alias": "消费失败量", |
| "align": "auto", |
| "colorMode": "cell", |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 0, |
| "mappingType": 1, |
| "pattern": "Value", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "short" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_client_consume_fail_msg_count{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\",topic=~\"$topic\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "消费失败", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "消费端信息", |
| "transform": "table", |
| "type": "table-old" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 24, |
| "x": 0, |
| "y": 17 |
| }, |
| "hiddenSeries": false, |
| "id": 52, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": true, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "sum(rocketmq_client_consume_fail_msg_count{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\", topic=~\"$topic\"}) by (group)", |
| "interval": "", |
| "legendFormat": "{{group}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费组消费失败量变化趋势", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "none", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 0, |
| "y": 27 |
| }, |
| "hiddenSeries": false, |
| "id": 56, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_client_consumer_pull_tps{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\", topic=~\"$topic\"}", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}@{{clientId}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费端拉取tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "none", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 12, |
| "y": 27 |
| }, |
| "hiddenSeries": false, |
| "id": 54, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_client_consume_ok_msg_tps{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\", topic=~\"$topic\"}", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}@{{clientId}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费端消费成功tps", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "none", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 0, |
| "y": 37 |
| }, |
| "hiddenSeries": false, |
| "id": 53, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_client_consumer_pull_rt{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\", topic=~\"$topic\"}", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}@{{clientId}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费端拉取平均耗时", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "ms", |
| "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 |
| } |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "dashLength": 10, |
| "dashes": false, |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fill": 1, |
| "fillGradient": 0, |
| "gridPos": { |
| "h": 10, |
| "w": 12, |
| "x": 12, |
| "y": 37 |
| }, |
| "hiddenSeries": false, |
| "id": 55, |
| "legend": { |
| "alignAsTable": true, |
| "avg": false, |
| "current": false, |
| "hideEmpty": false, |
| "hideZero": false, |
| "max": false, |
| "min": false, |
| "rightSide": true, |
| "show": false, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "null", |
| "options": { |
| "alertThreshold": true, |
| "dataLinks": [] |
| }, |
| "percentage": false, |
| "pluginVersion": "7.3.1", |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "spaceLength": 10, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "rocketmq_client_consume_rt{Cluster=\"$cluster\",Env=\"$env\",group=~\"$group\", topic=~\"$topic\"}", |
| "interval": "", |
| "legendFormat": "{{topic}}@{{group}}@{{clientId}}", |
| "refId": "A" |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeRegions": [], |
| "timeShift": null, |
| "title": "消费端消费平均耗时", |
| "tooltip": { |
| "shared": true, |
| "sort": 2, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "buckets": null, |
| "mode": "time", |
| "name": null, |
| "show": true, |
| "values": [] |
| }, |
| "yaxes": [ |
| { |
| "format": "ms", |
| "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 |
| } |
| } |
| ], |
| "title": "消费端运行状态", |
| "type": "row" |
| }, |
| { |
| "collapsed": true, |
| "datasource": null, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 6 |
| }, |
| "id": 59, |
| "panels": [ |
| { |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 8, |
| "x": 0, |
| "y": 7 |
| }, |
| "id": 61, |
| "options": { |
| "displayMode": "lcd", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showUnfilled": true |
| }, |
| "pluginVersion": "7.3.1", |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_commitlog_minoffset{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "commit log最小位点", |
| "type": "bargauge" |
| }, |
| { |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 8, |
| "x": 8, |
| "y": 7 |
| }, |
| "id": 63, |
| "options": { |
| "displayMode": "gradient", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showUnfilled": true |
| }, |
| "pluginVersion": "7.3.1", |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_commitlog_maxoffset{Cluster=\"$cluster\",Env=\"$env\"} - rocketmq_brokeruntime_commitlog_minoffset{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "消息量", |
| "type": "bargauge" |
| }, |
| { |
| "datasource": "Prometheus", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {}, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 6, |
| "w": 8, |
| "x": 16, |
| "y": 7 |
| }, |
| "id": 62, |
| "options": { |
| "displayMode": "lcd", |
| "orientation": "horizontal", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showUnfilled": true |
| }, |
| "pluginVersion": "7.3.1", |
| "targets": [ |
| { |
| "expr": "rocketmq_brokeruntime_commitlog_maxoffset{Cluster=\"$cluster\",Env=\"$env\"}", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "{{brokerIP}}", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "commit log最大位点", |
| "type": "bargauge" |
| }, |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 8, |
| "w": 8, |
| "x": 0, |
| "y": 13 |
| }, |
| "id": 64, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "Topic", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "topic", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "生产位点", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "Value", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_producer_offset{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "topic生产位点", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Topic生产位点", |
| "transform": "table", |
| "type": "table-old" |
| }, |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 8, |
| "w": 8, |
| "x": 8, |
| "y": 13 |
| }, |
| "id": 65, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "Topic", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "topic", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "生产位点", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "Value", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_topic_retry_offset{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "topic生产位点", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "重试队列位点", |
| "transform": "table", |
| "type": "table-old" |
| }, |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 8, |
| "w": 8, |
| "x": 16, |
| "y": 13 |
| }, |
| "id": 66, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "消费组", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "group", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "生产位点", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "Value", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_topic_dlq_offset{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "topic生产位点", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "死信队列位点", |
| "transform": "table", |
| "type": "table-old" |
| }, |
| { |
| "columns": [], |
| "datasource": "Prometheus", |
| "description": "", |
| "fieldConfig": { |
| "defaults": { |
| "custom": {} |
| }, |
| "overrides": [] |
| }, |
| "fontSize": "80%", |
| "gridPos": { |
| "h": 9, |
| "w": 24, |
| "x": 0, |
| "y": 21 |
| }, |
| "id": 67, |
| "pageSize": 20, |
| "showHeader": true, |
| "sort": { |
| "col": null, |
| "desc": false |
| }, |
| "styles": [ |
| { |
| "alias": "消费组", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "link": false, |
| "linkTargetBlank": false, |
| "linkTooltip": "消费端明细", |
| "linkUrl": "d/zkVx1w_iz/rocketmq?orgId=1&var-env=${Env}&var-cluster=${Cluster}&var-broker=${broker}&var-topic=All&var-group=$group", |
| "mappingType": 1, |
| "pattern": "group", |
| "preserveFormat": false, |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "消费位点", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(50, 172, 45, 0.97)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(245, 54, 54, 0.9)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": null, |
| "mappingType": 1, |
| "pattern": "Value", |
| "thresholds": [ |
| "1", |
| "100" |
| ], |
| "type": "number", |
| "unit": "none" |
| }, |
| { |
| "alias": "Topic", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "topic", |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "Broker", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "broker", |
| "thresholds": [], |
| "type": "string", |
| "unit": "short" |
| }, |
| { |
| "alias": "", |
| "align": "auto", |
| "colorMode": null, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", |
| "decimals": 2, |
| "mappingType": 1, |
| "pattern": "/.*/", |
| "thresholds": [], |
| "type": "hidden", |
| "unit": "short" |
| } |
| ], |
| "targets": [ |
| { |
| "expr": "rocketmq_consumer_offset{Cluster=\"$cluster\",Env=\"$env\",broker=~\"$broker\",topic=~\"$topic\"}", |
| "format": "table", |
| "instant": true, |
| "interval": "", |
| "legendFormat": "topic生产位点", |
| "refId": "A" |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "消费位点", |
| "transform": "table", |
| "type": "table-old" |
| } |
| ], |
| "title": "位点信息", |
| "type": "row" |
| } |
| ], |
| "refresh": "10s", |
| "schemaVersion": 26, |
| "style": "dark", |
| "tags": [], |
| "templating": { |
| "list": [ |
| { |
| "allValue": null, |
| "current": { |
| "selected": false, |
| "text": "开发", |
| "value": "开发" |
| }, |
| "datasource": "Prometheus", |
| "definition": "label_values(rocketmq_broker_tps,Env)", |
| "error": null, |
| "hide": 0, |
| "includeAll": false, |
| "label": "环境", |
| "multi": false, |
| "name": "env", |
| "options": [], |
| "query": "label_values(rocketmq_broker_tps,Env)", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": false, |
| "text": "test", |
| "value": "test" |
| }, |
| "datasource": "Prometheus", |
| "definition": "label_values(rocketmq_broker_tps{Env=~\"$env\"},Cluster)", |
| "error": null, |
| "hide": 0, |
| "includeAll": false, |
| "label": "集群", |
| "multi": false, |
| "name": "cluster", |
| "options": [], |
| "query": "label_values(rocketmq_broker_tps{Env=~\"$env\"},Cluster)", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 2, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": [ |
| "All" |
| ], |
| "value": [ |
| "$__all" |
| ] |
| }, |
| "datasource": "Prometheus", |
| "definition": "label_values(rocketmq_broker_tps{Cluster=~\"$cluster\"},broker)", |
| "error": null, |
| "hide": 0, |
| "includeAll": true, |
| "label": "Broker名称", |
| "multi": true, |
| "name": "broker", |
| "options": [], |
| "query": "label_values(rocketmq_broker_tps{Cluster=~\"$cluster\"},broker)", |
| "refresh": 2, |
| "regex": "", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": [ |
| "All" |
| ], |
| "value": [ |
| "$__all" |
| ] |
| }, |
| "datasource": "Prometheus", |
| "definition": "label_values( rocketmq_producer_tps{Cluster=~\"$cluster\"}, topic)", |
| "error": null, |
| "hide": 0, |
| "includeAll": true, |
| "label": "主题", |
| "multi": true, |
| "name": "topic", |
| "options": [], |
| "query": "label_values( rocketmq_producer_tps{Cluster=~\"$cluster\"}, topic)", |
| "refresh": 2, |
| "regex": "/^(?!.*?SYS).*$/", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "allValue": null, |
| "current": { |
| "selected": true, |
| "text": [ |
| "All" |
| ], |
| "value": [ |
| "$__all" |
| ] |
| }, |
| "datasource": "Prometheus", |
| "definition": "label_values(rocketmq_consumer_tps{Cluster=~\"$cluster\"}, group)", |
| "error": null, |
| "hide": 0, |
| "includeAll": true, |
| "label": "消费组", |
| "multi": true, |
| "name": "group", |
| "options": [], |
| "query": "label_values(rocketmq_consumer_tps{Cluster=~\"$cluster\"}, group)", |
| "refresh": 2, |
| "regex": "/^(?!.*?SYS).*$/", |
| "skipUrlSync": false, |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-15m", |
| "to": "now" |
| }, |
| "timepicker": { |
| "refresh_intervals": [ |
| "5s", |
| "10s", |
| "30s", |
| "1m", |
| "5m", |
| "15m", |
| "30m", |
| "1h", |
| "2h", |
| "1d" |
| ], |
| "time_options": [ |
| "5m", |
| "15m", |
| "1h", |
| "6h", |
| "12h", |
| "24h", |
| "2d", |
| "7d", |
| "30d" |
| ] |
| }, |
| "timezone": "", |
| "title": "rocketmq-exporter", |
| "uid": "1zkVx1w_iz", |
| "version": 13 |
| } |