1.5.0-rc.1 #4521
utpilla
announced in
Announcements
1.5.0-rc.1
#4521
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
OpenTelemetry
The default resource provided by
ResourceBuilder.CreateDefault()now addsthe
telemetry.sdk.*attributes defined in thespecification.
(#4369)
Fixed an issue with
HashCodecomputations throwing exceptions on .NETStandard 2.1 targets.
(#4362)
Update value of the resource attribute
telemetry.sdk.versionto show the tagname which resembles the package version of the SDK.
(#4375)
Obsoleted
StateandStateValuesproperties and addedBodyandAttributesproperties onLogRecord. Note:LogRecord.AttributesandLogRecord.StateValuespoint to the same data. "Attributes" is what theOpenTelemetry Specification defines so this was changed for clarity &
consistency with the specification.
(#4334)
Tweaked the behavior of the
OpenTelemetryLoggerOptions.ParseStateValuesflag:
LogRecord.Attributes(akaLogRecord.StateValues) are now automaticallyincluded for all log messages with states implementing
IReadOnlyListorIEnumerable.OpenTelemetryLoggerOptions.ParseStateValuesis now used to tell the SDK toparse (using reflection) attributes for custom states which do not implement
IReadOnlyListorIEnumerable. Only top-level properties are included.LogRecord.Statewill only be set to the raw state object if no attributesare found.
See #4334
for details.
If a template (
{OriginalFormat}attribute) cannot be found on log messages aformatted message will now automatically be generated (even if
OpenTelemetryLoggerOptions.IncludeFormattedMessageis set tofalse).(#4334)
OpenTelemetry.Api.ProviderBuilderExtensions
Fixed a bug which prevented the
TracerProviderBuilder.AddInstrumentation(IServiceProvider, TracerProvider)factory extension from being called during construction of the SDK
TracerProvider.(#4468)
Added an
IServiceCollection.ConfigureOpenTelemetryTracerProvideroverloadwhich may be used to configure
TracerProviderBuilders while theIServiceCollectionis modifiable (before theIServiceProviderhas beencreated).
(#4508)
OpenTelemetry.Exporter.Console
Added direct reference to
System.Text.Encodings.Webwith minimum version of4.7.2in response to CVE-2021-26701.Updated
LogRecordconsole output:Bodyis now shown (if set),StateValuesare now written asAttributes, andStateis no longerprocessed.
(#4334)
OpenTelemetry.Exporter.Jaeger
System.Text.Encodings.Webwith minimum version of4.7.2in response to CVE-2021-26701.OpenTelemetry.Exporter.OpenTelemetryProtocol
Google.Protobufto3.19.4(see#4201).
This also reintroduces the
System.Reflection.Emit.Lightweightdependency.(#4407)
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
The
OpenTelemetryLoggerOptions.AddOtlpExporterextension no longerautomatically sets
OpenTelemetryLoggerOptions.ParseStateValuestotrue.The OpenTelemetry SDK now automatically sets
Attributes(akaStateValues)for the common cases where
ParseStateValueswas previously required.ParseStateValuescan be set totruemanually by users to enable parsing ofcustom states which do not implement
IReadOnlyList/IEnumerableinterfaces.
(#4334)
Updated to use the new
LogRecord.Attributesfield asLogRecord.StateValuesis now marked obsolete. There is no impact to transmitted data (
StateValuesand
Attributesare equivalent).(#4334)
Fixed issue where the
observed time
field of the OTLP log record was not set. It is now correctly set to equal
the
time
field.
(#4444)
OpenTelemetry.Exporter.Zipkin
System.Text.Encodings.Webwith minimum version of4.7.2in response to CVE-2021-26701.This discussion was created from the release 1.5.0-rc.1.
Beta Was this translation helpful? Give feedback.
All reactions