项目作者: systemli

项目描述 :
Prometheus Exporter for Jitsi Meet
高级语言: Go
项目地址: git://github.com/systemli/prometheus-jitsi-meet-exporter.git
创建时间: 2020-03-21T19:53:19Z
项目社区:https://github.com/systemli/prometheus-jitsi-meet-exporter

开源协议:GNU General Public License v3.0

下载


Jitsi Meet Metrics Exporter

Integration Quality Docker Cloud Automated build Docker Image Size (latest semver)

Prometheus Exporter for Jitsi Meet written in Go. Based on Jitsi Meet Exporter from Autistici

There’s multiple different statistics endpoint that can be exposed by jitsi (like /stats and /colibri/stats); you can configure the used URL with the videobridge-url.
The exporter will handle both of them, but some metrics that aren’t exposed may be reported as 0.

Usage

  1. go install github.com/systemli/prometheus-jitsi-meet-exporter@latest
  2. $GOPATH/bin/prometheus-jitsi-meet-exporter

Ansible

We also provide an Ansible Role to install and configure the Jitsi Meet Exporter.

Example Playbook:

  1. - hosts: jitsimeetservers
  2. roles:
  3. - { role: systemli.jitsi_meet_exporter }

Docker

  1. docker run -p 9888:9888 systemli/prometheus-jitsi-meet-exporter:latest -videobridge-url http://jitsi:8080/colibri/stats

Dashboard

See the Grafana Dashboards in this repository.

Example

Jitsi Meet Dashboard

Metrics

  1. # HELP jitsi_threads The number of Java threads that the video bridge is using.
  2. # TYPE jitsi_threads gauge
  3. jitsi_threads 0
  4. # HELP jitsi_bit_rate_download The total incoming bitrate for the video bridge in kilobits per second.
  5. # TYPE jitsi_bit_rate_download gauge
  6. jitsi_bit_rate_download 0
  7. # HELP jitsi_bit_rate_upload The total outgoing bitrate for the video bridge in kilobits per second.
  8. # TYPE jitsi_bit_rate_upload gauge
  9. jitsi_bit_rate_upload 0
  10. # HELP jitsi_packet_rate_download The total incoming packet rate for the video bridge in packets per second.
  11. # TYPE jitsi_packet_rate_download gauge
  12. jitsi_packet_rate_download 0
  13. # HELP jitsi_packet_rate_upload The total outgoing packet rate for the video bridge in packets per second.
  14. # TYPE jitsi_packet_rate_upload gauge
  15. jitsi_packet_rate_upload 0
  16. # HELP jitsi_loss_rate_download The fraction of lost incoming RTP packets. This is based on RTP sequence numbers and is relatively accurate.
  17. # TYPE jitsi_loss_rate_download gauge
  18. jitsi_loss_rate_download 0
  19. # HELP jitsi_loss_rate_upload The fraction of lost outgoing RTP packets. This is based on incoming RTCP Receiver Reports, and an attempt to subtract the fraction of packets that were not sent (i.e. were lost before they reached the bridge). Further, this is averaged over all streams of all users as opposed to all packets, so it is not correctly weighted. This is not accurate, but may be a useful metric nonetheless.
  20. # TYPE jitsi_loss_rate_upload gauge
  21. jitsi_loss_rate_upload 0
  22. # HELP jitsi_jitter_aggregate Experimental. An average value (in milliseconds) of the jitter calculated for incoming and outgoing streams. This hasn't been tested and it is currently not known whether the values are correct or not.
  23. # TYPE jitsi_jitter_aggregate gauge
  24. jitsi_jitter_aggregate 0
  25. # HELP jitsi_rtt_aggregate An average value (in milliseconds) of the RTT across all streams.
  26. # TYPE jitsi_rtt_aggregate gauge
  27. jitsi_rtt_aggregate 0
  28. # HELP jitsi_largest_conference The number of participants in the largest conference currently hosted on the bridge.
  29. # TYPE jitsi_largest_conference gauge
  30. jitsi_largest_conference 8
  31. # HELP jitsi_audiochannels The current number of audio channels.
  32. # TYPE jitsi_audiochannels gauge
  33. jitsi_audiochannels 0
  34. # HELP jitsi_videochannels The current number of video channels.
  35. # TYPE jitsi_videochannels gauge
  36. jitsi_videochannels 0
  37. # HELP jitsi_conferences The current number of conferences.
  38. # TYPE jitsi_conferences gauge
  39. jitsi_conferences 0
  40. # HELP jitsi_p2p_conferences The current number of p2p conferences.
  41. # TYPE jitsi_p2p_conferences gauge
  42. jitsi_p2p_conferences 1
  43. # HELP jitsi_participants The current number of participants.
  44. # TYPE jitsi_participants gauge
  45. jitsi_participants 0
  46. # HELP jitsi_videostreams An estimation of the number of current video streams forwarded by the bridge.
  47. # TYPE jitsi_videostreams gauge
  48. jitsi_videostreams 0
  49. # HELP jitsi_total_loss_controlled_participant_seconds The total number of participant-seconds that are loss-controlled.
  50. # TYPE jitsi_total_loss_controlled_participant_seconds counter
  51. jitsi_total_loss_controlled_participant_seconds 0
  52. # HELP jitsi_total_loss_limited_participant_seconds The total number of participant-seconds that are loss-limited.
  53. # TYPE jitsi_total_loss_limited_participant_seconds counter
  54. jitsi_total_loss_limited_participant_seconds 0
  55. # HELP jitsi_total_loss_degraded_participant_seconds The total number of participant-seconds that are loss-degraded.
  56. # TYPE jitsi_total_loss_degraded_participant_seconds counter
  57. jitsi_total_loss_degraded_participant_seconds 0
  58. # HELP jitsi_total_conference_seconds The sum of the lengths of all completed conferences, in seconds.
  59. # TYPE jitsi_total_conference_seconds counter
  60. jitsi_total_conference_seconds 0
  61. # HELP jitsi_total_conferences_created The total number of conferences created on the bridge.
  62. # TYPE jitsi_total_conferences_created counter
  63. jitsi_total_conferences_created 0
  64. # HELP jitsi_total_failed_conferences The total number of failed conferences on the bridge. A conference is marked as failed when all of its channels have failed. A channel is marked as failed if it had no payload activity.
  65. # TYPE jitsi_total_failed_conferences counter
  66. jitsi_total_failed_conferences 0
  67. # HELP jitsi_total_partially_failed_conferences The total number of partially failed conferences on the bridge. A conference is marked as partially failed when some of its channels has failed. A channel is marked as failed if it had no payload activity.
  68. # TYPE jitsi_total_partially_failed_conferences counter
  69. jitsi_total_partially_failed_conferences 0
  70. # HELP jitsi_total_data_channel_messages_received The total number messages received through data channels.
  71. # TYPE jitsi_total_data_channel_messages_received counter
  72. jitsi_total_data_channel_messages_received 0
  73. # HELP jitsi_total_data_channel_messages_sent The total number messages sent through data channels.
  74. # TYPE jitsi_total_data_channel_messages_sent counter
  75. jitsi_total_data_channel_messages_sent 0
  76. # HELP jitsi_total_colibri_web_socket_messages_received The total number messages received through COLIBRI web sockets.
  77. # TYPE jitsi_total_colibri_web_socket_messages_received counter
  78. jitsi_total_colibri_web_socket_messages_received 0
  79. # HELP jitsi_total_colibri_web_socket_messages_sent The total number messages sent through COLIBRI web sockets.
  80. # TYPE jitsi_total_colibri_web_socket_messages_sent counter
  81. jitsi_total_colibri_web_socket_messages_sent 0
  82. # HELP jitsi_octo_version The current running OCTO version
  83. # TYPE jitsi_octo_version gauge
  84. jitsi_octo_version 0
  85. # HELP jitsi_octo_conferences The current number of OCTO conferences.
  86. # TYPE jitsi_octo_conferences gauge
  87. jitsi_octo_conferences 0
  88. # HELP jitsi_octo_endpoints The current number of OCTO endpoints.
  89. # TYPE jitsi_octo_endpoints gauge
  90. jitsi_octo_endpoints 0
  91. # HELP jitsi_octo_receive_bitrate The total receiving bitrate for the OCTO video bridge in kilobits per second.
  92. # TYPE jitsi_octo_receive_bitrate gauge
  93. jitsi_octo_receive_bitrate 0
  94. # HELP jitsi_octo_send_bitrate The total outgoing bitrate for the OCTO video bridge in kilobits per second.
  95. # TYPE jitsi_octo_send_bitrate gauge
  96. jitsi_octo_send_bitrate 0
  97. # HELP jitsi_octo_receive_packet_rate The total incoming packet rate for the OCTO video bridge in packets per second.
  98. # TYPE jitsi_octo_receive_packet_rate gauge
  99. jitsi_octo_receive_packet_rate 0
  100. # HELP jitsi_octo_send_packet_rate The total outgoing packet rate for the OCTO video bridge in packets per second.
  101. # TYPE jitsi_octo_send_packet_rate gauge
  102. jitsi_octo_send_packet_rate 0
  103. # HELP jitsi_total_bytes_received_octo The total incoming bit rate for the OCTO video bridge in bytes per second.
  104. # TYPE jitsi_total_bytes_received_octo gauge
  105. jitsi_total_bytes_received_octo 0
  106. # HELP jitsi_total_bytes_sent_octo The total outgoing bit rate for the OCTO video bridge in bytes per second.
  107. # TYPE jitsi_total_bytes_sent_octo gauge
  108. jitsi_total_bytes_sent_octo 0
  109. # HELP jitsi_total_packets_dropped_octo The total of dropped packets handled by the OCTO video bridge.
  110. # TYPE jitsi_total_packets_dropped_octo gauge
  111. jitsi_total_packets_dropped_octo 0
  112. # HELP jitsi_total_packets_received_octo The total of incoming dropped packets handled by the OCTO video bridge.
  113. # TYPE jitsi_total_packets_received_octo gauge
  114. jitsi_total_packets_received_octo 0
  115. # HELP jitsi_total_packets_sent_octo The total of sent dropped packets handled by the OCTO video bridge.
  116. # TYPE jitsi_total_packets_sent_octo gauge
  117. jitsi_total_packets_sent_octo 0

License

GPLv3