Skip to content

docs(dotnet): clarify SQLClient instrumentation is unavailable on .NET Framework#18559

Open
jamescrosswell wants to merge 2 commits into
masterfrom
dotnet-sqlclient-netfx-docs
Open

docs(dotnet): clarify SQLClient instrumentation is unavailable on .NET Framework#18559
jamescrosswell wants to merge 2 commits into
masterfrom
dotnet-sqlclient-netfx-docs

Conversation

@jamescrosswell

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Clarifies that the Sentry.DiagnosticSource package only provides Entity Framework Core instrumentation on non-.NET Core targets (e.g. .NET Framework). SqlClient's DiagnosticSource events aren't emitted on .NET Framework, so the SQLClient instrumentation silently has no effect there.

This aligns the docs with getsentry/sentry-dotnet#5236, which excludes the non-functional SQLClient listener from .NET Framework builds.

  • Reworded the manual-activation note: on non-.NET Core targets you can add EF Core instrumentation via Sentry.DiagnosticSource (not "those instrumentations"), and pointed to the SQLClient note below. Also fixed a small grammar typo ("during on the SDK's initialization").
  • Added a warning callout under SQLClient Integration stating it's only available on .NET Core 3.0+.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

🤖 Generated with Claude Code

…T Framework

SqlClient's DiagnosticSource events aren't emitted on .NET Framework, so the
SQLClient instrumentation in the Sentry.DiagnosticSource package has no effect
there. On non-.NET Core targets that package only provides Entity Framework
Core instrumentation.

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

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jun 26, 2026 1:05am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jun 26, 2026 1:05am

Request Review

Comment thread platform-includes/performance/automatic-instrumentation-integrations/dotnet.mdx Outdated
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.

1 participant