Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Add OpenTelemetry Instrumentation to Java Functions #8

Closed
Tracked by #1
timoguin opened this issue Aug 23, 2023 · 0 comments · Fixed by tiki-deprecated/platform-agg-metadata#56 or tiki-deprecated/platform-agg-catalog#58
Assignees

Comments

@timoguin
Copy link

Add OpenTelemetry instrumentation by consuming the AWS Distro for OpenTelemetry as a Lambda layer.

How

AWS publishes Lambda layers that can be easily pulled in via the Layers property of any Lambda function. Add the relevant (regional) layer, set the AWS_LAMBDA_EXEC_WRAPPER env var, and enable active tracing.

I've included two references below. One includes full auto-instrumentation for Java. The second instruments the AWS Java SDK only, while any additional instrumentation is on the implementor and would require code changes.

References

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants