mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
Also track subscriber streams by type.
This commit is contained in:
@@ -62,6 +62,12 @@ var (
|
||||
Name: "messages_total",
|
||||
Help: "The total number of MCU messages",
|
||||
}, []string{"type"})
|
||||
statsMcuSubscriberStreamTypesCurrent = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: "signaling",
|
||||
Subsystem: "mcu",
|
||||
Name: "subscriber_streams",
|
||||
Help: "The current number of subscribed media streams",
|
||||
}, []string{"type"})
|
||||
statsMcuPublisherStreamTypesCurrent = prometheus.NewGaugeVec(prometheus.GaugeOpts{
|
||||
Namespace: "signaling",
|
||||
Subsystem: "mcu",
|
||||
@@ -76,6 +82,7 @@ var (
|
||||
statsSubscribersTotal,
|
||||
statsWaitingForPublisherTotal,
|
||||
statsMcuMessagesTotal,
|
||||
statsMcuSubscriberStreamTypesCurrent,
|
||||
statsMcuPublisherStreamTypesCurrent,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user