prometheus livekit_room_total node_id label

This commit is contained in:
Mathew Kamkar
2022-03-21 16:43:01 -07:00
parent 641858832a
commit cf63da2e64

View File

@@ -25,6 +25,7 @@ func initRoomStats(nodeID string) {
Namespace: livekitNamespace,
Subsystem: "room",
Name: "total",
ConstLabels: prometheus.Labels{"node_id": nodeID},
})
promRoomDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
Namespace: livekitNamespace,