feat(attributes): Add faas.id (deprecated) in favor of cloud.resource_id#475
Merged
Conversation
andreiborza
requested review from
a team,
Lms24,
cleptric,
mjq and
nsdeschenes
as code owners
July 9, 2026 13:38
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
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
force-pushed
the
ab/deprecate-faas-id
branch
from
July 9, 2026 13:55
594c760 to
d307fb8
Compare
Lms24
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
faas.idas a deprecated attribute in favor ofcloud.resource_id.faas.idwas renamed tocloud.resource_idin OTel semantic conventions v1.19.0 (rename_attributes: { faas.id: cloud.resource_id }). The AWS serverless SDK still emitsfaas.id(set to the Lambda ARN,context.invokedFunctionArn), so it is marked_status: backfilland cross-aliased withcloud.resource_idso ingestion copies the value forward.Follow-up to getsentry/sentry-javascript#22079, where the vendored
faas.idconstant was flagged as missing from@sentry/conventions.Changes
model/attributes/faas/faas__id.json(deprecated,_status: backfill,replacement: cloud.resource_id).faas.idtocloud.resource_id's alias list.