Skip to content

feat(attributes): Add faas.id (deprecated) in favor of cloud.resource_id#475

Merged
andreiborza merged 2 commits into
mainfrom
ab/deprecate-faas-id
Jul 9, 2026
Merged

feat(attributes): Add faas.id (deprecated) in favor of cloud.resource_id#475
andreiborza merged 2 commits into
mainfrom
ab/deprecate-faas-id

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 9, 2026

Copy link
Copy Markdown
Member

Add faas.id as a deprecated attribute in favor of cloud.resource_id. faas.id was renamed to cloud.resource_id in OTel semantic conventions v1.19.0 (rename_attributes: { faas.id: cloud.resource_id }). The AWS serverless SDK still emits faas.id (set to the Lambda ARN, context.invokedFunctionArn), so it is marked _status: backfill and cross-aliased with cloud.resource_id so ingestion copies the value forward.

Follow-up to getsentry/sentry-javascript#22079, where the vendored faas.id constant was flagged as missing from @sentry/conventions.

Changes

  • New model/attributes/faas/faas__id.json (deprecated, _status: backfill, replacement: cloud.resource_id).
  • Added faas.id to cloud.resource_id's alias list.
  • Regenerated JS + Python attribute code and docs.

@andreiborza
andreiborza requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners July 9, 2026 13:38
@github-actions

github-actions Bot commented Jul 9, 2026

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 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 and others added 2 commits July 9, 2026 15:55
Add faas.id as a deprecated attribute pointing to cloud.resource_id as its
OTel-aligned replacement (faas.id was renamed to cloud.resource_id in OTel
semantic conventions v1.19.0). The AWS serverless SDK still emits faas.id
today, so it is marked _status: backfill and cross-aliased with cloud.resource_id.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@andreiborza
andreiborza force-pushed the ab/deprecate-faas-id branch from 594c760 to d307fb8 Compare July 9, 2026 13:55
@andreiborza
andreiborza merged commit ed77325 into main Jul 9, 2026
17 checks passed
@andreiborza
andreiborza deleted the ab/deprecate-faas-id branch July 9, 2026 14:29
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