Skip to content

fix(attributes): Add status backfill to deprecated attributes with renamed replacements - #571

Open
Lms24 wants to merge 3 commits into
mainfrom
lms/fix-attributes-add-status-backfill
Open

fix(attributes): Add status backfill to deprecated attributes with renamed replacements#571
Lms24 wants to merge 3 commits into
mainfrom
lms/fix-attributes-add-status-backfill

Conversation

@Lms24

@Lms24 Lms24 commented Aug 13, 2026

Copy link
Copy Markdown
Member

Description

This PR applies the deprecation status "backfill" to a bunch of attributes that were straight renames but for unknown reasons had status null. This means, these attributes are now added to the deprecation chains on the ATTRIBUTE_METADATA object to allow for deprecation-safe attribute accesses.

closes #570

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate to generate and format code and docs.

If an attribute was added:

  • The attribute is in a namespace (e.g. nextjs.function_id, not function_id)
  • I have used the correct value for apply_scrubbing (i.e. manual or auto. Use never only for values that should never be scrubbed such as IDs)

If an attribute was deprecated:

@Lms24
Lms24 requested review from a team, cleptric, mjq and nsdeschenes as code owners August 13, 2026 21:26
@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

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


Breaking Changes 🛠

  • (ops) Drop category prefix and SPAN_OP suffix from op constants by Lms24 in #565

New Features ✨

Attributes

  • Add search alias metadata by cleptric in #492
  • Add sentry.event.serialized_meta by mjq in #566
  • Change sentry.description scrubbing policy to manual by Lms24 in #555

Op

  • Add handler op by msonnb in #554
  • Add router span operation by msonnb in #551

Other

  • (ops) Add MCP ops by msonnb in #558
  • (packages) Expose attribute key chains on ATTRIBUTE_METADATA by Lms24 in #508

Bug Fixes 🐛

  • (attributes) Add status backfill to deprecated attributes with renamed replacements by Lms24 in #571
  • (docs) Add missing file and test docs building in CI by Lms24 in #568
  • (ops) Add http.client.stream to http.client name and description rules by msonnb in #553

Internal Changes 🔧

Deps

  • Bump dompurify from 3.4.12 to 3.4.13 by dependabot in #559
  • Bump js-yaml from 4.3.0 to 4.3.1 by dependabot in #560

Other

  • (docs) Add Sentry Astro SDK by Lms24 in #563
  • Type-check TypeScript sources by Lms24 in #567
  • Unstale yarn.lock by Lms24 in #561

🤖 This preview updates automatically when you update the PR.

"alias": ["network.local.address", "net.host.ip"],
"deprecation": {
"_status": null,
"_status": "backfill",

@Lms24 Lms24 Aug 13, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

given the example, the deprecation just being a rename doesn't seem to be 100% straight forward but OTEL also lists that network.local.address may hold /var/my.sock. I added it as an example in our definition of network.local.address

@Lms24 Lms24 self-assigned this Aug 13, 2026
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.

Semantically equivalent deprecated attributes have deprecation status null

2 participants