-
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
add native histogram exemplar support #1471
add native histogram exemplar support #1471
Conversation
63156a1
to
5dcfaff
Compare
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.
not a native histogram expert here, just some small comments :)
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.
Thanks for doing this. I think this implements the correct algorithm, but there is the huge problem of concurrency. See comments. A also think a more basic approach with a single slice rather than two linked list and a map will be faster in practice and consume less memory. Also see comments.
I'll try to get to this ASAP, but currently, I'm sick. |
Thanks! Please take good care of yourself and rest well, there is no rush |
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.
Nice to have this. Thanks for the contribution 🎉
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.
Thanks a lot. I finally have done a detailed review. Things are a bit tricky, but I hope I have explained it well enough.
In different news, the doc comment for the ExemplarObserver
interface (in file observer.go) needs an update, explaining broadly the behavior for native histograms, which should also include a warning that ObserveWithExemplar
isn't lock-free if called on a native histogram with configured exemplars so that it should not be called too frequently.
@beorn7 The pr is ready for review again. |
Thank you very much. I'm on vacation this week, but this is high on my list once I'm back in action. |
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.
Very cool.
I think all that remains is wordsmithing and some formatting tweaks. See all my pedantic comments. :)
@beorn7 |
No worries, I can just squash during merge. Or, if you like a more detailed commit structure with more than one commit, but not the 20 we have now, you could rebase on your own. |
One thing fell through the cracks: The doc comment to the ObserveWithExemplar method in histogram.go should contain a warning that it isn't lock-free for native histograms with configured exemplars and therefore should not be called in high-frequency settings. |
Otherwise, this looks good. I'll give @ArthurSens @bwplotka and @kakkoyun a few more days to raise objections. |
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
6623198
to
85f5475
Compare
@beorn7 I only kept two commits, one for first implementation, the other for reconstitution that you suggested in #1471 (comment) |
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.
Happy to get this in, just one suggestion. Thanks!!! Sorry for lag on review.
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
85f5475
to
d8c7074
Compare
It feels @beorn7 comments are resolved, did you intent @beorn7 to approve it after you requested changes? #1471 (review) |
Yes, all comments are resolved, but I think @beorn7 is waiting for other reviewers to raise objections?
|
Well, but "Change Requested" status is still there. And that from @beorn7 .... one never should mess with the red mark from @beorn7 =DDDD On serious note, I wanted to be lazy and trust @beorn7 to approve the most complex part of this PR, so Is that ok? We can also merge and iterate... it's a new functionality. |
I think it's better to do a more detailed review of this pr when you have time next week. I'm definitely ok with that. @bwplotka |
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.
I just a quick read through the tests and I already have to leave 😬
I'll try to take another look at addExamplar
tomorrow but I'm similar to bartek here, I trust Beorn's review and there's no need to wait for me if we want to merge it already
prometheus/histogram_test.go
Outdated
for _, tc := range tcs { | ||
t.Run(tc.name, func(t *testing.T) { | ||
tc.addFunc(h) | ||
if len(h.nativeExemplars.exemplars) != len(tc.expectedValues) { | ||
t.Errorf("the count of exemplars is not %d", len(tc.expectedValues)) | ||
} | ||
for i, e := range h.nativeExemplars.exemplars { | ||
if e.GetValue() != tc.expectedValues[i] { | ||
t.Errorf("the %dth exemplar value %v is not as expected: %v", i, e.GetValue(), tc.expectedValues[i]) | ||
} | ||
} | ||
}) | ||
} |
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.
This part repeats 3x in this test, maybe we can extract into a separate function just to reduce a few lines?
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.
I convert the compare logic into one common function compareNativeExemplarValues
prometheus/histogram_test.go
Outdated
{ | ||
name: "remove exemplar with oldest timestamp, the removed index is smaller than inserted index", | ||
addFunc: func(h *histogram) { | ||
time.Sleep(10 * time.Second) |
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.
histograms have a field called now
, their intended usage is exactly to mock time and avoid sleeps in tests.
You could do something like this when creating the histogram
now := time.Now()
h.now = func time.Time { return now }
in addFunc
you can change the returned value to:
h.now = func time.Time { return now.Add(time.Second * 10) }
this would pretend that 10 seconds have passed, without needing to wait 10 seconds :)
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.
Done
prometheus/histogram.go
Outdated
// ObserveWithExemplar should not be called in high-frequency settings, | ||
// since it isn't lock-free for native histograms with configured exemplars. |
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.
Slight clarification:
ObserveWithExemplar should not be called in a high-frequency setting for a native histogram with configured exemplars. For this case, the implementation isn't lock-free and might suffer from lock contention.
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.
Done
I think @ArthurSens 's comments about the tests are valid. @fatsheep9146 I think you should address them. Otherwise, I only have a slight clarification for the And then this is good to go. Thanks for all your efforts and patience. This was quite involved. |
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
Great. I'll merge on green. |
[![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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://togithub.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://togithub.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#​1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://togithub.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#​1496](https://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://togithub.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://togithub.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#​1424](https://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://redirect.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://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.3) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3) - \[BUGFIX] histograms: Fix possible data race when appending exemplars. [#​1608](https://redirect.github.com/prometheus/client_golang/issues/1608) ### [`v1.20.2`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.2) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.1...v1.20.2) - \[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. [#​1596](https://redirect.github.com/prometheus/client_golang/issues/1596) ### [`v1.20.1`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://redirect.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://redirect.github.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://redirect.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://redirect.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://redirect.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://redirect.github.com/prometheus/client_golang/issues/1568) [#​1578](https://redirect.github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#​1503](https://redirect.github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#​1471](https://redirect.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://redirect.github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#​1544](https://redirect.github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#​1537](https://redirect.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://redirect.github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#​1472](https://redirect.github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#​1455](https://redirect.github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#​1480](https://redirect.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://redirect.github.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@​foehammer127](https://redirect.github.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@​bboreham](https://redirect.github.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@​igor-drozdov](https://redirect.github.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@​majolo](https://redirect.github.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@​oftenoccur](https://redirect.github.com/oftenoccur) in [prometheus/client_golang#1497 - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@​dongjiang1989](https://redirect.github.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1508 - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@​lilijreey](https://redirect.github.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@​Ishani217](https://redirect.github.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@​jcass8695](https://redirect.github.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@​leonnicolas](https://redirect.github.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@​lilijreey](https://redirect.github.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@​fatsheep9146](https://redirect.github.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#​1518](https://redirect.github.com/prometheus/client_golang/issues/1518) by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@​SachinSahu431](https://redirect.github.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@​mrueg](https://redirect.github.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@​SuperQ](https://redirect.github.com/SuperQ) in [prometheus/client_golang#1536 - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@​SuperQ](https://redirect.github.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@​SuperQ](https://redirect.github.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@​abbyssoul](https://redirect.github.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@​swar8080](https://redirect.github.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1560 - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@​SuperQ](https://redirect.github.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@​huwcbjones](https://redirect.github.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@​dependabot](https://redirect.github.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@​marcosnils](https://redirect.github.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@​vesari](https://redirect.github.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@​bwplotka](https://redirect.github.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @​foehammer127 made their first contributi[prometheus/client_golang#1455 * @​SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @​igor-drozdov made their first contributi[prometheus/client_golang#1480 * @​majolo made their first contributi[prometheus/client_golang#1492 * @​oftenoccur made their first contributi[prometheus/client_golang#1497 * @​dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @​lilijreey made their first contributi[prometheus/client_golang#1511 * @​Ishani217 made their first contributi[prometheus/client_golang#1444 * @​jcass8695 made their first contributi[prometheus/client_golang#1503 * @​leonnicolas made their first contributi[prometheus/client_golang#1424 * @​fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @​abbyssoul made their first contributi[prometheus/client_golang#1544 * @​swar8080 made their first contributi[prometheus/client_golang#1537 * @​huwcbjones made their first contributi[prometheus/client_golang#1555 * @​marcosnils made their first contributi[prometheus/client_golang#1534 * @​vesari made their first contributi[prometheus/client_golang#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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://togithub.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://togithub.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1568) [#&open-telemetry#8203;1578](https://togithub.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#&open-telemetry#8203;1503](https://togithub.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#&open-telemetry#8203;1471](https://togithub.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://togithub.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#&open-telemetry#8203;1544](https://togithub.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#&open-telemetry#8203;1537](https://togithub.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://togithub.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#&open-telemetry#8203;1472](https://togithub.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#&open-telemetry#8203;1455](https://togithub.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://togithub.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://togithub.com/prometheus/client_golang/issues/1424) <details> <summary>All commits</summary> - feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@&open-telemetry#8203;foehammer127](https://togithub.com/foehammer127) in [prometheus/client_golang#1455 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1457 - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1458 - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1459 - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1461 - Merge Release 1.19 back to main by [@&open-telemetry#8203;ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1462 - Bump the github-actions group with 2 updates by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1456 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1466 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1467 - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1469 - Add LintDuplicateMetric to promlint by [@&open-telemetry#8203;bboreham](https://togithub.com/bboreham) in [prometheus/client_golang#1472 - Auto-update Go Collector Metrics for new Go versions by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1476 - Implement Unwrap() for responseWriterDelegator by [@&open-telemetry#8203;igor-drozdov](https://togithub.com/igor-drozdov) in [prometheus/client_golang#1480 - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1485 - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1486 - ci: Remove hardcoded supported Go versions from go.yml by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1489 - feat: metrics generation workflow by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1481 - fix: remove redundant go module in middleware example by [@&open-telemetry#8203;majolo](https://togithub.com/majolo) in [prometheus/client_golang#1492 - chore: Refactor how base metrics are added to Sched metrics by [@&open-telemetry#8203;ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1483 - gocollector: Add regex option to allow collection of debug runtime metrics by [@&open-telemetry#8203;ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1389 - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1498 - chore: fix function name in comment by [@&open-telemetry#8203;oftenoccur](https://togithub.com/oftenoccur) in [prometheus/client_golang#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://togithub.com/dependabot) in [prometheus/client_golang#1501 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1502 - feat(dependency): replace go-spew package by [@&open-telemetry#8203;dongjiang1989](https://togithub.com/dongjiang1989) in [prometheus/client_golang#1499 - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1504 - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1505 - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1506 - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1507 - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#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://togithub.com/dependabot) in [prometheus/client_golang#1509 - improved code more clean by [@&open-telemetry#8203;lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1511 - build(deps): bump the github-actions group with 3 updates by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1510 - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@&open-telemetry#8203;Ishani217](https://togithub.com/Ishani217) in [prometheus/client_golang#1444 - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@&open-telemetry#8203;jcass8695](https://togithub.com/jcass8695) in [prometheus/client_golang#1503 - testutil compareMetricFamilies: make less error-prone by [@&open-telemetry#8203;leonnicolas](https://togithub.com/leonnicolas) in [prometheus/client_golang#1424 - improved code more clean use time.IsZero() replace t = time.Time{} by [@&open-telemetry#8203;lilijreey](https://togithub.com/lilijreey) in [prometheus/client_golang#1515 - add native histogram exemplar support by [@&open-telemetry#8203;fatsheep9146](https://togithub.com/fatsheep9146) in [prometheus/client_golang#1471 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1514 - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1523 - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1522 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1524 - Add PR template for changelog automation by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1517 - Auto label PRs by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1518 - Fix: Auto label PRs [#&open-telemetry#8203;1518](https://togithub.com/prometheus/client_golang/issues/1518) by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1525 - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1527 - ci: Group all changelog-related CI jobs into single one by [@&open-telemetry#8203;ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1526 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1530 - Remove synchronize trigger from changelog workflow by [@&open-telemetry#8203;SachinSahu431](https://togithub.com/SachinSahu431) in [prometheus/client_golang#1532 - feat: Support zstd compression by [@&open-telemetry#8203;mrueg](https://togithub.com/mrueg) in [prometheus/client_golang#1496 - Fix golangci-lint config by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#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://togithub.com/dependabot) in [prometheus/client_golang#1529 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1531 - Cleanup NOTICE file by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1541 - Remove inlined upstream code by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1539 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1545 - client: Add Option to provide limit query param for APIs that support it by [@&open-telemetry#8203;abbyssoul](https://togithub.com/abbyssoul) in [prometheus/client_golang#1544 - Allow creating constant histogram and summary metrics with a created timestamp by [@&open-telemetry#8203;swar8080](https://togithub.com/swar8080) in [prometheus/client_golang#1537 - Update README.md by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1556 - Temporarily remove required CI job for changelog. by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#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://togithub.com/dependabot) in [prometheus/client_golang#1549 - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1552 - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1553 - fix: Update Go tests by [@&open-telemetry#8203;SuperQ](https://togithub.com/SuperQ) in [prometheus/client_golang#1562 - process_collector: collect received/transmitted bytes by [@&open-telemetry#8203;huwcbjones](https://togithub.com/huwcbjones) in [prometheus/client_golang#1555 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1561 - chore: Remove half-implemented changelog automation by [@&open-telemetry#8203;ArthurSens](https://togithub.com/ArthurSens) in [prometheus/client_golang#1564 - build(deps): bump the github-actions group across 1 directory with 3 updates by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1565 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1563 - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1551 - deps: Updated to prometheus/common to 0.55 by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1566 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1567 - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1569 - go collector: add default metrics acceptance tests; adding more context to HELP by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1568 - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1570 - build(deps): bump the github-actions group with 3 updates by [@&open-telemetry#8203;dependabot](https://togithub.com/dependabot) in [prometheus/client_golang#1571 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1572 - ci: daggerize test and lint pipelines by [@&open-telemetry#8203;marcosnils](https://togithub.com/marcosnils) in [prometheus/client_golang#1534 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1573 - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@&open-telemetry#8203;vesari](https://togithub.com/vesari) in [prometheus/client_golang#1559 - Synchronize common files from prometheus/prometheus by [@&open-telemetry#8203;prombot](https://togithub.com/prombot) in [prometheus/client_golang#1576 - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1577 - gocollector: Attach original runtime/metrics metric name to help. by [@&open-telemetry#8203;bwplotka](https://togithub.com/bwplotka) in [prometheus/client_golang#1578 </details> #### New Contributors * @&open-telemetry#8203;foehammer127 made their first contributi[prometheus/client_golang#1455 * @&open-telemetry#8203;SachinSahu431 made their first contributi[prometheus/client_golang#1476 * @&open-telemetry#8203;igor-drozdov made their first contributi[prometheus/client_golang#1480 * @&open-telemetry#8203;majolo made their first contributi[prometheus/client_golang#1492 * @&open-telemetry#8203;oftenoccur made their first contributi[prometheus/client_golang#1497 * @&open-telemetry#8203;dongjiang1989 made their first contributi[prometheus/client_golang#1499 * @&open-telemetry#8203;lilijreey made their first contributi[prometheus/client_golang#1511 * @&open-telemetry#8203;Ishani217 made their first contributi[prometheus/client_golang#1444 * @&open-telemetry#8203;jcass8695 made their first contributi[prometheus/client_golang#1503 * @&open-telemetry#8203;leonnicolas made their first contributi[prometheus/client_golang#1424 * @&open-telemetry#8203;fatsheep9146 made their first contributi[prometheus/client_golang#1471 * @&open-telemetry#8203;abbyssoul made their first contributi[prometheus/client_golang#1544 * @&open-telemetry#8203;swar8080 made their first contributi[prometheus/client_golang#1537 * @&open-telemetry#8203;huwcbjones made their first contributi[prometheus/client_golang#1555 * @&open-telemetry#8203;marcosnils made their first contributi[prometheus/client_golang#1534 * @&open-telemetry#8203;vesari made their first contributi[prometheus/client_golang#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>
fix #1126