The Java tracing library allows you to collect and monitor your Java application traces, calls, metrics, and correlation to logs.
To trace AWS Lambda functions in Java please refer to the following AWS Lambda tracing.
Install our Java library by downloading it using
curl -o epsagon-agent-1.0.3-all.jar https://epsagon-java-sdk.s3.amazonaws.com/epsagon-agent-1.0.3-all.jar
To run the library as part of your application, you can use the auto-tracing.
Auto-tracing loads the Epsagon library as part of your application. Configurations can be done through the environment variables:
export EPSAGON_TOKEN=<epsagon-token>export EPSAGON_APP_NAME=<app-name-stage>java -javaagent:.<path_to_epsagon_agent> -jar <your jar file> # For exampleexport EPSAGON_TOKEN=<your-token>export EPSAGON_APP_NAME=spring-prodjava -javaagent:./epsagon-opentracing-agent-1.0.49.jar -jar app.jar
The supported frameworks and libraries are listed here.