APM
Application performance monitoring for Java servers, including setting up the Glowroot agent on GlassFish.
1 min read
Elastic APM
Glowroot
- Download and unzip
glowroot-0.13.6-dist.zip - Add
-javaagent:path/to/glowroot.jarto your application’s JVM args - 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.
... <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.
$ java -javaagent:path/to/glowroot.jar -jar myapp.jar