Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump OpenTelemetry from 1.3.1 to 1.5.1 #2030

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 3, 2023

Bumps OpenTelemetry from 1.3.1 to 1.5.1.

Release notes

Sourced from OpenTelemetry's releases.

1.5.1

OpenTelemetry

  • Fixed a breaking change causing LogRecord.State to be null where it was previously set to a valid value when OpenTelemetryLoggerOptions.ParseStateValues is false and states implement IReadOnlyList or IEnumerable of KeyValuePair<string, object>s. (#4609)

  • Breaking Change Removed the support for parsing TState types passed to the ILogger.Log<TState> API when ParseStateValues is true and TState does not implement either IReadOnlyList<KeyValuePair<string, object>> or IEnumerable<KeyValuePair<string, object>>. This feature was first introduced in the 1.5.0 stable release with #4334 and has been removed because it makes the OpenTelemetry .NET SDK incompatible with native AOT. (#4614)

1.5.0-rc.1

OpenTelemetry

  • 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.

    See #4334 for details.

  • 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).

... (truncated)

Commits
  • 8d61691 [sdk-1.5.0-hotfix] Update CHANGELOG for release (#4615)
  • b03e031 [sdk-1.5.0-hotfix] Removed support for parsing custom log states using reflec...
  • ae03840 [sdk-1.5.0-hotfix] Fix LogRecord.State being null when TState matches known i...
  • 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)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.3.1 to 1.5.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](open-telemetry/opentelemetry-dotnet@core-1.3.1...core-1.5.1)

---
updated-dependencies:
- dependency-name: OpenTelemetry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 3, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 11, 2023

Superseded by #2046.

@dependabot dependabot bot closed this Sep 11, 2023
@dependabot dependabot bot deleted the dependabot/nuget/OpenTelemetry-1.5.1 branch September 11, 2023 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants