0.7.0-beta.4
Bug fixes
-
Use 1.7.1 of ASP.NET Core instrumentation.
-
Fixed issue
#4466
where the activity instance returned byActivity.Currentwas different than
instance obtained fromIHttpActivityFeature.Activity.
(#5136) -
Fixed an issue where the
http.routeattribute was not set on either the
Activityorhttp.server.request.durationmetric 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.0target 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)
-
-
Use 1.7.1 of HTTP instrumentation.
- .NET Framework - fix description for
http.client.request.durationmetric.
(#5234)
- .NET Framework - fix description for
New features
- #81
Adds a .NET 8 test project and integrates it into the OATS test matrix. - #85
Adds resource detectors for Azure, host, process, process runtime, and
container resource attributes. - #87
Add a newOtlpExporterclass supporting specifying OTLP protocol, endpoint,
and header - Use 1.7.1 of Runtime instrumentation.
- Update
OpenTelemetry.Apito1.7.0.
(#1486)
- Update
Deprecation
-
#87
Deprecate use ofGRAFANA_CLOUD_*environment variables in code and documentationThe use of
CloudOtlpExporterandGRAFANA_CLOUD_*environment variables is
deprecated. Instead useOtlpExporterfor code-level configuration, and
OTEL_EXPORTER_OTLP_PROTOCOL,OTEL_EXPORTER_OTLP_ENDPOINT, and
OTEL_EXPORTER_OTLP_HEADERSfor configuration via environment variables.