Skip to content

Commit

Permalink
Updated Documentation For Change in Behaviour of Reading X-Ray Tracin…
Browse files Browse the repository at this point in the history
…g Info From Lambda (#27)

Co-authored-by: Tyler Benson <tylerbenson@gmail.com>
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
Co-authored-by: Josh Suereth <joshuasuereth@google.com>
  • Loading branch information
4 people committed May 25, 2023
1 parent 350b501 commit eacb63d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ release.

## Unreleased

- Updated AWS Java Lambda guidance - using system properties.

### Semantic Conventions

- Clarify the scope of the HTTP client span.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ contain an incomplete trace context which indicates X-Ray isn’t enabled. The e
`Context` will be valid and sampled only if AWS X-Ray has been enabled for the Lambda function. A user can
disable AWS X-Ray for the function if the X-Ray Span Link is not desired.

**Note**: When instrumenting a Java AWS Lambda, instrumentation SHOULD first try to parse an OpenTelemetry `Context` out of the system property `com.amazonaws.xray.traceHeader` using the [AWS X-Ray Propagator](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/api-propagators.md) before checking and attempting to parse the environment variable above.

[Span Link]: https://opentelemetry.io/docs/concepts/signals/traces/#span-links

## API Gateway
Expand Down

0 comments on commit eacb63d

Please sign in to comment.