Skip to content

feat: add OpenTelemetry tracing support - #2607

Draft
David-DAM wants to merge 13 commits into
aws-powertools:mainfrom
David-DAM:feature/opentelemetry-tracing
Draft

feat: add OpenTelemetry tracing support#2607
David-DAM wants to merge 13 commits into
aws-powertools:mainfrom
David-DAM:feature/opentelemetry-tracing

Conversation

@David-DAM

Copy link
Copy Markdown
Contributor

Issue number: Closes #1943

Description of changes:

  • Added OpenTelemetry tracing support
  • Added module powertools-tracing-opentelemetry

Checklist

Breaking change checklist

RFC issue #:

  • Migration process documented
  • Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ce context handling.

- Refactor `TracingOpenTelemetryAspect` to support span links via extracted trace context.
- Add `TraceContextPropagationMode` with `PARENT` and `LINK` options, configurable via environment variable.
- Implement `ExtractedTraceContext` to encapsulate parent/linked contexts.
- Update context extractors (SNS, SQS, S3, DynamoDB, Kinesis, API Gateway) to return `ExtractedTraceContext`.
- Enhance span creation to include multiple links where applicable.
- Deprecate and remove certain tests for unsupported scenarios.
…ance `TracingOpenTelemetry` for additional span operations, and update dependencies.
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: OpenTelemetry Support

1 participant