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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,642,077
Community Members
 
Community Events
196
Community Groups

Overview and practical use cases with open source tracing tool for Java Apps. Glowroot. Installation

Hi team, 

today let's do installation.

 

 

Installation of the application is quite simple on agents, and this article shows a scheme for working with a built-in collector, but for industrial installations we use it with a bundle with elasticsearch.

The installation can be both for individual nodes and so for the central collector. In this case, consider for a separate node.

image.png

Prerequisites:

  • {jira_home} - is location of Jira home directory.
  • {jira_installation_directory} is the location of Jira installation directory.

 

Steps:

  • Downloading the installer
wget -c https://github.com/glowroot/glowroot/releases/download/v0.13.6/glowroot-0.13.6-dist.zip
  • To check, create a directory via command
  mkdir -p /{jira_home}/glowroot/tmp
  • Let the Jira process write and set ownership for simplicity, but it is recommended that you just give the write ability to the owner of the Jira process.
chown -R jira: /{jira_home}/glowroot
  • We additionally set the argument to setenv.sh in the jira installation directory, in our case it is /jira/current/bin. By default, Atlassian uses the /opt/atlassian/jira/bin directory and add the following line in the file
JVM_SUPPORT_RECOMMENDED_ARGS="-javaagent:/{jira_home}/glowroot/glowroot.jar ${JVM_SUPPORT_RECOMMENDED_ARGS}"
  • After we restart the application via: 

systemctl restart jira

  • And best practice is monitoring for errors by
tail -f {jira_installation_directory}/logs/catalina.out 
  • Since the default address is 127.0.0.1, go to the directory in glowroot and see that there are files such as admin.json. In that file, you can change bindAddress to 0.0.0.0 or whatever you require. In my case, I will add contextPath - /glowroot.
  • And then on reverse proxy, add configuration on nginx like this
location /glowroot {
         proxy_pass http://127.0.0.1:4000;
}

          on httpd like this

ProxyPass        /glowroot  http://127.0.0.1:4000/glowroot
ProxyPassReverse /glowroot  http://127.0.0.1:4000/glowroot

Additionally, you can look at the attached documentation

https://github.com/glowroot/glowroot/wiki/Agent-Installation-(with-Embedded-Collector)

 

As a result, at our address, jira.example.com/glowroot sees transactions with percentiles.

 

image.png

2 comments

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 25, 2021
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 07, 2021

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events