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
... (truncated)
Commits
494323b Update CHANGELOG for 1.5.0 (core)/ 1.5.0-beta.1 (non-core) release (#4545)
b9a0138 [inmemory-exporter] Add extension on LoggerProviderBuilder (#4541)
e67d44e [AOT] Resolve ConfigurationExtensions and EventSource warnings (#4534)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps OpenTelemetry from 1.4.0 to 1.5.0.
Release notes
Sourced from OpenTelemetry's releases.
... (truncated)
Commits
494323b
Update CHANGELOG for 1.5.0 (core)/ 1.5.0-beta.1 (non-core) release (#4545)b9a0138
[inmemory-exporter] Add extension on LoggerProviderBuilder (#4541)e67d44e
[AOT] Resolve ConfigurationExtensions and EventSource warnings (#4534)e787019
Update ExponentialHistogram Benchmarks (#4539)1e60488
Add CHANGELOG entry for removing Exemplars (#4536)9b5c483
[hosting-logs] Don't register ILogger when calling WithLogging (#4535)ccfbcc6
Mark Exemplars internal (#4533)0ddbdb4
[di] Expose a detached LoggerProviderBuilder extension on IServiceCollection ...2f77b31
Analysis of the imprecision of MapToIndex (#4509)6259af0
Exponential histogram benchmarks (#4332)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)