Skip to content

feat(attributes): Add db.response.returned_rows - #826

Merged
BYK merged 3 commits into
mainfrom
feat/db-response-returned-rows
Nov 24, 2026
Merged

BYK merged 3 commits into
mainfrom
feat/db-response-returned-rows

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the OTel db.response.returned_rows attribute: an integer with the number of rows a database operation returns, with apply_scrubbing: manual.

getsentry/sentry-javascript#26666 sets it on pg and Neon query spans, so a slow query shows whether it read many rows or read few rows inefficiently.

via @BYK.

--

View Session [Sentry]

@vercel

vercel Bot commented Nov 20, 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 24, 2026 1:39pm UTC

Request Review

@github-actions

github-actions Bot commented Nov 20, 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 db.response.returned_rows by BYK and Lms24 with sentry-junior in #826
  • Add http.response.delivery_type and deprecate http.response_delivery_type by msonnb with sentry-junior in #825
  • Add schema for chat-based gen_ai.input.messages by alexander-alderman-webb in #820

Bug Fixes 🐛

  • (docs) Stop long attribute names from overflowing on mobile by JPeer264 and Lms24 with sentry-junior in #821

🤖 This preview updates automatically when you update the PR.

@Lms24

Lms24 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Let's wait 3 days before merging as per conventions procedures for others to weigh in

…rned-rows

# Conflicts:
#	python/src/sentry_conventions/_attributes.py
@BYK
BYK merged commit 6e64f79 into main Nov 24, 2026
20 checks passed
@BYK
BYK deleted the feat/db-response-returned-rows branch November 24, 2026 13:42

This branch was successfully deployed

1 active deployment
Preview — cc2c7ff4 Deployed Nov 24, 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.

2 participants