Fix datatypes for bit_rate_download and bit_rate_upload
This commit is contained in:
parent
e36b5a845a
commit
728afca31c
2 changed files with 6 additions and 6 deletions
4
main.go
4
main.go
|
@ -15,8 +15,8 @@ var (
|
||||||
|
|
||||||
type videoBridgeStats struct {
|
type videoBridgeStats struct {
|
||||||
Threads int `json:"threads"`
|
Threads int `json:"threads"`
|
||||||
BitRateDownload int `json:"bit_rate_download"`
|
BitRateDownload float64 `json:"bit_rate_download"`
|
||||||
BitRateUpload int `json:"bit_rate_upload"`
|
BitRateUpload float64 `json:"bit_rate_upload"`
|
||||||
PacketRateDownload float64 `json:"packet_rate_download"`
|
PacketRateDownload float64 `json:"packet_rate_download"`
|
||||||
PacketRateUpload float64 `json:"packet_rate_upload"`
|
PacketRateUpload float64 `json:"packet_rate_upload"`
|
||||||
LossRateDownload float64 `json:"loss_rate_download"`
|
LossRateDownload float64 `json:"loss_rate_download"`
|
||||||
|
|
|
@ -109,8 +109,8 @@ jitsi_total_colibri_web_socket_messages_sent 0
|
||||||
{
|
{
|
||||||
statsJson: `{
|
statsJson: `{
|
||||||
"audiochannels": 0,
|
"audiochannels": 0,
|
||||||
"bit_rate_download": 0,
|
"bit_rate_download": 0.5,
|
||||||
"bit_rate_upload": 0,
|
"bit_rate_upload": 0.5,
|
||||||
"conference_sizes": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
|
"conference_sizes": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
|
||||||
"conferences": 0,
|
"conferences": 0,
|
||||||
"current_timestamp": "2019-03-14 11:02:15.184",
|
"current_timestamp": "2019-03-14 11:02:15.184",
|
||||||
|
@ -160,10 +160,10 @@ jitsi_total_colibri_web_socket_messages_sent 0
|
||||||
jitsi_threads 59
|
jitsi_threads 59
|
||||||
# HELP jitsi_bit_rate_download The total incoming bitrate for the video bridge in kilobits per second.
|
# HELP jitsi_bit_rate_download The total incoming bitrate for the video bridge in kilobits per second.
|
||||||
# TYPE jitsi_bit_rate_download gauge
|
# TYPE jitsi_bit_rate_download gauge
|
||||||
jitsi_bit_rate_download 0
|
jitsi_bit_rate_download 0.5
|
||||||
# HELP jitsi_bit_rate_upload The total outgoing bitrate for the video bridge in kilobits per second.
|
# HELP jitsi_bit_rate_upload The total outgoing bitrate for the video bridge in kilobits per second.
|
||||||
# TYPE jitsi_bit_rate_upload gauge
|
# TYPE jitsi_bit_rate_upload gauge
|
||||||
jitsi_bit_rate_upload 0
|
jitsi_bit_rate_upload 0.5
|
||||||
# HELP jitsi_packet_rate_download The total incoming packet rate for the video bridge in packets per second.
|
# HELP jitsi_packet_rate_download The total incoming packet rate for the video bridge in packets per second.
|
||||||
# TYPE jitsi_packet_rate_download gauge
|
# TYPE jitsi_packet_rate_download gauge
|
||||||
jitsi_packet_rate_download 0
|
jitsi_packet_rate_download 0
|
||||||
|
|
Loading…
Reference in a new issue