Skip to content

Conversation

@majanjua-amzn
Copy link
Contributor

@majanjua-amzn majanjua-amzn commented Mar 18, 2025

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 .NET and other languages for this use case

See Trace validation modifications commit. Differences are not limited to this commit, as the differences in logs were in the first commit.

  • [LOG/TRACE] http.url does not exist, it is now url.full + url.query (not validating these in all test cases anymore)
  • [LOG/TRACE] http.method is now http.request.method
  • [TRACE] http.request.url and subsegments[0].http.request.url are both missing. This causes the URL Address field in the X-Ray console to be blank (from what I can tell)

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 added the enhancement New feature or request label Mar 18, 2025
@majanjua-amzn majanjua-amzn self-assigned this Mar 18, 2025
@majanjua-amzn majanjua-amzn merged commit 33d8815 into main Mar 20, 2025
1 check passed
@majanjua-amzn majanjua-amzn deleted the dotnet-sigv4 branch March 20, 2025 22:36
liustve pushed a commit that referenced this pull request Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants