{ "__inputs": [], "annotations": { "list": [] }, "description": "", "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [], "panels": [], "refresh": "5s", "rows": [ { "collapse": false, "editable": true, "height": "250px", "panels": [ { "cacheTimeout": null, "datasource": "${datasource}", "description": null, "editable": true, "error": false, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": {}, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 14 }, "height": null, "hideTimeOverride": false, "id": 1, "interval": null, "links": [], "maxDataPoints": 100, "maxPerRow": null, "minSpan": null, "options": { "legend": { "calcs": [ "lastNotNull", "min", "max", "mean", "sum" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "repeat": null, "repeatDirection": null, "span": 4, "targets": [ { "datasource": null, "expr": "sum by(instance) (irate(emqx_messages_sent{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "format": "timeseries", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ instance }}", "metric": "", "query": "sum by(instance) (irate(emqx_messages_sent{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "refId": "{{_instance_}}", "step": 10, "target": "" } ], "timeFrom": null, "timeShift": null, "title": "Messages Sent Rate", "transformations": [], "transparent": false, "type": "timeseries" }, { "cacheTimeout": null, "datasource": "${datasource}", "description": null, "editable": true, "error": false, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": {}, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 14 }, "height": null, "hideTimeOverride": false, "id": 2, "interval": null, "links": [], "maxDataPoints": 100, "maxPerRow": null, "minSpan": null, "options": { "legend": { "calcs": [ "lastNotNull", "min", "max", "mean", "sum" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "repeat": null, "repeatDirection": null, "span": 4, "targets": [ { "datasource": null, "expr": "sum by(instance) (irate(emqx_messages_received{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "format": "timeseries", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ instance }}", "metric": "", "query": "sum by(instance) (irate(emqx_messages_received{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "refId": "{{_instance_}}", "step": 10, "target": "" } ], "timeFrom": null, "timeShift": null, "title": "Messages Received Rate", "transformations": [], "transparent": false, "type": "timeseries" }, { "cacheTimeout": null, "datasource": "${datasource}", "description": null, "editable": true, "error": false, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "log": 2, "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": {}, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 14 }, "height": null, "hideTimeOverride": false, "id": 3, "interval": null, "links": [], "maxDataPoints": 100, "maxPerRow": null, "minSpan": null, "options": { "legend": { "calcs": [ "lastNotNull", "min", "max", "mean", "sum" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "multi" } }, "repeat": null, "repeatDirection": null, "span": 4, "targets": [ { "datasource": null, "expr": "sum by(instance) (irate(emqx_messages_dropped{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "format": "timeseries", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{ instance }}", "metric": "", "query": "sum by(instance) (irate(emqx_messages_dropped{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval]))", "refId": "{{_instance_}}", "step": 10, "target": "" } ], "timeFrom": null, "timeShift": null, "title": "Messages Dropped Rate", "transformations": [], "transparent": false, "type": "timeseries" } ], "repeat": null, "showTitle": true, "title": "Messages Subchart" } ], "schemaVersion": 12, "sharedCrosshair": false, "style": "dark", "tags": [ "EMQX", "MQTT" ], "templating": { "list": [ { "allValue": null, "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "selected": false, "tags": [], "text": null, "value": null }, "datasource": null, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "sort": 1, "tagValuesQuery": null, "tagsQuery": null, "type": "datasource", "useTags": false }, { "allValue": null, "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "selected": false, "tags": [], "text": null, "value": null }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "cluster", "options": [], "query": { "query": "label_values(up, cluster)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "sort": 2, "tagValuesQuery": null, "tagsQuery": null, "type": "query", "useTags": false }, { "allValue": null, "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "selected": false, "tags": [], "text": null, "value": null }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "node", "options": [], "query": { "query": "label_values(up{from=\"emqx\",cluster=\"$cluster\"}, instance)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "tagValuesQuery": null, "tagsQuery": null, "type": "query", "useTags": false } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "hidden": false, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "utc", "title": "Messages Subchart", "uid": "messages", "version": 0 }