Tracing can be done using the auto-tracing:

export EPSAGON_TOKEN=epsagon-token
export EPSAGON_SERVICE_NAME=app-name-stage
java -javaagent:.path_to_epsagon_agent -jar your jar file

For example:

export EPSAGON_TOKEN=your-token
export EPSAGON_SERVICE_NAME=tomcat-prod
java -javaagent:./epsagon-opentracing-agent-1.0.38.jar -jar app.jar

Did this page help you?