diff --git a/k8s/monitoring/templates/session-telemetry-dashboard.yaml b/k8s/monitoring/templates/session-telemetry-dashboard.yaml index 3dec809..531003f 100644 --- a/k8s/monitoring/templates/session-telemetry-dashboard.yaml +++ b/k8s/monitoring/templates/session-telemetry-dashboard.yaml @@ -157,6 +157,77 @@ data: "title": "Unique Rooms Joined", "type": "stat" }, + { + "datasource": "${logs}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "Joins", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { "color": "green", "value": null } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 0 + }, + "id": 15, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "expr": "sum(count_over_time({namespace=\"webrtc-be\", container=\"webrtc-be\"} |= \"type=join_telemetry\" [$__interval]))", + "legendFormat": "Joins", + "refId": "A" + } + ], + "description": "Timeline of participant join events.", + "title": "Join Events Over Time", + "type": "timeseries" + }, { "datasource": "Prometheus", "gridPos": {