OpenTelemetry - CNCF/opentelemetry-dotnet-instrumentation: Release v1.4.0
Name: opentelemetry-dotnet-instrumentation
Owner: OpenTelemetry - CNCF
Release: v1.4.0
Released: 2024-02-12
License: Apache-2.0
Release Assets:
1.4.0
Added
- Support for
OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT
andOTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT
environment variables which controls whether thedb.statement
attribute is set for SQL statements for SQL Client and Entity Framework Core instrumentations. The default value for both environment variables isfalse
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
toOpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions
, - from
OpenTelemetry.Instrumentation.SqlClient.SqlClientInstrumentationOptions
toOpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions
.
- from
Dependency updates
- Following packages updated
OpenTelemetry.ResourceDetectors.Azure
from1.0.0-beta.4
to1.0.0-beta.5
,OpenTelemetry.ResourceDetectors.Container
from1.0.0-beta.5
to1.0.0-beta.6
.OpenTelemetry.Instrumentation.Http
from1.7.0
to1.7.1
,OpenTelemetry.Instrumentation.SqlClient
from1.6.0-beta.3
to1.7.0-beta.1
,OpenTelemetry.Instrumentation.Wcf
from1.0.0-rc.14
to1.0.0-rc.15
,
- .NET only, following packages updated
OpenTelemetry.Instrumentation.AspNetCore
from1.7.0
to1.7.1
,OpenTelemetry.Instrumentation.EntityFrameworkCore
from1.0.0-beta.9
to1.0.0-beta.10
,OpenTelemetry.Instrumentation.GrpcNetClient
from1.6.0-beta.3
to1.7.0-beta.1
.
- .NET Framework only, following packages updated
OpenTelemetry.Instrumentation.AspNet
from1.7.0-beta.1
to1.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 ofOpenTelemetry.Instrumentation.AspNetCore
.