axoned
axoned copied to clipboard
chore(deps): bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0
Bumps github.com/prometheus/client_golang from 1.19.1 to 1.20.0.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.20.0
Thanks everyone for contributions!
:warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default
collectors.NewGoCollector()collector. Given its popular usage, expect your binary to expose two additional metric.Changes
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_totalmetric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent,go_gc_gomemlimit_bytesandgo_sched_gomaxprocs_threadsas those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metricssourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstdon scrape, controlled by the requestAccept-Encodingheader. #1496- [FEATURE] api/v1: Add
WithLimitparameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collectors: Add network usage metrics:
process_network_receive_bytes_totalandprocess_network_transmit_bytes_total. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
- feat(prometheus/testutil/promlint/validations): refine lintMetricType… by
@foehammer127in prometheus/client_golang#1455- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by
@dependabotin prometheus/client_golang#1457- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
@dependabotin prometheus/client_golang#1458- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
@dependabotin prometheus/client_golang#1459- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by
@dependabotin prometheus/client_golang#1461- Merge Release 1.19 back to main by
@ArthurSensin prometheus/client_golang#1462- Bump the github-actions group with 2 updates by
@dependabotin prometheus/client_golang#1456- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
@dependabotin prometheus/client_golang#1466- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by
@dependabotin prometheus/client_golang#1467- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by
@dependabotin prometheus/client_golang#1469- Add LintDuplicateMetric to promlint by
@bborehamin prometheus/client_golang#1472- Auto-update Go Collector Metrics for new Go versions by
@SachinSahu431in prometheus/client_golang#1476- Implement Unwrap() for responseWriterDelegator by
@igor-drozdovin prometheus/client_golang#1480- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
@dependabotin prometheus/client_golang#1485- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
@dependabotin prometheus/client_golang#1486- ci: Remove hardcoded supported Go versions from go.yml by
@SachinSahu431in prometheus/client_golang#1489- feat: metrics generation workflow by
@SachinSahu431in prometheus/client_golang#1481- fix: remove redundant go module in middleware example by
@majoloin prometheus/client_golang#1492- chore: Refactor how base metrics are added to Sched metrics by
@ArthurSensin prometheus/client_golang#1483- gocollector: Add regex option to allow collection of debug runtime metrics by
@ArthurSensin prometheus/client_golang#1389- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
@dependabotin prometheus/client_golang#1498- chore: fix function name in comment by
@oftenoccurin prometheus/client_golang#1497- build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by
@dependabotin prometheus/client_golang#1501- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
@dependabotin prometheus/client_golang#1502- feat(dependency): replace go-spew package by
@dongjiang1989in prometheus/client_golang#1499
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
1.20.0 / 2024-08-14
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_totalmetric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent,go_gc_gomemlimit_bytesandgo_sched_gomaxprocs_threadsas those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metricssourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstdon scrape, controlled by the requestAccept-Encodingheader. #1496- [FEATURE] api/v1: Add
WithLimitparameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collectors: Add network usage metrics:
process_network_receive_bytes_totalandprocess_network_transmit_bytes_total. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
1.19.0 / 2024-02-27
The module
prometheus/common v0.48.0introduced an incompatibility when used together with client_golang (See prometheus/client_golang#1448 for more details). If your project uses client_golang and you want to useprometheus/common v0.48.0or higher, please update client_golang to v1.19.0.
- [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
- [FEATURE] collectors: Add version collector. #1422 #1427
1.18.0 / 2023-12-22
- [FEATURE] promlint: Allow creation of custom metric validations. #1311
- [FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
- [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
- [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
- [ENHANCEMENT] Improved performance of
MetricVec.WithLabelValues(...). #13601.17.0 / 2023-09-27
- [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #1325
- [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #1313
- [ENHANCEMENT] Enable detection of a native histogram without observations. #1314
1.16.0 / 2023-06-15
- [BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #1252
- [BUGFIX] api: Fix undefined execution order in return statements. #1260
- [BUGFIX] native histograms: Fix bug in bucket key calculation. #1279
- [ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #1272
- [ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #1278
- [ENHANCEMENT] promlint: Improve metricUnits runtime. #1286
1.15.1 / 2023-05-3
- [BUGFIX] Fixed promhttp.Instrument* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary),
causing panics. #1253
... (truncated)
Commits
73b811cCut 1.20.0 release. (#1580)7ce5089gocollector: Attach original runtime/metrics metric name to help. (#1578)062300eRemove go_memstat_lookups_total; added runtime/metrics calculation to memstat...aa3c00dUpdate common Prometheus files (#1576)3ad2722Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /s...0715727Update common Prometheus files (#1573)3634bd9ci: daggerize test and lint pipelines (#1534)28b5e6eMerge pull request #1572 from prometheus/repo_sync8e18075Update common Prometheus files46f77a9Merge pull request #1571 from prometheus/dependabot/github_actions/github-act...- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by CodeRabbit
- Chores
- Updated various dependency versions for improved performance, security, and compatibility.
- Maintenance changes to keep libraries current and enhance overall application stability.
Walkthrough
The recent updates to the go.mod file primarily focus on upgrading various dependencies to their latest versions. This maintenance effort enhances security, performance, and compatibility across the project, ensuring that all libraries are up-to-date. Notable upgrades include critical libraries related to Prometheus and protocol buffers, reflecting an ongoing commitment to keeping the project robust and efficient.
Changes
| Files/Dependencies | Change Summary |
|---|---|
github.com/prometheus/client_golang, github.com/prometheus/common, github.com/prometheus/procfs |
Updated to v1.20.0, v0.55.0, and v0.15.1 respectively |
golang.org/x/net, golang.org/x/crypto, golang.org/x/oauth2, golang.org/x/sys, golang.org/x/term, golang.org/x/text, golang.org/x/tools |
Versions upgraded to v0.26.0, v0.24.0, v0.21.0, v0.22.0, v0.21.0, v0.16.0, and v0.21.1-0.20240508182429-e35e4ccd0d2d respectively |
google.golang.org/protobuf, cloud.google.com/go/compute/metadata, github.com/klauspost/compress |
Updated to v1.34.2, v0.3.0, and v1.17.9 respectively |
Poem
🐰 In the meadow of code, so fresh and bright,
New versions hop in, a delightful sight.
Dependencies dance, all shiny and new,
Enhancing our project, like morning dew.
With each little change, our worries take flight,
A codebase revitalized, a true delight! 🌼✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Superseded by #728.