1.7.1 (stable instrumentation)
OpenTelemetry.Instrumentation.AspNetCore
- Fixed issue #4466 where the activity instance returned by
Activity.Current
was different than instance obtained fromIHttpActivityFeature.Activity
. (#5136) - Fixed an issue where the
http.route
attribute was not set on either theActivity
orhttp.server.request.duration
metric generated from a request when an exception handling middleware is invoked. One caveat is that this fix does not address the problem for thehttp.server.request.duration
metric when running ASP.NET Core 8. ASP.NET Core 8 contains an equivalent fix which should ship in version 8.0.2 (see: dotnet/aspnetcore#52652). (#5135) - Fixes scenario when the
net6.0
target of this library is loaded into a .NET 7+ process and the instrumentation does not behave as expected. This is an unusual scenario that does not affect users consuming this package normally. This fix is primarily to support the opentelemetry-dotnet-instrumentation project. (#5252)
OpenTelemetry.Instrumentation.Http
- .NET Framework - fix description for
http.client.request.duration
metric. (#5234)
1.7.0-beta.1 (pre-release instrumentation)
OpenTelemetry.Instrumentation.SqlClient
- Removed support for the
OTEL_SEMCONV_STABILITY_OPT_IN
environment variable which toggled the use of the new conventions for the server, client, and shared network attributes. Now that this suite of attributes are stable, this instrumentation will only emit the new attributes. (#5270) - Breaking Change: Renamed
SqlClientInstrumentationOptions
toSqlClientTraceInstrumentationOptions
. (#5285) - Breaking Change: Stop emitting
db.statement_type
attribute. This attribute was never a part of the semantic conventions. (#5301)
OpenTelemetry.Instrumentation.GrpcNetClient
- Breaking Change: Please be advised that the SuppressDownstreamInstrumentation option no longer works when used in conjunction with the
OpenTelemetry.Instrumentation.Http
package version1.6.0
or greater. This is not a result of a change in theOpenTelemetry.Instrumentation.GrpcNetClient
package therefore this also affects versions prior to this release. See this issue for details and workaround. - Removed support for the
OTEL_SEMCONV_STABILITY_OPT_IN
environment variable which toggled the use of the new conventions for the server, client, and shared network attributes. Now that this suite of attributes are stable, this instrumentation will only emit the new attributes. (#5259) - Breaking Change: Renamed
GrpcClientInstrumentationOptions
toGrpcClientTraceInstrumentationOptions
. (#5272)