github open-telemetry/opentelemetry-dotnet core-1.10.0-beta.1

pre-release10 hours ago

The following changes are from the previous release 1.9.0.

  • NuGet: OpenTelemetry v1.10.0-beta.1

    • Added OpenTelemetrySdk.Create API for configuring OpenTelemetry .NET signals
      (logging, tracing, and metrics) via a single builder. This new API simplifies
      bootstrap and teardown, and supports cross-cutting extensions targeting
      IOpenTelemetryBuilder.
      (#5325)

    • Updated the Microsoft.Extensions.Logging.Configuration and
      Microsoft.Extensions.Diagnostics.Abstractions packages version to
      9.0.0-rc.1.24431.7.
      (#5853)

    • Added support in metrics for histogram bucket boundaries set via the .NET 9
      InstrumentAdvice<T>
      API.

      Note: With this change explicit bucket histogram boundary resolution will
      apply in the following order:

      1. View API
      2. Advice API
      3. SDK defaults

      See #5854
      for details.

    • Added support for collecting metrics emitted via the .NET 9
      Gauge<T>
      API.
      (#5867)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api v1.10.0-beta.1

    • Breaking change: CompositeTextMapPropagator.Fields now returns a
      unioned set of fields from all combined propagators. Previously this always
      returned an empty set.
      (#5745)

    • Optimize performance of TraceContextPropagator.Extract.
      (#5749)

    • Obsoleted the ActivityExtensions.GetStatus and
      ActivityExtensions.SetStatus extension methods. Users should migrate to the
      System.Diagnostics.DiagnosticSource
      Activity.SetStatus
      API for setting the status and
      Activity.Status
      &
      Activity.StatusDescription
      APIs for reading the status of an Activity instance.
      (#5781)

    • Updated System.Diagnostics.DiagnosticSource package version to
      9.0.0-rc.1.24431.7.
      (#5853)

    • Obsoleted the ActivityExtensions.RecordException extension method. Users
      should migrate to the System.Diagnostics.DiagnosticSource
      Activity.AddException
      API for adding exceptions on an Activity instance.
      (#5841)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0-beta.1

    • Updated Microsoft.Extensions.DependencyInjection.Abstractions package
      version to 9.0.0-rc.1.24431.7.
      (#5853)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Console v1.10.0-beta.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.InMemory v1.10.0-beta.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.10.0-beta.1

    • Breaking change: Non-primitive attribute (logs) and tag (traces) values
      converted using Convert.ToString will now format using
      CultureInfo.InvariantCulture.
      (#5700)

    • Fixed an issue causing NotSupportedExceptions to be thrown on startup when
      AddOtlpExporter registration extensions are called while using custom
      dependency injection containers which automatically create services (Unity,
      Grace, etc.).
      (#5808)

      • Fixed PlatformNotSupportedExceptions being thrown during export when running
        on mobile platforms which caused telemetry to be dropped silently.
        (#5821)
    • Updated Microsoft.Extensions.Hosting.Abstractions package
      version to 9.0.0-rc.1.24431.7.
      (#5853)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Zipkin v1.10.0-beta.1

    • Breaking change: Non-primitive tag values converted using
      Convert.ToString will now format using CultureInfo.InvariantCulture.
      (#5700)

    • Fixed PlatformNotSupportedExceptions being thrown during export when running
      on mobile platforms which caused telemetry to be dropped silently.
      (#5821)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Hosting v1.10.0-beta.1

    • Updated Microsoft.Extensions.Hosting.Abstractions package
      version to 9.0.0-rc.1.24431.7.
      (#5853)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Propagators v1.10.0-beta.1

    No notable changes.

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet release

NewReleases is sending notifications on new releases.