Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dropped support for disabling AWS SDK instrumentation in old syntax #1383

Merged
merged 5 commits into from
Oct 14, 2024

Conversation

aryamohanan
Copy link
Contributor

@aryamohanan aryamohanan commented Oct 14, 2024

Added a test to verify that customers can disable AWS SDK v3 instrumentation using disabledTracers: ['aws-sdk/v3'].

This highlights a design issue in our earlier system.
Already documented in the public documenation

As part of the updates made in #866, we've introduced an instrumentationName in our AWS SDK instrumentation. This enhancement allowed us to disable the tracer effectively using the instrumentation name rather than relying on the instrumentation syntax.

BREAKING CHANGE:

  • Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
  • Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].

@aryamohanan aryamohanan added the v4 label Oct 14, 2024
@aryamohanan aryamohanan marked this pull request as ready for review October 14, 2024 08:35
@aryamohanan aryamohanan requested a review from a team as a code owner October 14, 2024 08:35
@aryamohanan aryamohanan changed the title test: added test for disabling aws/sdk instrumentation fix: dropped support for disabling AWS SDK instrumentation in old syntax Oct 14, 2024
Copy link
Contributor

@kirrg001 kirrg001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aryamohanan aryamohanan merged commit 0bdf96a into v4 Oct 14, 2024
1 check passed
aryamohanan added a commit that referenced this pull request Oct 14, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
@aryamohanan aryamohanan mentioned this pull request Oct 14, 2024
20 tasks
aryamohanan added a commit that referenced this pull request Oct 14, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
aryamohanan added a commit that referenced this pull request Oct 18, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
aryamohanan added a commit that referenced this pull request Oct 21, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
aryamohanan added a commit that referenced this pull request Oct 22, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
aryamohanan added a commit that referenced this pull request Oct 23, 2024
…tax (#1383)

BREAKING CHANGE:
- Removed the ability to disable AWS SDK instrumentation using the old syntax disabledTracers: ['aws-sdk/v2/index'].
- Migrate to the new syntax for disabling instrumentation: disabledTracers: ['aws-sdk/v2'].
@aryamohanan aryamohanan deleted the v4-disable-aws-sdk branch October 28, 2024 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants