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.Current
was different than
instance obtained fromIHttpActivityFeature.Activity
.
(#5136) -
Fixed an issue where the
http.route
attribute was not set on either the
Activity
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)
-
-
Use 1.7.1 of HTTP instrumentation.
- .NET Framework - fix description for
http.client.request.duration
metric.
(#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 newOtlpExporter
class supporting specifying OTLP protocol, endpoint,
and header - Use 1.7.1 of Runtime instrumentation.
- Update
OpenTelemetry.Api
to1.7.0
.
(#1486)
- Update
Deprecation
-
#87
Deprecate use ofGRAFANA_CLOUD_*
environment variables in code and documentationThe use of
CloudOtlpExporter
andGRAFANA_CLOUD_*
environment variables is
deprecated. Instead useOtlpExporter
for code-level configuration, and
OTEL_EXPORTER_OTLP_PROTOCOL
,OTEL_EXPORTER_OTLP_ENDPOINT
, and
OTEL_EXPORTER_OTLP_HEADERS
for configuration via environment variables.