Releases: open-telemetry/opentelemetry-dotnet
core-1.10.0-beta.1
The following changes are from the previous release 1.9.0.
-
NuGet: OpenTelemetry v1.10.0-beta.1
-
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 targeting
IOpenTelemetryBuilder.
(#5325) -
Updated the
Microsoft.Extensions.Logging.Configurationand
Microsoft.Extensions.Diagnostics.Abstractionspackages version to
9.0.0-rc.1.24431.7.
(#5853) -
Added support in metrics for histogram bucket boundaries set via the .NET 9
InstrumentAdvice<T>
API.Note: With this change explicit bucket histogram boundary resolution will
apply in the following order:- View API
- Advice API
- SDK defaults
See #5854
for details. -
Added support for collecting metrics emitted via the .NET 9
Gauge<T>
API.
(#5867)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.10.0-beta.1
-
Breaking change: CompositeTextMapPropagator.Fields now returns a
unioned set of fields from all combined propagators. Previously this always
returned an empty set.
(#5745) -
Optimize performance of
TraceContextPropagator.Extract.
(#5749) -
Obsoleted the
ActivityExtensions.GetStatusand
ActivityExtensions.SetStatusextension methods. Users should migrate to the
System.Diagnostics.DiagnosticSource
Activity.SetStatus
API for setting the status and
Activity.Status
&
Activity.StatusDescription
APIs for reading the status of anActivityinstance.
(#5781) -
Updated
System.Diagnostics.DiagnosticSourcepackage version to
9.0.0-rc.1.24431.7.
(#5853) -
Obsoleted the
ActivityExtensions.RecordExceptionextension method. Users
should migrate to theSystem.Diagnostics.DiagnosticSource
Activity.AddException
API for adding exceptions on anActivityinstance.
(#5841)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.10.0-beta.1
- Updated
Microsoft.Extensions.DependencyInjection.Abstractionspackage
version to9.0.0-rc.1.24431.7.
(#5853)
See CHANGELOG for details.
- Updated
-
NuGet: OpenTelemetry.Exporter.Console v1.10.0-beta.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.InMemory v1.10.0-beta.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.10.0-beta.1
-
Breaking change: Non-primitive attribute (logs) and tag (traces) values
converted usingConvert.ToStringwill now format using
CultureInfo.InvariantCulture.
(#5700) -
Fixed an issue causing
NotSupportedExceptions to be thrown on startup when
AddOtlpExporterregistration extensions are called while using custom
dependency injection containers which automatically create services (Unity,
Grace, etc.).
(#5808)- Fixed
PlatformNotSupportedExceptions being thrown during export when running
on mobile platforms which caused telemetry to be dropped silently.
(#5821)
- Fixed
-
Updated
Microsoft.Extensions.Hosting.Abstractionspackage
version to9.0.0-rc.1.24431.7.
(#5853)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.10.0-beta.1
-
Breaking change: Non-primitive tag values converted using
Convert.ToStringwill now format usingCultureInfo.InvariantCulture.
(#5700) -
Fixed
PlatformNotSupportedExceptions being thrown during export when running
on mobile platforms which caused telemetry to be dropped silently.
(#5821)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Extensions.Hosting v1.10.0-beta.1
- Updated
Microsoft.Extensions.Hosting.Abstractionspackage
version to9.0.0-rc.1.24431.7.
(#5853)
See CHANGELOG for details.
- Updated
-
NuGet: OpenTelemetry.Extensions.Propagators v1.10.0-beta.1
No notable changes.
See CHANGELOG for details.
coreunstable-1.9.0-beta.2
-
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-beta.2
- Fixed a bug which lead to empty responses when the internal buffer is resized
processing a collection request
(#5676)
See CHANGELOG for details.
- Fixed a bug which lead to empty responses when the internal buffer is resized
-
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-beta.2
- Fixed a bug which lead to empty responses when the internal buffer is resized
processing a collection request
(#5676)
See CHANGELOG for details.
- Fixed a bug which lead to empty responses when the internal buffer is resized
-
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-beta.2
No notable changes.
See CHANGELOG for details.
core-1.9.0
For highlights and announcements pertaining to this release see: Release Notes > 1.9.0.
The following changes are from the previous release 1.9.0-rc.1.
-
NuGet: OpenTelemetry v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Api v1.9.0
- Breaking change: Revert space character encoding change from
+to%20
for baggage item values from #5303
(#5687)
See CHANGELOG for details.
- Breaking change: Revert space character encoding change from
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Console v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.InMemory v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Hosting v1.9.0
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Propagators v1.9.0
No notable changes.
See CHANGELOG for details.
coreunstable-1.9.0-beta.1
-
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-beta.1
No notable changes.
See CHANGELOG for details.
core-1.9.0-rc.1
The following changes are from the previous release 1.9.0-alpha.1.
-
NuGet: OpenTelemetry v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilderAddProcessor&ConfigureResourceextensions, and
LoggerProviderForceFlush&Shutdownextensions) will now be part of the
public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Api v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000(LoggerProvider,
LoggerProviderBuilder, &IDeferredLoggerProviderBuilder) will now be part
of the public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilderAddInstrumentation&ConfigureServicesextensions
andIServiceCollection.ConfigureOpenTelemetryLoggerProviderextension) will
now be part of the public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Exporter.Console v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilder.AddConsoleExporterextension) will now be part of the
public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Exporter.InMemory v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilder.AddInMemoryExporterextension) will now be part of
the public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(LoggerProviderBuilder.AddOtlpExporterextension) will now be part of the
public API and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.9.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Hosting v1.9.0-rc.1
- The experimental APIs previously covered by
OTEL1000
(OpenTelemetryBuilder.WithLoggingmethod) will now be part of the public API
and supported in stable builds.
(#5648)
See CHANGELOG for details.
- The experimental APIs previously covered by
-
NuGet: OpenTelemetry.Extensions.Propagators v1.9.0-rc.1
No notable changes.
See CHANGELOG for details.
coreunstable-1.9.0-alpha.2
-
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-alpha.2
- Fixed issue with OpenMetrics suffixes for Prometheus
(#5646)
See CHANGELOG for details.
- Fixed issue with OpenMetrics suffixes for Prometheus
-
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-alpha.2
- Fixed issue with OpenMetrics suffixes for Prometheus
(#5646)
See CHANGELOG for details.
- Fixed issue with OpenMetrics suffixes for Prometheus
-
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-alpha.2
No notable changes.
See CHANGELOG for details.
coreunstable-1.9.0-alpha.1
-
NuGet: OpenTelemetry.Exporter.Prometheus.AspNetCore v1.9.0-alpha.1
- Fixed an issue with corrupted buffers when reading both OpenMetrics and
plain text formats from Prometheus exporters.
(#5623)
See CHANGELOG for details.
- Fixed an issue with corrupted buffers when reading both OpenMetrics and
-
NuGet: OpenTelemetry.Exporter.Prometheus.HttpListener v1.9.0-alpha.1
- Fixed an issue with corrupted buffers when reading both OpenMetrics and
plain text formats from Prometheus exporters.
(#5623)
See CHANGELOG for details.
- Fixed an issue with corrupted buffers when reading both OpenMetrics and
-
NuGet: OpenTelemetry.Shims.OpenTracing v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
core-1.9.0-alpha.1
-
NuGet: OpenTelemetry v1.9.0-alpha.1
-
Experimental (pre-release builds only): Exposed
ExemplarReservoiras a
public API and added support for setting anExemplarReservoirfactory
function when configuring a view (applies to individual metrics).
(#5542) -
Fixed a race condition for the experimental MetricPoint reclaim scenario
(enabled viaOTEL_DOTNET_EXPERIMENTAL_METRICS_RECLAIM_UNUSED_METRIC_POINTS)
which could have led to a measurement being dropped.
(#5546) -
Experimental (pre-release builds only): Exposed
FixedSizeExemplarReservoiras a public API to support custom implementations
ofExemplarReservoirwhich may be configured using the
ExemplarReservoirFactoryproperty on the View API.
(#5558) -
The experimental APIs previously covered by
OTEL1002(Exemplar,
ExemplarFilterType,MeterProviderBuilder.SetExemplarFilter,
ReadOnlyExemplarCollection,ReadOnlyFilteredTagCollection, &
MetricPoint.TryGetExemplars) will now be part of the public API and
supported in stable builds.
(#5607) -
Fixed the nullable annotations for the
SamplingResultconstructors
to allownullbeing supplied asattributesortraceStateString
which has always been supported.
(#5614) -
The
ExemplarFilterused by SDKMeterProviders for histogram metrics can
now be controlled via the experimental
OTEL_DOTNET_EXPERIMENTAL_METRICS_EXEMPLAR_FILTER_HISTOGRAMSenvironment
variable. The supported values are:always_off,always_on, and
trace_based.
(#5611)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.9.0-alpha.1
- Breaking change: Fix space character encoding from
+to%20
for baggage item values when propagating baggage as defined in
W3C Baggage propagation format specification.
(#5303)
See CHANGELOG for details.
- Breaking change: Fix space character encoding from
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Console v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.InMemory v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.9.0-alpha.1
-
User-Agentheader format changed from
OTel-OTLP-Exporter-Dotnet/{NuGet Package Version}+{Commit Hash}
toOTel-OTLP-Exporter-Dotnet/{NuGet Package Version}.
(#5528) -
Implementation of OTLP
specification
for propagatingSpanandSpanLinkflags containing W3C trace flags and
parent_is_remoteinformation.
(#5563) -
Introduced experimental support for automatically retrying export to the otlp
endpoint by storing the telemetry offline during transient network errors.
Users can enable this feature by setting the
OTEL_DOTNET_EXPERIMENTAL_OTLP_RETRYenvironment variable todisk. The
default path where the telemetry is stored is obtained by calling
Path.GetTempPath()
or can be customized by setting
OTEL_DOTNET_EXPERIMENTAL_OTLP_DISK_RETRY_DIRECTORY_PATHenvironment
variable.
(#5527)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Hosting v1.9.0-alpha.1
- Reverted obsoletion of
OpenTelemetryBuilder.
(#5571)
See CHANGELOG for details.
- Reverted obsoletion of
-
NuGet: OpenTelemetry.Extensions.Propagators v1.9.0-alpha.1
No notable changes.
See CHANGELOG for details.
core-1.8.1
OpenTelemetry
- Fixed an issue in Logging where unwanted objects (processors, exporters, etc.)
could be created inside delegates automatically executed by the Options API
during configuration reload.
(#5514)
OpenTelemetry.Exporter.OpenTelemetryProtocol
- Fix native AoT warnings in
OpenTelemetry.Exporter.OpenTelemetryProtocol.
(#5520)
Instrumentation.Http-1.8.1
OpenTelemetry.Instrumentation.Http
- Breaking Change: Fixed tracing instrumentation so that by default any
values detected in the query string component of requests are replaced with
the textRedactedwhen building theurl.fulltag. For example,
?key1=value1&key2=value2becomes?key1=Redacted&key2=Redacted. You can
disable this redaction by setting the environment variable
OTEL_DOTNET_EXPERIMENTAL_HTTPCLIENT_DISABLE_URL_QUERY_REDACTIONtotrue.
(#5532)