Skip to content

fix(aws-lambda): use the correct camel case when accessing the SQS message attributes#4831

Open
dhruvparanjape wants to merge 2 commits into
open-telemetry:mainfrom
dhruvparanjape:fix_lambda_sqs_links
Open

fix(aws-lambda): use the correct camel case when accessing the SQS message attributes#4831
dhruvparanjape wants to merge 2 commits into
open-telemetry:mainfrom
dhruvparanjape:fix_lambda_sqs_links

Conversation

@dhruvparanjape

@dhruvparanjape dhruvparanjape commented Jul 17, 2026

Copy link
Copy Markdown

Description

Use the correct camel case instead of the title case when accessing the SQS message attributes.

This is as per the aws docs https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#example-standard-queue-message-event as well as what I have observed when implementing the SQS links.

Fixes the implementation in #4668

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • verified with lambda functions that wrote to SNS + SQS and read from it.
  • uv run tox

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added

@dhruvparanjape dhruvparanjape changed the title opentelemetry-instrumentation-aws-lambda: use the correct camel case when accessing the SQS message attributes fix(aws-lambda): use the correct camel case when accessing the SQS message attributes Jul 17, 2026
@dhruvparanjape
dhruvparanjape requested a review from a team as a code owner July 17, 2026 20:47
@dhruvparanjape

Copy link
Copy Markdown
Author

MR is ready for review @herin049 & @xrmx could you please review once you have time 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant