github open-telemetry/opentelemetry-dotnet core-1.16.0-rc.1

latest releases: coreunstable-1.16.0-beta.1, core-1.16.0
pre-release7 hours ago

The following changes are from the previous release 1.15.3.

  • NuGet: OpenTelemetry v1.16.0-rc.1

    • Stop validating View-provided metric stream Name against the instrument
      name syntax, per
      spec clarification.
      (#7300)

    • Fix incorrect validation of OTEL_BSP_* and OTEL_BLRP_* environment
      variables.
      (#7187)

    • Fix observable instrument callbacks running once per reader instead of
      once per collection cycle.
      (#7188)

    • Added exception safety for user-supplied ExemplarReservoir implementations.
      Exceptions thrown from Offer are now caught and logged rather than propagating
      out of Counter.Add/Histogram.Record.
      (#7277)

    • Update OpenTelemetrySdkEventSource to support the W3C randomness flag.
      (#7301)

    • Added ObservedTimestamp property to LogRecord.
      (#6979)

    • Breaking Change Explicit histogram boundaries no longer allow more than
      10 million values.
      (#7165)

    • Fixed a circular reference which could cause a LoggerProvider to fail to
      resolve when one of its dependencies depends on ILogger or ILoggerFactory.
      As part of this fix the LoggerProvider resolved from dependency injection
      is now created lazily when the first logger is created rather than when
      ILoggerProvider or ILoggerFactory is resolved. A consequence is that any
      invalid configuration now surfaces when the first log record is written instead
      of when the logging services are resolved.
      (#7308)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api v1.16.0-rc.1

    • Experimental (pre-release builds only):
      Add support for using environment variables as context propagation carriers.
      (#7174)

    • Fix BaggagePropagator to correctly follow Key and Value Encoding rules as per
      the W3C Baggage specification.
      #7051

    • Update TraceContextPropagator to support the W3C randomness flag.
      (#7301)

    • Fixed TraceContextPropagator to deduplicate duplicate tracestate keys
      instead of discarding the entire tracestate header.
      (#7309)

    • Breaking change (pre-release only versions): The default value of
      the Timestamp property on LogRecordData has changed from DateTime.UtcNow
      to DateTime.MinValue. DateTime.MinValue represents an unset timestamp as
      defined by the OpenTelemetry specification. Callers of the Logs API
      who relied on the timestamp being populated automatically must now set
      Timestamp = DateTime.UtcNow explicitly on their LogRecordData instance.
      (#7045)

    • Added ObservedTimestamp property to LogRecordData. Note that LogRecordData
      is only public in pre-release versions of the package.
      (#6979)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.16.0-rc.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Console v1.16.0-rc.1

    • ObservedTimestamp will now be exported for logs.
      (#6979)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.InMemory v1.16.0-rc.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.16.0-rc.1

    • Fixed NullReferenceException when exporting logs if the scope key is null.
      (#7186)

    • Added opt-in support for gzip compression. Compression can be configured
      programmatically via the new OtlpExporterOptions.Compression property,
      or through the environment variables such as OTEL_EXPORTER_OTLP_COMPRESSION=gzip.
      (#7055)

    • Fixed disk retry data being stored incorrectly when using persistent storage
      retry.
      (#7228)

    • Reverted OtlpLogExporter from using IHttpClientFactory on .NET 8+ to fix
      an issue with circular dependencies detected by some dependency injection
      container implementations such as Autofac.
      (#7234)

    • Fixed OtlpLogExporter integration with IHttpClientFactory so named clients
      can be used without triggering circular dependencies during logger construction.
      (#7298)

    • Reduce the overhead of GZip compression.
      (#7275)

    • Cached pre-serialized resource bytes to avoid re-encoding on every OTLP export.
      (#7303)

    • Do not enable the integration with IHttpClientFactory when mTLS is enabled.
      (#7305)

    • Handle Retry-After response headers that specify a date instead of a delay.
      (#7364)

    • observed_time_unix_nano will no longer always be identical to time_unix_nano
      when using the logs bridge API. By default, it will instead be set to the actual
      observed time of the log record.
      (#6979)

    • Fixed the retry deadline check so a Retry-After delay (whether a delta or an
      HTTP-date) that would extend a retry beyond the configured export timeout now
      correctly fails fast and drops the data.
      (#7375)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Zipkin v1.16.0-rc.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Hosting v1.16.0-rc.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Propagators v1.16.0-rc.1

    No notable changes.

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet release

NewReleases is sending notifications on new releases.