Skip to content

Conversation

@majanjua-amzn
Copy link
Contributor

Background

We recently added the ADOT SigV4 exporter to the aws-otel-js-instrumentation repo that allows users to export spans directly the the X-Ray OTLP endpoint from their application instead of relying on a collector or agent.

Changes

Added workflow, terraform definitions, and validations

Notable differences in behaviour between JS and other languages for this use case

  • [TRACE] span.name always seems to be GET instead of GET api or GET /api
  • [LOG] resource.attributes.["aws.local.service"] is missing for all APIs
  • [LOG] attributes.["aws.region"] is missing for /aws-sdk-call API (resource.attributes.["cloud.region"] is still present)

Rollback Procedure

Revert

Testing

Successful run: link

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

@majanjua-amzn majanjua-amzn self-assigned this Mar 18, 2025
@majanjua-amzn majanjua-amzn added enhancement New feature or request javascript Pull requests that update Javascript code labels Mar 18, 2025
@majanjua-amzn majanjua-amzn merged commit 125d5c9 into main Mar 19, 2025
1 check passed
@majanjua-amzn majanjua-amzn deleted the js-sigv4 branch March 19, 2025 22:48
liustve pushed a commit that referenced this pull request Mar 20, 2025
majanjua-amzn added a commit to aws-observability/aws-otel-js-instrumentation that referenced this pull request Mar 20, 2025
Follow up to: [aws-observability/aws-application-signals-test-framework
#379](aws-observability/aws-application-signals-test-framework#379)


By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants