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:OpenTelemetry
configuration 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
redactedOTEL_RESOURCE_ATTRIBUTESvalue when it contained empty entries.
(#8104)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.21.0
- Update
System.Diagnostics.DiagnosticSourcedependency to11.0.0
for all target frameworks.
(#8066)
See CHANGELOG for details.
- Update
-
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
- Hardened the experimental disk retry feature.
- Breaking: When running on .NET on non-Windows platforms, creating the
exporter now throws anUnauthorizedAccessExceptionif the retry
directory could be changed by another user. The retry directory must be
owned by the current user and must not be writable by its group or by
other users. Each directory and symbolic link in its path must be owned by
the current user or by root, and those directories must not be writable
by their group or by other users unless they have the sticky bit set (such
as/tmp). These checks can be disabled by setting the new
OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_CHECK_PERMISSIONSsetting to
false.
(#7964)
- Breaking: When running on .NET on non-Windows platforms, creating the
See CHANGELOG for details.
- Hardened the experimental disk retry feature.
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.21.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Hosting v1.21.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Propagators v1.21.0
No notable changes.
See CHANGELOG for details.