systemli / prometheus-jitsi-meet-exporter

Prometheus Exporter for Jitsi Meet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error after upgrading to latest Jitsi

mdavids opened this issue · comments

UPDATE: this seems to be a replication of #7

Today, after upgrading Jitsi, I ran into this error:

json: cannot unmarshal number 0.5 into Go struct field videoBridgeStats.bit_rate_download of type int

 curl -s localhost:8080/colibri/stats | jq .
{
  "inactive_endpoints": 0,
  "inactive_conferences": 0,
  "total_ice_succeeded_relayed": 0,
  "total_loss_degraded_participant_seconds": 0,
  "bit_rate_download": 0.5,
  "muc_clients_connected": 1,
  "total_participants": 7,
  "total_packets_received": 108771,
  "rtt_aggregate": 0,
  "packet_rate_upload": 0,
  "p2p_conferences": 0,
  "total_loss_limited_participant_seconds": 0,
  "octo_send_bitrate": 0,
  "total_dominant_speaker_changes": 23,
  "receive_only_endpoints": 0,
  "total_colibri_web_socket_messages_received": 0,
  "octo_receive_bitrate": 0,
  "version": "2.1.376-g9f12bfe2",
  "total_ice_succeeded": 7,
  "total_colibri_web_socket_messages_sent": 0,
  "total_bytes_sent_octo": 0,
  "total_data_channel_messages_received": 219,
  "total_conference_seconds": 277,
  "bit_rate_upload": 0.5,
  "total_conferences_completed": 2,
  "octo_conferences": 0,
  "num_eps_no_msg_transport_after_delay": 0,
  "endpoints_sending_video": 0,
  "packet_rate_download": 0,
  "muc_clients_configured": 1,
  "outgoing_loss": 0,
  "overall_loss": 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
  ],
  "total_packets_sent_octo": 0,
  "conferences_by_video_senders": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "stress_level": 0,
  "jitter_aggregate": 0,
  "total_ice_succeeded_tcp": 0,
  "octo_endpoints": 0,
  "current_timestamp": "2020-10-22 11:08:38.841",
  "total_packets_dropped_octo": 0,
  "conferences": 0,
  "participants": 0,
  "largest_conference": 0,
  "total_packets_sent": 59818,
  "total_data_channel_messages_sent": 297,
  "incoming_loss": 0,
  "total_bytes_received_octo": 0,
  "octo_send_packet_rate": 0,
  "conferences_by_audio_senders": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ],
  "total_conferences_created": 2,
  "total_ice_failed": 0,
  "threads": 40,
  "videochannels": 0,
  "total_packets_received_octo": 0,
  "graceful_shutdown": false,
  "octo_receive_packet_rate": 0,
  "total_bytes_received": 83827789,
  "total_loss_controlled_participant_seconds": 298,
  "total_partially_failed_conferences": 0,
  "endpoints_sending_audio": 0,
  "dtls_failed_endpoints": 0,
  "total_bytes_sent": 34761657,
  "mucs_configured": 1,
  "total_failed_conferences": 0,
  "mucs_joined": 1
}

I guess this PR #9 will reflect the changes, right?

Fix is merged and a new release is created.