From 5e1a6f76a2543cbd7bc00b808e924b29879f7bda Mon Sep 17 00:00:00 2001 From: Joerg Domaschka Date: Wed, 22 Apr 2020 10:44:14 +0000 Subject: [PATCH] add users panel. --- dashboards/cumulative.json | 170 ++++++++++++++++++++++++++++++------- 1 file changed, 140 insertions(+), 30 deletions(-) diff --git a/dashboards/cumulative.json b/dashboards/cumulative.json index 2fb7c74..6b4e69f 100644 --- a/dashboards/cumulative.json +++ b/dashboards/cumulative.json @@ -394,13 +394,11 @@ "y": 14 }, "hiddenSeries": false, - "id": 18, + "id": 20, "legend": { "alignAsTable": true, - "avg": true, + "avg": false, "current": true, - "hideEmpty": false, - "hideZero": false, "max": true, "min": true, "rightSide": true, @@ -424,25 +422,35 @@ "steppedLine": false, "targets": [ { - "expr": "sum(irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8)", - "instant": false, + "expr": "sum(bbb_meetings_participants)", "interval": "", - "legendFormat": "total_send", + "legendFormat": "total_participants", "refId": "A" }, { - "expr": "sum(irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8) ", - "instant": false, + "expr": "sum(bbb_meetings_voice_participants)", "interval": "", - "legendFormat": "total_receive", + "legendFormat": "total_voice_participants", "refId": "B" + }, + { + "expr": "sum(bbb_meetings_video_participants)", + "interval": "", + "legendFormat": "total_video_participants", + "refId": "C" + }, + { + "expr": "avg(bbb_meetings_participants)", + "interval": "", + "legendFormat": "avg_participants_per_server", + "refId": "D" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Total Network Consumption", + "title": "Users Overview", "tooltip": { "shared": true, "sort": 0, @@ -458,17 +466,16 @@ }, "yaxes": [ { - "$$hashKey": "object:184", - "decimals": null, - "format": "bps", - "label": null, + "$$hashKey": "object:436", + "format": "short", + "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { - "$$hashKey": "object:185", + "$$hashKey": "object:437", "format": "short", "label": null, "logBase": 1, @@ -585,15 +592,19 @@ "y": 22 }, "hiddenSeries": false, - "id": 8, + "id": 18, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": false, + "max": true, + "min": true, + "rightSide": true, "show": true, "total": false, - "values": false + "values": true }, "lines": true, "linewidth": 1, @@ -607,21 +618,29 @@ "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, - "stack": true, + "stack": false, "steppedLine": false, "targets": [ { - "expr": "irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8", + "expr": "sum(irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8)", + "instant": false, "interval": "", - "legendFormat": "{{service_id}}", + "legendFormat": "total_send", "refId": "A" + }, + { + "expr": "sum(irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8) ", + "instant": false, + "interval": "", + "legendFormat": "total_receive", + "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Sum Network Transmit", + "title": "Total Network Consumption", "tooltip": { "shared": true, "sort": 0, @@ -637,6 +656,8 @@ }, "yaxes": [ { + "$$hashKey": "object:184", + "decimals": null, "format": "bps", "label": null, "logBase": 1, @@ -645,12 +666,13 @@ "show": true }, { + "$$hashKey": "object:185", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, - "show": true + "show": false } ], "yaxis": { @@ -761,7 +783,7 @@ "y": 30 }, "hiddenSeries": false, - "id": 6, + "id": 8, "legend": { "avg": false, "current": false, @@ -787,7 +809,7 @@ "steppedLine": false, "targets": [ { - "expr": "irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8", + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8", "interval": "", "legendFormat": "{{service_id}}", "refId": "A" @@ -797,7 +819,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Sum Network Received", + "title": "Sum Network Transmit", "tooltip": { "shared": true, "sort": 0, @@ -921,6 +943,94 @@ "align": false, "alignLevel": null } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 38 + }, + "hiddenSeries": false, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "irate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Sum Network Received", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], "refresh": "10s", -- GitLab