- Notifications
You must be signed in to change notification settings - Fork907
Commit06d707d
authored
chore: bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 (#17382)
Bumps[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)from 1.21.1 to 1.22.0.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang'sreleases</a>.</em></p><blockquote><h2>v1.22.0 - 2025-04-07</h2><p>:warning: This release contains potential breaking change if you useexperimental <code>zstd</code> support introduce in <ahref="https://redirect.github.com/prometheus/client_golang/issues/1496">#1496</a>:warning:</p><p>Experimental support for <code>zstd</code> on scrape was added,controlled by the request <code>Accept-Encoding</code> header.It was enabled by default since version 1.20, but now you need to add ablank import to enable it.The decision to make it opt-in by default was originally made becausethe Go standard library was expected to have default zstd support addedsoon,<ahref="https://redirect.github.com/golang/go/issues/62513">golang/go#62513</a>however, the work took longer than anticipated and it will be postponedto upcoming major Go versions.</p><p>e.g.:</p><blockquote><pre lang="go"><code>import (_"github.com/prometheus/client_golang/prometheus/promhttp/zstd")</code></pre></blockquote><ul><li>[FEATURE] prometheus: Add new CollectorFunc utility <ahref="https://redirect.github.com/prometheus/client_golang/issues/1724">#1724</a></li><li>[CHANGE] Minimum required Go version is now 1.22 (we also testclient_golang against latest go version - 1.24) <ahref="https://redirect.github.com/prometheus/client_golang/issues/1738">#1738</a></li><li>[FEATURE] api: <code>WithLookbackDelta</code> and<code>WithStats</code> options have been added to API client. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1743">#1743</a></li><li>[CHANGE]1 parentb6ff6b1 commit06d707d
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
| 169 | + | |
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1669 | 1669 |
| |
1670 | 1670 |
| |
1671 | 1671 |
| |
1672 |
| - | |
1673 |
| - | |
| 1672 | + | |
| 1673 | + | |
1674 | 1674 |
| |
1675 | 1675 |
| |
1676 | 1676 |
| |
|
0 commit comments
Comments
(0)