Jibri instance statistics

Is there any way to find out and display statistics on how many jibri instances there are and how many are free now? Is it possible to get it in the prosody plugin?

curl -s http://127.0.0.1:8888/stats | jq '.jibri_detector.count'

curl -s http://127.0.0.1:8888/stats | jq '.jibri_detector.available'

Is it possible to get this data in Prosody?

You can create a custom module that opens the brewery room and do the counting of jibris.

Can you share example or POC ?

You can get inspired from jitsi-meet/mod_muc_census.lua at master · jitsi/jitsi-meet · GitHub itbopens all rooms and counts participants.