Monitoring services Java Pure! - Site24x7 Forum
Go to All Forums

Monitoring services Java Pure!

Good afternoon, can you monitor pure java services by APM Insight Agent? and where could I find a guide to this? They are not tomcat services

 

Like (2) Reply
Replies (1)

Hi Eder,

Yes, APM Insight Java Agent can be configured to monitor any Java applications

You need to add an argument along with other JVM arguments like heap memory, GC configurations
The argument to be added is -javaagent:/path/to/java/agent/jar/apminsight-javaagent.jar

Example: -Xms256m -Xmx1024m -Djava.net.preferIPv4Stack=true -javaagent:D:/site24x7/apminsight-javaagnt.jar

In case of web applications, Java agent would be able to track the requests automatically. Since this is not a web application, you may need to configure custom instrumentation for your application. Please follow the help page for configuring custom instrumentation https://www.site24x7.com/help/apm/custom-instrumentation.html

 

Regards,

Adhi

Like (0) Reply

Was this post helpful?