Unable to get the video bridge stats

Hi,

I am trying to get the statistics of video bridge, but failed. I configured the JVB as below:
jvb {
apis {
xmpp-client {
presence-interval = 2
stats-filter {
enabled = false
}
jid-cache-size = 1000
}
}
rest {
enabled = true
}
rest {
debug {
enabled = true
}
health {
enabled = true
}
shutdown {
# Note that the shutdown API requires the COLIBRI API to also be enabled.
enabled = false
}
drain {
enabled = true
}
version {
enabled = true
}
prometheus {
enabled = true
enabled = true
}
}
stats{
enabled=true
interval = 1 seconds
}
http-servers {
public {
port = 9090
}
private{
port=8080
host=127.0.0.1
}
}
websockets {
enabled = true
domain = “128.110.219.133:443”
tls = false
}
}

And my SIP properties are as below:
org.ice4j.ice.harvest.DISABLE_AWS_HARVESTER=true
org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.jitsi.impl.neomedia.transform.srtp.SRTPCryptoContext.checkReplay=false
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
org.jitsi.videobridge.STATISTICS_INTERVAL=1000
org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=128.110.219.133
org.jitsi.videobridge.xmpp.user.shard.DOMAIN=auth.128.110.219.133
org.jitsi.videobridge.xmpp.user.shard.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.shard.PASSWORD=Sandy@12345
org.jitsi.videobridge.xmpp.user.shard.MUC_JIDS=jvbsandy@internal.auth.128.110.219.133
org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME=jvbsandyname
org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true
org.jitsi.videobridge.octo.BIND_ADDRESS=128.110.219.133
org.jitsi.videobridge.octo.PUBLIC_ADDRESS=128.110.219.133
org.jitsi.videobridge.octo.BIND_PORT=4096
org.jitsi.videobridge.REGION=region2

But I do not get any stats. debug seems to work though
hyoyoung@node0:~/.jvb$ GET http://127.0.0.1:8080/debug
{“shutdownState”:“RUNNING”,“drain”:false,“time”:1678926473188,“load-management”:{“state”:“NOT_OVERLOADED”,“stress”:“0.0”,“reducer_enabled”:“false”,“reducer”:{“jvbLastN”:-1}},“overall_bridge_jitter”:0.0,“conferences”:{},“health”:{“success”:true,“message”:null,“hardFailure”:true,“responseCode”:null}}
hyoyoung@node0:~/.jvb$ GET http://127.0.0.1:8080/colibri/stats

Error 404 Not Found

HTTP ERROR 404 Not Found

URI: /colibri/stats
STATUS: 404
MESSAGE: Not Found
SERVLET: org.glassfish.jersey.servlet.ServletContainer-6d2260db

Powered by Jetty:// 11.0.10
hyoyoung@node0:~/.jvb$

I tried to look up existing topics in forum but hasn;t worked for anyone.
Any help would be appreciated.

-Sandesh

hocon -f /etc/jitsi/videobridge/jvb.conf set videobridge.apis.rest.enabled true

Thank you it worked.
So the video bridge configuration should always start with “videobridge” not jvb. That was my error. Why does it has to be constant name?

Cause this is how the configuration should look like.

This explains a lot. Thank you