prometheus livekit_room_total node_id label
This commit is contained in:
@@ -25,6 +25,7 @@ func initRoomStats(nodeID string) {
|
|||||||
Namespace: livekitNamespace,
|
Namespace: livekitNamespace,
|
||||||
Subsystem: "room",
|
Subsystem: "room",
|
||||||
Name: "total",
|
Name: "total",
|
||||||
|
ConstLabels: prometheus.Labels{"node_id": nodeID},
|
||||||
})
|
})
|
||||||
promRoomDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
|
promRoomDuration = prometheus.NewHistogram(prometheus.HistogramOpts{
|
||||||
Namespace: livekitNamespace,
|
Namespace: livekitNamespace,
|
||||||
|
|||||||
Reference in New Issue
Block a user