Skip to content

feat(attributes): Add AWS SDK instrumentation attributes#478

Closed
andreiborza wants to merge 2 commits into
mainfrom
ab/aws-sdk-attributes
Closed

feat(attributes): Add AWS SDK instrumentation attributes#478
andreiborza wants to merge 2 commits into
mainfrom
ab/aws-sdk-attributes

Conversation

@andreiborza

Copy link
Copy Markdown
Member

Adds the attributes emitted by the aws-sdk instrumentation in sentry-javascript (getsentry/sentry-javascript#22142), used by both the vendored OTel integration and its orchestrion port.

  • 21x aws.dynamodb.* request/response attributes
  • aws.request.id, aws.request.extended_id, rpc.system
  • aws.s3.bucket, aws.kinesis.stream.name
  • aws.secretsmanager.secret.arn, aws.sns.topic.arn, aws.step_functions.state_machine.arn, aws.step_functions.activity.arn
  • faas.invoked_name, faas.invoked_provider, faas.invoked_region
  • gen_ai.request.stop_sequences
  • messaging.destination, deprecated in favor of messaging.destination.name (same pattern as feat(attributes): Add faas.execution (deprecated) in favor of faas.invocation_id #473)

messaging.destination.name gained the reverse alias entry since the schema tests enforce alias-group symmetry.

Adds the attributes emitted by the vendored AWS SDK instrumentation:

- aws.dynamodb.* request/response attributes (21)
- aws.request.id and aws.request.extended_id
- aws.s3.bucket and aws.kinesis.stream.name
- aws.secretsmanager.secret.arn, aws.sns.topic.arn and
  aws.step_functions state machine/activity ARNs
- faas.invoked_name, faas.invoked_provider, faas.invoked_region
- gen_ai.request.stop_sequences
- rpc.system
- messaging.destination, deprecated in favor of messaging.destination.name

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add AWS SDK instrumentation attributes by andreiborza in #478
  • Add sentry.metric.source by klochek in #476
  • Add faas.id (deprecated) in favor of cloud.resource_id by andreiborza in #475
  • Add faas.execution (deprecated) in favor of faas.invocation_id by andreiborza in #473
  • Add messaging attributes by s1gr1d in #469
  • Add url.same_origin (deprecated) and http.request.same_origin (replacement) attributes by Lms24 in #456
  • Add db.response.status_code by s1gr1d in #462

Other

  • (ai) Add granular cost attributes for cache and reasoning by vgrozdanic in #461

Internal Changes 🔧

  • (ci) Stop inheriting secrets for changelog-preview by tobias-wilfert in #463

🤖 This preview updates automatically when you update the PR.

@andreiborza

Copy link
Copy Markdown
Member Author

Split into stacked PRs #479, #480, #481, #482.

@andreiborza andreiborza deleted the ab/aws-sdk-attributes branch July 10, 2026 09:12
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.

1 participant