Skip to content

feat(attributes): Add search alias types for unit-typed attributes - #815

Merged
mjq merged 1 commit into
mainfrom
mjq/search-alias-unit-types
Nov 19, 2026
Merged

mjq merged 1 commit into
mainfrom
mjq/search-alias-unit-types

Conversation

@mjq

@mjq mjq commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Add search_alias with a unit type to 26 attributes that Sentry search already exposes with a narrower type than their storage type: web and mobile vitals (millisecond, second, percentage), gen_ai.cost.* (currency), faas.max_memory and http.response.* sizes (byte), and react_native module durations (millisecond).

This will let Sentry derive these types from conventions instead of keeping them in its own attribute definitions in the future.

Refs EXP-1384

@vercel

vercel Bot commented Nov 18, 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 Nov 19, 2026 3:16pm UTC

Request Review

@linear-code

linear-code Bot commented Nov 18, 2026

Copy link
Copy Markdown

EXP-1384

@github-actions

github-actions Bot commented Nov 18, 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 search alias types for unit-typed attributes by mjq with sentry-junior in #815
  • Add schema for chat-based gen_ai.output.messages values by alexander-alderman-webb in #810

Bug Fixes 🐛

  • (deps) Bump vitest and @sentry/astro to resolve Dependabot alerts by Lms24 and claude in #818

Internal Changes 🔧

Attributes

  • Add deprecated sentry.messaging.message.id by alexander-alderman-webb in #809
  • Add deprecated sentry.messaging.destination.name by alexander-alderman-webb in #796

🤖 This preview updates automatically when you update the PR.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 22853fc. Configure here.

@mjq
mjq marked this pull request as ready for review November 18, 2026 15:25
Add search_alias with a unit type to 26 attributes that Sentry search already
exposes with a narrower type than their storage type: web and mobile vitals
(millisecond, second, percentage), gen_ai.cost.* (currency), faas.max_memory
and http.response.* sizes (byte), and react_native module durations
(millisecond).

This will let Sentry derive these types from conventions instead of keeping
them in its own attribute definitions in the future.

Refs EXP-1384

Co-Authored-By: Matt Quinn <[email protected]>
@sentry-junior
sentry-junior Bot force-pushed the mjq/search-alias-unit-types branch from 22853fc to d40c7af Compare November 19, 2026 15:15
@mjq
mjq merged commit f022cac into main Nov 19, 2026
19 checks passed
@mjq
mjq deleted the mjq/search-alias-unit-types branch November 19, 2026 15:25

This branch was successfully deployed

1 active deployment
Preview — d40c7af2 Deployed Nov 19, 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