Skip to content

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

Merged
jamescrosswell merged 5 commits into
masterfrom
dotnet-sqlclient-netfx-docs
Jul 8, 2026
Merged

docs(dotnet): clarify SQLClient instrumentation is unavailable on .NET Framework#18559
jamescrosswell merged 5 commits into
masterfrom
dotnet-sqlclient-netfx-docs

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented Jun 26, 2026

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 Jul 8, 2026 11:13pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jul 8, 2026 11:13pm

Request Review

Comment thread platform-includes/performance/automatic-instrumentation-integrations/dotnet.mdx Outdated

@Flash0ver Flash0ver left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need to wait for the release of Sentry .NET SDK v6.7.0. #5236 just eliminates code for the net462 TFM without SqlClient-instrumentation.

Got an optional question and suggestion ... but also good to go ✅.
Thanks!

Comment thread platform-includes/performance/automatic-instrumentation-integrations/dotnet.mdx Outdated
Comment thread platform-includes/performance/automatic-instrumentation-integrations/dotnet.mdx Outdated
jamescrosswell and others added 3 commits July 9, 2026 11:00
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…o dotnet-sqlclient-netfx-docs

# Conflicts:
#	platform-includes/performance/automatic-instrumentation-integrations/dotnet.mdx
@jamescrosswell jamescrosswell enabled auto-merge (squash) July 8, 2026 23:04
@jamescrosswell jamescrosswell merged commit 6ef6a8b into master Jul 8, 2026
24 checks passed
@jamescrosswell jamescrosswell deleted the dotnet-sqlclient-netfx-docs branch July 8, 2026 23:18
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.

3 participants