Skip to content

Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.20.0 to 1.21.0 - #573

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/OpenTelemetry.Exporter.OpenTelemetryProtocol-1.20.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/OpenTelemetry.Exporter.OpenTelemetryProtocol-1.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown

Pinned OpenTelemetry.Exporter.OpenTelemetryProtocol at 1.21.0.

Release notes

Sourced from OpenTelemetry.Exporter.OpenTelemetryProtocol's releases.

1.21.0

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

The following changes are from the previous release 1.21.0-rc.2.

1.21.0-rc.2

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

  • NuGet: OpenTelemetry v1.21.0-rc.2

    • Fixed an exception when downscaling empty exponential histogram buckets after
      a reset.
      (#​8064)

    • Fixed tracing callbacks continuing after provider shutdown or disposal on older
      target frameworks.
      (#​8065)

    • Fixed initialization failures when environment variable access is denied.
      Configuration reloads retain the last successful values when access is denied.
      (#​8070)

    • Fixed a source, meter or legacy activity name with a trailing line feed
      matching a wildcard pattern which does not end in a wildcard.
      (#​8074)

    • Fixed OTEL_RESOURCE_ATTRIBUTES values being decoded as form data, which
      changed a + to a space. Values are now only percent-decoded, as defined by
      the Resource SDK specification.
      (#​8074)

    • Updated the schema URL of resources created by the SDK to use OpenTelemetry
      Semantic Conventions version 1.45.0.
      (#​8079)

    • Added support for batching the metric points exported by
      PeriodicExportingMetricReader. When a maximum export batch size is set,
      using the new constructor overload or
      PeriodicExportingMetricReaderOptions.MaxExportBatchSize, the metric
      points of each collection are split into batches of at most that many
      metric points, even if that splits up the metric points of a single
      metric. The batches are exported serially with the export timeout
      applying to each export. It can also be configured with the
      OTEL_METRIC_EXPORT_MAX_BATCH_SIZE environment variable.
      (#​8053)

    • Fixed PeriodicExportingMetricReader exporting a collection which was still
      in progress when Shutdown() timed out to its exporter after the exporter
      had been shut down.
      (#​8053)

    • Fixed PeriodicExportingMetricReader not making its final collection when
      Shutdown() was called before its background task had started running on
      platforms where threading is not available, such as browsers.
      (#​8053)

... (truncated)

1.21.0-rc.1

The following changes are from the previous release 1.20.1.

  • NuGet: OpenTelemetry v1.21.0-rc.1

    • Fixed a race in the self-diagnostics sink dispatcher where disposing it
      while its pump thread was exiting could throw ArgumentNullException on
      .NET Framework.
      (#​7983)

    • SelfDiagnosticsOptions is now automatically bound from the
      OpenTelemetry:SelfDiagnostics configuration section, when present.
      (#​8008)

    • Fixed a race where collecting a metric with delta temporality concurrently
      with the creation of a new MetricPoint could reclaim the MetricPoint
      while it was being created, losing the measurement.
      (#​8019)

    • Fixed a race where collecting a metric with delta temporality could export
      the same series twice in a single collection.
      (#​8019)

    • Fixed wildcard matching timeouts that could prevent configured source, meter,
      legacy activity, or metric view patterns from matching.
      (#​8014)

    • The timeout passed to MetricReader.Collect() (for example by
      MeterProvider.ForceFlush()), the ExportTimeoutMilliseconds of
      PeriodicExportingMetricReader and the ExporterTimeoutMilliseconds of
      BatchExportProcessor<T> are now made available to the exporter instead of
      being ignored once the export has started, so that the OTLP exporter can
      cancel an export which runs past the timeout. The ExportTimeoutMilliseconds
      of PeriodicExportingMetricReader now also limits exports which are not
      started by the reader itself, such as those of MeterProvider.ForceFlush().
      (#​7996)

    • Fixed a race where collecting a cumulative metric concurrently with the
      creation of a new MetricPoint could export a MetricPoint that was not yet
      fully initialized, could case a NullReferenceException when enumerating Tags.
      (#​8018)

    • Breaking Change Dropped support for net8.0 and net9.0.
      (#​6899)

    • Add support for .NET 11.0.
      (#​6899)

    • Added support for enabling ActivitySources from configuration using the
      Microsoft.Extensions.Diagnostics tracing APIs introduced in .NET 11 (for
      example, services.AddTracing(b => b.AddConfiguration(section))).
      ... (truncated)

1.21.0-beta.1

The following changes are from the previous release 1.20.1-beta.1.

  • NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.21.0-beta.1

    • Fixed OpenMetrics scrape responses containing a # UNIT line whose unit is
      not an underscore-separated suffix of the metric family name (for example
      auth.failedlogins with the unit logins), which caused scrapers such as
      Prometheus to reject the whole response. The # UNIT line is now omitted
      for such metrics; exported metric names are unchanged.
      (#​7993)

    • Fixed scrapes that negotiate different response formats within the
      ScrapeResponseCacheDurationMilliseconds window each triggering their own
      metrics collection. A collection now also writes the response for other
      formats whose scrapes arrived alongside a previous collection, so scrapes
      that keep arriving together are served from the cache. Fresh cached responses
      remain available while another format is serialized, even if that
      serialization fails.
      (#​7994)

    • Fixed array- and map-valued attributes being serialized as the .NET type
      name (e.g. System.Byte[], System.Int32[]) instead of being JSON-encoded
      as per the specification. byte[]-valued attributes are now
      Base64-encoded, and other array- and map-valued attributes are now
      JSON-encoded.
      (#​7694)

    • Fixed arrays of string-valued key/value pairs being
      serialized as JSON arrays of strings instead of JSON objects.
      (#​7694)

    • Fixed scrape clients which stop reading their response delaying other
      scrapes until ScrapeResponseTimeoutMilliseconds elapses.
      (#​8041)

    • Breaking Change Dropped support for net8.0 and net9.0.
      (#​6899)

    • Add support for .NET 11.0.
      (#​6899)

    • Fixed a scrape response containing the same series (metric name and labels)
      more than once, which causes Prometheus to reject the whole response, such as
      when metric or tag names are the same once escaped, tag names become the same
      when UTF-8 encoded, or the scope information is disabled. Duplicate series are
      now dropped, and a warning event is written.
      A metric which has the name of a sample that is generated for another one
      (for example _sum of a histogram) is now dropped, and a warning event is
      written.
      (#​8076)
      ... (truncated)

1.20.1

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

The following changes are from the previous release 1.20.0.

  • NuGet: OpenTelemetry v1.20.1

    • Fixed a possible race condition on ARM64 when multiple threads record the
      first measurement with no tags, or the first overflow measurement, that could
      cause the measurement to be recorded incorrectly.
      (#​7951)

    • Fixed self-diagnostics preamble redaction of quoted or encoded PEM material
      and prefixed JWTs.
      (#​7955)

    • Fixed default HTTP client log filtering when registering the OTLP log exporter
      through OpenTelemetryLoggerOptions.
      (#​7959)

    • Fixed legacy self-diagnostics logging terminating the process when the log
      file is truncated or the log volume runs out of space.
      (#​7956)

    • Experimental (pre-release builds only): Fixed Logger.EmitLog ignoring
      instrumentation suppression, which could cause recursive exports or deadlocks.
      (#​7961)

    • Fixed delta double counters losing subsequent measurements after a non-finite
      or large value and idle metric points with a NaN value failing to be reclaimed.
      (#​7963)

    • Improve the assignment of values to exponential histogram buckets when the
      value is near a bucket boundary by using a pre-computed lookup table.
      (#​7911)

    • Fixed LogRecords being returned to the shared pool while still queued for
      export when an exporter stops enumerating a single-item or array
      Batch<LogRecord> early which could cause a BatchLogRecordExportProcessor
      on the same provider to export missing or incorrect data.
      (#​7965)

    • Fixed a SuppressInstrumentationScope.Enter() reference count never being
      released when the Activity it was entered for is not recorded, which caused
      all subsequent telemetry in that execution context to be suppressed.
      (#​7966)

    • Self-diagnostics log files, whether configured through OTEL_DIAGNOSTICS.json
      or SelfDiagnosticsOptions, are now always created as new files.
      (#​7968)

... (truncated)

1.20.1-rc.1

The following changes are from the previous release 1.20.0.

  • NuGet: OpenTelemetry v1.20.1-rc.1

    • Fixed a possible race condition on ARM64 when multiple threads record the
      first measurement with no tags, or the first overflow measurement, that could
      cause the measurement to be recorded incorrectly.
      (#​7951)

    • Fixed self-diagnostics preamble redaction of quoted or encoded PEM material
      and prefixed JWTs.
      (#​7955)

    • Fixed default HTTP client log filtering when registering the OTLP log exporter
      through OpenTelemetryLoggerOptions.
      (#​7959)

    • Fixed legacy self-diagnostics logging terminating the process when the log
      file is truncated or the log volume runs out of space.
      (#​7956)

    • Experimental (pre-release builds only): Fixed Logger.EmitLog ignoring
      instrumentation suppression, which could cause recursive exports or deadlocks.
      (#​7961)

    • Fixed delta double counters losing subsequent measurements after a non-finite
      or large value and idle metric points with a NaN value failing to be reclaimed.
      (#​7963)

    • Improve the assignment of values to exponential histogram buckets when the
      value is near a bucket boundary by using a pre-computed lookup table.
      (#​7911)

    • Fixed LogRecords being returned to the shared pool while still queued for
      export when an exporter stops enumerating a single-item or array
      Batch<LogRecord> early which could cause a BatchLogRecordExportProcessor
      on the same provider to export missing or incorrect data.
      (#​7965)

    • Fixed a SuppressInstrumentationScope.Enter() reference count never being
      released when the Activity it was entered for is not recorded, which caused
      all subsequent telemetry in that execution context to be suppressed.
      (#​7966)

    • Self-diagnostics log files, whether configured through OTEL_DIAGNOSTICS.json
      or SelfDiagnosticsOptions, are now always created as new files.
      (#​7968)

    • Self-diagnostics messages written to the sinks configured by
      SelfDiagnosticsOptions are now truncated to 16,384 characters so that the
      ... (truncated)

1.20.1-beta.1

The following changes are from the previous release 1.20.0-beta.1.

  • NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.20.1-beta.1

    • Fixed scrape responses being handed to the server in a single write, which
      made the server buffer a full copy of the response for each client that did
      not read it until the request completed or timed out. Responses are now
      written in bounded slices so the server's back-pressure applies.
      (#​7957)

    • Fixed startup scrapes permanently omitting target_info and configured
      resource constant labels from subsequent scrape responses.
      (#​7984)

    • Updated OpenTelemetry core component version(s) to 1.20.1.
      (#​7990)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.20.1-beta.1

    • Fixed scrape responses being handed to the server in a single write, which
      on Linux and macOS made the listener allocate and hold a full copy of the
      response for each client that did not read it until the request completed or
      timed out. Responses are now written in bounded slices.
      (#​7957)

    • Fixed scrape requests that announce a request body holding a thread pool
      thread after their response had been sent on Linux and macOS for as long as
      the client kept trickling in the body. The connection is now closed after
      responding to a request with a body instead of being kept alive.
      (#​7962)

    • Fixed startup scrapes permanently omitting target_info and configured
      resource constant labels from subsequent scrape responses.
      (#​7984)

    • Updated OpenTelemetry core component version(s) to 1.20.1.
      (#​7990)

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.Shims.OpenTracing v1.20.1-beta.1

    • Updated OpenTelemetry core component version(s) to 1.20.1.
      (#​7990)

    See CHANGELOG for details.

Commits viewable in compare view.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file nuget labels Oct 26, 2026
@dependabot
dependabot Bot temporarily deployed to BuildAndUploadImage October 26, 2026 15:28 Inactive
@intellitect-bot
intellitect-bot enabled auto-merge (squash) October 26, 2026 15:55
---
updated-dependencies:
- dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol
  dependency-version: 1.20.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/OpenTelemetry.Exporter.OpenTelemetryProtocol-1.20.1 branch from ba31e79 to 89e973c Compare October 26, 2026 17:23
@dependabot
dependabot Bot temporarily deployed to BuildAndUploadImage October 26, 2026 17:24 Inactive
@dependabot @github

dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Author

Looks like OpenTelemetry.Exporter.OpenTelemetryProtocol is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Nov 11, 2026
@dependabot dependabot Bot changed the title Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.20.0 to 1.20.1 Bump OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.20.0 to 1.21.0 Nov 11, 2026
auto-merge was automatically disabled November 11, 2026 23:26

Pull request was closed

This branch was previously deployed

1 inactive deployment
BuildAndUploadImage — 89e973c9 Deployed Oct 26, 2026 by dependabot[bot] via build-and-test #1256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file nuget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants