- Notifications
You must be signed in to change notification settings - Fork926
Commit044fd21
authored
chore: bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 (#16676)
Bumps[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)from 1.20.5 to 1.21.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.21.0 / 2025-02-19</h2><p>:warning: This release contains potential breaking change if youupgrade <code>github.com/prometheus/common</code> to 0.62+ together withclient_golang (and depend on the strict, legacy validation for the labelnames). New common version <ahref="https://redirect.github.com/prometheus/common/pull/724">changes<code>model.NameValidationScheme</code> global variable</a>, whichrelaxes the validation of label names and metric name, allowing allUTF-8 characters. Typically, this should not break any user, unless yourtest or usage expects strict certain names to panic/fail onclient_golang metric registration, gathering or scrape. In case ofproblems change <code>model.NameValidationScheme</code> to old<code>model.LegacyValidation</code> value in your project<code>init</code> function.1 parentb66f3fe commit044fd21
2 files changed
+3
-3
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 |
| - | |
| 162 | + | |
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
788 | 788 |
| |
789 | 789 |
| |
790 | 790 |
| |
791 |
| - | |
792 |
| - | |
| 791 | + | |
| 792 | + | |
793 | 793 |
| |
794 | 794 |
| |
795 | 795 |
| |
|
0 commit comments
Comments
(0)