diff --git a/dashboards/bbb-all.json b/dashboards/bbb-all.json new file mode 100644 index 0000000000000000000000000000000000000000..7cc2623d979240c56e8724affb0cc6923150010e --- /dev/null +++ b/dashboards/bbb-all.json @@ -0,0 +1,1033 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 5, + "links": [], + "panels": [ + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 28, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "cacheTimeout": null, + "datasource": "Prometheus", + "gridPos": { + "h": 26, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 12, + "links": [], + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [ + { + "from": "", + "id": 1, + "operator": "", + "text": "Online", + "to": "", + "type": 1, + "value": "1" + }, + { + "from": "", + "id": 2, + "operator": "", + "text": "Offline", + "to": "", + "type": 1, + "value": "0" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_api_up", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "BBB API", + "type": "stat" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 20, + "x": 4, + "y": 1 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_participants", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 20, + "x": 4, + "y": 10 + }, + "hiddenSeries": false, + "id": 6, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_voice_participants", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Voice Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 20, + "x": 4, + "y": 18 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_video_participants", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Video Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 34, + "panels": [], + "title": "User Stats", + "type": "row" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 16, + "w": 6, + "x": 0, + "y": 28 + }, + "id": 24, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "max" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_participants", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Max Participants for Selected Timeframe", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 16, + "w": 4, + "x": 6, + "y": 28 + }, + "id": 4, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_listeners", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Listeners", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 16, + "w": 4, + "x": 10, + "y": 28 + }, + "id": 26, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_participants", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Participants", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 16, + "w": 10, + "x": 14, + "y": 28 + }, + "id": 35, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings", + "instant": true, + "interval": "", + "legendFormat": "{{meeting}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Current Meetings (beta)", + "type": "stat" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 44 + }, + "id": 30, + "panels": [ + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 45 + }, + "id": 14, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [], + "values": false + }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_processing", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings Processing", + "type": "gauge" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 45 + }, + "id": 16, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_processed", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings Processed", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 45 + }, + "id": 18, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_published", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings Published", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 45 + }, + "id": 20, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "mean" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_unpublished", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings Unpublished", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 16, + "y": 45 + }, + "id": 10, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "mean" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_deleted", + "interval": "", + "legendFormat": "{{service_id}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings Deleted", + "type": "stat" + } + ], + "title": "Recordings", + "type": "row" + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 45 + }, + "id": 32, + "panels": [], + "title": "API", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 46 + }, + "hiddenSeries": false, + "id": 22, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.7.0", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getMeetings\"}[5m])) by (le, service_id))", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{service_id}} - getMeetings", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=processing\"}[5m])) by (le, service_id))", + "hide": false, + "interval": "", + "legendFormat": "{{service_id}} - getRecordings processing", + "refId": "B" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=processed\"}[5m])) by (le, service_id))", + "interval": "", + "legendFormat": "{{service_id}} - getRecordings processed", + "refId": "C" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=published\"}[5m])) by (le, service_id))", + "interval": "", + "legendFormat": "{{service_id}} - getRecordings published", + "refId": "D" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=unpublished\"}[5m])) by (le, service_id))", + "interval": "", + "legendFormat": "{{service_id}} - getRecordings unpublished", + "refId": "E" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=deleted\"}[5m])) by (le, service_id))", + "interval": "", + "legendFormat": "{{service_id}} - getRecordings deleted", + "refId": "F" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "API 95-th Percentile Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Latency [s]", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": "5s", + "schemaVersion": 22, + "style": "dark", + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ] + }, + "timezone": "", + "title": "BigBlueButton All Servers", + "uid": "HIbd_CXZz", + "variables": { + "list": [] + }, + "version": 4 +} diff --git a/dashboards/bbb-instance.json b/dashboards/bbb-instance.json new file mode 100644 index 0000000000000000000000000000000000000000..b148438388920d9ad6350ce83d9c656f056d9c4a --- /dev/null +++ b/dashboards/bbb-instance.json @@ -0,0 +1,1093 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 4, + "iteration": 1585237638870, + "links": [], + "panels": [ + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 36, + "panels": [], + "title": "Main", + "type": "row" + }, + { + "cacheTimeout": null, + "datasource": "Prometheus", + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 12, + "links": [], + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [ + { + "from": "", + "id": 1, + "operator": "", + "text": "Online", + "to": "", + "type": 1, + "value": "1" + }, + { + "from": "", + "id": 2, + "operator": "", + "text": "Offline", + "to": "", + "type": 1, + "value": "0" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_api_up{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "BBB API", + "type": "stat" + }, + { + "aliasColors": { + "Participants": "blue" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 20, + "x": 4, + "y": 1 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Participants", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 4 + }, + "id": 30, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "max" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Selected timeframe", + "refId": "A" + }, + { + "expr": "max_over_time(bbb_meetings_participants{service_id=\"$instance\"}[100y])", + "interval": "", + "legendFormat": "All time", + "refId": "B" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Max Participants", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 7, + "w": 4, + "x": 0, + "y": 8 + }, + "id": 26, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Participants", + "refId": "A" + }, + { + "expr": "bbb_meetings_listeners{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Listeners", + "refId": "B" + }, + { + "expr": "bbb_meetings_voice_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Voice", + "refId": "C" + }, + { + "expr": "bbb_meetings_video_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Video", + "refId": "D" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Type of Users Count", + "type": "stat" + }, + { + "aliasColors": { + "Participants": "blue" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 14, + "x": 4, + "y": 9 + }, + "hiddenSeries": false, + "id": 34, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Participants", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(node_cpu_seconds_total{mode!=\"idle\",service_id='$instance'}[5m]))", + "interval": "", + "legendFormat": "CPU Utlization", + "refId": "A" + }, + { + "expr": "bbb_meetings_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Participants", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "CPU Utilization vs. Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": "CPU Utlization [%]", + "logBase": 1, + "max": "100", + "min": null, + "show": true + }, + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "Voice participants": "orange" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 18, + "y": 9 + }, + "hiddenSeries": false, + "id": 6, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_voice_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Voice participants", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Voice Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 15 + }, + "id": 24, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_meetings_participants - bbb_meetings_listeners{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "(Participants - Listeners) Delta", + "type": "stat" + }, + { + "datasource": "Prometheus", + "gridPos": { + "h": 9, + "w": 4, + "x": 0, + "y": 17 + }, + "id": 16, + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "bbb_recordings_processing{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Processing", + "refId": "B" + }, + { + "expr": "bbb_recordings_processed{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Processed", + "refId": "A" + }, + { + "expr": "bbb_recordings_published{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Published", + "refId": "E" + }, + { + "expr": "bbb_recordings_unpublished{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Unpublished", + "refId": "C" + }, + { + "expr": "bbb_recordings_deleted{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Deleted", + "refId": "D" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Recordings", + "type": "stat" + }, + { + "aliasColors": { + "Participants": "blue" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 14, + "x": 4, + "y": 17 + }, + "hiddenSeries": false, + "id": 32, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Participants", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "irate(node_network_receive_bytes_total{device=\"eth0\",service_id='$instance'}[5m])*8", + "interval": "", + "intervalFactor": 2, + "legendFormat": "Bandwidth in", + "refId": "A" + }, + { + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0\",service_id='$instance'}[5m])*8", + "interval": "", + "intervalFactor": 2, + "legendFormat": "Bandwidth out", + "refId": "C" + }, + { + "expr": "bbb_meetings_participants{service_id=\"$instance\"}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Participants", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Bandwidth vs. Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": "Bandwidth bytes/s", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "Voice participants": "orange" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 6, + "x": 18, + "y": 17 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "bbb_meetings_video_participants{service_id=\"$instance\"}", + "interval": "", + "legendFormat": "Voice participants", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Video Participants", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "Participants", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 38, + "panels": [], + "title": "API", + "type": "row" + }, + { + "aliasColors": { + "getRecordings deleted": "purple" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 27 + }, + "hiddenSeries": false, + "id": 22, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.7.0", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getMeetings\", service_id=\"$instance\"}[5m])) by (le, service_id))", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "getMeetings", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=processing\", service_id=\"$instance\"}[5m])) by (le, instance))", + "hide": false, + "interval": "", + "legendFormat": "getRecordings processing", + "refId": "B" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=processed\", service_id=\"$instance\"}[5m])) by (le, instance))", + "interval": "", + "legendFormat": "getRecordings processed", + "refId": "C" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=published\", service_id=\"$instance\"}[5m])) by (le, instance))", + "interval": "", + "legendFormat": "getRecordings published", + "refId": "D" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=unpublished\", service_id=\"$instance\"}[5m])) by (le, instance))", + "interval": "", + "legendFormat": "getRecordings unpublished", + "refId": "E" + }, + { + "expr": "histogram_quantile(0.95, sum(rate(bbb_api_latency_bucket{endpoint=\"getRecordings\", parameters=\"state=deleted\", service_id=\"$instance\"}[5m])) by (le, instance))", + "interval": "", + "legendFormat": "getRecordings deleted", + "refId": "F" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "API 95-th Percentile Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "short", + "label": "Latency [s]", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": "5s", + "schemaVersion": 22, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": { + "selected": true, + "text": "bbb-3", + "value": "bbb-3" + }, + "datasource": "Prometheus", + "definition": "label_values(bbb_api_up, service_id)", + "hide": 0, + "includeAll": false, + "index": -1, + "label": "Instance", + "multi": false, + "name": "instance", + "options": [ + { + "selected": false, + "text": "bbb-1", + "value": "bbb-1" + }, + { + "selected": false, + "text": "bbb-2", + "value": "bbb-2" + }, + { + "selected": true, + "text": "bbb-3", + "value": "bbb-3" + }, + { + "selected": false, + "text": "bbb-4", + "value": "bbb-4" + }, + { + "selected": false, + "text": "bbb-5", + "value": "bbb-5" + }, + { + "selected": false, + "text": "bbb-6", + "value": "bbb-6" + }, + { + "selected": false, + "text": "bbb-7", + "value": "bbb-7" + }, + { + "selected": false, + "text": "bbb-8", + "value": "bbb-8" + }, + { + "selected": false, + "text": "bbb-9", + "value": "bbb-9" + }, + { + "selected": false, + "text": "bbb-10", + "value": "bbb-10" + } + ], + "query": "label_values(bbb_api_up, service_id)", + "refresh": 0, + "regex": "", + "skipUrlSync": false, + "sort": 3, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ] + }, + "timezone": "", + "title": "BigBlueButton Server Instance", + "uid": "HIbd_CXZz2", + "variables": { + "list": [] + }, + "version": 4 +} diff --git a/dashboards/bbb.json b/dashboards/bbb.json deleted file mode 100644 index 742e6b4a6da33905d6a922863e8763a1ca7be2b6..0000000000000000000000000000000000000000 --- a/dashboards/bbb.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "annotations": { - "list": [ - { - "$$hashKey": "object:83", - "builtIn": 1, - "datasource": "-- Grafana --", - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "links": [], - "panels": [ - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 8, - "panels": [], - "title": "Row title", - "type": "row" - }, - { - "datasource": "Prometheus", - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 6, - "options": { - "colorMode": "value", - "fieldOptions": { - "calcs": [ - "mean" - ], - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [], - "values": false - }, - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto" - }, - "pluginVersion": "6.7.1", - "targets": [ - { - "expr": "bbb_meetings", - "interval": "", - "legendFormat": "{{meeting}} in {{service_id}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Room distribution (beta)", - "type": "stat" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 4, - "panels": [], - "title": "Row title", - "type": "row" - }, - { - "columns": [], - "datasource": "Prometheus", - "fontSize": "100%", - "gridPos": { - "h": 17, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 2, - "pageSize": null, - "showHeader": true, - "sort": { - "col": 0, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "", - "align": "right", - "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 2, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], - "targets": [ - { - "expr": "bbb_exporter_build_info", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "BBB Exporter Info", - "transform": "table", - "type": "table" - } - ], - "schemaVersion": 22, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-3h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "BBB", - "uid": "QgdL4vrZk", - "variables": { - "list": [] - }, - "version": 1 -}