The Java tracing library allows you to collect and monitor your Java application traces, calls, metrics, and correlation to logs.
Tracing Lambda functions
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-opentracing-agent-1.0.49.jar https://epsagon-java-opentracing-agent.s3.amazonaws.com/epsagon-opentracing-agent-1.0.39.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_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=spring-prod java -javaagent:./epsagon-opentracing-agent-1.0.49.jar -jar app.jar
The supported frameworks and libraries are listed here.
Updated 15 days ago
Learn more about the tracing library