Skip to content

Conversation

blairhyy-amazon
Copy link
Member

Description of changes:

  1. Add auto-instrumentation support for the following AWS resources.
  • Populate aws.stream.arn in Span by extracting StreamArn from the request body.
  • Populate aws.table.arn in Span by extracting TableArn from the response body.
  1. Add auto-instrumentation support for remote resource access key.
  • Populate aws.auth.account.access_key and aws.auth.region in Span from STS credentials in client instance
  1. Generate cross-account metrics attributes when remote resource identifier is present
  • If remote resource arn is available, extract account id and region from arn.
  • Otherwise, pass account access key id and region from span to metric if available.
  1. Add unit tests, contract tests. Done E2E tests with CW agent.

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

@blairhyy-amazon blairhyy-amazon requested a review from a team as a code owner June 13, 2025 17:47
@blairhyy-amazon blairhyy-amazon force-pushed the cross-account branch 2 times, most recently from 2894be7 to 60c680c Compare June 13, 2025 18:23
bjrara
bjrara previously approved these changes Jun 25, 2025
bjrara
bjrara previously approved these changes Jul 2, 2025
@bjrara bjrara merged commit de4b61b into aws-observability:main Jul 4, 2025
21 of 22 checks passed
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