🐛 Fix exporter crashing during json parsing
This commit is contained in:
parent
529b2ee782
commit
b1809f0d1d
2 changed files with 6 additions and 6 deletions
8
main.go
8
main.go
|
@ -48,10 +48,10 @@ type videoBridgeStats struct {
|
|||
OctoVersion int `json:"octo_version"`
|
||||
OctoConferences int `json:"octo_conferences"`
|
||||
OctoEndpoints int `json:"octo_endpoints"`
|
||||
OctoReceiveBitrate int `json:"octo_receive_bitrate"`
|
||||
OctoReceivePacketRate int `json:"octo_receive_packet_rate"`
|
||||
OctoSendBitrate int `json:"octo_send_bitrate"`
|
||||
OctoSendPacketRate int `json:"octo_send_packet_rate"`
|
||||
OctoReceiveBitrate float64 `json:"octo_receive_bitrate"`
|
||||
OctoReceivePacketRate float64 `json:"octo_receive_packet_rate"`
|
||||
OctoSendBitrate float64 `json:"octo_send_bitrate"`
|
||||
OctoSendPacketRate float64 `json:"octo_send_packet_rate"`
|
||||
TotalBytesReceivedOcto int `json:"total_bytes_received_octo"`
|
||||
TotalBytesSentOcto int `json:"total_bytes_sent_octo"`
|
||||
TotalPacketsDroppedOcto int `json:"total_packets_dropped_octo"`
|
||||
|
|
|
@ -190,9 +190,9 @@ jitsi_conference_sizes{conference_size="21"} 0
|
|||
"loss_rate_upload": 0.5,
|
||||
"octo_conferences": 0,
|
||||
"octo_endpoints": 0,
|
||||
"octo_receive_bitrate": 0,
|
||||
"octo_receive_bitrate": 0.0,
|
||||
"octo_receive_packet_rate": 0,
|
||||
"octo_send_bitrate": 0,
|
||||
"octo_send_bitrate": 0.0,
|
||||
"octo_send_packet_rate": 0,
|
||||
"octo_version": 1,
|
||||
"packet_rate_download": 0,
|
||||
|
|
Loading…
Reference in a new issue