2020-03-21 20:53:50 +01:00
# Jitsi Meet Metrics Exporter
2020-03-21 22:24:11 +01:00
![Integration ](https://github.com/systemli/prometheus-jitsi-meet-exporter/workflows/Integration/badge.svg?branch=master ) ![Quality ](https://github.com/systemli/prometheus-jitsi-meet-exporter/workflows/Quality/badge.svg?branch=master ) [![Docker Automated build ](https://img.shields.io/docker/automated/systemli/prometheus-jitsi-meet-exporter.svg )](https://hub.docker.com/r/systemli/prometheus-jitsi-meet-exporter/) [![MicroBadger Size ](https://img.shields.io/microbadger/image-size/systemli/prometheus-jitsi-meet-exporter.svg )](https://hub.docker.com/r/systemli/prometheus-jitsi-meet-exporter/)
2020-03-21 21:12:44 +01:00
2020-04-04 13:43:45 +02:00
Prometheus Exporter for Jitsi Meet written in Go. Based on [Jitsi Meet Exporter ](https://git.autistici.org/ai3/tools/jitsi-prometheus-exporter ) from [Autistici ](https://www.autistici.org/ )
2020-04-14 21:24:37 +02:00
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.
2020-04-04 13:43:45 +02:00
## Usage
```
go get github.com/systemli/prometheus-jitsi-meet-exporter
go install github.com/systemli/prometheus-jitsi-meet-exporter
$GOPATH/bin/prometheus-jitsi-meet-exporter
```
### Docker
```
docker run -p 9888:9888 systemli/prometheus-jitsi-meet-exporter:latest -videobridge-url http://jitsi:8888/stats
```
2020-04-15 13:57:58 +02:00
## Metrics
```
# HELP jitsi_total_participants Participants counter
# TYPE jitsi_total_participants counter
jitsi_total_participants 18
# HELP jitsi_total_conferences_created Number of conferences created
# TYPE jitsi_total_conferences_created counter
jitsi_total_conferences_created 14
# HELP jitsi_largest_conference Participants in the largest conference
# TYPE jitsi_largest_conference gauge
jitsi_largest_conference 3
# HELP jitsi_conferences Current number of active conferences
# TYPE jitsi_conferences gauge
jitsi_conferences 2
# HELP jitsi_participants Current number of active participants
# TYPE jitsi_participants gauge
jitsi_participants 4
```
2020-04-04 13:43:45 +02:00
## License
GPLv3