Skip to content

feat(attributes): Add the batch naming rule to db.operation.name - #761

Open
mydea wants to merge 2 commits into
mainfrom
feat/db-operation-name-batch
Open

mydea wants to merge 2 commits into
mainfrom
feat/db-operation-name-batch

Conversation

@mydea

@mydea mydea commented Oct 30, 2026

Copy link
Copy Markdown
Member

Description

Documents how db.operation.name names a batch: BATCH <operation> when every operation in the batch has the same name (BATCH INSERT), otherwise BATCH or a database-specific term. This is the OpenTelemetry database span rule, and the JavaScript SDK applies it to Neon batches in getsentry/sentry-javascript#25850. Writing it down here keeps SDKs consistent and lets db.operation.name group the same way across them.

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate to generate and format code and docs.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 30, 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 12:38pm UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

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 the batch naming rule to db.operation.name by mydea and claude in #761
  • 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.

@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.

Thanks for updating!

This branch was successfully deployed

1 active deployment
Preview — bd027dfd 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.

2 participants