Jitsi Prometheus exporter
Exporter that grabs various metrics from Jitsi, especially form the video bridges, and publishes them as Prometheus metrics. The basic idea is to enter the jvbbrewery MUC room and listen to the presence broadcasts from the JVBs.
There is a documentation of the published statistics by the video bridges.
There are multiple ways to run the exporter. Once it is running, it will publish the collected metrics on
Register user in prosody
You will have to create a XMPP user in Prosody, do this with:
prosodyctl --config <abs path to jitsi-meet.cfg.lua> register <user> <auth-domain> <password>
Clone this repo into your
$GOPATH/src/ directory. In the exporter directroy run
go get ./... which creates the
exporter binary in
$GOPTAH/bin/. You can run this binary, it will still pull its configuration (see below) from the environment.
There is an image available on docker hub
karrieretutor/jitsi:prom-exporter-latest. Alternatively build it yourself with the provided dockerfile. The configuration is provided via environment (see below). By running it as a docker container you gain the advantage of choosing the port which is used for publishing the metrics, see docker cli reference.
||xmpp user for authentication|
||xmpp password for authentication|
||xmpp domain to authenticate against|
||xmpp server host name|
||xmpp port to use||
||name of jvbbrewery MUC room to join; it will join with
||internal muc domain (this is where the jvbbrewery muc resides)|
||Allows you to customize the metric names:
XMPP_AUTH_DOMAIN are used to construct the JID