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 opentelemetry group with 4 updates #1564

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps the opentelemetry group with 4 updates: opentelemetry, opentelemetry-prometheus, opentelemetry_sdk and opentelemetry-otlp.

Updates opentelemetry from 0.27.1 to 0.28.0

Release notes

Sourced from opentelemetry's releases.

0.28.0 Release

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

This release also upgrades

  • Logs API to stable
  • Logs-SDK, Logs OTLP exporter, Logs-Appender-Tracing to RC
  • Metrics-API to stable
  • Metrics-SDK, Metrics OTLP exporter to RC.

This release introduces several breaking changes as we progress toward a stable version for logs and metrics. We recommend reviewing the Migration Guide along with the changelogs to ensure a smooth upgrade.

Commits

Updates opentelemetry-prometheus from 0.27.0 to 0.28.0

Release notes

Sourced from opentelemetry-prometheus's releases.

0.28.0 Release

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

This release also upgrades

  • Logs API to stable
  • Logs-SDK, Logs OTLP exporter, Logs-Appender-Tracing to RC
  • Metrics-API to stable
  • Metrics-SDK, Metrics OTLP exporter to RC.

This release introduces several breaking changes as we progress toward a stable version for logs and metrics. We recommend reviewing the Migration Guide along with the changelogs to ensure a smooth upgrade.

opentelemetry-0.27.1 patch release

This release has improved internal logging to help with troubleshooting.

opentelemetry_sdk-0.27.1 patch release

Refer to opentelemetry-sdk CHANGELOG for the changes.

Commits

Updates opentelemetry_sdk from 0.27.1 to 0.28.0

Commits

Updates opentelemetry-otlp from 0.27.0 to 0.28.0

Release notes

Sourced from opentelemetry-otlp's releases.

0.28.0 Release

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

This release also upgrades

  • Logs API to stable
  • Logs-SDK, Logs OTLP exporter, Logs-Appender-Tracing to RC
  • Metrics-API to stable
  • Metrics-SDK, Metrics OTLP exporter to RC.

This release introduces several breaking changes as we progress toward a stable version for logs and metrics. We recommend reviewing the Migration Guide along with the changelogs to ensure a smooth upgrade.

opentelemetry-0.27.1 patch release

This release has improved internal logging to help with troubleshooting.

opentelemetry_sdk-0.27.1 patch release

Refer to opentelemetry-sdk CHANGELOG for the changes.

Commits

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

@dependabot dependabot bot requested a review from a team as a code owner February 17, 2025 05:29
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 17, 2025
Copy link
Contributor

@divviup-github-automation divviup-github-automation left a comment

Choose a reason for hiding this comment

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

Auto-approving dependabot PR.

Bumps the opentelemetry group with 4 updates: [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust), [opentelemetry-prometheus](https://github.com/open-telemetry/opentelemetry-rust), [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) and [opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust).


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

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

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

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

---
updated-dependencies:
- dependency-name: opentelemetry
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: opentelemetry-prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: opentelemetry_sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
- dependency-name: opentelemetry-otlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/main/opentelemetry-cc13317705 branch from 038681a to 94d6239 Compare February 17, 2025 05:36
This moves to a builder pattern for construction of the otel `Resource`. The
previous version used the Resource::default() constructor which gathered
attributes from environment variables; in 0.28 that is done via `builder()`
via it including the EnvResourceDetector [2].

[1] https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/migration_0.28.md#resource-changes
[2] https://github.com/open-telemetry/opentelemetry-rust/blob/189078d7a92e534d67137ffaed8e35456eaa589b/opentelemetry-sdk/src/resource/mod.rs#L62
@jcjones
Copy link
Contributor

jcjones commented Feb 18, 2025

This prompts a version mismatch for opentelemetry (v0.27.1 to v0.28.0) via trillium-opentelemetry, which will be resolved by releasing trillium-opentelemetry v0.11.0 (https://github.com/trillium-rs/trillium-opentelemetry/pull/104/files).

The version mismatch shows up as an unresolved import for thiserror:

cargo build
   Compiling opentelemetry v0.27.1
error[E0432]: unresolved import `thiserror`
  --> /Users/pug/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/propagation/mod.rs:23:5
   |
23 | use thiserror::Error;
   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`

error: cannot find attribute `error` in this scope
  --> /Users/pug/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opentelemetry-0.27.1/src/propagation/mod.rs:67:3
   |
67 | #[error("Cannot {} from {}, {}", ops, message, propagator_name)]
   |   ^^^^^

For more information about this error, try `rustc --explain E0432`.
error: could not compile `opentelemetry` (lib) due to 2 previous errors

But moving to the prerelease version of trillium-opentelemetry resolves it.

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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants