Skip to content

Releases: open-telemetry/opentelemetry-dotnet

coreunstable-1.9.0-alpha.1

20 May 21:33
6c0327c
Compare
Choose a tag to compare
Pre-release

core-1.9.0-alpha.1

20 May 19:08
7dd39b0
Compare
Choose a tag to compare
core-1.9.0-alpha.1 Pre-release
Pre-release
  • NuGet: OpenTelemetry v1.9.0-alpha.1

    • Experimental (pre-release builds only): Exposed ExemplarReservoir as a
      public API and added support for setting an ExemplarReservoir factory
      function when configuring a view (applies to individual metrics).
      (#5542)

    • Fixed a race condition for the experimental MetricPoint reclaim scenario
      (enabled via OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS)
      which could have led to a measurement being dropped.
      (#5546)

    • Experimental (pre-release builds only): Exposed
      FixedSizeExemplarReservoir as a public API to support custom implementations
      of ExemplarReservoir which may be configured using the
      ExemplarReservoirFactory property on the View API.
      (#5558)

    • The experimental APIs previously covered by OTEL1002 (Exemplar,
      ExemplarFilterType, MeterProviderBuilder.SetExemplarFilter,
      ReadOnlyExemplarCollection, ReadOnlyFilteredTagCollection, &
      MetricPoint.TryGetExemplars) will now be part of the public API and
      supported in stable builds.
      (#5607)

    • Fixed the nullable annotations for the SamplingResult constructors
      to allow null being supplied as attributes or traceStateString
      which has always been supported.
      (#5614)

    • The ExemplarFilter used by SDK MeterProviders for histogram metrics can
      now be controlled via the experimental
      OTEL_DOTNET_EXPERIMENTAL_METRICS_EXEMPLAR_FILTER_HISTOGRAMS environment
      variable. The supported values are: always_off, always_on, and
      trace_based.
      (#5611)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api v1.9.0-alpha.1

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0-alpha.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Console v1.9.0-alpha.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.InMemory v1.9.0-alpha.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0-alpha.1

    • User-Agent header format changed from
      OTel-OTLP-Exporter-Dotnet/{NuGet Package Version}+{Commit Hash}
      to OTel-OTLP-Exporter-Dotnet/{NuGet Package Version}.
      (#5528)

    • Implementation of OTLP
      specification

      for propagating Span and SpanLink flags containing W3C trace flags and
      parent_is_remote information.
      (#5563)

    • Introduced experimental support for automatically retrying export to the otlp
      endpoint by storing the telemetry offline during transient network errors.
      Users can enable this feature by setting the
      OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY environment variable to disk. The
      default path where the telemetry is stored is obtained by calling
      Path.GetTempPath()
      or can be customized by setting
      OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH environment
      variable.
      (#5527)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Zipkin v1.9.0-alpha.1

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Hosting v1.9.0-alpha.1

    • Reverted obsoletion of OpenTelemetryBuilder.
      (#5571)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Extensions.Propagators v1.9.0-alpha.1

    No notable changes.

    See CHANGELOG for details.

core-1.8.1

17 Apr 22:01
5086977
Compare
Choose a tag to compare

OpenTelemetry

  • Fixed an issue in Logging where unwanted objects (processors, exporters, etc.)
    could be created inside delegates automatically executed by the Options API
    during configuration reload.
    (#5514)

OpenTelemetry.Exporter.OpenTelemetryProtocol

  • Fix native AoT warnings in OpenTelemetry.Exporter.OpenTelemetryProtocol.
    (#5520)

Instrumentation.Http-1.8.1

12 Apr 19:33
e222ecb
Compare
Choose a tag to compare

OpenTelemetry.Instrumentation.Http

  • Breaking Change: Fixed tracing instrumentation so that by default any
    values detected in the query string component of requests are replaced with
    the text Redacted when building the url.full tag. For example,
    ?key1=value1&key2=value2 becomes ?key1=Redacted&key2=Redacted. You can
    disable this redaction by setting the environment variable
    OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTION to true.
    (#5532)

Instrumentation.AspNetCore-1.8.1

12 Apr 19:33
e222ecb
Compare
Choose a tag to compare

OpenTelemetry.Instrumentation.AspNetCore

  • Breaking Change: Fixed tracing instrumentation so that by default any
    values detected in the query string component of requests are replaced with
    the text Redacted when building the url.query tag. For example,
    ?key1=value1&key2=value2 becomes ?key1=Redacted&key2=Redacted. You can
    disable this redaction by setting the environment variable
    OTEL_DOTNET_EXPERIMENTAL_ASPNETCORE_DISABLE_URL_QUERY_REDACTION to true.
    (#5532)

Instrumentation.Http-1.8.0

04 Apr 21:21
2c421a0
Compare
Choose a tag to compare

OpenTelemetry.Instrumentation.Http

  • Fixed an issue for spans when server.port attribute was not set with
    server.address when it has default values (80 for HTTP and
    443 for HTTPS protocol).
    (#5419)

  • Fixed an issue where the http.request.method_original attribute was not set
    on activity. Now, when http.request.method is set and the original method
    is converted to its canonical form (e.g., Get is converted to GET),
    the original value Get will be stored in http.request.method_original.
    The attribute is not set on .NET Framework for non canonical form of CONNECT,
    GET, HEAD, PUT, and POST. HTTP Client is converting these values
    to canonical form.
    (#5471)

Instrumentation.AspNetCore-1.8.0

04 Apr 21:21
2c421a0
Compare
Choose a tag to compare

OpenTelemetry.Instrumentation.AspNetCore

  • Fixed an issue for spans when server.port attribute was not set with
    server.address when it has default values (80 for HTTP and
    443 for HTTPS protocol).
    (#5419)

  • Fixed an issue where the http.request.method_original attribute was not set
    on activity. Now, when http.request.method is set and the original method
    is converted to its canonical form (e.g., Get is converted to GET),
    the original value Get will be stored in http.request.method_original.
    (#5471)

  • Fixed the name of spans that have http.request.method attribute set to _OTHER.
    The span name will be set as HTTP {http.route} as per the specification.
    (#5484)

Instrumentation.SqlClient-1.8.0-beta.1

04 Apr 21:22
2c421a0
Compare
Choose a tag to compare
Pre-release
1.8.0-beta.1 of SqlClient instrumentation library

Instrumentation.GrpcNetClient-1.8.0-beta.1

04 Apr 21:21
2c421a0
Compare
Choose a tag to compare
1.8.0-beta.1 of GrpcNetClient instrumentation library

core-1.8.0

02 Apr 18:02
fb74013
Compare
Choose a tag to compare

If you're interested in knowing all of the changes that went into 1.8.0 release, please go through the release notes of all the previous pre-release versions for 1.8.0:

Changes in 1.8.0:

OpenTelemetry.Exporter.Console

  • Added support for ActivitySource.Version property.
    (#5472)

OpenTelemetry.Exporter.OpenTelemetryProtocol

  • OtlpExporter will no longer throw an exception (even on .NET Core 3.1)
    when the System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport
    AppContext switch is NOT set AND using OtlpExportProtocol.Grpc
    to send to an insecure ("http") endpoint.
    System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport
    is not required to be set when using .NET 5 or newer.
    (#5486)

  • Replaced environment variable
    OTEL_DOTNET_EXPERIMENTAL_OTLP_ENABLE_INMEMORY_RETRY with
    OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY. OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY
    when set to in_memory will enable automatic retries in case of transient
    failures during data export to an OTLP endpoint.
    (#5495)