1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-10 22:31:50 +02:00

fix(deps): update module github.com/prometheus/client_golang to v1.22.0 (#6625)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://redirect.github.com/prometheus/client_golang)
| `v1.21.1` -> `v1.22.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.21.1/v1.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.21.1/v1.22.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/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.22.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.22.0):
- 2025-04-07

[Compare
Source](https://redirect.github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0)

⚠️ This release contains potential breaking change if you use
experimental `zstd` support introduce in
[#&#8203;1496](https://redirect.github.com/prometheus/client_golang/issues/1496)
⚠️

Experimental support for `zstd` on scrape was added, controlled by the
request `Accept-Encoding` header.
It was enabled by default since version 1.20, but now you need to add a
blank import to enable it.
The decision to make it opt-in by default was originally made because
the Go standard library was expected to have default zstd support added
soon,

[https://github.com/golang/go/issues/62513](https://redirect.github.com/golang/go/issues/62513)
however, the work took longer than anticipated and it will be postponed
to upcoming major Go versions.

e.g.:

> ```go
> import (
>   _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd"
> )
> ```

- \[FEATURE] prometheus: Add new CollectorFunc utility
[#&#8203;1724](https://redirect.github.com/prometheus/client_golang/issues/1724)
- \[CHANGE] Minimum required Go version is now 1.22 (we also test
client_golang against latest go version - 1.24)
[#&#8203;1738](https://redirect.github.com/prometheus/client_golang/issues/1738)
- \[FEATURE] api: `WithLookbackDelta` and `WithStats` options have been
added to API client.
[#&#8203;1743](https://redirect.github.com/prometheus/client_golang/issues/1743)
- \[CHANGE] ⚠️ promhttp: Isolate zstd support and
klauspost/compress library use to promhttp/zstd package.
[#&#8203;1765](https://redirect.github.com/prometheus/client_golang/issues/1765)

<details>
<summary> All Changes </summary>

- build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1720](https://redirect.github.com/prometheus/client_golang/pull/1720)
- build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1719](https://redirect.github.com/prometheus/client_golang/pull/1719)
- Update RELEASE.md by
[@&#8203;bwplotka](https://redirect.github.com/bwplotka) in
[https://github.com/prometheus/client_golang/pull/1721](https://redirect.github.com/prometheus/client_golang/pull/1721)
- chore(docs): Add links for the upstream PRs by
[@&#8203;kakkoyun](https://redirect.github.com/kakkoyun) in
[https://github.com/prometheus/client_golang/pull/1722](https://redirect.github.com/prometheus/client_golang/pull/1722)
- Added tips on releasing client and checking with k8s. by
[@&#8203;bwplotka](https://redirect.github.com/bwplotka) in
[https://github.com/prometheus/client_golang/pull/1723](https://redirect.github.com/prometheus/client_golang/pull/1723)
- feat: Add new CollectorFunc utility by
[@&#8203;Saumya40-codes](https://redirect.github.com/Saumya40-codes) in
[https://github.com/prometheus/client_golang/pull/1724](https://redirect.github.com/prometheus/client_golang/pull/1724)
- build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1725](https://redirect.github.com/prometheus/client_golang/pull/1725)
- build(deps): bump the github-actions group with 5 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1726](https://redirect.github.com/prometheus/client_golang/pull/1726)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/client_golang/pull/1727](https://redirect.github.com/prometheus/client_golang/pull/1727)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/client_golang/pull/1731](https://redirect.github.com/prometheus/client_golang/pull/1731)
- build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1739](https://redirect.github.com/prometheus/client_golang/pull/1739)
- build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1740](https://redirect.github.com/prometheus/client_golang/pull/1740)
- Cleanup dependabot config by
[@&#8203;SuperQ](https://redirect.github.com/SuperQ) in
[https://github.com/prometheus/client_golang/pull/1741](https://redirect.github.com/prometheus/client_golang/pull/1741)
- Upgrade Golang version v1.24 by
[@&#8203;dongjiang1989](https://redirect.github.com/dongjiang1989) in
[https://github.com/prometheus/client_golang/pull/1738](https://redirect.github.com/prometheus/client_golang/pull/1738)
- build(deps): bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1742](https://redirect.github.com/prometheus/client_golang/pull/1742)
- Merging 1.21 release back to main. by
[@&#8203;bwplotka](https://redirect.github.com/bwplotka) in
[https://github.com/prometheus/client_golang/pull/1744](https://redirect.github.com/prometheus/client_golang/pull/1744)
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://redirect.github.com/prombot) in
[https://github.com/prometheus/client_golang/pull/1745](https://redirect.github.com/prometheus/client_golang/pull/1745)
- Add support for undocumented query options for API by
[@&#8203;mahendrapaipuri](https://redirect.github.com/mahendrapaipuri)
in
[https://github.com/prometheus/client_golang/pull/1743](https://redirect.github.com/prometheus/client_golang/pull/1743)
- exp/api: Add experimental exp module; Add remote API with write client
and handler. by [@&#8203;bwplotka](https://redirect.github.com/bwplotka)
in
[https://github.com/prometheus/client_golang/pull/1658](https://redirect.github.com/prometheus/client_golang/pull/1658)
- exp/api: Add accepted msg type validation to handler by
[@&#8203;saswatamcode](https://redirect.github.com/saswatamcode) in
[https://github.com/prometheus/client_golang/pull/1750](https://redirect.github.com/prometheus/client_golang/pull/1750)
- build(deps): bump the github-actions group with 5 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1751](https://redirect.github.com/prometheus/client_golang/pull/1751)
- build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0
by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1752](https://redirect.github.com/prometheus/client_golang/pull/1752)
- build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1753](https://redirect.github.com/prometheus/client_golang/pull/1753)
- exp: Reset snappy buf by
[@&#8203;saswatamcode](https://redirect.github.com/saswatamcode) in
[https://github.com/prometheus/client_golang/pull/1756](https://redirect.github.com/prometheus/client_golang/pull/1756)
- Merge release 1.21.1 to main. by
[@&#8203;bwplotka](https://redirect.github.com/bwplotka) in
[https://github.com/prometheus/client_golang/pull/1762](https://redirect.github.com/prometheus/client_golang/pull/1762)
- exp: Add dependabot config by
[@&#8203;saswatamcode](https://redirect.github.com/saswatamcode) in
[https://github.com/prometheus/client_golang/pull/1754](https://redirect.github.com/prometheus/client_golang/pull/1754)
- build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8
in the github-actions group by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/prometheus/client_golang/pull/1764](https://redirect.github.com/prometheus/client_golang/pull/1764)
- promhttp: Isolate zstd support and klauspost/compress library use to
promhttp/zstd package by
[@&#8203;liggitt](https://redirect.github.com/liggitt) in
[https://github.com/prometheus/client_golang/pull/1765](https://redirect.github.com/prometheus/client_golang/pull/1765)
- Cut 1.22.0-rc.0 by
[@&#8203;kakkoyun](https://redirect.github.com/kakkoyun) in
[https://github.com/prometheus/client_golang/pull/1768](https://redirect.github.com/prometheus/client_golang/pull/1768)

</details>

#### New Contributors
* @&#8203;Saumya40-codes made their first
contributi[https://github.com/prometheus/client_golang/pull/1724](https://redirect.github.com/prometheus/client_golang/pull/1724)l/1724
* @&#8203;mahendrapaipuri made their first
contributi[https://github.com/prometheus/client_golang/pull/1743](https://redirect.github.com/prometheus/client_golang/pull/1743)l/1743
* @&#8203;liggitt made their first
contributi[https://github.com/prometheus/client_golang/pull/1765](https://redirect.github.com/prometheus/client_golang/pull/1765)l/1765

**Full Changelog**:
https://github.com/prometheus/client_golang/compare/v1.21.1...v1.22.0-rc.0

</details>

---

### Configuration

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

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

♻ **Rebasing**: Whenever PR is behind base branch, 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-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzUuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dmathieu <42@dmathieu.com>
This commit is contained in:
renovate[bot]
2025-04-08 14:47:53 +02:00
committed by GitHub
parent 9ae2409183
commit 9dc2769ed9
4 changed files with 6 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ module go.opentelemetry.io/otel/exporters/prometheus
go 1.23.0
require (
github.com/prometheus/client_golang v1.21.1
github.com/prometheus/client_golang v1.22.0
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.63.0
github.com/stretchr/testify v1.10.0

View File

@@ -13,8 +13,6 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
@@ -25,8 +23,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v1.21.1 h1:DOvXXTqVzvkIewV/CDPFdejpMCGeMcbGCQ8YOmu+Ibk=
github.com/prometheus/client_golang v1.21.1/go.mod h1:U9NM32ykUErtVBxdvD3zfi+EuFkkaBvMb09mIfe0Zgg=
github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q=
github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA98k=

View File

@@ -151,7 +151,7 @@ require (
github.com/pjbgf/sha1cd v0.3.2 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/polyfloyd/go-errorlint v1.8.0 // indirect
github.com/prometheus/client_golang v1.21.1 // indirect
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.63.0 // indirect
github.com/prometheus/procfs v0.16.0 // indirect

View File

@@ -266,8 +266,6 @@ github.com/kisielk/errcheck v1.9.0/go.mod h1:kQxWMMVZgIkDq7U8xtG/n2juOjbLgZtedi0
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kkHAIKE/contextcheck v1.1.6 h1:7HIyRcnyzxL9Lz06NGhiKvenXq7Zw6Q0UQu/ttjfJCE=
github.com/kkHAIKE/contextcheck v1.1.6/go.mod h1:3dDbMRNBFaq8HFXWC1JyvDSPm43CmE6IuHam8Wr0rkg=
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
@@ -358,8 +356,8 @@ github.com/polyfloyd/go-errorlint v1.8.0 h1:DL4RestQqRLr8U4LygLw8g2DX6RN1eBJOpa2
github.com/polyfloyd/go-errorlint v1.8.0/go.mod h1:G2W0Q5roxbLCt0ZQbdoxQxXktTjwNyDbEaj3n7jvl4s=
github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g=
github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U=
github.com/prometheus/client_golang v1.21.1 h1:DOvXXTqVzvkIewV/CDPFdejpMCGeMcbGCQ8YOmu+Ibk=
github.com/prometheus/client_golang v1.21.1/go.mod h1:U9NM32ykUErtVBxdvD3zfi+EuFkkaBvMb09mIfe0Zgg=
github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q=
github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.63.0 h1:YR/EIY1o3mEFP/kZCD7iDMnLPlGyuU2Gb3HIcXnA98k=