Skip to content

feat(attributes): Add sentry.normalized_db_query.hash - #200

Merged
Ahmed-Labs merged 2 commits into
mainfrom
ahmedmo/feat/add-normalized-query-hash-attribute
Dec 3, 2025
Merged

feat(attributes): Add sentry.normalized_db_query.hash#200
Ahmed-Labs merged 2 commits into
mainfrom
ahmedmo/feat/add-normalized-query-hash-attribute

Conversation

@Ahmed-Labs

@Ahmed-Labs Ahmed-Labs commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

This attribute would store the hashed sentry.normalized_db_query. Previously, relay wrote the hashed normalized description to span.group. We are now trying to move away from this vague attribute and instead use a more specific attribute to store hashes. In this case, the hash is used for span grouping for the insights query summary page (db queries get normalized into more general/non-specific queries and grouped by their hashes).

@github-actions

github-actions Bot commented Dec 3, 2025

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 1bddc4f

lcian
lcian previously approved these changes Dec 3, 2025
@Ahmed-Labs
Ahmed-Labs merged commit 41c0567 into main Dec 3, 2025
13 checks passed
@Ahmed-Labs
Ahmed-Labs deleted the ahmedmo/feat/add-normalized-query-hash-attribute branch December 3, 2025 17:20
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.

2 participants