Support & Documentation
Follow

Java APM on Standalone Applications

Pre-Requisites:

1) Application must be setup with Stackify custom configuration or be using one our support Non-WebApp frameworks (Quartz, Spring Batch). Please follow these steps here first: Configure Custom Profiling for Java.

2) Application must be setup as a Linux Service.

3) Linux Agent Installed

 

Example using annotations would be:

import com.stackify.apm.Trace;

@Trace

public class ClassToBeInstrumented

{

   @Trace(start = true)

   public void methodToStartNewTrace()

   {

       ...

   }

}

 

Then updating the application startup script to pass in the javaagent option as usual:

-javaagent:/usr/local/stackify/stackify-java-apm/stackify-java-apm.jar

 

Once traces come in - user will need to go to Other Apps - Click Add from existing - find their service name and click Add.

 

Stats should start flowing in at this point.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk