Add p2p_conferences metric
This commit is contained in:
parent
08ccc6d282
commit
46816f3870
1 changed files with 4 additions and 0 deletions
4
main.go
4
main.go
|
@ -28,6 +28,7 @@ type videoBridgeStats struct {
|
||||||
AudioChannels int `json:"audiochannels"`
|
AudioChannels int `json:"audiochannels"`
|
||||||
VideoChannels int `json:"videochannels"`
|
VideoChannels int `json:"videochannels"`
|
||||||
Conferences int `json:"conferences"`
|
Conferences int `json:"conferences"`
|
||||||
|
P2PConferences int `json:"p2p_conferences"`
|
||||||
Participants int `json:"participants"`
|
Participants int `json:"participants"`
|
||||||
Videostreams int `json:"videostreams"`
|
Videostreams int `json:"videostreams"`
|
||||||
TotalLossControlledParticipantSeconds int `json:"total_loss_controlled_participant_seconds"`
|
TotalLossControlledParticipantSeconds int `json:"total_loss_controlled_participant_seconds"`
|
||||||
|
@ -84,6 +85,9 @@ jitsi_videochannels {{.VideoChannels}}
|
||||||
# HELP jitsi_conferences The current number of conferences.
|
# HELP jitsi_conferences The current number of conferences.
|
||||||
# TYPE jitsi_conferences gauge
|
# TYPE jitsi_conferences gauge
|
||||||
jitsi_conferences {{.Conferences}}
|
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.
|
# HELP jitsi_participants The current number of participants.
|
||||||
# TYPE jitsi_participants gauge
|
# TYPE jitsi_participants gauge
|
||||||
jitsi_participants {{.Participants}}
|
jitsi_participants {{.Participants}}
|
||||||
|
|
Loading…
Reference in a new issue