Skip to content

feat(attributes): Register user.geo.subregion and deprecated sentry.user.geo.subregion - #753

Merged
edwardgou-sentry merged 2 commits into
mainfrom
edwardgou-sentry/feat/user-geo-subregion
Oct 30, 2026
Merged

edwardgou-sentry merged 2 commits into
mainfrom
edwardgou-sentry/feat/user-geo-subregion

Conversation

@edwardgou-sentry

@edwardgou-sentry edwardgou-sentry commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Registers user.geo.subregion derived from Relay, with sentry.user.geo.subregion as its deprecated alias. Mirrors how the other user.geo.* attributes are defined. Enums added for possible values.

Relay already emits sentry.user.geo.subregion on spans converted from the legacy format and Sentry queries it, so this documents an existing attribute.

Upcoming change to Relay will copy it over to v2 spans (and then to metrics).

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-conventions Ready Ready Preview Oct 30, 2026 1:25pm UTC

Request Review

@linear-code

linear-code Bot commented Oct 27, 2026

Copy link
Copy Markdown

ENG-8898

@github-actions

github-actions Bot commented Oct 27, 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

  • Register user.geo.subregion and deprecated sentry.user.geo.subregion by edwardgou-sentry in #753
  • Add faas.instance attribute by pabloDeputter in #748
  • Add faas.document.* attributes by pabloDeputter in #747
  • Add page.server_rendering.type attribute by s1gr1d in #740

Internal Changes 🔧

  • Deprecate gen_ai.handoff op by alexander-alderman-webb in #754

🤖 This preview updates automatically when you update the PR.

@edwardgou-sentry
edwardgou-sentry force-pushed the edwardgou-sentry/feat/user-geo-subregion branch from 0a97578 to f30a6bf Compare October 27, 2026 21:16
@edwardgou-sentry edwardgou-sentry changed the title feat(attributes): Add user.geo.subregion feat(attributes): Register user.geo.subregion and deprecated sentry.user.geo.subregion Oct 27, 2026
UN M49 subregion derived from the country code, already emitted by Relay as sentry.user.geo.subregion.

@alexander-alderman-webb alexander-alderman-webb 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.

No objections from me, wait the usual 2 days for other to take a look before merging.

@edwardgou-sentry
edwardgou-sentry merged commit 83325ff into main Oct 30, 2026
18 checks passed
@edwardgou-sentry
edwardgou-sentry deleted the edwardgou-sentry/feat/user-geo-subregion branch October 30, 2026 13:33

This branch was successfully deployed

1 active deployment
Preview — 06f6db7a Deployed Oct 30, 2026 by vercel[bot]
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.

3 participants