Skip to content

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

Open
sentry-junior[bot] wants to merge 2 commits into
mainfrom
feat/db-response-returned-rows
Open

sentry-junior[bot] wants to merge 2 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]

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
@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 23, 2026 12:34pm 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 with sentry-junior in #826
  • Define client autonomous system attributes by vjeranc and codex in #830

Other

  • (python) Add support for Python 3.7 by srothh in #828

Internal Changes 🔧

  • (python) Remove TypedDict from python codegen by srothh in #827

🤖 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

This branch was successfully deployed

1 active deployment
Preview — 6ffe54f4 Deployed Nov 23, 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