Docker-jitsi-meet: i can't access the HTTP metrics

Created on 9 Mar 2020  路  5Comments  路  Source: jitsi/docker-jitsi-meet

I tried to edit different settings in .env and jvb/rootfs/defaults/sip-communicator.properties, but i cannot access the metrics on the private HTTP interface.

docker-compose ps
          Name              Command   State                        Ports                      
----------------------------------------------------------------------------------------------
dockerjitsimeet_jicofo_1    /init     Up                                                      
dockerjitsimeet_jvb_1       /init     Up      0.0.0.0:10000->10000/udp, 0.0.0.0:4443->4443/tcp
dockerjitsimeet_prosody_1   /init     Up      5222/tcp, 5269/tcp, 5280/tcp, 5347/tcp          
dockerjitsimeet_web_1       /init     Up      0.0.0.0:8443->443/tcp, 0.0.0.0:8000->80/tcp     

What configuration do I need to change and on what port should i connect to pull the metrics?

Most helpful comment

i managed to access the internal HTTP metrics.
Here are the steps to achieve the goal for future readers:

JVB_ENABLE_APIS=rest,colibri in .env

org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri
org.jitsi.videobridge.STATISTICS_INTERVAL=5000

in jvb/rootfs/defaults/sip-communicator.properties

Now you can connect to localhost:8000/colibri/stats

All 5 comments

i managed to access the internal HTTP metrics.
Here are the steps to achieve the goal for future readers:

JVB_ENABLE_APIS=rest,colibri in .env

org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri
org.jitsi.videobridge.STATISTICS_INTERVAL=5000

in jvb/rootfs/defaults/sip-communicator.properties

Now you can connect to localhost:8000/colibri/stats

tiny addition to the above: I needed to add the port 8080 to the JVB container, and then i could navigate to http://localhost:8080/colibri/stats (note the different port! 8080 vs 8000!)

tiny addition to the above: I needed to add the port 8080 to the JVB container, and then i could navigate to http://localhost:8080/colibri/stats (note the different port! 8080 vs 8000!)

Yeah, you should bind the jvb container configuration in Docker Compose file, example:

jvb:
        image: jitsi/jvb:latest
        restart: ${RESTART_POLICY}
        ports:
            - '8080:8080' # New port binding.

The thing is, it seems I haven't found the official statement in the documentation that port 8080 is colibri port. I have looked up on JVB repo in here and it seems it is also not stated anywhere in the documentation.

The port is documented in the docs the rest API because colibri is part of it.

https://github.com/jitsi/jitsi-videobridge/blob/08554aa982a8de10db0d245e5de1caf7196330b5/doc/rest.md

The port is documented in the docs the rest API because colibri is part of it.

https://github.com/jitsi/jitsi-videobridge/blob/08554aa982a8de10db0d245e5de1caf7196330b5/doc/rest.md

Whoops, I see, thank you for sharing.

Was this page helpful?
0 / 5 - 0 ratings