Skip to content

0.7.0-beta.4

Compare
Choose a tag to compare
@matt-hensley matt-hensley released this 28 Feb 16:57
· 29 commits to main since this release
ecb9994

Bug fixes

  • 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 from IHttpActivityFeature.Activity.
      (#5136)

    • Fixed an issue where the http.route attribute was not set on either the
      Activity or http.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 the http.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)

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 new OtlpExporter class supporting specifying OTLP protocol, endpoint,
    and header
  • Use 1.7.1 of Runtime instrumentation.
    • Update OpenTelemetry.Api to 1.7.0.
      (#1486)

Deprecation

  • #87
    Deprecate use of GRAFANA_CLOUD_* environment variables in code and documentation

    The use of CloudOtlpExporter and GRAFANA_CLOUD_* environment variables is
    deprecated. Instead use OtlpExporter for code-level configuration, and
    OTEL_EXPORTER_OTLP_PROTOCOL, OTEL_EXPORTER_OTLP_ENDPOINT, and
    OTEL_EXPORTER_OTLP_HEADERS for configuration via environment variables.