Repository navigation
Bump OpenTelemetry.Exporter.OpenTelemetryProtocol and 5 others - #2230
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps OpenTelemetry.Exporter.OpenTelemetryProtocol from 1.20.0 to 1.21.0 Bumps OpenTelemetry.Extensions.Hosting from 1.20.0 to 1.21.0 Bumps OpenTelemetry.Instrumentation.AspNetCore from 1.20.0 to 1.21.0 Bumps OpenTelemetry.Instrumentation.Http from 1.20.0 to 1.21.0 Bumps OpenTelemetry.Instrumentation.Runtime from 1.20.0 to 1.21.0 Bumps System.CommandLine from 2.0.13 to 3.0.0 --- updated-dependencies: - dependency-name: OpenTelemetry.Exporter.OpenTelemetryProtocol dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-selected - dependency-name: OpenTelemetry.Extensions.Hosting dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-selected - dependency-name: OpenTelemetry.Instrumentation.AspNetCore dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-selected - dependency-name: OpenTelemetry.Instrumentation.Http dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-selected - dependency-name: OpenTelemetry.Instrumentation.Runtime dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-selected - dependency-name: System.CommandLine dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-selected - dependency-name: System.CommandLine dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-selected ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
requested a review
from David Pine (IEvangelist)
as a code owner
November 21, 2026 21:40
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The System.CommandLine 3.0 upgrade in both generators lacks migration details and build/runtime verification, leaving root and batch command compatibility unconfirmed.
No open issues 🎉
What changed in this PR
This PR updates telemetry dependencies for the aspire.dev static host and command-line dependencies for its JSON generation tools.
Changes:
- Upgrades five OpenTelemetry packages from 1.20.0 to 1.21.0.
- Upgrades System.CommandLine from 2.0.13 to 3.0.0 in both generators.
| File | Description |
|---|---|
src/tools/PackageJsonGenerator/PackageJsonGenerator.csproj |
Updates System.CommandLine to 3.0.0. |
src/tools/AtsJsonGenerator/AtsJsonGenerator.csproj |
Updates System.CommandLine to 3.0.0. |
src/statichost/StaticHost/StaticHost.csproj |
Updates the OpenTelemetry exporter, hosting, and instrumentation packages to 1.21.0. |
Review effort: Balanced
Contributor
Author
|
Looks like these dependencies are no longer updatable, so this is no longer needed. |
dependabot
Bot
deleted the
dependabot/nuget/src/statichost/StaticHost/nuget-selected-1154e0604f
branch
November 24, 2026 16:36
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.Exporter.OpenTelemetryProtocol from 1.20.0 to 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.
NuGet: OpenTelemetry v1.21.0
OpenTelemetryLoggerOptionsis now bound from theLogging:OpenTelemetryconfiguration section using the configuration binding source generator instead
of reflection, making it fully trim and Native AOT compatible. An empty value
for a boolean option is now ignored on all target frameworks rather than
throwing on some, depending on the version of
Microsoft.Extensions.Configuration.Binderin use.(#8100)
Fixed the self-diagnostics environment snapshot leaving a dangling comma in a
redacted
OTEL_RESOURCE_ATTRIBUTESvalue when it contained empty entries.(#8104)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.21.0
System.Diagnostics.DiagnosticSourcedependency to11.0.0for all target frameworks.
(#8066)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.21.0
... (truncated)
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_ATTRIBUTESvalues being decoded as form data, whichchanged a
+to a space. Values are now only percent-decoded, as defined bythe 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 metricpoints 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_SIZEenvironment variable.(#8053)
Fixed
PeriodicExportingMetricReaderexporting a collection which was stillin progress when
Shutdown()timed out to its exporter after the exporterhad been shut down.
(#8053)
Fixed
PeriodicExportingMetricReadernot making its final collection whenShutdown()was called before its background task had started running onplatforms 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
ArgumentNullExceptionon.NET Framework.
(#7983)
SelfDiagnosticsOptionsis now automatically bound from theOpenTelemetry:SelfDiagnosticsconfiguration section, when present.(#8008)
Fixed a race where collecting a metric with delta temporality concurrently
with the creation of a new
MetricPointcould reclaim theMetricPointwhile 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 byMeterProvider.ForceFlush()), theExportTimeoutMillisecondsofPeriodicExportingMetricReaderand theExporterTimeoutMillisecondsofBatchExportProcessor<T>are now made available to the exporter instead ofbeing ignored once the export has started, so that the OTLP exporter can
cancel an export which runs past the timeout. The
ExportTimeoutMillisecondsof
PeriodicExportingMetricReadernow also limits exports which are notstarted 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
MetricPointcould export aMetricPointthat was not yetfully initialized, could case a
NullReferenceExceptionwhen enumeratingTags.(#8018)
Breaking Change Dropped support for
net8.0andnet9.0.(#6899)
Add support for .NET 11.0.
(#6899)
Added support for enabling
ActivitySources from configuration using theMicrosoft.Extensions.Diagnosticstracing APIs introduced in .NET 11 (forexample,
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
# UNITline whose unit isnot an underscore-separated suffix of the metric family name (for example
auth.failedloginswith the unitlogins), which caused scrapers such asPrometheus to reject the whole response. The
# UNITline is now omittedfor such metrics; exported metric names are unchanged.
(#7993)
Fixed scrapes that negotiate different response formats within the
ScrapeResponseCacheDurationMillisecondswindow each triggering their ownmetrics 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-encodedas per the specification.
byte[]-valued attributes are nowBase64-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
ScrapeResponseTimeoutMillisecondselapses.(#8041)
Breaking Change Dropped support for
net8.0andnet9.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
_sumof a histogram) is now dropped, and a warning event iswritten.
(#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.EmitLogignoringinstrumentation 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
NaNvalue 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 forexport when an exporter stops enumerating a single-item or array
Batch<LogRecord>early which could cause aBatchLogRecordExportProcessoron the same provider to export missing or incorrect data.
(#7965)
Fixed a
SuppressInstrumentationScope.Enter()reference count never beingreleased when the
Activityit was entered for is not recorded, which causedall subsequent telemetry in that execution context to be suppressed.
(#7966)
Self-diagnostics log files, whether configured through
OTEL_DIAGNOSTICS.jsonor
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.EmitLogignoringinstrumentation 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
NaNvalue 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 forexport when an exporter stops enumerating a single-item or array
Batch<LogRecord>early which could cause aBatchLogRecordExportProcessoron the same provider to export missing or incorrect data.
(#7965)
Fixed a
SuppressInstrumentationScope.Enter()reference count never beingreleased when the
Activityit was entered for is not recorded, which causedall subsequent telemetry in that execution context to be suppressed.
(#7966)
Self-diagnostics log files, whether configured through
OTEL_DIAGNOSTICS.jsonor
SelfDiagnosticsOptions, are now always created as new files.(#7968)
Self-diagnostics messages written to the sinks configured by
SelfDiagnosticsOptionsare 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_infoand configuredresource 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_infoand configuredresource 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
1.20.1.(#7990)
See CHANGELOG for details.
Commits viewable in compare view.
Updated OpenTelemetry.Extensions.Hosting from 1.20.0 to 1.21.0.
Release notes
Sourced from OpenTelemetry.Extensions.Hosting'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.
NuGet: OpenTelemetry v1.21.0
OpenTelemetryLoggerOptionsis now bound from theLogging:OpenTelemetryconfiguration section using the configuration binding source generator instead
of reflection, making it fully trim and Native AOT compatible. An empty value
for a boolean option is now ignored on all target frameworks rather than
throwing on some, depending on the version of
Microsoft.Extensions.Configuration.Binderin use.(#8100)
Fixed the self-diagnostics environment snapshot leaving a dangling comma in a
redacted
OTEL_RESOURCE_ATTRIBUTESvalue when it contained empty entries.(#8104)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api v1.21.0
System.Diagnostics.DiagnosticSourcedependency to11.0.0for all target frameworks.
(#8066)
See CHANGELOG for details.
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.Console v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.InMemory v1.21.0
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.21.0
... (truncated)
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_ATTRIBUTESvalues being decoded as form data, whichchanged a
+to a space. Values are now only percent-decoded, as defined bythe 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 metricpoints 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_SIZEenvironment variable.(#8053)
Fixed
PeriodicExportingMetricReaderexporting a collection which was stillin progress when
Shutdown()timed out to its exporter after the exporterhad been shut down.
(#8053)
Fixed
PeriodicExportingMetricReadernot making its final collection whenShutdown()was called before its background task had started running onplatforms 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
ArgumentNullExceptionon.NET Framework.
(#7983)
SelfDiagnosticsOptionsis now automatically bound from theOpenTelemetry:SelfDiagnosticsconfiguration section, when present.(#8008)
Fixed a race where collecting a metric with delta temporality concurrently
with the creation of a new
MetricPointcould reclaim theMetricPointwhile 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 byMeterProvider.ForceFlush()), theExportTimeoutMillisecondsofPeriodicExportingMetricReaderand theExporterTimeoutMillisecondsofBatchExportProcessor<T>are now made available to the exporter instead ofbeing ignored once the export has started, so that the OTLP exporter can
cancel an export which runs past the timeout. The
ExportTimeoutMillisecondsof
PeriodicExportingMetricReadernow also limits exports which are notstarted 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
MetricPointcould export aMetricPointthat was not yetfully initialized, could case a
NullReferenceExceptionwhen enumeratingTags.(#8018)
Breaking Change Dropped support for
net8.0andnet9.0.(#6899)
Add support for .NET 11.0.
(#6899)
Added support for enabling
ActivitySources from configuration using theMicrosoft.Extensions.Diagnosticstracing APIs introduced in .NET 11 (forexample,
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
# UNITline whose unit isnot an underscore-separated suffix of the metric family name (for example
auth.failedloginswith the unitlogins), which caused scrapers such asPrometheus to reject the whole response. The
# UNITline is now omittedfor such metrics; exported metric names are unchanged.
(#7993)
Fixed scrapes that negotiate different response formats within the
ScrapeResponseCacheDurationMillisecondswindow each triggering their ownmetrics 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-encodedas per the specification.
byte[]-valued attributes are nowBase64-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
ScrapeResponseTimeoutMillisecondselapses.(#8041)
Breaking Change Dropped support for
net8.0andnet9.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
_sumof a histogram) is now dropped, and a warning event iswritten.
(#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.EmitLogignoringinstrumentation 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
NaNvalue 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 forexport when an exporter stops enumerating a single-item or array
Batch<LogRecord>early which could cause aBatchLogRecordExportProcessoron the same provider to export missing or incorrect data.
(#7965)
Fixed a
SuppressInstrumentationScope.Enter()reference count never beingreleased when the
Activityit was entered for is not recorded, which causedall subsequent telemetry in that execution context to be suppressed.
(#7966)
Self-diagnostics log files, whether configured through
OTEL_DIAGNOSTICS.jsonor
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.EmitLogignoringinstrumentation 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
NaNvalue 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 forexport when an exporter stops enumerating a single-item or array
Batch<LogRecord>early which could cause aBatchLogRecordExportProcessoron the same provider to export missing or incorrect data.
(#7965)
Fixed a
SuppressInstrumentationScope.Enter()reference count never beingreleased when the
Activityit was entered for is not recorded, which causedall subsequent telemetry in that execution context to be suppressed.
(#7966)
Self-diagnostics log files, whether configured through
OTEL_DIAGNOSTICS.jsonor
SelfDiagnosticsOptions, are now always created as new files.(#7968)
Self-diagnostics messages written to the sinks configured by
SelfDiagnosticsOptionsare 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_infoand configuredresource 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_infoand configuredresource 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
1.20.1.(#7990)
See CHANGELOG for details.
Commits viewable in compare view.
Updated OpenTelemetry.Instrumentation.AspNetCore from 1.20.0 to 1.21.0.
Release notes
Sourced from OpenTelemetry.Instrumentation.AspNetCore's releases.
1.21.0
NuGet: OpenTelemetry.Exporter.Geneva v1.21.0
Fixed an issue where, with
EnableOtlpProtobufEncoding=true, a metricattribute of type
ulongwith a value greater thanlong.MaxValuewasserialized incorrectly, causing the dimension to be dropped or the data point
to be malformed. Such values are now exported as their decimal string
representation, and an attribute that fails to serialize is now dropped
cleanly and reported through the exporter's
EventSource.(#5915)
Improved JSON numeric serialization throughput on .NET 10 and later by formatting
directly into the UTF-8 output buffer.
(#5941)
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-rc.1
NuGet: OpenTelemetry.Instrumentation.Process v1.21.0-rc.1
Updated Semantic Conventions version to
1.45.0.(#5833)
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-beta.2
NuGet: OpenTelemetry.Instrumentation.EntityFrameworkCore v1.21.0-beta.2
server.addressandpeer.servicebeing set to a meaningless value, suchas the first directory of the path, from the path to the database file when using
SQLite. These attributes are no longer set for SQLite.
(#6076)
See CHANGELOG for details.
1.21.0-beta.1
NuGet: OpenTelemetry.Extensions.Enrichment v1.21.0-beta.1
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-alpha.1
NuGet: OpenTelemetry.Instrumentation.EventCounters v1.21.0-alpha.1
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.20.3
NuGet: OpenTelemetry.Extensions.AWS v1.20.3
Fixed
AddXRayTraceId()andAddXRayTraceIdWithSampler()not replacingtrace IDs when targeting .NET Framework or .NET Standard. The X-Ray ID
generator now uses
Activity.TraceIdGeneratoron all target frameworks.As a result,
AWSXRayIdGenerator.ReplaceTraceId()is now public on alltarget frameworks, and
AddXRayTraceIdWithSampler()andAWSXRayIdGenerator.ReplaceTraceId(Sampler)are now obsolete on alltarget frameworks.
(#5809)
No longer throw and catch an exception in
AWSXRayPropagatorfor anX-Amzn-Trace-Idheader with upper case or padded hexadecimal identifiers,or with a trace or parent identifier of all zeros.
(#5825)
Fixed
AWSXRayPropagatorusing the value of a field of theX-Amzn-Trace-Idheader whose name only starts with
Root,ParentorSampled.(#5825)
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWS v1.20.3
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWSLambda v1.20.3
No notable changes.
See CHANGELOG for details.
1.20.2
NuGet: OpenTelemetry.Extensions.AWS v1.20.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWS v1.20.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWSLambda v1.20.2
server.addressandserver.portnot being recorded correctly for HTTPrequests with an IPv6 address in the
Hostheader (e.g.[::1]:8080).(#5788)
See CHANGELOG for details.
1.20.2-beta.1
NuGet: OpenTelemetry.Instrumentation.Hangfire v1.20.2-beta.1
Fixed failed jobs exporting the exception message as the span status description.
The message is now only recorded when
RecordExceptionis enabled.(#5884)
Fixed baggage from a job being visible to work started by other jobs
performed on the same worker.
(#5886)
Added
EnrichWithBackgroundJobandCustomStateMappingstoHangfireMetricsInstrumentationOptions. Use them to add custom attributes tothe metrics and to count jobs in custom Hangfire states.
(#5810)
Fixed
workflow.execution.durationfor theexecutingstate. It included thetime of other measurements of this instrumentation, for example the database
query that
RecordQueueLatencyadds.(#5810)
See CHANGELOG for details.
1.20.1
NuGet: OpenTelemetry.Exporter.Geneva v1.20.1
1.20.1.(#5651)
See CHANGELOG for details.
1.20.1-rc.1
NuGet: OpenTelemetry.Instrumentation.Process v1.20.1-rc.1
1.20.1.(#5651)
See CHANGELOG for details.
1.20.1-beta.2
NuGet: OpenTelemetry.Instrumentation.Wcf v1.20.1-beta.2
Fixed an issue where a late reply or the telemetry timeout for a failed
outgoing duplex request could stop the client activity a second time and
record reply data on it.
(#5791)
Fixed an
ArgumentOutOfRangeExceptionfrom the telemetry timeout timer,which could terminate the process, for outgoing duplex requests with a send
timeout longer than about 49 days, such as
TimeSpan.MaxValue.(#5841)
Fixed exceptions thrown while completing timed out outgoing duplex requests
escaping the timeout timer's thread, where they could terminate the process.
They are now reported through the
OpenTelemetry-Instrumentation-Wcfeventsource.
(#5841)
Fixed outgoing duplex requests that never received a reply, and their
activities, being tracked indefinitely when their channel was closed,
aborted or faulted. They are now completed when the channel goes away.
(#5841)
Fixed an issue where outgoing requests that share an
HttpRequestMessagePropertyinstance leakedtraceparent,tracestateandbaggageHTTP headers from one call to later calls.(#5860)
See CHANGELOG for details.
1.20.1-beta.1
NuGet: OpenTelemetry.Instrumentation.EntityFrameworkCore v1.20.1-beta.1
1.20.1.(#5651)
See CHANGELOG for details.
1.20.1-alpha.1
NuGet: OpenTelemetry.Instrumentation.EventCounters v1.20.1-alpha.1
1.20.1.(#5651)
See CHANGELOG for details.
Commits viewable in compare view.
Updated OpenTelemetry.Instrumentation.Http from 1.20.0 to 1.21.0.
Release notes
Sourced from OpenTelemetry.Instrumentation.Http's releases.
1.21.0
NuGet: OpenTelemetry.Exporter.Geneva v1.21.0
Fixed an issue where, with
EnableOtlpProtobufEncoding=true, a metricattribute of type
ulongwith a value greater thanlong.MaxValuewasserialized incorrectly, causing the dimension to be dropped or the data point
to be malformed. Such values are now exported as their decimal string
representation, and an attribute that fails to serialize is now dropped
cleanly and reported through the exporter's
EventSource.(#5915)
Improved JSON numeric serialization throughput on .NET 10 and later by formatting
directly into the UTF-8 output buffer.
(#5941)
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-rc.1
NuGet: OpenTelemetry.Instrumentation.Process v1.21.0-rc.1
Updated Semantic Conventions version to
1.45.0.(#5833)
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-beta.2
NuGet: OpenTelemetry.Instrumentation.EntityFrameworkCore v1.21.0-beta.2
server.addressandpeer.servicebeing set to a meaningless value, suchas the first directory of the path, from the path to the database file when using
SQLite. These attributes are no longer set for SQLite.
(#6076)
See CHANGELOG for details.
1.21.0-beta.1
NuGet: OpenTelemetry.Extensions.Enrichment v1.21.0-beta.1
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.21.0-alpha.1
NuGet: OpenTelemetry.Instrumentation.EventCounters v1.21.0-alpha.1
Breaking Change Dropped support for
net8.0andnet9.0.(#3867)
Add support for .NET 11.0.
(#3867)
Updated OpenTelemetry core component version(s) to
1.21.0.(#5969)
See CHANGELOG for details.
1.20.3
NuGet: OpenTelemetry.Extensions.AWS v1.20.3
Fixed
AddXRayTraceId()andAddXRayTraceIdWithSampler()not replacingtrace IDs when targeting .NET Framework or .NET Standard. The X-Ray ID
generator now uses
Activity.TraceIdGeneratoron all target frameworks.As a result,
AWSXRayIdGenerator.ReplaceTraceId()is now public on alltarget frameworks, and
AddXRayTraceIdWithSampler()andAWSXRayIdGenerator.ReplaceTraceId(Sampler)are now obsolete on alltarget frameworks.
(#5809)
No longer throw and catch an exception in
AWSXRayPropagatorfor anX-Amzn-Trace-Idheader with upper case or padded hexadecimal identifiers,or with a trace or parent identifier of all zeros.
(#5825)
Fixed
AWSXRayPropagatorusing the value of a field of theX-Amzn-Trace-Idheader whose name only starts with
Root,ParentorSampled.(#5825)
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWS v1.20.3
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWSLambda v1.20.3
No notable changes.
See CHANGELOG for details.
1.20.2
NuGet: OpenTelemetry.Extensions.AWS v1.20.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWS v1.20.2
No notable changes.
See CHANGELOG for details.
NuGet: OpenTelemetry.Instrumentation.AWSLambda v1.20.2
server.addressandserver.portnot being recorded correctly for HTTPrequests with an IPv6 address in the
Hostheader (e.g.[::1]:8080).(#5788)
See [CHANGELOG](https://github.com/open-telemetry/open...
Description has been truncated