Prometheus counters for RTC connection steps (#143)
* signal ws connection, participant join, ice connection * must register * offer negotiation * dz review: offer and offer_response * dz review: answer
This commit is contained in:
@@ -23,10 +23,20 @@ var (
|
||||
},
|
||||
[]string{"type", "status"},
|
||||
)
|
||||
|
||||
PromServiceOperationCounter = prometheus.NewCounterVec(
|
||||
prometheus.CounterOpts{
|
||||
Namespace: livekitNamespace,
|
||||
Subsystem: "node",
|
||||
Name: "service_operation",
|
||||
},
|
||||
[]string{"type", "status", "error_type"},
|
||||
)
|
||||
)
|
||||
|
||||
func init() {
|
||||
prometheus.MustRegister(PromMessageCounter)
|
||||
prometheus.MustRegister(PromServiceOperationCounter)
|
||||
|
||||
initPacketStats()
|
||||
initRoomStatsReporter()
|
||||
|
||||
Reference in New Issue
Block a user