github open-telemetry/opentelemetry-dotnet-contrib Instrumentation.SqlClient-1.18.0

  • NuGet: OpenTelemetry.Instrumentation.SqlClient v1.18.0

    • 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)

    • Updated Semantic Conventions version to
      v1.44.0.
      (#4625)

    • 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)

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet-contrib release

NewReleases is sending notifications on new releases.