This file contains highlights and announcements covering all components.
For more details see CHANGELOG.md files maintained in the root source
directory of each individual package.
OpenTelemetry.Exporter.OpenTelemetryProtocolno longer depends on theGoogle.Protobuf,Grpc, orGrpc.Net.Clientpackages. Serialization and transmission of outgoing data is now performed manually to improve the overall performance.
-
Bumped the package versions of
System.Diagnostic.DiagnosticSourceand other Microsoft.Extensions.* packages to9.0.0. -
Added support for new APIs introduced in
System.Diagnostics.DiagnosticSource9.0.0:-
For details see: Explicit bucket histogram aggregation.
-
ActivitySource.Tags (supported in OtlpExporter & ConsoleExporter)
-
-
Experimental features promoted to stable:
-
CardinalityLimitcan now be managed for individual metrics via the View API. For details see: Changing cardinality limit for a Metric. -
The overflow attribute (
otel.metric.overflow) behavior is now enabled by default. TheOTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTEenvironment variable is no longer required. For details see: Cardinality Limits. -
The MetricPoint reclaim behavior is now enabled by default when Delta aggregation temporality is used. The
OTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTSenvironment variable is no longer required. For details see: Cardinality Limits.
-
-
Added
OpenTelemetrySdk.CreateAPI for configuring OpenTelemetry .NET signals (logging, tracing, and metrics) via a single builder. This new API simplifies bootstrap and teardown, and supports cross-cutting extensions targetingIOpenTelemetryBuilder. -
Removed out of support
net6.0target and addednet9.0target.
-
Exemplarsare now part of the stable API! For details see: customizing exemplars collection. -
WithLoggingis now part of the stable API! Logging, Metrics, and Tracing can now all be configured using theWithstyle and the builders finally have parity in their APIs.
-
TracerProvidersampler can now be configured via theOTEL_TRACES_SAMPLER&OTEL_TRACES_SAMPLER_ARGenvvars. -
A new
UseOtlpExportercross-cutting extension has been added to register theOtlpExporterand enable all signals in a single call. -
exception.type,exception.message,exception.stacktracewill now automatically be included by theOtlpLogExporterwhen logging exceptions. Previously an experimental environment variable had to be set.
-
Bumped the package versions of System.Diagnostic.DiagnosticSource and other Microsoft.Extensions.* packages to
8.0.0. -
Added
net8.0targets to all the components. -
OTLP Exporter
- Updated to use
ILoggerCategoryNameas the instrumentation scope for logs. - Added named options support for OTLP Log Exporter.
- Added support for instrumentation scope attributes in metrics.
- Added support under an experimental flag to emit log exception attributes.
- Added support under an experimental flag to emit log eventId and eventName. attributes.
- Updated to use
-
Added support for the IMetricsBuilder API.
-
Added an experimental opt-in metrics feature to reclaim unused MetricPoints which enables a higher number of unique dimension combinations to be emitted. See reclaim unused metric points for more details.