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.
-
Bumped the package versions of
System.Diagnostic.DiagnosticSource
and other Microsoft.Extensions.* packages to9.0.0
. -
Added support for new APIs introduced in
System.Diagnostics.DiagnosticSource
9.0.0
:-
For details see: Explicit bucket histogram aggregation.
-
ActivitySource.Tags (supported in OtlpExporter & ConsoleExporter)
-
-
Experimental features promoted to stable:
-
CardinalityLimit
can 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_ATTRIBUTE
environment 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_POINTS
environment variable is no longer required. For details see: Cardinality Limits.
-
-
Added
OpenTelemetrySdk.Create
API 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.0
target and addednet9.0
target.
-
Exemplars
are now part of the stable API! For details see: customizing exemplars collection. -
WithLogging
is now part of the stable API! Logging, Metrics, and Tracing can now all be configured using theWith
style and the builders finally have parity in their APIs.
-
TracerProvider
sampler can now be configured via theOTEL_TRACES_SAMPLER
&OTEL_TRACES_SAMPLER_ARG
envvars. -
A new
UseOtlpExporter
cross-cutting extension has been added to register theOtlpExporter
and enable all signals in a single call. -
exception.type
,exception.message
,exception.stacktrace
will now automatically be included by theOtlpLogExporter
when 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.0
targets to all the components. -
OTLP Exporter
- Updated to use
ILogger
CategoryName
as 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.