Skip to content

Conversation

@lukeina2z
Copy link
Contributor

This PR adds auto-instrumentation support for the following AWS resource:

Secrets Manager

Tests Run:
./gradlew spotlessCheck
./gradlew clean assemble
./gradlew instrumentation:check
./gradlew :smoke-tests:test

No regression issues found. All newly added tests pass.

Backward Compatibility:
There is no risk of breaking existing functionality. This change only adds instrumentation for additional AWS resources without modifying the existing behavior of the auto-instrumentation library.

This PR adds auto-instrumentation support for the following AWS resource:

Secrets Manager

Tests Run:
./gradlew spotlessCheck
./gradlew clean assemble
./gradlew instrumentation:check
./gradlew :smoke-tests:test

No regression issues found. All newly added tests pass.

Backward Compatibility:
There is no risk of breaking existing functionality. This change only adds instrumentation for additional AWS resources without modifying the existing behavior of the auto-instrumentation library.
@lukeina2z lukeina2z requested a review from a team as a code owner June 9, 2025 02:42
@lukeina2z
Copy link
Contributor Author

The only added attribute, "aws.secretsmanager.secret.arn", aligns with the semantic conventions described here: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/registry/attributes/aws.md#amazon-secrets-manager-attributes

1. Used constant from semconv.
2. Moved extraction code out of the experimental module.
Copy link
Contributor

@laurit laurit left a comment

Choose a reason for hiding this comment

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

could wait until after merging #14015 and replace the aws.secretsmanager.secret.arn usage in test with a constant from incubating semconv

@laurit laurit added this to the v2.17.0 milestone Jun 12, 2025
@trask trask merged commit 4a2b49f into open-telemetry:main Jun 12, 2025
89 checks passed
@lukeina2z lukeina2z deleted the x-foo-1-secretsmanager branch July 10, 2025 22:01
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.

3 participants