Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opentelemetry-lambda sub module #906

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

vasireddy99
Copy link
Contributor

@vasireddy99 vasireddy99 commented Apr 25, 2024

Description:

This PR updates open telemetry lambda sub module

I am patching the otel java agent and java contrib dependencies to 1.32.0 for now, because 2.0 adot java agent is not available/released.

context - the ADOT Java agent version 1.32.1 includes a dependency on OpenTelemetry SDK version 1.34.1 and the fix related to
lambda semantic changes - awsxray propogator to priorotize the xray env variable is present in 1.34.0 otel-java-contrib version, but follow up fix for xray trace span linking is in otel-java-intrumentation - 2.3.0.

To use the latest java dependencies .

This would require a bump to 2.0 - otel-java-instrumentation major version upgrade in adot-java-agent, once the ADOT java agent 2.x is available, patches can also be removed. hence we are choosing to stay at 1.32.0 version for java dependencies.

Another option if we have to use 1.32.1 adot-java-agent

  1. Backport the fix for xray active tracing span linking in 1.32.1 - otel-java-instrumentation.
  2. Patch aws-otel-instrumentation to use otel-java-instrumentation patched package in step 1.
  3. Patch otel java and java contrib dependencies to 1.34.0 in opentelemetry-lambda - java module and use patched aws-otel-instrumentation in step 2.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@vasireddy99 vasireddy99 changed the title Initial commit to update sub module Update opentelemetry-lambda sub module Apr 29, 2024
@vasireddy99 vasireddy99 marked this pull request as ready for review April 29, 2024 17:22
@vasireddy99 vasireddy99 requested a review from a team as a code owner April 29, 2024 17:22
bryan-aguilar
bryan-aguilar previously approved these changes Apr 29, 2024
@bryan-aguilar bryan-aguilar dismissed their stale review April 29, 2024 22:00

alpha version

@vasireddy99 vasireddy99 merged commit f70c255 into aws-observability:main Apr 30, 2024
14 checks passed
@vasireddy99 vasireddy99 deleted the updatesubmod branch April 30, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants