github open-telemetry/opentelemetry-dotnet core-1.19.0

latest release: coreunstable-1.19.0-beta.1
3 hours ago

For highlights and announcements pertaining to this release see: Release Notes > 1.19.0.

The following changes are from the previous release 1.19.0-rc.1.

  • NuGet: OpenTelemetry v1.19.0

    • Added Schema URL to internally created Resource instances.
      (#7726)

    • Reduced allocations when formatting self-diagnostics events with up to three parameters.
      (#7730)

    • Added AlwaysRecordSampler.
      (#7695)

    • Fixed CircularBufferBuckets so the first delta histogram insertion after a reset does not result in an unnecessary scale reduction.
      (#7749)

    • Improved wildcard source/meter name matching to avoid excessive matching time at runtime.
      (#7760)

    • Fixed lazy logger provider builds after a failure from reusing partially initialized provider state.
      (#7761)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api v1.19.0

    • Reduced allocations when creating log record attributes from an array.
      (#7699)

    • Reduced allocations when setting baggage through the params overload.
      (#7697)

    • Reduced allocations when constructing SpanAttributes from an array.
      (#7698)

    • Fixed parsing of an inbound tracestate header whose member value trimmed to an empty value that previously threw an IndexOutOfRangeException internally and could silently truncate the tracestate.
      (#7756)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.19.0

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Console v1.19.0

    • Extended key/value list attribute handling to cover additional dictionary shapes (IEnumerable<KeyValuePair<string, string?>> and IDictionary). These attributes will be serialized as JSON objects.
      (#7679)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.InMemory v1.19.0

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.19.0

    • If an exception is thrown when serializing an attribute, the attribute will now be dropped.
      (#7688)

    • Extended key/value list attribute serialization to cover additional dictionary shapes (IEnumerable<KeyValuePair<string, string?>> and IDictionary). These attributes will be serialized as nested OTLP kvlist values.
      (#7679)

    • Disable HttpClientFactory integration on browser WebAssembly (e.g. Blazor) environments to avoid stalled export requests when async HTTP handlers are used.
      (#7709)

    • Fixed CA certificate loading (e.g. using OTEL_EXPORTER_OTLP_CERTIFICATE) for PEM-encoded certificates that only contain a public key.
      (#7693)

    • Prevented oversized metric metadata from being cached when it cannot fit within the configured request size.
      (#7752)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Zipkin v1.19.0

    • Key/value list attribute values are now written as a JSON object embedded in a string, mirroring the existing array handling, instead of their ToString() representation. This also covers additional dictionary shapes (IEnumerable<KeyValuePair<string, string?>> and IDictionary).
      (#7679)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Hosting v1.19.0

    • Added an AddOpenTelemetry extension method for IHostApplicationBuilder. It registers the OpenTelemetry SDK services and additionally seeds service.name from IHostEnvironment.ApplicationName and deployment.environment.name from IHostEnvironment.EnvironmentName as low-priority resource defaults. It also registers the host's live configuration into DI so that extensions receiving only IServiceCollection can contribute configuration sources during setup.
      (#7723)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Propagators v1.19.0

    No notable changes.

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet release

NewReleases is sending notifications on new releases.