You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default resource provided by ResourceBuilder.CreateDefault() now adds
the telemetry.sdk.* attributes defined in the specification.
(#4369)
Fixed an issue with HashCode computations throwing exceptions on .NET
Standard 2.1 targets.
(#4362)
Update value of the resource attribute telemetry.sdk.version to show the tag
name which resembles the package version of the SDK.
(#4375)
Obsoleted State and StateValues properties and added Body and Attributes properties on LogRecord. Note: LogRecord.Attributes and LogRecord.StateValues point to the same data. "Attributes" is what the
OpenTelemetry Specification defines so this was changed for clarity &
consistency with the specification.
(#4334)
Tweaked the behavior of the OpenTelemetryLoggerOptions.ParseStateValues
flag:
LogRecord.Attributes (aka LogRecord.StateValues) are now automatically
included for all log messages with states implementing IReadOnlyList or IEnumerable.
OpenTelemetryLoggerOptions.ParseStateValues is now used to tell the SDK to
parse (using reflection) attributes for custom states which do not implement IReadOnlyList or IEnumerable. Only top-level properties are included.
LogRecord.State will only be set to the raw state object if no attributes
are found.
If a template ({OriginalFormat} attribute) cannot be found on log messages a
formatted message will now automatically be generated (even if OpenTelemetryLoggerOptions.IncludeFormattedMessage is set to false).
(#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.ConfigureOpenTelemetryTracerProvider overload
which may be used to configure TracerProviderBuilders while the IServiceCollection is modifiable (before the IServiceProvider has been
created).
(#4508)
OpenTelemetry.Exporter.Console
Added direct reference to System.Text.Encodings.Web with minimum version of 4.7.2 in response to CVE-2021-26701.
Updated LogRecord console output: Body is now shown (if set), StateValues are now written as Attributes, and State is no longer
processed.
(#4334)
OpenTelemetry.Exporter.Jaeger
Added direct reference to System.Text.Encodings.Web with minimum version of 4.7.2 in response to CVE-2021-26701.
OpenTelemetry.Exporter.OpenTelemetryProtocol
Revert version of Google.Protobuf to 3.19.4 (see #4201).
This also reintroduces the System.Reflection.Emit.Lightweight dependency.
(#4407)
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
The OpenTelemetryLoggerOptions.AddOtlpExporter extension no longer
automatically sets OpenTelemetryLoggerOptions.ParseStateValues to true.
The OpenTelemetry SDK now automatically sets Attributes (aka StateValues)
for the common cases where ParseStateValues was previously required. ParseStateValues can be set to true manually by users to enable parsing of
custom states which do not implement IReadOnlyList / IEnumerable
interfaces.
(#4334)
Updated to use the new LogRecord.Attributes field as LogRecord.StateValues
is now marked obsolete. There is no impact to transmitted data (StateValues
and Attributes are 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
Added direct reference to System.Text.Encodings.Web with minimum version of 4.7.2 in response to CVE-2021-26701.
This discussion was created from the release 1.5.0-rc.1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
OpenTelemetry
The default resource provided by
ResourceBuilder.CreateDefault()
now addsthe
telemetry.sdk.*
attributes defined in thespecification.
(#4369)
Fixed an issue with
HashCode
computations throwing exceptions on .NETStandard 2.1 targets.
(#4362)
Update value of the resource attribute
telemetry.sdk.version
to show the tagname which resembles the package version of the SDK.
(#4375)
Obsoleted
State
andStateValues
properties and addedBody
andAttributes
properties onLogRecord
. Note:LogRecord.Attributes
andLogRecord.StateValues
point 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.ParseStateValues
flag:
LogRecord.Attributes
(akaLogRecord.StateValues
) are now automaticallyincluded for all log messages with states implementing
IReadOnlyList
orIEnumerable
.OpenTelemetryLoggerOptions.ParseStateValues
is now used to tell the SDK toparse (using reflection) attributes for custom states which do not implement
IReadOnlyList
orIEnumerable
. Only top-level properties are included.LogRecord.State
will 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.IncludeFormattedMessage
is 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.ConfigureOpenTelemetryTracerProvider
overloadwhich may be used to configure
TracerProviderBuilder
s while theIServiceCollection
is modifiable (before theIServiceProvider
has beencreated).
(#4508)
OpenTelemetry.Exporter.Console
Added direct reference to
System.Text.Encodings.Web
with minimum version of4.7.2
in response to CVE-2021-26701.Updated
LogRecord
console output:Body
is now shown (if set),StateValues
are now written asAttributes
, andState
is no longerprocessed.
(#4334)
OpenTelemetry.Exporter.Jaeger
System.Text.Encodings.Web
with minimum version of4.7.2
in response to CVE-2021-26701.OpenTelemetry.Exporter.OpenTelemetryProtocol
Google.Protobuf
to3.19.4
(see#4201).
This also reintroduces the
System.Reflection.Emit.Lightweight
dependency.(#4407)
OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs
The
OpenTelemetryLoggerOptions.AddOtlpExporter
extension no longerautomatically sets
OpenTelemetryLoggerOptions.ParseStateValues
totrue
.The OpenTelemetry SDK now automatically sets
Attributes
(akaStateValues
)for the common cases where
ParseStateValues
was previously required.ParseStateValues
can be set totrue
manually by users to enable parsing ofcustom states which do not implement
IReadOnlyList
/IEnumerable
interfaces.
(#4334)
Updated to use the new
LogRecord.Attributes
field asLogRecord.StateValues
is now marked obsolete. There is no impact to transmitted data (
StateValues
and
Attributes
are 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.Web
with minimum version of4.7.2
in 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