-
NuGet: OpenTelemetry.Instrumentation.SqlClient v1.20.0
-
Fixed
db.query.summaryso that a delimited identifier containing an escaped
closing bracket, such as[Tab]]le], is captured whole instead of being
truncated at the escape.
(#5237) -
Fixed
db.client.operation.durationmetrics on .NET having different
attributes depending on whether the command was sampled. When not sampled,
thedb.operation.nameanddb.query.summaryattributes were missing for
stored procedures, and theerror.typeanddb.response.status_code
attributes were missing for commands which failed.
(#5471) -
Fixed
db.client.operation.durationmetrics on .NET Framework not including
thedb.namespace,server.addressandserver.portattributes for commands
which are not sampled.
(#5471) -
Fixed exception messages being exported as the span status description on .NET.
The message is still recorded whenRecordExceptionis enabled.
(#5447) -
Fixed query sanitization so that literals are no longer left unsanitized in
db.statement,db.query.textanddb.query.summaryafter a quote inside a
quoted identifier or inside an array in aFROMclause.
(#5447) -
Fixed query sanitization of nested block comments, PostgreSQL escape strings
(E'...'), Oracle alternative quoting (q'[...]'), MySQL/MariaDB#
comments, and of MySQL/MariaDB double-quoted strings, quoted identifiers and
dollar-quoted strings insideIN (...)lists.
(#5447) -
Fixed query sanitization so that the whole of a quoted login or user name
(for exampleCREATE LOGIN [COMPANY\name]) is redacted.
(#5447) -
Fixed
db.query.summarytreating a word which only differs from a keyword
by its first character (for exampleXrom) as that keyword.
(#5447) -
Fixed the cache of parsed data sources growing without bound when many
distinct data sources are used.
(#5447) -
Fixed .NET Framework
db.client.operation.durationmetrics not being
recorded when only metrics are enabled and anotherActivityListenersamples
the command's activity.
(#5447) -
Updated OpenTelemetry core component version(s) to
1.20.0.
(#5541)
See CHANGELOG for details.
-