Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why & What
Release 1.4.0
Added
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
OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientInstrumentationOptions
to
OpenTelemetry.Instrumentation.GrpcNetClient.GrpcClientTraceInstrumentationOptions
,OpenTelemetry.Instrumentation.SqlClient.SqlClientInstrumentationOptions
to
OpenTelemetry.Instrumentation.SqlClient.SqlClientTraceInstrumentationOptions
.Dependency updates
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
,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
.OpenTelemetry.Instrumentation.AspNet
from1.7.0-beta.1
to1.7.0-beta.2
.Removed
It was not giving any results before changes.
Fixed
support by
Microsoft.AspNetCore
instead ofOpenTelemetry.Instrumentation.AspNetCore
.Tests
Checklist
CHANGELOG.md
is updated.Newfeatures are covered by tests.