[__jitsi_meet] Configure jicofo so metrics are more useful
By default the REST API provided by jicofo is less useful than desired. This is a tad under-documented, so finding the right settings was tricky :-). Sponsored by: camilion.eu, eXO.cat
This commit is contained in:
parent
0cff414884
commit
a63d9ec458
2 changed files with 24 additions and 1 deletions
type/__jitsi_meet
|
@ -33,7 +33,7 @@ if grep -qE "^__file/etc/nginx" "${__messages_in}"; then
|
||||||
echo "service nginx reload"
|
echo "service nginx reload"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -qE "^(__line/jitsi_jicofo_secured_domains|(__file|__link)/etc/prosody/conf.d/|__file/etc/jitsi/jicofo/jicofo.conf)" "${__messages_in}"; then
|
if grep -qE "^(__line/jitsi_jicofo_secured_domains|(__file|__link)/etc/prosody/conf.d/|__file/etc/jitsi/(jicofo/jicofo.conf|videobridge/jvb.conf))" "${__messages_in}"; then
|
||||||
RESTART_SERVICES="YES"
|
RESTART_SERVICES="YES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -200,6 +200,29 @@ export JITSI_HOST
|
||||||
"${__type}/files/jicofo.conf.sh" | \
|
"${__type}/files/jicofo.conf.sh" | \
|
||||||
__file /etc/jitsi/jicofo/jicofo.conf --mode 0444 --source '-'
|
__file /etc/jitsi/jicofo/jicofo.conf --mode 0444 --source '-'
|
||||||
|
|
||||||
|
# Enable the private colibri REST API end point for better stats
|
||||||
|
__file "/etc/jitsi/videobridge/jvb.conf" --mode 0444 --source '-' <<EOFJVB
|
||||||
|
videobridge {
|
||||||
|
http-servers {
|
||||||
|
public {
|
||||||
|
port = 9090
|
||||||
|
}
|
||||||
|
private {
|
||||||
|
port = 8080
|
||||||
|
}
|
||||||
|
}
|
||||||
|
websockets {
|
||||||
|
enabled = true
|
||||||
|
domain = "${JITSI_HOST}:443"
|
||||||
|
tls = true
|
||||||
|
}
|
||||||
|
apis {
|
||||||
|
rest {
|
||||||
|
enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOFJVB
|
||||||
|
|
||||||
# These two should be changed on new release
|
# These two should be changed on new release
|
||||||
EXPORTER_VERSION="1.2.0"
|
EXPORTER_VERSION="1.2.0"
|
||||||
|
|
Loading…
Reference in a new issue