The following changes are from the previous release 1.10.0-beta.1.
-
NuGet: OpenTelemetry v1.10.0-rc.1
-
The experimental APIs previously covered by
OTEL1003
(MetricStreamConfiguration.CardinalityLimit
) are now part of the public API
and supported in stable builds.
(#5926) -
Promoted overflow attribute from experimental to stable and removed the
OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTE
environment variable.Previous Behavior:
By default, when the cardinality limit was reached, measurements were dropped,
and an internal log was emitted the first time this occurred. Users could
opt-in to experimental overflow attribute feature with
OTEL_DOTNET_EXPERIMENTAL_METRICS_EMIT_OVERFLOW_ATTRIBUTE=true
.
With this setting, the SDK would use an overflow attribute
(otel.metric.overflow = true
) to aggregate measurements instead of dropping
measurements. No internal log was emitted in this case.New Behavior:
The SDK now always uses the overflow attribute (otel.metric.overflow = true
)
to aggregate measurements when the cardinality limit is reached. The previous
approach of dropping measurements has been removed. No internal logs are
emitted when the limit is hit.The default cardinality limit remains 2000 per metric. To set the cardinality
limit for an individual metric, use the changing cardinality limit for a
Metric.There is NO ability to revert to old behavior.
(#5909) -
Exposed a
public
constructor onBatch<T>
which accepts a single instance
ofT
to be contained in the batch.
(#5642)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Console v1.10.0-rc.1
-
Added direct reference to
System.Text.Json
for thenet8.0
target with
minimum version of8.0.5
in response to
CVE-2024-30105 &
CVE-2024-43485.
(#5874,
#5891) -
Added support for Instrumentation Scope Attributes (i.e
ActivitySource.Tags)
when writing traces to the console.
(#5935)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.InMemory v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.10.0-rc.1
- Added support for exporting instrumentation scope attributes from
ActivitySource.Tags
.
(#5897)
See CHANGELOG for details.
- Added support for exporting instrumentation scope attributes from
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.10.0-rc.1
- Added direct reference to
System.Text.Json
for thenet8.0
target with
minimum version of8.0.5
in response to
CVE-2024-30105 &
CVE-2024-43485.
(#5874,
#5891)
See CHANGELOG for details.
- Added direct reference to
-
NuGet: OpenTelemetry.Extensions.Hosting v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Propagators v1.10.0-rc.1
No notable changes.
See CHANGELOG for details.