-
Use 1.7.1 of ASP.NET Core instrumentation.
-
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)
-
-
Use 1.7.1 of HTTP instrumentation.
- .NET Framework - fix description for
http.client.request.duration
metric. (#5234)
- .NET Framework - fix description for
- #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 new
OtlpExporter
class supporting specifying OTLP protocol, endpoint, and header - Use 1.7.1 of Runtime instrumentation.
- Update
OpenTelemetry.Api
to1.7.0
. (#1486)
- Update
-
#87 Deprecate use of
GRAFANA_CLOUD_*
environment variables in code and documentationThe use of
CloudOtlpExporter
andGRAFANA_CLOUD_*
environment variables is deprecated. Instead useOtlpExporter
for code-level configuration, andOTEL_EXPORTER_OTLP_PROTOCOL
,OTEL_EXPORTER_OTLP_ENDPOINT
, andOTEL_EXPORTER_OTLP_HEADERS
for configuration via environment variables.
- Sets
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION
totrue
when enabling tracing. gRPC instrumentation is experimental, while HTTP is stable.
- #71: Lazy-loading of ASP.NET Core instrumentation was broken. This was fixed by updateing changed class names of ASP.NET Core instrumentation library extension classes.
- Use 1.7.0 of ASP.NET Core instrumentation.
- Removes support for
OTEL_SEMCONV_STABILITY_OPT_IN
. Instrumentation will only emit stable conventions. - Defaults
OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_GRPC_INSTRUMENTATION
totrue
. gRPC instrumentation is experimental, while HTTP is stable.
- Removes support for
- Use 1.7.0 of HTTP instrumentation.
http.user_agent
Activity tag removed from HTTP instrumentation.- Removes support for
OTEL_SEMCONV_STABILITY_OPT_IN
. Instrumentation will only emit stable conventions.
- #65: Using the distribution broke self-contained applications. This has been fixed by using a different way to determine the distribution version.
- #64: The
version in
telemetry.distro.version
contained a trailing commit hash. This commit hash is removed now before populating the attribute.
- Use 1.6.0-beta.3 of upstream instrumentation libraries.
- Allow specifying custom resource attributes via
GrafanaOpenTelemetrySettings
. - Run unit tests on .NET 8.
- Use libraries released with .NET 8.
- Improve accuracy of resource attributes
telemetry.distro.name
andtelemetry.distro.version
.
- Make unit tests runnable for non-net462 targets.
Released 2023-11-09
- Initial public preview release