Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.18.0 #293

Open
professeur-chen wants to merge 1 commit from renovate/opentelemetry.exporter.opentelemetryprotocol-1.x into trunk
Collaborator

This PR contains the following updates:

Package Type Update Change
OpenTelemetry.Exporter.OpenTelemetryProtocol (source) nuget minor 1.15.11.18.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-dotnet (OpenTelemetry.Exporter.OpenTelemetryProtocol)

v1.18.0

Release details: 1.18.0

  • Breaking change: The maximum size of a single OTLP export request is now
    64 MiB by default instead of 128 MiB to conform with the OpenTelemetry specification.
    Raise the value of the new OtlpExporterOptions.MaxRequestSizeBytes property
    to increase the capacity.
  • Added OtlpExporterOptions.MaxRequestSizeBytes to configure the maximum OTLP
    request size limit, as required by the OpenTelemetry specification. The default
    is the recommended 64 MiB. A batch whose serialized payload exceeds the limit
    is not sent and is dropped in its entirety. The maximum supported value is
    256 MiB.
  • Added OtlpExporterOptions.MaxResponseSizeBytes to configure the maximum size
    of a response the exporter will accept, as required by the OpenTelemetry
    specification. The default is the recommended 4 MiB. A response exceeding the
    limit is discarded and treated as a non-retryable failure.
  • Added the otel.sdk.processor.log.processed and otel.sdk.processor.span.processed
    SDK self-observability metrics.
  • Added support for serializing attribute values that are key/value lists in
    the OTLP, console and Zipkin exporters.
  • The OTLP exporter will now export the logger version, if it was specified.
  • Add new ITelemetryHostInitializer interface for applications that do not
    support hosted services, such as Blazor, to use to manually initialize the
    OpenTelemetry SDK as part of application startup.
  • BatchActivityExportProcessor and SimpleActivityExportProcessor no longer
    forward spans to the exporter once Shutdown has been called, and
    BatchActivityExportProcessor.Shutdown now waits for in-flight OnEnd calls
    to finish enqueueing before flushing.
  • Fixed self-diagnostics log lines being silently dropped when an event message
    was too long to fit in the internal buffer. Such content is now truncated.
  • Fixed activity creation throwing when multiple tracer providers returned a
    sampler attribute with the same key.
  • Fixed logger, meter and tracer providers leaking background threads if an
    exception is thrown by their constructor after resource creation.
  • Avoid formatting exceptions and creating exception attributes when
    RecordException is called on a span that is not recorded.
  • Fixed UseOtlpExporter to respect options configured with
    services.Configure<OtlpExporterOptions>(...).
  • Clamped the server-supplied OTLP/gRPC retry delay (RetryInfo.retry_delay) to
    a minimum value of 100 milliseconds.
  • Fixed serialization failures leaving failed trace, metric, and log batches in
    the serializer's per-thread state.
  • Fixed the persistent-storage retry thread terminating permanently on an
    unexpected exception.
  • Fixed the OTLP exporter from retrying certain non-transient HTTP failures.
  • Improved OTLP log attribute serialization performance by avoiding unnecessary
    boxing.
  • Improved OTLP histogram serialization performance by avoiding a redundant
    scan of explicit bucket bounds.
  • Fixed persistent storage allowing a blob write to exceed the configured
    maximum storage size.
  • Improved OTLP/gRPC response status handling performance by avoiding unnecessary
    header enumeration on .NET 8+.
  • Fixed the Zipkin exporter to read responses with HttpCompletionOption.ResponseHeadersRead
    for the .NET Framework and .NET Standard targets.
  • Fixed inefficient parsing of the Jaeger uber-trace-id header when targeting
    net462 or netstandard2.0.

v1.17.0

Release details: 1.17.0

  • Added support for a Schema URL on Resource instances.
  • The Resource Schema URL is now printed alongside the resource attributes
    when using the Console and OTLP exporters.
  • Added ExcludedTagKeys property to MetricStreamConfiguration to support
    excluding specific tag keys from metric streams.
  • Updated tracestate key validation to comply with the W3C Trace Context
    Level 2 grammar.
  • The SDK now depends on Microsoft.Extensions.Configuration.EnvironmentVariables
    instead of using a vendored implementation.
  • All libraries are now marked as trim and AOT compatible.
  • Fixed a metric storage leak that occurred when meters and instruments were
    repeatedly created and disposed.
  • Fixed TraceContextPropagator to normalize empty tracestate header values
    to null when extracting trace context.
  • Fixed OtlpLogExporter so OtlpExporterOptions.ExportProcessorType and
    OtlpExporterOptions.BatchExportProcessorOptions are respected when
    LogRecordExportProcessorOptions are not configured.
  • Fixed the OTLP exporter dropping retryable data instead of saving it to disk
    when persistent storage retry is enabled and an export exceeds the configured
    timeout.
  • Fixed the OTLP/HTTP exporter silently dropping data when an export timed out.
  • Fixed the OTLP/gRPC exporter logging incorrectly when an export timed out.
  • Performance and memory improvements for the OTLP exporter when exporting logs
    and metrics.

v1.16.0

Release details: 1.16.0

  • Breaking Change Explicit histogram boundaries no longer allow more than
    10 million values.
  • Fix BaggagePropagator to correctly follow Key and Value Encoding rules.
  • Add support for the W3C randomness flag.
  • Fixed TraceContextPropagator to deduplicate duplicate tracestate keys.
  • ObservedTimestamp will now be exported for logs in the console exporter.
  • Fixed NullReferenceException when exporting OTLP logs if the scope key is
    null.
  • Added opt-in support for gzip compression to the OTLP exporter.
  • Fixed OTLP disk retry data being stored incorrectly when using persistent
    storage retry.
  • Fixed OtlpLogExporter integration with IHttpClientFactory.
  • Do not enable the OTLP integration with IHttpClientFactory when mTLS is
    enabled.
  • Handle Retry-After response headers that specify a date instead of a delay.
  • observed_time_unix_nano will no longer always be identical to time_unix_nano
    when using the logs bridge API.
  • Stop validating View-provided metric stream Name against the instrument name
    syntax.
  • Fix incorrect validation of OTEL_BSP_* and OTEL_BLRP_* environment variables.
  • Fix observable instrument callbacks running once per reader instead of once per
    collection cycle.
  • Added exception safety for user-supplied ExemplarReservoir implementations.
  • Fixed a circular reference which could cause a LoggerProvider to fail to
    resolve when one of its dependencies depends on ILogger or ILoggerFactory.

v1.15.3

Release details: 1.15.3

  • Breaking change: Fixed tracestate parsing to reject keys that do not
    begin with a lowercase letter, including keys beginning with digits, to
    align with the W3C Trace Context specification.
  • Breaking change: Fixed an insecure disk retry default for OTLP export.
    Disk retry now requires OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH
    when OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY=disk is configured.
  • Improve efficiency of parsing of baggage and B3 propagation headers.
  • OtlpLogExporter now uses IHttpClientFactory on .NET 8+.
  • Fixed an issue in OTLP/gRPC retry handling when parsing gRPC statuses.
  • Fixed OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT not being applied.
  • Fixed baggage and trace headers not respecting the maximum length in some cases.
  • Fixed BaggagePropagator to trim optional whitespace (OWS) around =
    separators when parsing the baggage header.
  • Fixed BaggagePropagator to strip baggage properties from values when
    parsing the baggage header.
  • Fixed OTLP persistent storage clean-up handling for malformed filenames.
  • Fixed resource leak in batch and periodic exporting task workers for Blazor/WASM.
  • Fixed LogRecord.LogLevel to preserve LogLevel.None.
  • Fixed OTEL_TRACES_SAMPLER_ARG handling for out-of-range values.
  • Fixed an issue with OTLP disk retry storage where metrics and logs used the
    traces storage directory.
  • Fixed full OTLP endpoint being logged by internal diagnostics.
  • Improve efficiency of parsing of baggage, B3 and Jaeger propagation headers.
  • Hardened Zipkin exporter memory usage for endpoint caching and array tag
    serialization.

v1.15.2

Release details: 1.15.2

  • Limit how much of the response body is read by the OTLP exporter when
    export fails and error logging is enabled.
  • Added Task-based worker support for BatchExportProcessor and
    PeriodicExportingMetricReader to enable the OpenTelemetry SDK to work
    in single-threaded WebAssembly environments such as Blazor and
    Uno Platform.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [OpenTelemetry.Exporter.OpenTelemetryProtocol](https://opentelemetry.io/) ([source](https://github.com/open-telemetry/opentelemetry-dotnet)) | nuget | minor | `1.15.1` → `1.18.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/241) for more information. --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-dotnet (OpenTelemetry.Exporter.OpenTelemetryProtocol)</summary> ### [`v1.18.0`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/RELEASENOTES.md#1180) Release details: [1.18.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.18.0) - **Breaking change:** The maximum size of a single OTLP export request is now 64 MiB by default instead of 128 MiB to conform with the OpenTelemetry specification. Raise the value of the new `OtlpExporterOptions.MaxRequestSizeBytes` property to increase the capacity. - Added `OtlpExporterOptions.MaxRequestSizeBytes` to configure the maximum OTLP request size limit, as required by the OpenTelemetry specification. The default is the recommended 64 MiB. A batch whose serialized payload exceeds the limit is not sent and is dropped in its entirety. The maximum supported value is 256 MiB. - Added `OtlpExporterOptions.MaxResponseSizeBytes` to configure the maximum size of a response the exporter will accept, as required by the OpenTelemetry specification. The default is the recommended 4 MiB. A response exceeding the limit is discarded and treated as a non-retryable failure. - Added the `otel.sdk.processor.log.processed` and `otel.sdk.processor.span.processed` SDK self-observability metrics. - Added support for serializing attribute values that are key/value lists in the OTLP, console and Zipkin exporters. - The OTLP exporter will now export the logger version, if it was specified. - Add new `ITelemetryHostInitializer` interface for applications that do not support hosted services, such as Blazor, to use to manually initialize the OpenTelemetry SDK as part of application startup. - `BatchActivityExportProcessor` and `SimpleActivityExportProcessor` no longer forward spans to the exporter once Shutdown has been called, and `BatchActivityExportProcessor.Shutdown` now waits for in-flight `OnEnd` calls to finish enqueueing before flushing. - Fixed self-diagnostics log lines being silently dropped when an event message was too long to fit in the internal buffer. Such content is now truncated. - Fixed activity creation throwing when multiple tracer providers returned a sampler attribute with the same key. - Fixed logger, meter and tracer providers leaking background threads if an exception is thrown by their constructor after resource creation. - Avoid formatting exceptions and creating exception attributes when `RecordException` is called on a span that is not recorded. - Fixed `UseOtlpExporter` to respect options configured with `services.Configure<OtlpExporterOptions>(...)`. - Clamped the server-supplied OTLP/gRPC retry delay (`RetryInfo.retry_delay`) to a minimum value of 100 milliseconds. - Fixed serialization failures leaving failed trace, metric, and log batches in the serializer's per-thread state. - Fixed the persistent-storage retry thread terminating permanently on an unexpected exception. - Fixed the OTLP exporter from retrying certain non-transient HTTP failures. - Improved OTLP log attribute serialization performance by avoiding unnecessary boxing. - Improved OTLP histogram serialization performance by avoiding a redundant scan of explicit bucket bounds. - Fixed persistent storage allowing a blob write to exceed the configured maximum storage size. - Improved OTLP/gRPC response status handling performance by avoiding unnecessary header enumeration on .NET 8+. - Fixed the Zipkin exporter to read responses with `HttpCompletionOption.ResponseHeadersRead` for the .NET Framework and .NET Standard targets. - Fixed inefficient parsing of the Jaeger `uber-trace-id` header when targeting `net462` or `netstandard2.0`. ### [`v1.17.0`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/RELEASENOTES.md#1170) Release details: [1.17.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.17.0) - Added support for a Schema URL on Resource instances. - The Resource Schema URL is now printed alongside the resource attributes when using the Console and OTLP exporters. - Added `ExcludedTagKeys` property to `MetricStreamConfiguration` to support excluding specific tag keys from metric streams. - Updated `tracestate` key validation to comply with the W3C Trace Context Level 2 grammar. - The SDK now depends on Microsoft.Extensions.Configuration.EnvironmentVariables instead of using a vendored implementation. - All libraries are now marked as trim and AOT compatible. - Fixed a metric storage leak that occurred when meters and instruments were repeatedly created and disposed. - Fixed `TraceContextPropagator` to normalize empty `tracestate` header values to `null` when extracting trace context. - Fixed `OtlpLogExporter` so `OtlpExporterOptions.ExportProcessorType` and `OtlpExporterOptions.BatchExportProcessorOptions` are respected when `LogRecordExportProcessorOptions` are not configured. - Fixed the OTLP exporter dropping retryable data instead of saving it to disk when persistent storage retry is enabled and an export exceeds the configured timeout. - Fixed the OTLP/HTTP exporter silently dropping data when an export timed out. - Fixed the OTLP/gRPC exporter logging incorrectly when an export timed out. - Performance and memory improvements for the OTLP exporter when exporting logs and metrics. ### [`v1.16.0`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/RELEASENOTES.md#1160) Release details: [1.16.0](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.16.0) - **Breaking Change** Explicit histogram boundaries no longer allow more than 10 million values. - Fix `BaggagePropagator` to correctly follow Key and Value Encoding rules. - Add support for the W3C randomness flag. - Fixed `TraceContextPropagator` to deduplicate duplicate `tracestate` keys. - `ObservedTimestamp` will now be exported for logs in the console exporter. - Fixed `NullReferenceException` when exporting OTLP logs if the scope key is null. - Added opt-in support for gzip compression to the OTLP exporter. - Fixed OTLP disk retry data being stored incorrectly when using persistent storage retry. - Fixed `OtlpLogExporter` integration with `IHttpClientFactory`. - Do not enable the OTLP integration with `IHttpClientFactory` when mTLS is enabled. - Handle `Retry-After` response headers that specify a date instead of a delay. - `observed_time_unix_nano` will no longer always be identical to `time_unix_nano` when using the logs bridge API. - Stop validating View-provided metric stream `Name` against the instrument name syntax. - Fix incorrect validation of `OTEL_BSP_*` and `OTEL_BLRP_*` environment variables. - Fix observable instrument callbacks running once per reader instead of once per collection cycle. - Added exception safety for user-supplied `ExemplarReservoir` implementations. - Fixed a circular reference which could cause a `LoggerProvider` to fail to resolve when one of its dependencies depends on `ILogger` or `ILoggerFactory`. ### [`v1.15.3`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/RELEASENOTES.md#1153) Release details: [1.15.3](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.15.3) - **Breaking change:** Fixed `tracestate` parsing to reject keys that do not begin with a lowercase letter, including keys beginning with digits, to align with the W3C Trace Context specification. - **Breaking change:** Fixed an insecure disk retry default for OTLP export. Disk retry now requires `OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATH` when `OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRY=disk` is configured. - Improve efficiency of parsing of baggage and B3 propagation headers. - `OtlpLogExporter` now uses `IHttpClientFactory` on .NET 8+. - Fixed an issue in OTLP/gRPC retry handling when parsing gRPC statuses. - Fixed `OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT` not being applied. - Fixed baggage and trace headers not respecting the maximum length in some cases. - Fixed `BaggagePropagator` to trim optional whitespace (OWS) around `=` separators when parsing the `baggage` header. - Fixed `BaggagePropagator` to strip baggage properties from values when parsing the `baggage` header. - Fixed OTLP persistent storage clean-up handling for malformed filenames. - Fixed resource leak in batch and periodic exporting task workers for Blazor/WASM. - Fixed `LogRecord.LogLevel` to preserve `LogLevel.None`. - Fixed `OTEL_TRACES_SAMPLER_ARG` handling for out-of-range values. - Fixed an issue with OTLP disk retry storage where metrics and logs used the traces storage directory. - Fixed full OTLP endpoint being logged by internal diagnostics. - Improve efficiency of parsing of baggage, B3 and Jaeger propagation headers. - Hardened Zipkin exporter memory usage for endpoint caching and array tag serialization. ### [`v1.15.2`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/HEAD/RELEASENOTES.md#1152) Release details: [1.15.2](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.15.2) - Limit how much of the response body is read by the OTLP exporter when export fails and error logging is enabled. - Added Task-based worker support for `BatchExportProcessor` and `PeriodicExportingMetricReader` to enable the OpenTelemetry SDK to work in single-threaded WebAssembly environments such as Blazor and Uno Platform. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjQuNSIsInRhcmdldEJyYW5jaCI6InRydW5rIiwibGFiZWxzIjpbXX0=-->
Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.15.2
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
ci/woodpecker/push/workflow Pipeline was successful
904b5b0dff
professeur-chen changed title from Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.15.2 to Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.15.3 2026-04-22 06:27:29 +02:00
professeur-chen force-pushed renovate/opentelemetry.exporter.opentelemetryprotocol-1.x from 904b5b0dff
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
ci/woodpecker/push/workflow Pipeline was successful
to 943c05649e 2026-04-22 06:27:30 +02:00
Compare
professeur-chen changed title from Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.15.3 to Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.16.0 2026-06-11 06:28:19 +02:00
professeur-chen force-pushed renovate/opentelemetry.exporter.opentelemetryprotocol-1.x from 943c05649e to 876e890bc1 2026-06-11 06:28:20 +02:00 Compare
professeur-chen changed title from Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.16.0 to Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.17.0 2026-07-17 06:28:21 +02:00
professeur-chen force-pushed renovate/opentelemetry.exporter.opentelemetryprotocol-1.x from 876e890bc1 to ff2bc894d5 2026-07-17 06:28:21 +02:00 Compare
professeur-chen changed title from Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.17.0 to Update dependency OpenTelemetry.Exporter.OpenTelemetryProtocol to 1.18.0 2026-08-22 06:33:05 +02:00
professeur-chen force-pushed renovate/opentelemetry.exporter.opentelemetryprotocol-1.x from ff2bc894d5 to 597ad629c1 2026-08-22 06:33:06 +02:00 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/opentelemetry.exporter.opentelemetryprotocol-1.x:renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch renovate/opentelemetry.exporter.opentelemetryprotocol-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch trunk
git merge --no-ff renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git rebase trunk
git switch trunk
git merge --ff-only renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git rebase trunk
git switch trunk
git merge --no-ff renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch trunk
git merge --squash renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch trunk
git merge --ff-only renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git switch trunk
git merge renovate/opentelemetry.exporter.opentelemetryprotocol-1.x
git push origin trunk
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
l4p1n-bot/bot!293
No description provided.