diff --git a/k8s/monitoring/templates/session-telemetry-dashboard.yaml b/k8s/monitoring/templates/session-telemetry-dashboard.yaml index ead0d15..3dec809 100644 --- a/k8s/monitoring/templates/session-telemetry-dashboard.yaml +++ b/k8s/monitoring/templates/session-telemetry-dashboard.yaml @@ -65,6 +65,98 @@ data: "title": "Overall Video Success Rate", "type": "stat" }, + { + "datasource": "${logs}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { "color": "green", "value": null } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 6, + "y": 0 + }, + "id": 13, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "expr": "sum(count_over_time({namespace=\"webrtc-be\", container=\"webrtc-be\"} |= \"type=join_telemetry\" [$__range]))", + "refId": "A" + } + ], + "description": "Total number of participants who joined a session in the selected time range.", + "title": "Participants Joined", + "type": "stat" + }, + { + "datasource": "${logs}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { "color": "blue", "value": null } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 0 + }, + "id": 14, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "8.0.0", + "targets": [ + { + "expr": "count(sum by (room) (count_over_time({namespace=\"webrtc-be\", container=\"webrtc-be\"} |= \"type=join_telemetry\" | logfmt [$__range])))", + "refId": "A" + } + ], + "description": "Total number of unique rooms joined in the selected time range.", + "title": "Unique Rooms Joined", + "type": "stat" + }, { "datasource": "Prometheus", "gridPos": {