1
0
Fork 0
grafana-dashboards/emqx/overview.json

5691 lines
171 KiB
JSON

{
"__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": {
"custom": {},
"decimals": null,
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 2,
"text": "Unknown"
},
"1": {
"color": "red",
"index": 1,
"text": "Unhealthy"
},
"2": {
"color": "green",
"index": 0,
"text": "Healthy"
}
},
"type": "value"
}
],
"noValue": "none",
"thresholds": {
"mode": "absolute",
"steps": ""
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 1
},
"height": null,
"hideTimeOverride": false,
"id": 1,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Status$/",
"values": false
},
"textMode": "auto"
},
"repeat": null,
"repeatDirection": null,
"span": "2",
"targets": [
{
"datasource": null,
"expr": "emqx_cluster_status{cluster=\"$cluster\"}",
"format": "stat",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Status",
"metric": "",
"query": "emqx_cluster_status{cluster=\"$cluster\"}",
"refId": "status",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Status",
"transformations": [],
"transparent": false,
"type": "stat"
},
{
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 10,
"y": 1
},
"height": null,
"hideTimeOverride": false,
"id": 2,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 2,
"targets": [
{
"datasource": null,
"expr": "emqx_messages_input_period_second{cluster=\"$cluster\"}",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Msg Input Period Second",
"metric": "",
"query": "emqx_messages_input_period_second{cluster=\"$cluster\"}",
"refId": "msg_input_period_second",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "emqx_messages_output_period_second{cluster=\"$cluster\"}",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Msg Output Period Second",
"metric": "",
"query": "emqx_messages_output_period_second{cluster=\"$cluster\"}",
"refId": "msg_output_period_second",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Message 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": 15,
"gradientMode": "none",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Running"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Stopped"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 5,
"x": 15,
"y": 1
},
"height": null,
"hideTimeOverride": false,
"id": 3,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 2,
"targets": [
{
"datasource": null,
"expr": "max(emqx_cluster_nodes_running{instance=~\".*\", cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Running",
"metric": "",
"query": "max(emqx_cluster_nodes_running{instance=~\".*\", cluster=\"$cluster\"})",
"refId": "running",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "max(emqx_cluster_nodes_stopped{instance=~\".*\", cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Stopped",
"metric": "",
"query": "max(emqx_cluster_nodes_stopped{instance=~\".*\", cluster=\"$cluster\"})",
"refId": "stopped",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Nodes Running",
"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": 15,
"gradientMode": "none",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 20,
"y": 1
},
"height": null,
"hideTimeOverride": false,
"id": 4,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 2,
"targets": [
{
"datasource": null,
"expr": "sum(emqx_scrape_collector_duration_seconds{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Latency",
"metric": "",
"query": "sum(emqx_scrape_collector_duration_seconds{cluster=\"$cluster\"})",
"refId": "latency",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Exporter Latency",
"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": 15,
"gradientMode": "none",
"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": "area"
}
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 80
},
{
"color": "red",
"value": 90
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 5,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum(emqx_license_max_client_limit{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Max",
"metric": "",
"query": "sum(emqx_license_max_client_limit{cluster=\"$cluster\"})",
"refId": "max",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(emqx_sessions_count{instance=~\".*\", cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Count",
"metric": "",
"query": "sum(emqx_sessions_count{instance=~\".*\", cluster=\"$cluster\"})",
"refId": "count",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(instance) (emqx_sessions_count{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"metric": "",
"query": "sum by(instance) (emqx_sessions_count{cluster=\"$cluster\"})",
"refId": "{{_instance_}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Sessions",
"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": 6,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum(emqx_live_connections_count{instance=~\".*\", cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Total",
"metric": "",
"query": "sum(emqx_live_connections_count{instance=~\".*\", cluster=\"$cluster\"})",
"refId": "total",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(instance) (emqx_connections_count{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"metric": "",
"query": "sum by(instance) (emqx_connections_count{cluster=\"$cluster\"})",
"refId": "{{_instance_}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connections",
"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": 7,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum(emqx_suboptions_count{instance=~\".*\", cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Subscriptions",
"metric": "",
"query": "sum(emqx_suboptions_count{instance=~\".*\", cluster=\"$cluster\"})",
"refId": "subscriptions",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(instance) (emqx_suboptions_count{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ instance }}",
"metric": "",
"query": "sum by(instance) (emqx_suboptions_count{cluster=\"$cluster\"})",
"refId": "{{_instance_}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Subscriptions",
"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": 8,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Last 5m Exec Rate Node Detail",
"url": "/d/rule-engine-rate/Rule Engine Last 5m Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=2"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ rule }}",
"metric": "",
"query": "sum by(rule) (emqx_rule_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{_rule_}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Last 5m Exec 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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 9,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_connect{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval])) - sum(irate(emqx_packets_connack_error {instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Auth Success",
"metric": "",
"query": "sum(irate(emqx_packets_connect{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval])) - sum(irate(emqx_packets_connack_error {instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "auth_success",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_connack_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Auth Failure",
"metric": "",
"query": "sum(irate(emqx_packets_connack_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "auth_failure",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connect Auth",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 10,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_publish_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Publish ACL Failure",
"metric": "",
"query": "sum(irate(emqx_packets_publish_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "publish_acl_failure",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_subscribe_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Sub ACL Failure ",
"metric": "",
"query": "sum(irate(emqx_packets_subscribe_auth_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "sub_acl_failure",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "ACL Auth",
"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": 11,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(type, name) (emqx_rule_bridge_queuing{cluster=\"$cluster\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{type}}-{{name}}",
"metric": "",
"query": "sum by(type, name) (emqx_rule_bridge_queuing{cluster=\"$cluster\"})",
"refId": "{{type}}-{{name}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Data Bridge Queuing",
"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": 12,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Current Exec Rate Node Detail",
"url": "/d/rule-engine-rate/Rule Engine Current Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=1"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ rule }}",
"metric": "",
"query": "sum by(rule) (emqx_rule_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{_rule_}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Current Exec 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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 13,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Exec Success Node Detail",
"url": "/d/rule-engine-count/Rule Engine Exec Success?orgId=1&refresh=10s&var-node=All&viewPanel=2"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_exec_pass_count{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{rule}}",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_exec_pass_count{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"refId": "{{rule}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Exec Success",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 14,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Exec Failure Node Detail",
"url": "/d/rule-engine-count/Rule Engine Exec Failure?orgId=1&refresh=10s&var-node=All&viewPanel=3"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_exec_failure_count{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{rule}}",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_exec_failure_count{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"refId": "{{rule}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Exec Failure",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 15,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Action Success Node Detail",
"url": "/d/rule-engine-count/Rule Engine Action Success?orgId=1&refresh=10s&var-node=All&viewPanel=4"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_action_success{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{rule}}",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_action_success{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"refId": "{{rule}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Action Success",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 16,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Rule Engine Action Failure Node Detail",
"url": "/d/rule-engine-count/Rule Engine Action Failure?orgId=1&refresh=10s&var-node=All&viewPanel=5"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 3,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_action_failed{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{rule}}",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_action_failed{cluster=\"$cluster\", node=~\".*\"}[$__rate_interval]))",
"refId": "{{rule}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Action Failure",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "General"
},
{
"collapse": true,
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 17,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Client Connection Events Node Detail",
"url": "/d/client-events/Client Connection Events?orgId=1&refresh=10s&var-node=All&viewPanel=1"
},
{
"targetBlank": true,
"title": "Show Client Disconnection Events Node Detail",
"url": "/d/client-events/Client Disconnection Events?orgId=1&refresh=10s&var-node=All&viewPanel=2"
}
],
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_client_connected{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Connections",
"metric": "",
"query": "sum(irate(emqx_client_connected{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "connections",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_client_disconnected{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Disconnections",
"metric": "",
"query": "sum(irate(emqx_client_disconnected{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "disconnections",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Client Connection Events",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 18,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Client Sub Events Node Detail",
"url": "/d/client-events/Client Sub Events?orgId=1&refresh=10s&var-node=All&viewPanel=3"
},
{
"targetBlank": true,
"title": "Show Client Unsub Events Node Detail",
"url": "/d/client-events/Client Unsub Events?orgId=1&refresh=10s&var-node=All&viewPanel=4"
}
],
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_client_subscribe{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Subscribes",
"metric": "",
"query": "sum(irate(emqx_client_subscribe{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "subscribes",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_client_unsubscribe{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Unsubscribes",
"metric": "",
"query": "sum(irate(emqx_client_unsubscribe{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "unsubscribes",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Client Sub Events",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 19,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Client Connect Auth Events Node Detail",
"url": "/d/client-events/Client Connect Auth Events?orgId=1&refresh=10s&var-node=All&viewPanel=5"
}
],
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_client_authenticate{cluster=\"$cluster\",instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Connect Auth",
"metric": "",
"query": "sum(irate(emqx_client_authenticate{cluster=\"$cluster\",instance=~\".*\"}[$__rate_interval]))",
"refId": "connect_auth",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_client_auth_anonymous{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Anonymous Auth",
"metric": "",
"query": "sum(irate(emqx_client_auth_anonymous{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "anonymous_auth",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Client Connect Auth Events",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 20,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Client Acl Auth Events V5 Node Detail",
"url": "/d/client-events/Client ACL Auth Events?orgId=1&refresh=10s&var-node=All&viewPanel=7"
}
],
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_client_authorize{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "ACL Auth",
"metric": "",
"query": "sum(irate(emqx_client_authorize{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "acl_auth",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Client ACL Auth Events",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "Event"
},
{
"collapse": true,
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Packets Connect"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Connack Sent"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Connack Error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 21,
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_connect{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Connect",
"metric": "",
"query": "sum(irate(emqx_packets_connect{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_connect",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_connack_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Connack Sent",
"metric": "",
"query": "sum(irate(emqx_packets_connack_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_connack_sent",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_connack_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Connack Error",
"metric": "",
"query": "sum(irate(emqx_packets_connack_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_connack_error",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Packets Connections",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Packets Disconnect Sent"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "semi-dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Disconnect Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 22,
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_disconnect_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Disconnect Sent",
"metric": "",
"query": "sum(irate(emqx_packets_disconnect_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_disconnect_sent",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_disconnect_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Disconnect Received",
"metric": "",
"query": "sum(irate(emqx_packets_disconnect_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_disconnect_received",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Packets Disconnections",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Packets Publish Sent"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Publish Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Publish Dropped"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Publish Error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 23,
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_publish_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Publish Sent",
"metric": "",
"query": "sum(irate(emqx_packets_publish_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_publish_sent",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_publish_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Publish Received",
"metric": "",
"query": "sum(irate(emqx_packets_publish_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_publish_received",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_publish_dropped{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Publish Dropped",
"metric": "",
"query": "sum(irate(emqx_packets_publish_dropped{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_publish_dropped",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_publish_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Publish Error",
"metric": "",
"query": "sum(irate(emqx_packets_publish_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_publish_error",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Packets Publish",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Packets Subscribe Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Suback Sent"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Subscribe Error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Unsubscribe Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Packets Unsubscribe Error"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 24,
"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": 3,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_packets_subscribe_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Subscribe Received",
"metric": "",
"query": "sum(irate(emqx_packets_subscribe_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_subscribe_received",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_suback_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Suback Sent",
"metric": "",
"query": "sum(irate(emqx_packets_suback_sent{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_suback_sent",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_subscribe_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Subscribe Error",
"metric": "",
"query": "sum(irate(emqx_packets_subscribe_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_subscribe_error",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_unsubscribe_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Unsubscribe Received",
"metric": "",
"query": "sum(irate(emqx_packets_unsubscribe_received{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_unsubscribe_received",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_packets_unsubscribe_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Packets Unsubscribe Error",
"metric": "",
"query": "sum(irate(emqx_packets_unsubscribe_error{instance=~\".*\", cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "packets_unsubscribe_error",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Packets Subscribe/Unsubscribe",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "Packets"
},
{
"collapse": true,
"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": [
{
"matcher": {
"id": "byName",
"options": "Messages Received"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "dark-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Messages Sent"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Messages Dropped"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-red",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 25,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Messages Received Rate Node Detail",
"url": "/d/messages/Messages Received Rate?orgId=1&refresh=10s&var-node=All&viewPanel=2"
},
{
"targetBlank": true,
"title": "Show Messages Sent Rate Node Detail",
"url": "/d/messages/Messages Sent Rate?orgId=1&refresh=10s&var-node=All&viewPanel=1"
},
{
"targetBlank": true,
"title": "Show Messages Dropped Rate Node Detail",
"url": "/d/messages/Messages Dropped Rate?orgId=1&refresh=10s&var-node=All&viewPanel=3"
}
],
"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(irate(emqx_messages_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Messages Received",
"metric": "",
"query": "sum(irate(emqx_messages_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "messages_received",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_messages_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Messages Sent",
"metric": "",
"query": "sum(irate(emqx_messages_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "messages_sent",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_messages_dropped{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Messages Dropped",
"metric": "",
"query": "sum(irate(emqx_messages_dropped{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "messages_dropped",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Messages Count",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 26,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum(irate(emqx_messages_qos0_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "QOS0",
"metric": "",
"query": "sum(irate(emqx_messages_qos0_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "qos0",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_messages_qos1_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "QOS1",
"metric": "",
"query": "sum(irate(emqx_messages_qos1_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "qos1",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_messages_qos2_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "QOS2",
"metric": "",
"query": "sum(irate(emqx_messages_qos2_received{cluster=\"$cluster\", instance=~\".*\"}[$__rate_interval]))",
"refId": "qos2",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Messages QOS Received",
"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": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 27,
"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(irate(emqx_bytes_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Bytes received",
"metric": "",
"query": "sum(irate(emqx_bytes_received{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "bytes_received",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum(irate(emqx_bytes_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Bytes sent",
"metric": "",
"query": "sum(irate(emqx_bytes_sent{instance=~\".*\",cluster=\"$cluster\"}[$__rate_interval]))",
"refId": "bytes_sent",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cluster Traffic Statistics",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "Messages"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"color": {
"mode": "thresholds"
},
"columns": [],
"datasource": "${datasource}",
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #status"
},
"properties": [
{
"id": "displayName",
"value": "Status"
},
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"color": "red",
"index": 1,
"text": "Disconected"
},
"2": {
"color": "green",
"index": 0,
"text": "Connected"
}
},
"type": "value"
},
{
"options": {
"match": null,
"result": {
"color": "red",
"index": 2,
"text": "N/A"
}
},
"type": "special"
}
]
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #queuing"
},
"properties": [
{
"id": "displayName",
"value": "Queuing"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 10,
"x": 0,
"y": 42
},
"height": null,
"hideTimeOverride": false,
"id": 28,
"interval": null,
"links": [],
"mappings": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"showHeader": true
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(type, name) (emqx_rule_bridge_status{cluster=\"$cluster\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Status",
"metric": "",
"query": "sum by(type, name) (emqx_rule_bridge_status{cluster=\"$cluster\"})",
"refId": "status",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(type, name) (emqx_rule_bridge_queuing{cluster=\"$cluster\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Queuing",
"metric": "",
"query": "sum by(type, name) (emqx_rule_bridge_queuing{cluster=\"$cluster\"})",
"refId": "queuing",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Data Bridge Status",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"type",
"name",
"Value #status",
"Value #queuing"
]
}
}
}
],
"transparent": false,
"type": "table"
},
{
"cacheTimeout": null,
"color": {
"mode": "thresholds"
},
"columns": [],
"datasource": "${datasource}",
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #topic_hit_cout"
},
"properties": [
{
"id": "displayName",
"value": "Topic Hit Cout"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #max_rate"
},
"properties": [
{
"id": "displayName",
"value": "Max Rate"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #exec_pass"
},
"properties": [
{
"id": "displayName",
"value": "Exec Pass"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #exec_exception_last_15m"
},
"properties": [
{
"id": "displayName",
"value": "Exec Exception last 15m"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #exec_no_result_15m"
},
"properties": [
{
"id": "displayName",
"value": "Exec No Result 15m"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #call_action_total"
},
"properties": [
{
"id": "displayName",
"value": "Call Action Total"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #action_success"
},
"properties": [
{
"id": "displayName",
"value": "Action Success"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #action_failed_last_15m"
},
"properties": [
{
"id": "displayName",
"value": "Action Failed last 15m"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 10,
"x": 0,
"y": 42
},
"height": null,
"hideTimeOverride": false,
"id": 29,
"interval": null,
"links": [],
"mappings": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"showHeader": true
},
"repeat": null,
"repeatDirection": null,
"span": 8,
"targets": [
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_topic_hit_count{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Topic Hit Cout",
"metric": "",
"query": "sum by(rule) (emqx_rule_topic_hit_count{cluster=\"$cluster\", node=~\".*\"})",
"refId": "topic_hit_cout",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "max by(rule) (emqx_rule_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Max Rate",
"metric": "",
"query": "max by(rule) (emqx_rule_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "max_rate",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_exec_pass_count{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Exec Pass",
"metric": "",
"query": "sum by(rule) (emqx_rule_exec_pass_count{cluster=\"$cluster\", node=~\".*\"})",
"refId": "exec_pass",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_exec_exception_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Exec Exception last 15m",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_exec_exception_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"refId": "exec_exception_last_15m",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (irate(emqx_rule_exec_no_result_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Exec No Result 15m",
"metric": "",
"query": "sum by(rule) (irate(emqx_rule_exec_no_result_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"refId": "exec_no_result_15m",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_action_total{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Call Action Total",
"metric": "",
"query": "sum by(rule) (emqx_rule_action_total{cluster=\"$cluster\", node=~\".*\"})",
"refId": "call_action_total",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (emqx_rule_action_success{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Action Success",
"metric": "",
"query": "sum by(rule) (emqx_rule_action_success{cluster=\"$cluster\", node=~\".*\"})",
"refId": "action_success",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(rule) (increase(emqx_rule_action_failed{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Action Failed last 15m",
"metric": "",
"query": "sum by(rule) (increase(emqx_rule_action_failed{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"refId": "action_failed_last_15m",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Rule Engine Execute Count",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"rule",
"Value #topic_hit_cout",
"Value #max_rate",
"Value #exec_pass",
"Value #exec_exception_last_15m",
"Value #exec_no_result_15m",
"Value #call_action_total",
"Value #action_success",
"Value #action_failed_last_15m"
]
}
}
}
],
"transparent": false,
"type": "table"
}
],
"repeat": null,
"showTitle": true,
"title": "Rule Engine"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"color": {
"mode": "thresholds"
},
"columns": [],
"datasource": "${datasource}",
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #status"
},
"properties": [
{
"id": "displayName",
"value": "Status"
},
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"color": "red",
"index": 1,
"text": "Disconnected"
},
"2": {
"color": "green",
"index": 0,
"text": "Connected"
}
},
"type": "value"
},
{
"options": {
"match": "null",
"result": {
"color": "red",
"index": 2,
"text": "Unknown"
}
},
"type": "special"
}
]
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #max_rate"
},
"properties": [
{
"id": "displayName",
"value": "Max Rate"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #total"
},
"properties": [
{
"id": "displayName",
"value": "Total"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #allow"
},
"properties": [
{
"id": "displayName",
"value": "Allow"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #deny_last_15m"
},
"properties": [
{
"id": "displayName",
"value": "Deny last 15m"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 10,
"x": 0,
"y": 42
},
"height": null,
"hideTimeOverride": false,
"id": 30,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authenticate Count Node Detail",
"url": "/d/authentication/Authenticate Count?orgId=1&refresh=10s&var-node=All&viewPanel=1"
}
],
"mappings": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"showHeader": true
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authentication_resource_status{cluster=\"$cluster\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Status",
"metric": "",
"query": "sum by(resource) (emqx_authentication_resource_status{cluster=\"$cluster\"})",
"refId": "status",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "max by(resource) (emqx_authentication_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Max Rate",
"metric": "",
"query": "max by(resource) (emqx_authentication_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "max_rate",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (emqx_authentication_total{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Total",
"metric": "",
"query": "sum by(resource) (emqx_authentication_total{cluster=\"$cluster\", node=~\".*\"})",
"refId": "total",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (emqx_authentication_allow_count{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Allow",
"metric": "",
"query": "sum by(resource) (emqx_authentication_allow_count{cluster=\"$cluster\", node=~\".*\"})",
"refId": "allow",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (irate(emqx_authentication_deny_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Deny last 15m",
"metric": "",
"query": "sum by(resource) (irate(emqx_authentication_deny_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"refId": "deny_last_15m",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authenticate Count",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"resource",
"Value #status",
"Value #max_rate",
"Value #total",
"Value #allow",
"Value #deny_last_15m"
]
}
}
}
],
"transparent": false,
"type": "table"
},
{
"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": 31,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authenticate Current Exec Rate Node Detail",
"url": "/d/authentication/Authenticate Current Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=2"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authentication_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{resource}}",
"metric": "",
"query": "sum by(resource) (emqx_authentication_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{resource}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authenticate Current Exec 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": 32,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authenticate Last 5m Exec Rate Node Detail",
"url": "/d/authentication/Authenticate Last 5m Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=3"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authentication_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{resource}}",
"metric": "",
"query": "sum by(resource) (emqx_authentication_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{resource}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authenticate Last 5m Exec Rate",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "Connect Auth"
},
{
"collapse": true,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"color": {
"mode": "thresholds"
},
"columns": [],
"datasource": "${datasource}",
"description": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"filterable": true
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value #status"
},
"properties": [
{
"id": "displayName",
"value": "Status"
},
{
"id": "mappings",
"value": [
{
"options": {
"1": {
"color": "red",
"index": 1,
"text": "Disconnected"
},
"2": {
"color": "green",
"index": 0,
"text": "Connected"
}
},
"type": "value"
},
{
"options": {
"match": null,
"result": {
"color": "red",
"index": 2,
"text": "Unknown"
}
},
"type": "special"
}
]
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #max_rate"
},
"properties": [
{
"id": "displayName",
"value": "Max Rate"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #total"
},
"properties": [
{
"id": "displayName",
"value": "Total"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #allow"
},
"properties": [
{
"id": "displayName",
"value": "Allow"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value #deny_last_15m"
},
"properties": [
{
"id": "displayName",
"value": "Deny last 15m"
},
{
"id": "thresholds",
"value": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
{
"id": "custom.cellOptions",
"value": {
"mode": "gradient",
"type": "color-background"
}
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 10,
"x": 0,
"y": 42
},
"height": null,
"hideTimeOverride": false,
"id": 33,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authorize Count Node Detail",
"url": "/d/authorization/Authorize Count?orgId=1&refresh=10s&var-node=All&viewPanel=1"
}
],
"mappings": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"showHeader": true
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authorization_resource_status{cluster=\"$cluster\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Status",
"metric": "",
"query": "sum by(resource) (emqx_authorization_resource_status{cluster=\"$cluster\"})",
"refId": "status",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "max by(resource) (emqx_authorization_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Max Rate",
"metric": "",
"query": "max by(resource) (emqx_authorization_exec_max_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "max_rate",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (emqx_authorization_total{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Total",
"metric": "",
"query": "sum by(resource) (emqx_authorization_total{cluster=\"$cluster\", node=~\".*\"})",
"refId": "total",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (emqx_authorization_allow_count{cluster=\"$cluster\", node=~\".*\"})",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Allow",
"metric": "",
"query": "sum by(resource) (emqx_authorization_allow_count{cluster=\"$cluster\", node=~\".*\"})",
"refId": "allow",
"step": 10,
"target": ""
},
{
"datasource": null,
"expr": "sum by(resource) (irate(emqx_authorization_deny_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"format": "table",
"hide": false,
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Deny last 15m",
"metric": "",
"query": "sum by(resource) (irate(emqx_authorization_deny_count{cluster=\"$cluster\", node=~\".*\"}[15m]))",
"refId": "deny_last_15m",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authorize Count",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"resource",
"Value #status",
"Value #max_rate",
"Value #total",
"Value #allow",
"Value #deny_last_15m"
]
}
}
}
],
"transparent": false,
"type": "table"
},
{
"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": 34,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authorize Current Exec Rate Node Detail",
"url": "/d/authorization/Authorize Current Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=2"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authorization_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{resource}}",
"metric": "",
"query": "sum by(resource) (emqx_authorization_exec_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{resource}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authorize Current Exec 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": 35,
"interval": null,
"links": [
{
"targetBlank": true,
"title": "Show Authorize Last 5m Exec Rate Node Detail",
"url": "/d/authorization/Authorize Last 5m Exec Rate?orgId=1&refresh=10s&var-node=All&viewPanel=3"
}
],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(resource) (emqx_authorization_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{resource}}",
"metric": "",
"query": "sum by(resource) (emqx_authorization_exec_last5m_rate{cluster=\"$cluster\", node=~\".*\"})",
"refId": "{{resource}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Authorize Last 5m Exec Rate",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "ACL Auth"
},
{
"collapse": true,
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 36,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load1\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{node}}",
"metric": "",
"query": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load1\"})",
"refId": "{{node}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Last 1m CPU Load",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 37,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load5\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{node}}",
"metric": "",
"query": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load5\"})",
"refId": "{{node}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Last 5m CPU Load",
"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": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 14
},
"height": null,
"hideTimeOverride": false,
"id": 38,
"interval": null,
"links": [],
"maxDataPoints": 100,
"maxPerRow": null,
"minSpan": null,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"repeat": null,
"repeatDirection": null,
"span": 4,
"targets": [
{
"datasource": null,
"expr": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load15\"})",
"format": "timeseries",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{node}}",
"metric": "",
"query": "sum by(node) (emqx_cluster_cpu_load{cluster=\"$cluster\", load=\"load15\"})",
"refId": "{{node}}",
"step": 10,
"target": ""
}
],
"timeFrom": null,
"timeShift": null,
"title": "Last 15m CPU Load",
"transformations": [],
"transparent": false,
"type": "timeseries"
}
],
"repeat": null,
"showTitle": true,
"title": "System"
}
],
"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": "${datasource}",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "cluster",
"options": [],
"query": "label_values(up, cluster)",
"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": "Overview",
"uid": "overview",
"version": 0
}