Skip to content

fix(deps): update module github.com/prometheus/common to v0.64.0 #39729

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

Merged
merged 2 commits into from
Jun 2, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 29, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/common v0.63.0 -> v0.64.0 age adoption passing confidence
github.com/prometheus/common v0.62.0 -> v0.64.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

prometheus/common (github.com/prometheus/common)

v0.64.0

Compare Source

What's Changed

New Contributors

Full Changelog: prometheus/common@v0.63.0...v0.64.0


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file renovatebot labels Apr 29, 2025
Copy link
Contributor Author

renovate bot commented Apr 29, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: testbed/go.sum
Command failed: go get -d -t ./...
go: downloading go1.23.7 (linux/amd64)
go: download go1.23.7: golang.org/[email protected]: verifying module: checksum database disabled by GOSUMDB=off

@songy23
Copy link
Member

songy23 commented May 23, 2025

There's still breaking change unfortunately /cc @ArthurSens

Error: /home/runner/go/pkg/mod/github.com/prometheus/[email protected]/util/logging/file.go:48:23: undefined: promslog.AllowedFormat

@songy23 songy23 added never stale Issues marked with this label will be never staled and automatically removed and removed Stale labels May 23, 2025
@codeboten
Copy link
Contributor

There's still breaking change unfortunately /cc @ArthurSens

Error: /home/runner/go/pkg/mod/github.com/prometheus/[email protected]/util/logging/file.go:48:23: undefined: promslog.AllowedFormat

Tried bumping the prometheus package to 0.303.1, am getting data race failures locally, will see if CI is any different... tried bumping to 0.304 but that caused more API changes

@@ -156,3 +156,5 @@ retract (
)

replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20250218202821-56aae31c358a

exclude github.com/envoyproxy/go-control-plane/envoy v1.32.3
Copy link
Contributor

Choose a reason for hiding this comment

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

this package causes checksum failures

Copy link
Contributor

Choose a reason for hiding this comment

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

ended up submitting the change for this in a separate PR: #40251

@codeboten
Copy link
Contributor

Looks like the race condition persists when upgrading to 303.1

@songy23
Copy link
Member

songy23 commented May 23, 2025

For context the data race was mentioned here: #40103 (comment)

@ArthurSens
Copy link
Member

Data race is being fixed in prometheus/prometheus#16623, and will be added to a patch release of 3.4 if I'm understanding correctly.

To unblock this upgrade, we'll need to upgrade the prometheus dependency from 0.302.1 to 0.304.x

@codeboten
Copy link
Contributor

Any indication of when the patch release might land? Upgrading this dependency is blocking the upgrade of the otel go package

@ArthurSens
Copy link
Member

Any indication of when the patch release might land? Upgrading this dependency is blocking the upgrade of the otel go package

I don't have this information right now, I'll go after it!

@renovate renovate bot force-pushed the renovate/g.yxqyang.asia-prometheus-common-0.x branch from d08f8b0 to 292a188 Compare June 2, 2025 17:31
@renovate renovate bot changed the title Update module github.com/prometheus/common to v0.64.0 fix(deps): update module github.com/prometheus/common to v0.64.0 Jun 2, 2025
@songy23 songy23 closed this Jun 2, 2025
@songy23 songy23 reopened this Jun 2, 2025
@songy23 songy23 merged commit 5a34fb7 into main Jun 2, 2025
177 checks passed
@songy23 songy23 deleted the renovate/g.yxqyang.asia-prometheus-common-0.x branch June 2, 2025 18:37
@github-actions github-actions bot added this to the next release milestone Jun 2, 2025
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
…n-telemetry#39729)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/common](https://redirect.github.com/prometheus/common)
| `v0.63.0` -> `v0.64.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.63.0/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.63.0/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/prometheus/common](https://redirect.github.com/prometheus/common)
| `v0.62.0` -> `v0.64.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.62.0/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.62.0/v0.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>

###
[`v0.64.0`](https://redirect.github.com/prometheus/common/releases/tag/v0.64.0)

[Compare
Source](https://redirect.github.com/prometheus/common/compare/v0.63.0...v0.64.0)

#### What's Changed

- Add deprecation notice to otlptranslator by
[@&open-telemetry#8203;ArthurSens](https://redirect.github.com/ArthurSens) in
[https://github.com/prometheus/common/pull/773](https://redirect.github.com/prometheus/common/pull/773)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/common/pull/774](https://redirect.github.com/prometheus/common/pull/774)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/common/pull/775](https://redirect.github.com/prometheus/common/pull/775)
- Update Go by [@&open-telemetry#8203;SuperQ](https://redirect.github.com/SuperQ) in
[https://github.com/prometheus/common/pull/770](https://redirect.github.com/prometheus/common/pull/770)
- chore: Upgrade golangci-lint to v2 by
[@&open-telemetry#8203;kakkoyun](https://redirect.github.com/kakkoyun) in
[https://github.com/prometheus/common/pull/779](https://redirect.github.com/prometheus/common/pull/779)
- build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/777](https://redirect.github.com/prometheus/common/pull/777)
- build(deps): bump google.golang.org/protobuf from 1.36.5 to 1.36.6 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/776](https://redirect.github.com/prometheus/common/pull/776)
- promslog: Use the default timezone (again) by
[@&open-telemetry#8203;beorn7](https://redirect.github.com/beorn7) in
[https://github.com/prometheus/common/pull/739](https://redirect.github.com/prometheus/common/pull/739)
- Synchronize common files from prometheus/prometheus by
[@&open-telemetry#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/common/pull/787](https://redirect.github.com/prometheus/common/pull/787)
- build(deps): bump github.com/prometheus/client_model from 0.6.1 to
0.6.2 by [@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/784](https://redirect.github.com/prometheus/common/pull/784)
- build(deps): bump golang.org/x/oauth2 from 0.28.0 to 0.29.0 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/785](https://redirect.github.com/prometheus/common/pull/785)
- build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/786](https://redirect.github.com/prometheus/common/pull/786)
- refactor(promslog): make `NewNopLogger()` wrapper around `New()` by
[@&open-telemetry#8203;tjhop](https://redirect.github.com/tjhop) in
[https://github.com/prometheus/common/pull/783](https://redirect.github.com/prometheus/common/pull/783)
- build(deps): bump golang.org/x/oauth2 from 0.29.0 to 0.30.0 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/common/pull/788](https://redirect.github.com/prometheus/common/pull/788)

#### New Contributors

- [@&open-telemetry#8203;kakkoyun](https://redirect.github.com/kakkoyun) made their
first contribution in
[https://github.com/prometheus/common/pull/779](https://redirect.github.com/prometheus/common/pull/779)

**Full Changelog**:
prometheus/common@v0.63.0...v0.64.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjQwLjMzLjYiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants