Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

New Relic Real User monitoring in JIRA

I have installed New Relic in my JIRA instance. I have it reporting Server side data. I am trying to enable the Browser side tracking. I have installed the newrelic-api.jar into the JIRA lib folder.

https://docs.newrelic.com/docs/java/real-user-monitoring-in-java

According to New Relic documentation - the Javascript for Real User Monitoring should automatically get inserted into the pages during Jasper JSP compilation.

This is not happening for me. Is this possible to set up automatically? If this is not possible where would it be implemented manually?


4 answers

1 accepted

3 votes
Answer accepted

Here is a dirty hack howto add NewRelic Real User Monitoring to JIRA.

  1. Download NewRelic agent lib: newrelic_agent3.3.2.zip
  2. Unzip it to jira/install dir
  3. add line(change <FULL_PATH> to real path) to file jira/install/bin/catalina.sh
    export JAVA_OPTS="$JAVA_OPTS -javaagent:&lt;FULL_PATH&gt;/jira/install/newrelic/newrelic.jar"

  4. Change NewRelic configuration file newrelic.yml:
    1. Insert your license_key:
      license_key: &lt;key&gt;
    2. Change app name:
      app_name: &lt;app_name&gt;
    3. Disable Real User Monitoring auto instrumentation:
      browser_monitoring:
        auto_instrument: false
  5. Copy newrelic/newrelic-api.jar to jira/install/lib
  6. Restart JIRA
  7. Add NewRelic to JIRA templates:
    1. go to jira/install/atlassian-jira/includes/decorators/aui-layout
    2. In head-common.jsp after meta tags add line:
      &lt;%= com.newrelic.api.agent.NewRelic.getBrowserTimingHeader() %&gt;
    3. In footer.jsp add line
      &lt;%= com.newrelic.api.agent.NewRelic.getBrowserTimingFooter() %&gt;

  8. Done

Does this still works with JIRA 6.3+ ? Are you using it on production? Any risks?

Hi Saint, 

Can you provide screenshot that this settings will works? 

 

Appreciate your help.Thanks

According to New Relic Support this is not supported.

Did you enable it using Enable real user monitoring? checkbox option?

Yes - this is enabled

Hi, does it work for Jira 7?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you