Skip to content

Update OpenTelemetry - #5909

Open
dependencyupdates[bot] wants to merge 1 commit into
masterfrom
renovate/open-telemetry
Open

dependencyupdates[bot] wants to merge 1 commit into
masterfrom
renovate/open-telemetry

Conversation

@dependencyupdates

@dependencyupdates dependencyupdates Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
OpenTelemetry.Exporter.Console (source) 1.18.0 → 1.20.0 age adoption passing confidence
OpenTelemetry.Exporter.OpenTelemetryProtocol (source) 1.17.0 → 1.20.0 age adoption passing confidence
OpenTelemetry.Exporter.OpenTelemetryProtocol (source) 1.18.0 → 1.20.0 age adoption passing confidence
OpenTelemetry.Extensions.Hosting (source) 1.17.0 → 1.20.0 age adoption passing confidence
OpenTelemetry.Extensions.Hosting (source) 1.18.0 → 1.20.0 age adoption passing confidence
OpenTelemetry.Instrumentation.AspNetCore (source) 1.12.0 → 1.19.0 age adoption passing confidence
OpenTelemetry.Instrumentation.AspNetCore (source) 1.18.0 → 1.19.0 age adoption passing confidence
OpenTelemetry.Instrumentation.Http (source) 1.12.0 → 1.19.0 age adoption passing confidence
OpenTelemetry.Instrumentation.Http (source) 1.18.0 → 1.19.0 age adoption passing confidence
OpenTelemetry.Instrumentation.Runtime (source) 1.18.0 → 1.19.0 age adoption passing confidence

Release Notes

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

v1.20.0

Release details: 1.20.0

  • Breaking change byte[] attributes longer than the configured attribute value
    length limit (for example OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT) are now truncated
    to that many bytes instead of being exported in full.
  • Breaking change OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT and OTEL_LINK_ATTRIBUTE_COUNT_LIMIT
    now fall back to OTEL_ATTRIBUTE_COUNT_LIMIT (then the default of 128) when
    not set, instead of falling back to OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT.
  • Breaking change Instrumentation scope attributes exported from ActivitySource.Tags
    are now limited by OTEL_ATTRIBUTE_COUNT_LIMIT instead of
    OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT. Only applications that set
    OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT to a different value from OTEL_ATTRIBUTE_COUNT_LIMIT
    are affected.
  • Breaking change (pre-release only versions): LoggerProvider's protected
    TryCreateLogger(string? name, out Logger? logger) extensibility method has
    been replaced by TryCreateLogger(LoggerOptions options, out Logger? logger).
  • Added OpenTelemetryLoggerOptions.Version and
    OpenTelemetryLoggerOptions.SchemaUrl options to set an instrumentation
    library version and schema URL applied to logs emitted via the
    Microsoft.Extensions.Logging ILogger integration.
  • Added Logger.SchemaUrl and a LoggerProvider.GetLogger overload accepting
    a schema URL parameter using the new LoggerOptions type.
  • ConsoleLogRecordExporter now writes an Instrumentation scope (Logger) section
    (Name, Version, and Schema URL) for each exported LogRecord.
  • The OTLP log exporter now exports schema_url on ScopeLogs. Log records
    emitted from a Logger with a schema URL set now populate ScopeLogs.schema_url
    in exported OTLP requests.
  • Custom TLS certificate options (custom CA trust and mTLS) and the experimental
    disk retry feature are explicitly marked as not supported on browser-based
    platforms (e.g. Blazor).
  • Suppressed informational HTTP client logs from OTLP exporters by default.
  • Added improved self-diagnostics logging to improve the support experience.
  • Self-diagnostic features are explicitly disabled on browser-based platforms
    (e.g. Blazor) and are now non-functional.
  • Added TracerProviderBuilder.ConfigureSampler intended for library authors
    who need to influence sampling without overriding a sampler the application
    has configured.
  • Fixed SuppressInstrumentationScope reference counts leaking between
    inherited asynchronous execution contexts.
  • Fixed ResourceBuilder.CreateDefault ignoring OTEL_RESOURCE_ATTRIBUTES and
    OTEL_SERVICE_NAME environment variables when the host IConfiguration does
    not contain those settings.
  • Fixed a race that could incorrectly route a concurrent metric measurement to
    the overflow point when its tag set was published as the cardinality limit was
    reached.
  • Fixed LogRecord.CategoryName resetting the current Logger's Version to
    null when set to a new value.
  • Bounded the internal cache of Logger scopes keyed by instrumentation to
    avoid unbounded growth.
  • Fixed the MeterProvider and its IServiceProvider being kept alive after the
    host is disposed when using Microsoft.Extensions.Diagnostics versions prior
    to .NET 9.0.
  • Fixed a race condition between recording a measurement and collecting a
    histogram with delta temporality that could cause an empty data point to be exported.
  • Improved metric collection performance after metric streams are removed by
    compacting metric storage during collection.
  • Optimize performance of BaggagePropagator.Inject on .NET Framework using
    lookup tables.
  • Avoid closure allocations when serializing cached metric metadata.
  • Avoid logging malformed HTTP request headers in the exporter's diagnostic log.
  • Avoid buffering the whole compressed request body in memory before sending it
    on .NET Framework when using HTTP/protobuf with gzip compression.
  • Fixed log records being dropped when using OtlpExportProtocol.HttpProtobuf
    with IHttpClientFactory integration if the first export of logs happens while
    the IServiceProvider is being disposed. The exporter now falls back to the
    default HttpClient instead of failing the export.
  • Dozens of other minor performance improvements.

v1.19.1

Release details: 1.19.1

  • Fixed NotSupportedException thrown when building a TracerProvider or
    MeterProvider with a large number of wildcard source/meter patterns on
    net8.0, and a related OutOfMemoryException that could occur when many
    such providers were built over the lifetime of a process.

v1.19.0

Release details: 1.19.0

  • Added Schema URL to internally created Resource instances.
  • Added AlwaysRecordSampler.
  • 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.
  • 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 or kvlist, as appropriate.
  • If an exception is thrown when serializing an attribute, the attribute will now
    be dropped.
  • Disable HttpClientFactory integration on browser WebAssembly (e.g. Blazor)
    environments to avoid stalled export requests when async HTTP handlers are used.
  • Fixed CA certificate loading (e.g. using OTEL_EXPORTER_OTLP_CERTIFICATE) for
    PEM-encoded certificates that only contain a public key.
  • Fixed CircularBufferBuckets so the first delta histogram insertion after a
    reset does not result in an unnecessary scale reduction.
  • Fixed lazy logger provider builds after a failure from reusing partially
    initialized provider state.
  • 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.
  • Prevented oversized metric metadata from being cached when it cannot fit within
    the configured request size.
  • Reduced allocations when formatting self-diagnostics events with up to three parameters.
  • Improved wildcard source/meter name matching to avoid excessive matching time
    at runtime.
  • Reduced allocations when creating log record attributes from an array.
  • Reduced allocations when setting baggage through the params overload.
  • Reduced allocations when constructing SpanAttributes from an array.

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

Commands to ignore dependencies

You can trigger dependency actions by commenting on this PR:

  • @particularbot ignore this major version
  • @particularbot ignore this minor version
  • @particularbot ignore this dependency

@dependencyupdates dependencyupdates Bot added dependencies Pull requests that update a dependency file NuGet labels Sep 18, 2026
@dependencyupdates
dependencyupdates Bot force-pushed the renovate/open-telemetry branch 2 times, most recently from 95e2015 to ed38062 Compare September 21, 2026 09:34
@dependencyupdates dependencyupdates Bot changed the title Update OpenTelemetry to 1.19.0 Update OpenTelemetry Sep 21, 2026
@dependencyupdates
dependencyupdates Bot force-pushed the renovate/open-telemetry branch from ed38062 to 7dd6280 Compare October 6, 2026 06:19
@dependencyupdates
dependencyupdates Bot force-pushed the renovate/open-telemetry branch from 7dd6280 to 11657f0 Compare October 15, 2026 15:29
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