For highlights and announcements pertaining to this release see: Release Notes > 1.13.0.
The following changes are from the previous release 1.12.0.
-
NuGet: OpenTelemetry v1.13.0
-
Added a verification to ensure that a
MetricReader
can only be registered
to a singleMeterProvider
, as required by the OpenTelemetry specification.
(#6458) -
Added
FormatMessage
configuration option to self-diagnostics feature. When
set totrue
(default is false), log messages will be formatted by replacing
placeholders with actual parameter values for improved readability.Example
OTEL_DIAGNOSTICS.json
:{ "LogDirectory": ".", "FileSize": 32768, "LogLevel": "Warning", "FormatMessage": true }
-
Fixed parsing of
OTEL_TRACES_SAMPLER_ARG
decimal values to always use.
as the delimiter when using thetraceidratio
sampler, preventing
locale-specific parsing issues.
(#6444)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.13.0
-
Added
AddLink(SpanContext, SpanAttributes?)
toTelemetrySpan
to support
linking spans and associating optional attributes for advanced trace relationships.
(#6305) -
Experimental (only in pre-release versions): Added the
EventName
property
toLogRecordData
(#6306)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.13.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Console v1.13.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.InMemory v1.13.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.13.0
-
Fixed an issue in .NET Framework where OTLP export of traces, logs, and
metrics usingOtlpExportProtocol.Grpc
did not correctly set the initial
write position, resulting in gRPC protocol errors.
(#6280) -
If
EventName
is specified either throughILogger
or the experimental
log bridge API, it is exported asEventName
by default instead of
logrecord.event.name
which was previously behind the
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EVENT_LOG_ATTRIBUTES
feature flag.
Note that exportinglogrecord.event.id
is still behind that same feature
flag. (#6306) -
gRPC calls to export traces, logs, and metrics using
OtlpExportProtocol.Grpc
now set theTE=trailers
HTTP request header to improve interoperability.
(#6449) -
Improved performance exporting
byte[]
attributes as native binary format
instead of arrays.
(#6534)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.13.0
-
Removed the peer service resolver, which was based on earlier experimental
semantic conventions that are not part of the stable specification. This
change ensures that the exporter no longer modifies or assumes the value of
peer service attributes.
(#6191) -
Extended remote endpoint calculation to align with the opentelemetry-specification.
(#6191)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Extensions.Hosting v1.13.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Propagators v1.13.0
No notable changes.
See CHANGELOG for details.