[jitsi-dev] How to enable newrelic metric service in JVB


#1

I looks like newrelic got added as metric logging service. I couldn’t find any documentation how to turn it on.

What needs to be done? I saw some arguments in the jvb.sh. What does the newrelic.yml look like? Where do I set the $logging_config.

if [ -n "${NR_JAVA_AGENT_DIR}" -a -r "${NR_JAVA_AGENT_DIR}/newrelic.jar" -a -r "${NR_JAVA_AGENT_DIR}/newrelic.yml" ]; then
-javaagent:${NR_JAVA_AGENT_DIR}/newrelic.jar -Djava.util.logging.config.file=$logging_config
···

andi


#2

Hi,

the newrelic.yml is a standard config file for newrelic you can find
more info at:
https://docs.newrelic.com/docs/agents/java-agent/configuration/java-agent-config-file-template

You just need to download newrelic.jar, the default not enabled config
expects that file is in /usr/share/newrelic/newrelic.jar.
Put the config file in /etc/jitsi/videobridge/newrelic.yml.
Uncomment the property JVB_EXTRA_JVM_PARAMS in /etc/jitsi/videobridge/config.
And put the following property in sip-communicator.properties under
/etc/jitsi/videobridge/:
org.jitsi.videobridge.metricservice.NewRelic=org.jitsi.videobridge.metrics.NewRelicMetricPublisher

Regards
damencho

···

On Wed, Nov 18, 2015 at 4:03 AM, <dr.andreas.rice@gmx.net> wrote:

I looks like newrelic got added as metric logging service. I couldn't find
any documentation how to turn it on.
What needs to be done? I saw some arguments in the jvb.sh. What does the
newrelic.yml look like? Where do I set the $logging_config.

if [ -n "${NR_JAVA_AGENT_DIR}" -a -r "${NR_JAVA_AGENT_DIR}/newrelic.jar" -a
-r "${NR_JAVA_AGENT_DIR}/newrelic.yml" ]; then

-javaagent:${NR_JAVA_AGENT_DIR}/newrelic.jar
-Djava.util.logging.config.file=$logging_config

--
andi

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev