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 the otel group with 4 updates #124

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2024

Updates the requirements on opentelemetry, opentelemetry-otlp, opentelemetry_sdk and tracing-opentelemetry to permit the latest version.
Updates opentelemetry to 0.27.0

Release notes

Sourced from opentelemetry's releases.

0.27.0 Release

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.27.0 for this release).

This release also upgrades

  • Logs API to RC
  • Metrics API to RC
  • Metrics SDK to Beta
  • Metrics OTLP Exporter to Beta.
Commits
  • ade08cb Prepare for v0.27.0 - update Metrics API and Log(bridge) API to RC, Metrics S...
  • 648710e Move Views under feature flag (#2298)
  • 47d5016 Add PeriodicReaderWithOwnThread (#2292)
  • b833118 Rename logs_level_enabled flag to spec_unstable_logs_enabled (#2291)
  • 0cc2cd5 Add usage doc comment for AnyValue type (#2293)
  • 845cf21 Move Temporality enum opentelemetry_sdk::metrics::data:: to opentelemetry_sdk...
  • a707bb9 Update code documentation for Metric instruments (#2281)
  • c322a50 Histogram implementation cleanup (#2283)
  • 540c6f1 Few fixes to changelog for breaking changes (#2287)
  • 52f6d92 Remove Counter/Add benchmark for delta temporality (#2285)
  • Additional commits viewable in compare view

Updates opentelemetry-otlp to 0.27.0

Release notes

Sourced from opentelemetry-otlp's releases.

0.27.0 Release

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.27.0 for this release).

This release also upgrades

  • Logs API to RC
  • Metrics API to RC
  • Metrics SDK to Beta
  • Metrics OTLP Exporter to Beta.
Commits
  • ade08cb Prepare for v0.27.0 - update Metrics API and Log(bridge) API to RC, Metrics S...
  • 648710e Move Views under feature flag (#2298)
  • 47d5016 Add PeriodicReaderWithOwnThread (#2292)
  • b833118 Rename logs_level_enabled flag to spec_unstable_logs_enabled (#2291)
  • 0cc2cd5 Add usage doc comment for AnyValue type (#2293)
  • 845cf21 Move Temporality enum opentelemetry_sdk::metrics::data:: to opentelemetry_sdk...
  • a707bb9 Update code documentation for Metric instruments (#2281)
  • c322a50 Histogram implementation cleanup (#2283)
  • 540c6f1 Few fixes to changelog for breaking changes (#2287)
  • 52f6d92 Remove Counter/Add benchmark for delta temporality (#2285)
  • Additional commits viewable in compare view

Updates opentelemetry_sdk to 0.27.0

Release notes

Sourced from opentelemetry_sdk's releases.

0.27.0 Release

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.27.0 for this release).

This release also upgrades

  • Logs API to RC
  • Metrics API to RC
  • Metrics SDK to Beta
  • Metrics OTLP Exporter to Beta.
Commits
  • ade08cb Prepare for v0.27.0 - update Metrics API and Log(bridge) API to RC, Metrics S...
  • 648710e Move Views under feature flag (#2298)
  • 47d5016 Add PeriodicReaderWithOwnThread (#2292)
  • b833118 Rename logs_level_enabled flag to spec_unstable_logs_enabled (#2291)
  • 0cc2cd5 Add usage doc comment for AnyValue type (#2293)
  • 845cf21 Move Temporality enum opentelemetry_sdk::metrics::data:: to opentelemetry_sdk...
  • a707bb9 Update code documentation for Metric instruments (#2281)
  • c322a50 Histogram implementation cleanup (#2283)
  • 540c6f1 Few fixes to changelog for breaking changes (#2287)
  • 52f6d92 Remove Counter/Add benchmark for delta temporality (#2285)
  • Additional commits viewable in compare view

Updates tracing-opentelemetry to 0.28.0

Release notes

Sourced from tracing-opentelemetry's releases.

0.28.0

What's Changed

Changelog

Sourced from tracing-opentelemetry's changelog.

0.27.0 (October 9, 2024)

Breaking Changes

  • Upgrade to opentelemetry 0.26. Refer to the upstream changelog for more information.

0.26.0 (September 10, 2024)

Breaking Changes

  • Upgrade to opentelemetry 0.25. Refer to the upstream changelog for more information.

0.25.0 (July 21, 2024)

Breaking Changes

  • Upgrade to opentelemetry 0.24. Refer to the upstream changelog for more information.

Fixed

  • Invalidate sample decision on set parent (#153)
  • chore: fix on_close() comment (#148)

0.24.0 (May 24, 2024)

Breaking Changes

  • Upgrade to opentelemetry 0.23. Refer to the upstream changelog for more information.

Added

  • Added gauge metrics (#129)

Fixed

  • Fixed compilation on WASI targets (#147)
  • Set span end time when it exists (#124)

0.23.0 (February 26, 2024)

Breaking Changes

... (truncated)

Commits
  • f6fc075 chore: update msrv to 1.70.0
  • c61c66a chore: bump version to 0.28.0
  • b698047 chore: update opentelemetry dependencies to 0.27.0
  • 95f9ab9 Add level metadata to spans (#182)
  • ab629c3 adding support for setting the status of the span through SpanExt (#176)
  • 515fe00 Reduce locking in Layer::on_close
  • See full diff in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust), [opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust), [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) and [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry) to permit the latest version.

Updates `opentelemetry` to 0.27.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-0.26.0...opentelemetry-0.27.0)

Updates `opentelemetry-otlp` to 0.27.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-otlp-0.26.0...opentelemetry-otlp-0.27.0)

Updates `opentelemetry_sdk` to 0.27.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry_sdk-0.26.0...opentelemetry_sdk-0.27.0)

Updates `tracing-opentelemetry` to 0.28.0
- [Release notes](https://github.com/tokio-rs/tracing-opentelemetry/releases)
- [Changelog](https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md)
- [Commits](tokio-rs/tracing-opentelemetry@v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: opentelemetry
  dependency-type: direct:production
  dependency-group: otel
- dependency-name: opentelemetry-otlp
  dependency-type: direct:production
  dependency-group: otel
- dependency-name: opentelemetry_sdk
  dependency-type: direct:production
  dependency-group: otel
- dependency-name: tracing-opentelemetry
  dependency-type: direct:production
  dependency-group: otel
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 18, 2024 23:30
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 18, 2024
@cpiemontese
Copy link
Contributor

Updated following this migration guide: open-telemetry/opentelemetry-rust#2221

Delta between 0.26 and 0.27 here: open-telemetry/opentelemetry-rust@opentelemetry-otlp-0.26.0...opentelemetry-otlp-0.27.0

src/telemetry.rs Outdated

set_tracer_provider(tracer_provider.clone());

tracer_provider
.tracer_builder("prima-tracing")
let scope = InstrumentationScope::builder(env!("CARGO_PKG_NAME"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is correct according to the spec

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted to simply prima-tracing

.build()
.build();

tracer_provider.tracer_with_scope(scope)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to create a scope? I think that a scope is supposed to start at an entrypoint(eg. Http call). I think this will create a global scope, encompassing everything that happens to the application

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this is how they ported it in their PR 🤷‍♂️

We may not need to do it at all, but I think this was a "problem" before too

@cpiemontese cpiemontese merged commit 5695a47 into master Dec 3, 2024
7 checks passed
@cpiemontese cpiemontese deleted the dependabot/cargo/otel-c2f05d057d branch December 3, 2024 12:06
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.

2 participants