Merge pull request #23 from vladertel/patch-1

Add p2p_conferences metric
This commit is contained in:
Dwight Donovan Benvenuto 2021-02-05 18:09:52 +01:00 committed by GitHub
commit 95a3a8c938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ type videoBridgeStats struct {
AudioChannels int `json:"audiochannels"`
VideoChannels int `json:"videochannels"`
Conferences int `json:"conferences"`
P2PConferences int `json:"p2p_conferences"`
Participants int `json:"participants"`
Videostreams int `json:"videostreams"`
TotalLossControlledParticipantSeconds int `json:"total_loss_controlled_participant_seconds"`
@ -84,6 +85,9 @@ jitsi_videochannels {{.VideoChannels}}
# HELP jitsi_conferences The current number of conferences.
# TYPE jitsi_conferences gauge
jitsi_conferences {{.Conferences}}
# HELP jitsi_p2p_conferences The current number of p2p conferences.
# TYPE jitsi_p2p_conferences gauge
jitsi_p2p_conferences {{.P2PConferences}}
# HELP jitsi_participants The current number of participants.
# TYPE jitsi_participants gauge
jitsi_participants {{.Participants}}