github open-telemetry/opentelemetry-dotnet-contrib Instrumentation.AspNetCore-1.20.0

  • NuGet: OpenTelemetry.Instrumentation.AspNetCore v1.20.0

    • Fixed error.type not being set to the response status code on server spans
      and on the http.server.request.duration metric when a request completes
      with a 5xx status code without an unhandled exception. For ASP.NET Core 8.0-10.0
      the metric is only fixed when the MeterProvider is registered with the
      application's service collection.
      (#5458)

    • Added experimental OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_ENABLE_NEW_ROOT_SPAN
      to start a new root span, linked to the incoming parent, for requests that
      arrive with a parent. Available on .NET 8.0+.
      (#5466)

    • Improved performance of incoming request instrumentation by reducing the
      cost of filtering diagnostic events, caching the parsed server.address and
      server.port values for recently seen Host header values and making
      route-based span display name lookups cheaper.
      (#5467)

    • Updated OpenTelemetry core component version(s) to 1.20.0.
      (#5541)

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet-contrib release

NewReleases is sending notifications on new releases.