Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0#16676

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubFeb 24, 2025

Bumpsgithub.com/prometheus/client_golang from 1.20.5 to 1.21.0.

Release notes

Sourced fromgithub.com/prometheus/client_golang's releases.

v1.21.0 / 2025-02-19

⚠️ This release contains potential breaking change if you upgradegithub.com/prometheus/common to 0.62+ together with client_golang (and depend on the strict, legacy validation for the label names). New common versionchangesmodel.NameValidationScheme global variable, which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems changemodel.NameValidationScheme to oldmodel.LegacyValidation value in your projectinit function.⚠️

  • [BUGFIX] gocollector: Fix help message for runtime/metric metrics.#1583
  • [BUGFIX] prometheus: FixDesc.String() method for no labels case.#1687
  • [PERF] prometheus: Optimize popularprometheus.BuildFQName function; now up to 30% faster.#1665
  • [PERF] prometheus: OptimizeInc,Add andObserve cumulative metrics; now up to 50% faster under high concurrent contention.#1661
  • [CHANGE] Upgrade prometheus/common to 0.62.0 which changesmodel.NameValidationScheme global variable.#1712
  • [CHANGE] Add support for Go 1.23.#1602
  • [FEATURE] process_collector: Add support for Darwin systems.#1600#1616#1625#1675#1715
  • [FEATURE] api: Add ability to invokeCloseIdleConnections on api.Client usingapi.Client.(CloseIdler).CloseIdleConnections() casting.#1513
  • [FEATURE] promhttp: Addpromhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples option to create OpenMetrics _created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly).#1408
  • [FEATURE] prometheus: AddNewConstNativeHistogram function.#1654

... (truncated)

Changelog

Sourced fromgithub.com/prometheus/client_golang's changelog.

1.21.0 / 2025-02-17

⚠️ This release contains potential breaking change if you upgradegithub.com/prometheus/common to 0.62+ together with client_golang.⚠️

New common versionchangesmodel.NameValidationScheme global variable, which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems changemodel.NameValidationScheme to oldmodel.LegacyValidation value in your projectinit function.

  • [BUGFIX] gocollector: Fix help message for runtime/metric metrics.#1583
  • [BUGFIX] prometheus: FixDesc.String() method for no labels case.#1687
  • [ENHANCEMENT] prometheus: Optimize popularprometheus.BuildFQName function; now up to 30% faster.#1665
  • [ENHANCEMENT] prometheus: OptimizeInc,Add andObserve cumulative metrics; now up to 50% faster under high concurrent contention.#1661
  • [CHANGE] Upgrade prometheus/common to 0.62.0 which changesmodel.NameValidationScheme global variable.#1712
  • [CHANGE] Add support for Go 1.23.#1602
  • [FEATURE] process_collector: Add support for Darwin systems.#1600#1616#1625#1675#1715
  • [FEATURE] api: Add ability to invokeCloseIdleConnections on api.Client usingapi.Client.(CloseIdler).CloseIdleConnections() casting.#1513
  • [FEATURE] promhttp: Addpromhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples option to create OpenMetrics _created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly).#1408
  • [FEATURE] prometheus: AddNewConstNativeHistogram function.#1654
Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.0.- [Release notes](https://github.com/prometheus/client_golang/releases)- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)- [Commits](prometheus/client_golang@v1.20.5...v1.21.0)---updated-dependencies:- dependency-name: github.com/prometheus/client_golang  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@github-actionsgithub-actionsbotenabled auto-merge (squash)February 24, 2025 13:22
@github-actionsgithub-actionsbot merged commit044fd21 intomainFeb 24, 2025
30 checks passed
@github-actionsgithub-actionsbot deleted the dependabot/go_modules/github.com/prometheus/client_golang-1.21.0 branchFebruary 24, 2025 13:34
aslilac pushed a commit that referenced this pull requestFeb 27, 2025
…#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.⚠️</p><ul><li>[BUGFIX] gocollector: Fix help message for runtime/metric metrics.<ahref="https://redirect.github.com/prometheus/client_golang/issues/1583">#1583</a></li><li>[BUGFIX] prometheus: Fix <code>Desc.String()</code> method for nolabels case. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1687">#1687</a></li><li>[PERF] prometheus: Optimize popular<code>prometheus.BuildFQName</code> function; now up to 30% faster. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1665">#1665</a></li><li>[PERF] prometheus: Optimize <code>Inc</code>, <code>Add</code> and<code>Observe</code> cumulative metrics; now up to 50% faster under highconcurrent contention. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1661">#1661</a></li><li>[CHANGE] Upgrade prometheus/common to 0.62.0 which changes<code>model.NameValidationScheme</code> global variable. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1712">#1712</a></li><li>[CHANGE] Add support for Go 1.23. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1602">#1602</a></li><li>[FEATURE] process_collector: Add support for Darwin systems. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1600">#1600</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1616">#1616</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1625">#1625</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1675">#1675</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1715">#1715</a></li><li>[FEATURE] api: Add ability to invoke<code>CloseIdleConnections</code> on api.Client using<code>api.Client.(CloseIdler).CloseIdleConnections()</code> casting. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1513">#1513</a></li><li>[FEATURE] promhttp: Add<code>promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples</code>option to create OpenMetrics _created lines. Not recommended unless youwant to use opt-in Created Timestamp feature. Community works onOpenMetrics 2.0 format that should make those lines obsolete (theyincrease cardinality significantly). <ahref="https://redirect.github.com/prometheus/client_golang/issues/1408">#1408</a></li><li>[FEATURE] prometheus: Add <code>NewConstNativeHistogram</code>function. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1654">#1654</a></li></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Changelog</summary><p><em>Sourced from <ahref="https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md">github.com/prometheus/client_golang'schangelog</a>.</em></p><blockquote><h2>1.21.0 / 2025-02-17</h2><p>:warning: This release contains potential breaking change if youupgrade <code>github.com/prometheus/common</code> to 0.62+ together withclient_golang. :warning:</p><p>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.</p><ul><li>[BUGFIX] gocollector: Fix help message for runtime/metric metrics.<ahref="https://redirect.github.com/prometheus/client_golang/issues/1583">#1583</a></li><li>[BUGFIX] prometheus: Fix <code>Desc.String()</code> method for nolabels case. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1687">#1687</a></li><li>[ENHANCEMENT] prometheus: Optimize popular<code>prometheus.BuildFQName</code> function; now up to 30% faster. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1665">#1665</a></li><li>[ENHANCEMENT] prometheus: Optimize <code>Inc</code>,<code>Add</code> and <code>Observe</code> cumulative metrics; now up to50% faster under high concurrent contention. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1661">#1661</a></li><li>[CHANGE] Upgrade prometheus/common to 0.62.0 which changes<code>model.NameValidationScheme</code> global variable. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1712">#1712</a></li><li>[CHANGE] Add support for Go 1.23. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1602">#1602</a></li><li>[FEATURE] process_collector: Add support for Darwin systems. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1600">#1600</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1616">#1616</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1625">#1625</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1675">#1675</a><ahref="https://redirect.github.com/prometheus/client_golang/issues/1715">#1715</a></li><li>[FEATURE] api: Add ability to invoke<code>CloseIdleConnections</code> on api.Client using<code>api.Client.(CloseIdler).CloseIdleConnections()</code> casting. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1513">#1513</a></li><li>[FEATURE] promhttp: Add<code>promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples</code>option to create OpenMetrics _created lines. Not recommended unless youwant to use opt-in Created Timestamp feature. Community works onOpenMetrics 2.0 format that should make those lines obsolete (theyincrease cardinality significantly). <ahref="https://redirect.github.com/prometheus/client_golang/issues/1408">#1408</a></li><li>[FEATURE] prometheus: Add <code>NewConstNativeHistogram</code>function. <ahref="https://redirect.github.com/prometheus/client_golang/issues/1654">#1654</a></li></ul></blockquote></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/prometheus/client_golang/commit/eaf03ef9509cf7e0e56a7d0eda1f11a05506f045"><code>eaf03ef</code></a>Cut 1.21.0 (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1737">#1737</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/f1f89dc6c527ddf1e80b49c4f56b2c52b164105c"><code>f1f89dc</code></a>Cut 1.21.0-rc.0 (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1718">#1718</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/c923f7c8e40301ccf857e28f655a241695c470d7"><code>c923f7c</code></a>Revert &quot;ci: daggerize test and lint pipelines (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1534">#1534</a>)&quot;(<ahref="https://redirect.github.com/prometheus/client_golang/issues/1717">#1717</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/1bcda802c13d6334110e088bbef96d32c1c05db7"><code>1bcda80</code></a>process collector: Fixed pedantic registry failures on darwin with cgo.(<ahref="https://redirect.github.com/prometheus/client_golang/issues/1715">#1715</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/038b37aea518190a66e2d4df5d231e549eed7759"><code>038b37a</code></a>tutorials/whatsup: Updated deps (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1716">#1716</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/56a24311d5ef75b4c198516ed1c4555318ec729a"><code>56a2431</code></a>docs: Add RELEASE.md for the release process (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1690">#1690</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/cbd9526e6ddc36b3cec0407b70e86e8249edf4ed"><code>cbd9526</code></a>Merge pull request <ahref="https://redirect.github.com/prometheus/client_golang/issues/1713">#1713</a>from prometheus/dependabot/go_modules/tutorials/what...</li><li><ahref="https://github.com/prometheus/client_golang/commit/80b5a2a705c6cf39bf08260d06fd130024affbd5"><code>80b5a2a</code></a>build(deps): bump golang.org/x/net in /tutorials/whatsup</li><li><ahref="https://github.com/prometheus/client_golang/commit/1a822a841f0ae8c1b93d6cbd3748d881e9023e05"><code>1a822a8</code></a>Upgrade to prometheus/common 0.62.0 with breaking change (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1712">#1712</a>)</li><li><ahref="https://github.com/prometheus/client_golang/commit/7b39d0144166aa94cc8ce4125bcb3b0da89aad5e"><code>7b39d01</code></a>Update common Prometheus files (<ahref="https://redirect.github.com/prometheus/client_golang/issues/1708">#1708</a>)</li><li>Additional commits viewable in <ahref="https://github.com/prometheus/client_golang/compare/v1.20.5...v1.21.0">compareview</a></li></ul></details><br />[![Dependabot compatibilityscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.20.5&new-version=1.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)Dependabot will resolve any conflicts with this PR as long as you don'talter it yourself. You can also trigger a rebase manually by commenting`@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on this PR:- `@dependabot rebase` will rebase this PR- `@dependabot recreate` will recreate this PR, overwriting any editsthat 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 afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp