Repository navigation
Bump OpenTelemetry.Extensions.Hosting from 1.19.1 to 1.20.0 - #680
Merged
Conversation
Kiryuumaru
previously approved these changes
Oct 15, 2026
Kiryuumaru
enabled auto-merge (squash)
October 15, 2026 19:25
dependabot
Bot
force-pushed
the
dependabot/nuget/RestfulHelpers.Test/RestfulHelpers.Test.ServiceDefaults/master/OpenTelemetry.Extensions.Hosting-1.20.0
branch
from
October 15, 2026 19:31
398d522 to
186675e
Compare
Kiryuumaru
previously approved these changes
Oct 15, 2026
dependabot
Bot
force-pushed
the
dependabot/nuget/RestfulHelpers.Test/RestfulHelpers.Test.ServiceDefaults/master/OpenTelemetry.Extensions.Hosting-1.20.0
branch
from
October 15, 2026 19:37
186675e to
699ce83
Compare
Kiryuumaru
approved these changes
Oct 15, 2026
dependabot
Bot
force-pushed
the
dependabot/nuget/RestfulHelpers.Test/RestfulHelpers.Test.ServiceDefaults/master/OpenTelemetry.Extensions.Hosting-1.20.0
branch
from
October 15, 2026 19:43
699ce83 to
5e20c36
Compare
Kiryuumaru
approved these changes
Oct 15, 2026
--- updated-dependencies: - dependency-name: OpenTelemetry.Extensions.Hosting dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/nuget/RestfulHelpers.Test/RestfulHelpers.Test.ServiceDefaults/master/OpenTelemetry.Extensions.Hosting-1.20.0
branch
from
October 15, 2026 19:49
5e20c36 to
0036b62
Compare
Kiryuumaru
approved these changes
Oct 15, 2026
Kiryuumaru
deleted the
dependabot/nuget/RestfulHelpers.Test/RestfulHelpers.Test.ServiceDefaults/master/OpenTelemetry.Extensions.Hosting-1.20.0
branch
October 15, 2026 19:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated OpenTelemetry.Extensions.Hosting from 1.19.1 to 1.20.0.
Release notes
Sourced from OpenTelemetry.Extensions.Hosting's releases.
1.20.0
For highlights and announcements pertaining to this release see: Release Notes > 1.20.0.
The following changes are from the previous release 1.19.1.
NuGet: OpenTelemetry v1.20.0
Fixed
SuppressInstrumentationScopereference counts leaking between inherited asynchronous execution contexts.(#7803)
Self-diagnostic features are explicitly disabled on browser-based platforms (e.g. Blazor) and are now non-functional. Previously, attempting to enable self-diagnostics on such platforms would result in an exception at runtime.
(#7799)
Added
TracerProviderBuilder.ConfigureSamplerwhich receives the resolvedSamplerwhether set programmatically, viaOTEL_TRACES_SAMPLER, or by default, and returns a replacement. Intended for library authors who need to influence sampling without overriding a sampler the application has configured.(#7780)
Fixed
ResourceBuilder.CreateDefaultignoringOTEL_RESOURCE_ATTRIBUTESandOTEL_SERVICE_NAMEenvironment variables when the hostIConfigurationdoes not contain those settings.(#7855)
Added improved self-diagnostics logging to improve the support experience. The new
SelfDiagnosticsOptionsclass configures a rolling file sink and a console sink through the standard options pipeline. Sinks are off by default.(#7588)
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.
(#7804)
Added
OpenTelemetryLoggerOptions.VersionandOpenTelemetryLoggerOptions.SchemaUrloptions to set an instrumentation library version and schema URL applied to logs emitted via theMicrosoft.Extensions.LoggingILoggerintegration.(#7727)
Fixed
LogRecord.CategoryNameresetting the currentLogger'sVersiontonullwhen set to a new value.(#7727)
Bounded the internal cache of
Loggerscopes keyed by instrumentation to avoid unbounded growth.(#7727)
Fixed the
MeterProviderand itsIServiceProviderbeing kept alive after the host is disposed when usingMicrosoft.Extensions.Diagnosticsversions prior to 9.0, which never dispose theirMetricsSubscriptionManager(and its underlyingMeterListener).(#7924)
Fixed a race condition between recording a measurement and collecting a histogram with delta temporality that could cause an empty data point (with a count of zero) to be exported in the next collection cycle.
(#7923)
Improved metric collection performance after metric streams are removed by compacting metric storage during collection.
(#7945)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.20.0
Added
Logger.SchemaUrland aLoggerProvider.GetLoggeroverload accepting a schema URL parameter using the newLoggerOptionstype.(#7727)
Breaking change (pre-release only versions):
LoggerProvider's protectedTryCreateLogger(string? name, out Logger? logger)extensibility method has been replaced byTryCreateLogger(LoggerOptions options, out Logger? logger). CustomLoggerProvidersubclasses that override the previous overload must update to override the new one; the old overload is no longer called.... (truncated)
1.20.0-rc.1
The following changes are from the previous release 1.19.1.
NuGet: OpenTelemetry v1.20.0-rc.1
Fixed
SuppressInstrumentationScopereference counts leaking between inherited asynchronous execution contexts.(#7803)
Self-diagnostic features are explicitly disabled on browser-based platforms (e.g. Blazor) and are now non-functional. Previously, attempting to enable self-diagnostics on such platforms would result in an exception at runtime.
(#7799)
Added
TracerProviderBuilder.ConfigureSamplerwhich receives the resolvedSamplerwhether set programmatically, viaOTEL_TRACES_SAMPLER, or by default, and returns a replacement. Intended for library authors who need to influence sampling without overriding a sampler the application has configured.(#7780)
Fixed
ResourceBuilder.CreateDefaultignoringOTEL_RESOURCE_ATTRIBUTESandOTEL_SERVICE_NAMEenvironment variables when the hostIConfigurationdoes not contain those settings.(#7855)
Added improved self-diagnostics logging to improve the support experience. The new
SelfDiagnosticsOptionsclass configures a rolling file sink and a console sink through the standard options pipeline. Sinks are off by default.(#7588)
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.
(#7804)
Added
OpenTelemetryLoggerOptions.VersionandOpenTelemetryLoggerOptions.SchemaUrloptions to set an instrumentation library version and schema URL applied to logs emitted via theMicrosoft.Extensions.LoggingILoggerintegration.(#7727)
Fixed
LogRecord.CategoryNameresetting the currentLogger'sVersiontonullwhen set to a new value.(#7727)
Bounded the internal cache of
Loggerscopes keyed by instrumentation to avoid unbounded growth.(#7727)
Fixed the
MeterProviderand itsIServiceProviderbeing kept alive after the host is disposed when usingMicrosoft.Extensions.Diagnosticsversions prior to 9.0, which never dispose theirMetricsSubscriptionManager(and its underlyingMeterListener).(#7924)
Fixed a race condition between recording a measurement and collecting a histogram with delta temporality that could cause an empty data point (with a count of zero) to be exported in the next collection cycle.
(#7923)
Improved metric collection performance after metric streams are removed by compacting metric storage during collection.
(#7945)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.20.0-rc.1
Added
Logger.SchemaUrland aLoggerProvider.GetLoggeroverload accepting a schema URL parameter using the newLoggerOptionstype.(#7727)
Breaking change (pre-release only versions):
LoggerProvider's protectedTryCreateLogger(string? name, out Logger? logger)extensibility method has been replaced byTryCreateLogger(LoggerOptions options, out Logger? logger). CustomLoggerProvidersubclasses that override the previous overload must update to override the new one; the old overload is no longer called.(#7727)
... (truncated)
1.20.0-beta.1
The following changes are from the previous release 1.19.1-beta.1.
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.20.0-beta.1
A scrape request whose connection is aborted, or whose
X-Prometheus-Scrape-Timeout-Secondsdeadline elapses, now stops waiting for an in-progress metrics collection instead of continuing to wait for it to finish. The collection itself is not cancelled and continues running in the background.(#7856)
Updated OpenTelemetry core component version(s) to
1.20.0.(#7950)
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.20.0-beta.1
1.20.0.(#7950)
See CHANGELOG for details.
NuGet: OpenTelemetry.Shims.OpenTracing v1.20.0-beta.1
1.20.0.(#7950)
See CHANGELOG for details.
Commits viewable in compare view.