APM
June 15, 2020

Elastic APM

Glowroot

  1. Download and unzip glowroot-0.13.6-dist.zip
  2. Add -javaagent:path/to/glowroot.jar to your application’s JVM args
  3. Point your browser to http://localhost:4000

GlassFish / Payara

Add -javaagent:path/to/glowroot.jar to the existing jvm-options in glassfish/domains/domain1/config/domain.xml, e.g.

1
2
3
4
5
6
...
    <java-config ...>
        <jvm-options>-javaagent:path/to/glowroot.jar</jvm-options>
        ...
    </java-config>
...

Spring Boot

Add the JVM arg -javaagent:path/to/glowroot.jar somewhere before -jar <myapp.jar>, e.g.

1
$ java -javaagent:path/to/glowroot.jar -jar myapp.jar

check for others