Skip to content

v1.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Feb 18:30
· 289 commits to main since this release
v1.4.0
c756eb4

1.4.0

Added

  • Support for OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT and OTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT environment variables which controls whether the db.statement attribute is set for SQL statements for SQL Client and Entity Framework Core instrumentations. The default value for both environment variables is false due to the risk of leaking sensitive information in the collected database queries.

Changed

  • Changed supported method parameters for plugins
    • from OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientInstrumentationOptions to OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions,
    • from OpenTelemetry.Instrumentation.SqlClient.SqlClientInstrumentationOptions to OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions.

Dependency updates

  • Following packages updated
    • OpenTelemetry.ResourceDetectors.Azure from 1.0.0-beta.4 to 1.0.0-beta.5,
    • OpenTelemetry.ResourceDetectors.Container from 1.0.0-beta.5 to 1.0.0-beta.6.
    • OpenTelemetry.Instrumentation.Http from 1.7.0 to 1.7.1,
    • OpenTelemetry.Instrumentation.SqlClient from 1.6.0-beta.3 to 1.7.0-beta.1,
    • OpenTelemetry.Instrumentation.Wcf from 1.0.0-rc.14 to 1.0.0-rc.15,
  • .NET only, following packages updated
    • OpenTelemetry.Instrumentation.AspNetCore from 1.7.0 to 1.7.1,
    • OpenTelemetry.Instrumentation.EntityFrameworkCore from 1.0.0-beta.9 to 1.0.0-beta.10,
    • OpenTelemetry.Instrumentation.GrpcNetClient from 1.6.0-beta.3 to 1.7.0-beta.1.
  • .NET Framework only, following packages updated
    • OpenTelemetry.Instrumentation.AspNet from 1.7.0-beta.1 to 1.7.0-beta.2.

Removed

  • Container resource detector will be not executed on .NET Framework. It was not giving any results before changes.

Fixed

  • Fix ASP.NET Core traces instrumentation for .NET7. It is now using native support by Microsoft.AspNetCore instead of OpenTelemetry.Instrumentation.AspNetCore.