Skip to content

feat(attributes): Deprecate sentry.frames.* attributes - #500

Merged
Dav1dde merged 4 commits into
mainfrom
feat/deprecate-sentry-frames
Jul 15, 2026
Merged

feat(attributes): Deprecate sentry.frames.* attributes#500
Dav1dde merged 4 commits into
mainfrom
feat/deprecate-sentry-frames

Conversation

@buenaflor

@buenaflor buenaflor commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Adds deprecated definitions for sentry.frames.slow, sentry.frames.frozen, and sentry.frames.total.

Did not add sentry.frames.delay since that is not renamed in relay.

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.
  • I have used the correct value for apply_scrubbing.

If an attribute was deprecated:

  • I have followed the policies described in CONTRIBUTING.md.

@github-actions

github-actions Bot commented Jul 14, 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

  • Deprecate sentry.frames.* attributes by buenaflor in #500
  • Add missing AI legacy aliases from Relay SpanData by vgrozdanic in #498
  • Remove gen AI reasoning effort by constantinius in #503
  • Deprecate gen AI reasoning effort by constantinius in #502
  • Add sentry.pageload.span_id attribute by Lms24 in #495
  • Add sentry.relay.ingress and sentry.relay.pipeline by loewenheim in #491
  • Expand grpc attributes by lucas-zimerman in #460
  • Add file.path and file.size by buenaflor in #458

Internal Changes 🔧

  • (attrs) Backport attributes and normalizations from Relay by Dav1dde in #497

🤖 This preview updates automatically when you update the PR.

@buenaflor
buenaflor marked this pull request as ready for review July 14, 2026 10:09
Copilot AI review requested due to automatic review settings July 14, 2026 10:09
@buenaflor
buenaflor requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners July 14, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds newly deprecated sentry.frames.* attribute definitions and wires them into the existing frames.* and app.vitals.frames.*.count attributes via alias metadata, keeping generated Python and TypeScript registries in sync with the model JSON files.

Changes:

  • Added deprecated attribute definitions for sentry.frames.frozen, sentry.frames.slow, and sentry.frames.total (new model JSON + generated Python/TS constants and metadata).
  • Updated frames.* and app.vitals.frames.*.count attributes to include sentry.frames.* as additional aliases (plus corresponding generated metadata/doc updates).
  • Updated generated type maps/unions to include the new sentry.frames.* keys in both Python and TypeScript outputs.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
python/src/sentry_conventions/attributes.py Generated Python registry updated with new sentry.frames.* constants, metadata entries, and alias lists.
model/attributes/sentry/sentry__frames__frozen.json New deprecated sentry.frames.frozen attribute definition.
model/attributes/sentry/sentry__frames__slow.json New deprecated sentry.frames.slow attribute definition.
model/attributes/sentry/sentry__frames__total.json New deprecated sentry.frames.total attribute definition.
model/attributes/frames/frames__frozen.json Adds sentry.frames.frozen as an alias for frames.frozen.
model/attributes/frames/frames__slow.json Adds sentry.frames.slow as an alias for frames.slow.
model/attributes/frames/frames__total.json Adds sentry.frames.total as an alias for frames.total.
model/attributes/app/app__vitals__frames__frozen__count.json Adds sentry.frames.frozen as an alias for the canonical app.vitals.frames.frozen.count.
model/attributes/app/app__vitals__frames__slow__count.json Adds sentry.frames.slow as an alias for the canonical app.vitals.frames.slow.count.
model/attributes/app/app__vitals__frames__total__count.json Adds sentry.frames.total as an alias for the canonical app.vitals.frames.total.count.
javascript/sentry-conventions/src/attributes.ts Generated TypeScript registry updated with new constants/types/metadata and alias doc links.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@buenaflor buenaflor changed the title feat(attributes): Deprecate sentry.frames attributes feat(attributes): Deprecate sentry.frames.* attributes Jul 14, 2026
Comment thread model/attributes/frames/frames__frozen.json
@Dav1dde
Dav1dde force-pushed the feat/deprecate-sentry-frames branch from 62abf3d to 3f6fe78 Compare July 15, 2026 06:44
@Dav1dde
Dav1dde merged commit 1602b1d into main Jul 15, 2026
17 checks passed
@Dav1dde
Dav1dde deleted the feat/deprecate-sentry-frames branch July 15, 2026 06:50
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.

4 participants