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?
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
8080to the JVB container, and then i could navigate tohttp://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.
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,colibriin.envin
jvb/rootfs/defaults/sip-communicator.propertiesNow you can connect to
localhost:8000/colibri/stats