The following changes are from the previous release 1.15.3.
-
NuGet: OpenTelemetry v1.16.0-rc.1
-
Stop validating View-provided metric stream
Nameagainst the instrument
name syntax, per
spec clarification.
(#7300) -
Fix incorrect validation of
OTEL_BSP_*andOTEL_BLRP_*environment
variables.
(#7187) -
Fix observable instrument callbacks running once per reader instead of
once per collection cycle.
(#7188) -
Added exception safety for user-supplied
ExemplarReservoirimplementations.
Exceptions thrown fromOfferare now caught and logged rather than propagating
out ofCounter.Add/Histogram.Record.
(#7277) -
Update
OpenTelemetrySdkEventSourceto support the W3C randomness flag.
(#7301) -
Added
ObservedTimestampproperty toLogRecord.
(#6979) -
Breaking Change Explicit histogram boundaries no longer allow more than
10 million values.
(#7165) -
Fixed a circular reference which could cause a
LoggerProviderto fail to
resolve when one of its dependencies depends onILoggerorILoggerFactory.
As part of this fix theLoggerProviderresolved from dependency injection
is now created lazily when the first logger is created rather than when
ILoggerProviderorILoggerFactoryis resolved. A consequence is that any
invalid configuration now surfaces when the first log record is written instead
of when the logging services are resolved.
(#7308)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api v1.16.0-rc.1
-
Experimental (pre-release builds only):
Add support for using environment variables as context propagation carriers.
(#7174) -
Fix
BaggagePropagatorto correctly follow Key and Value Encoding rules as per
the W3C Baggage specification.
#7051 -
Update
TraceContextPropagatorto support the W3C randomness flag.
(#7301) -
Fixed
TraceContextPropagatorto deduplicate duplicatetracestatekeys
instead of discarding the entiretracestateheader.
(#7309) -
Breaking change (pre-release only versions): The default value of
theTimestampproperty onLogRecordDatahas changed fromDateTime.UtcNow
toDateTime.MinValue.DateTime.MinValuerepresents an unset timestamp as
defined by the OpenTelemetry specification. Callers of the Logs API
who relied on the timestamp being populated automatically must now set
Timestamp = DateTime.UtcNowexplicitly on theirLogRecordDatainstance.
(#7045) -
Added
ObservedTimestampproperty toLogRecordData. Note thatLogRecordData
is only public in pre-release versions of the package.
(#6979)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Api.ProviderBuilderExtensions v1.16.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.Console v1.16.0-rc.1
ObservedTimestampwill now be exported for logs.
(#6979)
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.InMemory v1.16.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Exporter.OpenTelemetryProtocol v1.16.0-rc.1
-
Fixed
NullReferenceExceptionwhen exporting logs if the scope key is null.
(#7186) -
Added opt-in support for gzip compression. Compression can be configured
programmatically via the newOtlpExporterOptions.Compressionproperty,
or through the environment variables such asOTEL_EXPORTER_OTLP_COMPRESSION=gzip.
(#7055) -
Fixed disk retry data being stored incorrectly when using persistent storage
retry.
(#7228) -
Reverted
OtlpLogExporterfrom usingIHttpClientFactoryon .NET 8+ to fix
an issue with circular dependencies detected by some dependency injection
container implementations such as Autofac.
(#7234) -
Fixed
OtlpLogExporterintegration withIHttpClientFactoryso named clients
can be used without triggering circular dependencies during logger construction.
(#7298) -
Reduce the overhead of GZip compression.
(#7275) -
Cached pre-serialized resource bytes to avoid re-encoding on every OTLP export.
(#7303) -
Do not enable the integration with
IHttpClientFactorywhen mTLS is enabled.
(#7305) -
Handle
Retry-Afterresponse headers that specify a date instead of a delay.
(#7364) -
observed_time_unix_nanowill no longer always be identical totime_unix_nano
when using the logs bridge API. By default, it will instead be set to the actual
observed time of the log record.
(#6979) -
Fixed the retry deadline check so a
Retry-Afterdelay (whether a delta or an
HTTP-date) that would extend a retry beyond the configured export timeout now
correctly fails fast and drops the data.
(#7375)
See CHANGELOG for details.
-
-
NuGet: OpenTelemetry.Exporter.Zipkin v1.16.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Hosting v1.16.0-rc.1
No notable changes.
See CHANGELOG for details.
-
NuGet: OpenTelemetry.Extensions.Propagators v1.16.0-rc.1
No notable changes.
See CHANGELOG for details.