github open-telemetry/opentelemetry-dotnet-contrib Instrumentation.AspNet-1.12.0-beta.2

pre-release12 hours ago
  • NuGet: OpenTelemetry.Instrumentation.AspNet v1.12.0-beta.2

    • Breaking Change: Renamed MeterProviderBuilderExtensions and
      TracerProviderBuilderExtensions to
      AspNetInstrumentationMeterProviderBuilderExtensions
      and AspNetInstrumentationTracerProviderBuilderExtensions respectively.
      (#2910)

    • Breaking Change: Made metrics generation independent from traces.
      Tracing must no longer be enabled to calculate metrics. A compatible version
      of OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule is required.
      (#2970)

    • Breaking Change: Metrics related option renamed:

      • delegate AspNetMetricsInstrumentationOptions.EnrichFunc to
        AspNetMetricsInstrumentationOptions.EnrichWithHttpContextAction,
      • property AspNetMetricsInstrumentationOptions.Enrich to
        AspNetMetricsInstrumentationOptions.EnrichWithHttpContext.
        (#3070)
    • Breaking Change: Change in public API contract.
      All usages of HttpRequest, HttpResponse and HttpContext replaced by
      HttpRequestBase, HttpResponseBase and HttpContextBase respectively.
      (#3110)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule v1.12.0-beta.2

    • Breaking Change: Modified request lifecycle callbacks to always fire.
      This is required as part of making ASP.NET metrics generation
      independent from traces.
      (#2970)

    • Breaking Change: Activity source name changed from
      OpenTelemetry.Instrumentation.AspNet.Telemetry to
      OpenTelemetry.Instrumentation.AspNet.
      (#3071)

    • Breaking Change: Following constants was removed from the public API

      • TelemetryHttpModule.AspNetActivityName,
      • TelemetryHttpModule.AspNetSourceName.
        (#3071)
    • Breaking Change: Change in public API contract.
      All usages of HttpContext replaced by HttpContextBase.
      (#3110)

    See CHANGELOG for details.

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

NewReleases is sending notifications on new releases.