I want to use New Relic on Confluence to get user statistics. However, I don't know how to enable Real User Monitoring (RUM).
Auto instrumentation didn't work, so I tried a manual installation. To enable Confluence to use the Java Agent API I copied the newrelic-api.jar to my confluence/WEB-INF/lib folder.
According to the New Relic documentation I have to add some HTML-code to Confluence, but where should I do this?
I'm using Confluence 4.2.1 running on a Ubuntu server.
Here is a simple instruction howto add NewRelic Real User Monitoring to Confluence.
export JAVA_OPTS="$JAVA_OPTS -javaagent:<FULL_PATH>/confluence/install/newrelic/newrelic.jar"
browser_monitoring: auto_instrument: false
<atlassian-plugin name="NewRelic" key="confluence.new.relic"> <plugin-info> <description> Plugin to add NewRelic RUM. </description> <!-- This version is displayed in the application's Plugin Manager. --> <version>1.0</version> </plugin-info> <velocity-context-item key="NewRelic" name="NewRelic" context-key="NewRelic" class="com.newrelic.api.agent.NewRelic" /> </atlassian-plugin>
#set($relicWithHtml = $NewRelic.getBrowserTimingHeader()) $relicWithHtml
#set($relicFooterWithHtml = $NewRelic.getBrowserTimingFooter()) $relicFooterWithHtml
@David Simpson v4.0, i tried to upload the above plugin to Confluence v5.9.7, i am getting error in UI
"An error occurred during installation. Refer to the logs for more information."
and in logs:
2016-03-30 11:20:16,074 WARN [UpmAsynchronousTaskManager:thread-4] [upm.core.install.DefaultPluginInstallationService] execute Plugin installation failed: Failed to resolve plugin dependencies within OBR [plugin_319211194046483372_newrelic-conf-1.0.0.obr]. Please see the logs for more detailed information.
-- url: /rest/plugins/1.0/ | referer: https://confluence.xxxxxxx.net/plugins/servlet/upm | userName: xxxxx
Can you please check and update the plugin and help me to resolve this issue.
More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs