NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #508 most downloaded on NuGet
SqlClient instrumentation for OpenTelemetry .NET.
Last release 20 days ago
18 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 3.9 years
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
16 releases · first in 2021
Fixed .NET Framework db.client.operation.duration metrics to consistently include the db.query.summary attribute, regardless of sampling decision, pre
Released 2026-Sep-18
Fixed .NET Framework db.client.operation.duration metrics to consistently
include the db.query.summary attribute, regardless of sampling decision,
preventing the same query from being split across inconsistent metric series.
(#5209)
Fixed .NET Framework command correlation for db.client.operation.duration
metrics when command execution overlaps, or only metrics are being recorded.
(#5209)
Updated OpenTelemetry core component version(s) to 1.19.0.
(#5240)
Fixed query sanitization so that a ) inside a value or a comment in an IN (...) clause no longer causes the values which follow it to be left unsaniti
One column per quarter.
Released 2026-Aug-21
Fixed query sanitization so that a ) inside a value or a comment in an
IN (...) clause no longer causes the values which follow it to be left
unsanitized.
(#4929)
Fixed query sanitization so that literals are still redacted after the
db.query.summary length limit is reached.
(#4929)
Add the db.response.returned_rows attribute to the spans for commands
executed with ExecuteNonQuery() or ExecuteScalar() when the
OTEL_DOTNET_EXPERIMENTAL_SQLCLIENT_ENABLE_RECORD_RETURNED_ROWS environment
variable is set to true. The value is derived from the SqlClient connection
statistics. Not supported on .NET Framework.
(#4625)
Fixed the db.client.operation.duration metric reporting an incorrect duration
for commands which are not recorded as spans.
(#4625)
Updated OpenTelemetry core component version(s) to 1.18.0.
(#5022)
Assemblies are now digitally signed using cosign.
Fix SqlClientTraceInstrumentationOptions leaking across multiple tracer provider registrations.
Released 2026-Jun-24
Fix SqlClientTraceInstrumentationOptions leaking across multiple tracer
provider registrations.
(#4267)
Add support for native AoT on .NET 8+. (#4062)
Fix SQL query text sanitization for malformed bracketed identifiers in FROM
clauses to avoid leaking following literal values.
(#4317)
Fix SQL query text sanitization performance for malformed FROM clauses with
repeated unterminated bracketed identifiers.
(#4339)
Fix SqlClientTraceInstrumentationOptions.EnableTraceContextPropagation to behave
correctly when ActivityTraceFlags.RandomTraceId is available.
(#4397)
Fix db.query.parameter.<key> attributes to always emit the value as a string.
(#4395)
Fix SqlConnectionDetails to parse PostgreSQL data source URIs correctly.
(#4444)
Updated OpenTelemetry core component version(s) to 1.16.0.
(#4487)
Fix IndexOutOfRangeException when parsing SQL statements.
Fix incorrect db.query.summary when table names include a schema and are enclosed in brackets (e.g. [dbo].[Person]).
Released 2026-Mar-04
db.query.summary when table names include a schema and are
enclosed in brackets (e.g. [dbo].[Person]).
(#3897)Released 2026-Jan-28
Released 2026-Jan-28
Released 2022-Feb-02
Released 2022-Feb-02
Removes .NET Framework 4.5.2 support. The minimum .NET Framework version supported is .NET 4.6.1.
Released 2021-Oct-08
Released 2021-Jul-12
Released 2021-Jul-12
Released 2021-Jun-25
Released 2021-Jun-25
Released 2021-Jun-09
Released 2021-Jun-09
Instrumentation modified to depend only on the API.
Released 2021-Apr-23
Instrumentation modified to depend only on the API.
Activities are now created with the db.system attribute set for usage during
sampling.
(#1979)
Released 2021-Mar-19
Released 2021-Mar-19
Microsoft.Data.SqlClient v2.0.0 and higher is now properly instrumented on .NET Framework.
Released 2021-Jan-29
Microsoft.Data.SqlClient v2.0.0 and higher is now properly instrumented on .NET Framework. (#1599)
SqlClientInstrumentationOptions API changes: SetStoredProcedureCommandName
and SetTextCommandContent have been renamed to
SetDbStatementForStoredProcedure and SetDbStatementForText. They are now
only available on .NET Core. On .NET Framework they are replaced by a single
SetDbStatement property.
On .NET Framework, "db.statement_type" attribute is no longer set for activities created by the instrumentation.
New setting on SqlClientInstrumentationOptions on .NET Core: RecordException
can be set to instruct the instrumentation to record SqlExceptions as Activity
events.
(#1592)
Released 2022-Mar-04
Released 2022-Mar-04
Your coding agent can read these notes before it upgrades. Set up the MCP server →