-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow creating constant histogram and summary metrics with a created timestamp #1537
Allow creating constant histogram and summary metrics with a created timestamp #1537
Conversation
fb323ca
to
a012d16
Compare
Just wanted to let you know that this is on my list! Hopefully I'll get to it by the end of the week |
Ok, I've spent more time reading our codebase today and I think I've found some inconsistencies. I noticed that ConstHistogram doesn't add exemplars to the histogram, but I knew that somehow it was possible. After reading a bit I've found NewMetricWithExemplars, that adds exemplars to existing metrics and it doesn't matter if it's a Counter or Histograms. Now for CreatedTimestamps, we took a different turn 😬. Instead of creating a similar function, we created NewConstMetricWithCreatedTimestamp, that only works with Counters. I'm not sure what's the best solution here, but I'm more inclined to deprecating |
Hey @ArthurSens, thanks for looking at this As a user I remember expecting For non-const/stateful metrics, like regular counters, it looks like created timestamp is managed internally and not provided by the caller. So not sure if |
Silly question, but can we make Otherwise it might be time for different v2 API here with some builder pattern or something for those side methods, it's getting confusing (: Happy with whatever is easier for downstream users here. |
I don't think we can, because histograms need different information, i.e. count, sum and bucket boundaries.
Yeah, let's iterate on this later. Although we don't have concrete plans for v2, I think we have enough to start experimenting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, I'm happy to continue with NewConstHistogramWithCreatedTimestamp
, we can experiment with a cleaner API in the v2 package.
Could you also add a small test similar to this one, but for histograms?
Would you like to add the same thing for summaries as well? (Can be done in another PR if you prefer)
8b4bb64
to
797290c
Compare
Closes prometheus#1535 Signed-off-by: Steven Swartz <sswartz@ripple.com>
Signed-off-by: Steven Swartz <sswartz@ripple.com>
Signed-off-by: Steven Swartz <sswartz@ripple.com>
797290c
to
7beed9c
Compare
@ArthurSens I added the extra histogram test and the same change for summaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Just two small nits that I'll add in a separate commit
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Also, I took the liberty to change you PR description to /kind enhancement, since we're not changing any existing behavior :) |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/jaegertracing/jaeger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==--> Signed-off-by: Mend Renovate <bot@renovateapp.com>
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/hetznercloud/hcloud-cloud-controller-manager). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM4LjI2LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….0 (#6011) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….0 (#5713) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….0 (#10918) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.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.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Yang Song <songy23@users.noreply.github.com>
….1 (#34775) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?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.20.1`](https://github.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1) - \[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. [#​1587](https://github.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Yang Song <songy23@users.noreply.github.com>
…racing#5849) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.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.20.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.19.1/v1.20.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.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/jaegertracing/jaeger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==--> Signed-off-by: Mend Renovate <bot@renovateapp.com> Signed-off-by: Jared Tan <jian.tan@daocloud.io>
….3 (#1384) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.3` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.20.3`](https://github.com/prometheus/client_golang/releases/tag/v1.20.3) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3) - \[BUGFIX] histograms: Fix possible data race when appending exemplars. [#​1608](https://github.com/prometheus/client_golang/issues/1608) ### [`v1.20.2`](https://github.com/prometheus/client_golang/releases/tag/v1.20.2) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.20.1...v1.20.2) - \[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. [#​1596](https://github.com/prometheus/client_golang/issues/1596) ### [`v1.20.1`](https://github.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1) - \[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. [#​1587](https://github.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#​1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#​1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#​1568](https://github.com/prometheus/client_golang/issues/1568) [#​1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#​1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@​bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@​majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@​oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@​fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#​1518](https://github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@​mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@​SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@​marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@​prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @​foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @​SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @​igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @​majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @​oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @​dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @​lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @​Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @​jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @​leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @​fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @​abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @​swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @​huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @​marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @​vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 this update 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-feature/flagd). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….1 (open-telemetry#34775) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `v1.19.1` -> `v1.20.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?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.20.1`](https://github.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1) - \[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. [#&open-telemetry#8203;1587](https://github.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.1...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_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#&open-telemetry#8203;1577](https://github.com/prometheus/client_golang/issues/1577) - \[FEATURE]⚠️ go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#&open-telemetry#8203;1559](https://github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#&open-telemetry#8203;1568](https://github.com/prometheus/client_golang/issues/1568) [#&open-telemetry#8203;1578](https://github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#&open-telemetry#8203;1503](https://github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#&open-telemetry#8203;1471](https://github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#&open-telemetry#8203;1496](https://github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#&open-telemetry#8203;1544](https://github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#&open-telemetry#8203;1537](https://github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#&open-telemetry#8203;1555](https://github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#&open-telemetry#8203;1472](https://github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#&open-telemetry#8203;1455](https://github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#&open-telemetry#8203;1480](https://github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#&open-telemetry#8203;1424](https://github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@&open-telemetry#8203;foehammer127](https://github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@&open-telemetry#8203;ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@&open-telemetry#8203;bboreham](https://github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@&open-telemetry#8203;igor-drozdov](https://github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@&open-telemetry#8203;majolo](https://github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@&open-telemetry#8203;ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@&open-telemetry#8203;ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@&open-telemetry#8203;oftenoccur](https://github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@&open-telemetry#8203;dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@&open-telemetry#8203;lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@&open-telemetry#8203;Ishani217](https://github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@&open-telemetry#8203;jcass8695](https://github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@&open-telemetry#8203;leonnicolas](https://github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@&open-telemetry#8203;lilijreey](https://github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@&open-telemetry#8203;fatsheep9146](https://github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#&open-telemetry#8203;1518](https://github.com/prometheus/client_golang/issues/1518) by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@&open-telemetry#8203;ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@&open-telemetry#8203;SachinSahu431](https://github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@&open-telemetry#8203;mrueg](https://github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@&open-telemetry#8203;SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@&open-telemetry#8203;SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@&open-telemetry#8203;SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@&open-telemetry#8203;abbyssoul](https://github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@&open-telemetry#8203;swar8080](https://github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537) - Update README.md by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@&open-telemetry#8203;SuperQ](https://github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@&open-telemetry#8203;huwcbjones](https://github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@&open-telemetry#8203;ArthurSens](https://github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@&open-telemetry#8203;dependabot](https://github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@&open-telemetry#8203;marcosnils](https://github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@&open-telemetry#8203;vesari](https://github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@&open-telemetry#8203;bwplotka](https://github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://github.com/prometheus/client_golang/pull/1578) </details> #### New Contributors * @&open-telemetry#8203;foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://github.com/prometheus/client_golang/pull/1455)l/1455 * @&open-telemetry#8203;SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://github.com/prometheus/client_golang/pull/1476)l/1476 * @&open-telemetry#8203;igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://github.com/prometheus/client_golang/pull/1480)l/1480 * @&open-telemetry#8203;majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://github.com/prometheus/client_golang/pull/1492)l/1492 * @&open-telemetry#8203;oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://github.com/prometheus/client_golang/pull/1497)l/1497 * @&open-telemetry#8203;dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://github.com/prometheus/client_golang/pull/1499)l/1499 * @&open-telemetry#8203;lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://github.com/prometheus/client_golang/pull/1511)l/1511 * @&open-telemetry#8203;Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://github.com/prometheus/client_golang/pull/1444)l/1444 * @&open-telemetry#8203;jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://github.com/prometheus/client_golang/pull/1503)l/1503 * @&open-telemetry#8203;leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://github.com/prometheus/client_golang/pull/1424)l/1424 * @&open-telemetry#8203;fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://github.com/prometheus/client_golang/pull/1471)l/1471 * @&open-telemetry#8203;abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://github.com/prometheus/client_golang/pull/1544)l/1544 * @&open-telemetry#8203;swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://github.com/prometheus/client_golang/pull/1537)l/1537 * @&open-telemetry#8203;huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://github.com/prometheus/client_golang/pull/1555)l/1555 * @&open-telemetry#8203;marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://github.com/prometheus/client_golang/pull/1534)l/1534 * @&open-telemetry#8203;vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://github.com/prometheus/client_golang/pull/1559)l/1559 **Full Changelog**: prometheus/client_golang@v1.19.1...v1.20.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Yang Song <songy23@users.noreply.github.com>
Closes #1535
Describe your PR
Currently there's no way to set created timestamp when creating constant histogram and summar metrics. This adds some new functions using the same naming as the existing
NewConstMetricWithCreatedTimestamp
What type of PR is this?
/kind enhancement
Changelog Entry
Testing
Verified locally that zero-injection happens for the _bucket, _sum, and _count series. An example: