Skip to content
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

ci: daggerize test and lint pipelines #1534

Merged
merged 4 commits into from
Aug 7, 2024
Merged

Conversation

marcosnils
Copy link
Contributor

@marcosnils marcosnils commented Jun 7, 2024

👋 coming from #1436

TL;DR:

  1. Install the dagger CLI (https://docs.dagger.io/quickstart/cli)
  2. Check out this PR and run:
dagger --src . call make-all --args "check_license test"

you can alternatively tell dagger to run the tests against this PR's branch without having to check out your code in your machine as follows:

dagger call -m github.com/prometheus/client_golang@pull/1534/merge --src https://github.com/prometheus/client_golang#pull/1534/merge \
 make-all --args "check_license test"

This runs the same tests the current GHA pipeline runs here https://github.com/prometheus/client_golang/actions/runs/9419021570/workflow#L60 for all the supported_go_versions.txt file.


Hopefully this serves as a starting point to make this project's CI pipelines more reproducible and consistent across different environments 🙏 .

Some considerations I took while daggerizing this pipeline:

cc @kakkoyun

@shykes
Copy link

shykes commented Jun 7, 2024

you can alternatively tell dagger to run the tests against this PR's branch without having to check out your code in your machine as follows:

dagger -m github.com/prometheus/client_golang@refs/pull/1534/merge call --src git@github.com:prometheus/client_golang#refs/pull/1534/merge make-all --args "check_license test"

For some reason that git URL failed for me, but this worked:

dagger call -m github.com/prometheus/client_golang@pull/1534/merge --src https://github.com/prometheus/client_golang#pull/1534/merge \
 make-all --args "check_license test"

I get some test failures, is that expected @marcosnils ?

[...]
FAIL    github.com/prometheus/client_golang/prometheus  16.423s
ok      github.com/prometheus/client_golang/prometheus/collectors       0.022s
ok      github.com/prometheus/client_golang/prometheus/graphite 0.026s
ok      github.com/prometheus/client_golang/prometheus/internal 0.026s
ok      github.com/prometheus/client_golang/prometheus/promauto 0.026s
ok      github.com/prometheus/client_golang/prometheus/promhttp 0.386s
ok      github.com/prometheus/client_golang/prometheus/push     0.023s
ok      github.com/prometheus/client_golang/prometheus/testutil 0.026s
ok      github.com/prometheus/client_golang/prometheus/testutil/diff    0.023s
ok      github.com/prometheus/client_golang/prometheus/testutil/promlint        0.023s
FAIL
Stderr:
make: *** [Makefile.common:153: common-test] Error

@marcosnils marcosnils changed the title ci: daggerize go.yml pipeline ci: daggerize test and lint pipelines Jun 7, 2024
@marcosnils
Copy link
Contributor Author

For some reason that git URL failed for me, but this worked:

ok, strange.. both seem to work for me. I'll update the original URL to use yours in the original description 🙏

Copy link
Contributor

github-actions bot commented Jun 7, 2024

PR body does not contain a valid type of change. Please refer to CONTRIBUTING.md for more information.

@marcosnils
Copy link
Contributor Author

I get some test failures, is that expected @marcosnils ?

just 👀 at this failures and I have the theory that they're related to some flukes due to timing nits in tests: https://github.com/marcosnils/client_golang/blob/e56689d0f2d0bbff8be277c2e4a8dd71c89ce47a/prometheus/summary_test.go?plain=1#L389. Since make-all runs all go tests in parallel, looks like it's causing that tests to match incorrect assertions.

cc @kakkoyun WDYT?

@kakkoyun
Copy link
Member

@marcosnils Awesome! Thanks for the kickstart. I'll check this PR in-depth in the upcoming days. And see what we can improve.

@kakkoyun kakkoyun self-requested a review June 11, 2024 07:42
@marcosnils
Copy link
Contributor Author

hey @kakkoyun gentle ping here. LMK if you want me to rebase this PR if you have the time to 👀 🙏

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good. 🗡️ 🗡️ 🗡️

Sorry for the extremely late review, and you had to ping us a couple of times.

This is super close to done. If you can address the comments we have put in here.

We review this together with @ArthurSens (hence the "we"s 😜)

.github/workflows/golangci-lint.yml Outdated Show resolved Hide resolved
Makefile.common Outdated Show resolved Hide resolved
dagger/go.mod Outdated Show resolved Hide resolved
dagger/main.go Outdated
}

// runs `make` with the given arguments for all supported go versions
func (m *ClientGolang) MakeAll(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think make all is a bit excessive to run in this repo. We can live with

  • make test
  • make fmt
    for starters.

This could also solve the issue with the license checker that you had to edit above.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And maybe make lint

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make all is primarily because it loops through all the supported go versions here: https://github.com/prometheus/client_golang/pull/1534/files#diff-f18b612d33c74a552af8f75da09a36af695ef16d51ef7537bd1e7ef2d3d09685R58-R66 and runs whatever make target against them.

This it not running all make targets, it's only running the ones in the github action workflow which currently are lint, and check_license test

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call it MakeLintTest then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's call it MakeLintTest then?

Sorry, I haven't expressed myself correctly. MakeAll runs whatever make target you need to run (https://github.com/prometheus/client_golang/pull/1534/files#diff-f18b612d33c74a552af8f75da09a36af695ef16d51ef7537bd1e7ef2d3d09685R67-R77) with all the supported_go_versions https://github.com/prometheus/client_golang/pull/1534/files#diff-f18b612d33c74a552af8f75da09a36af695ef16d51ef7537bd1e7ef2d3d09685R67-R77.

I realize now that the name is a bit confusion. How about MakeWithSupportedVersions?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, yes, the name is confusing, then. MakeRun or MakeRunWithSupportedVersions would make more sense to me.

@kakkoyun
Copy link
Member

@marcosnils, @ArthurSens, and I finally had some time to spare on this. Thanks again for the contribution.

@marcosnils marcosnils marked this pull request as ready for review July 19, 2024 19:57
@marcosnils marcosnils requested a review from kakkoyun July 19, 2024 20:00
@marcosnils
Copy link
Contributor Author

marcosnils commented Jul 19, 2024

@kakkoyun @ArthurSens I've addressed all the comments above. Please let me know if there's anything else that you'd prefer to be changed 🙏

I've also bumped the dagger version to the latest v0.12 and also rebased against main to resolve conflicts.

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think it's bit adventurous, but given we have little CI scaffolding let's experiment and see how it goes 💪🏽 However, I would try to actively remove old paths to not have two ways of doing things (that means slowly migrating to dagger/main from Make right?

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
@marcosnils
Copy link
Contributor Author

things (that means slowly migrating to dagger/main from Make right?

This would be the ideal. At the same time, since Dagger is still calling the same underlying make targets, IMO it's a "good enough" trade-off as an initial approach to see how Dagger feel ☺️

Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

If we can fix the naming and add a comment to explain the intention, we are golden.

We can merge it after a rebase to make sure we capture all the sync files from upstream.

Thanks again @marcosnils

kakkoyun and others added 2 commits August 7, 2024 08:58
@marcosnils
Copy link
Contributor Author

If we can fix the naming and add a comment to explain the intention, we are golden.

done! the comment was already there 👐 (https://github.com/prometheus/client_golang/pull/1534/files#diff-f18b612d33c74a552af8f75da09a36af695ef16d51ef7537bd1e7ef2d3d09685R53)

@kakkoyun kakkoyun merged commit 3634bd9 into prometheus:main Aug 7, 2024
10 checks passed
yurishkuro pushed a commit to jaegertracing/jaeger that referenced this pull request Aug 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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 - 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>
jooola pushed a commit to hetznercloud/hcloud-cloud-controller-manager that referenced this pull request Aug 15, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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 - 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>
dmathieu pushed a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request Aug 19, 2024
….0 (#6011)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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 - 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>
dmathieu pushed a commit to open-telemetry/opentelemetry-go that referenced this pull request Aug 19, 2024
….0 (#5713)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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 - 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>
codeboten pushed a commit to open-telemetry/opentelemetry-collector that referenced this pull request Aug 20, 2024
….0 (#10918)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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).

<!--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>
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Aug 21, 2024
….1 (#34775)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
| `v1.19.1` -> `v1.20.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.1/v1.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>

###
[`v1.20.1`](https://github.com/prometheus/client_golang/releases/tag/v1.20.1)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1)

- \[BUGFIX] process-collector: Fixed unregistered descriptor error when
using process collector with PedanticRegistry on Linux machines.
[#&#8203;1587](https://github.com/prometheus/client_golang/issues/1587)

###
[`v1.20.0`](https://github.com/prometheus/client_golang/releases/tag/v1.20.0)

[Compare
Source](https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)

Thanks everyone for contributions!

:warning: In this release we remove one (broken anyway, given Go runtime
changes) metric and add three new (representing GOGC, GOMEMLIMIT and
GOMAXPROCS flags) to the default `collectors.NewGoCollector()`
collector. Given its popular usage, expect your binary to expose two
additional metric.

#### Changes

- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total`
metric which was always 0; Go runtime stopped sharing pointer lookup
statistics.
[#&#8203;1577](https://github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] ⚠️ go-collector: Add 3 default metrics:
`go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and
`go_sched_gomaxprocs_threads` as those are recommended by the Go team.
[#&#8203;1559](https://github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP
e.g. the exact `runtime/metrics` sourcing each metric (if relevant).
[#&#8203;1568](https://github.com/prometheus/client_golang/issues/1568)
[#&#8203;1578](https://github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method.
[#&#8203;1503](https://github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms.
[#&#8203;1471](https://github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape,
controlled by the request `Accept-Encoding` header.
[#&#8203;1496](https://github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that
supports it.
[#&#8203;1544](https://github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant
histograms and constant summaries.
[#&#8203;1537](https://github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics:
`process_network_receive_bytes_total` and
`process_network_transmit_bytes_total`.
[#&#8203;1555](https://github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule.
[#&#8203;1472](https://github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule.
[#&#8203;1455](https://github.com/prometheus/client_golang/issues/1455)
-   \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter
methods.
[#&#8203;1480](https://github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now
failing if filtered metricNames are not in the input.
[#&#8203;1424](https://github.com/prometheus/client_golang/issues/1424)

<details>
  <summary>All commits</summary>

- feat(prometheus/testutil/promlint/validations): refine lintMetricType…
by [@&#8203;foehammer127](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1457
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1458
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1461
- Merge Release 1.19 back to main by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1462
- Bump the github-actions group with 2 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1456
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1469
- Add LintDuplicateMetric to promlint by
[@&#8203;bboreham](https://github.com/bboreham) in
[prometheus/client_golang#1472
- Auto-update Go Collector Metrics for new Go versions by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1476
- Implement Unwrap() for responseWriterDelegator by
[@&#8203;igor-drozdov](https://github.com/igor-drozdov) in
[prometheus/client_golang#1480
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1485
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1486
- ci: Remove hardcoded supported Go versions from go.yml by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1489
- feat: metrics generation workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1481
- fix: remove redundant go module in middleware example by
[@&#8203;majolo](https://github.com/majolo) in
[prometheus/client_golang#1492
- chore: Refactor how base metrics are added to Sched metrics by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1483
- gocollector: Add regex option to allow collection of debug runtime
metrics by [@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1389
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1498
- chore: fix function name in comment by
[@&#8203;oftenoccur](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1501
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1502
- feat(dependency): replace go-spew package by
[@&#8203;dongjiang1989](https://github.com/dongjiang1989) in
[prometheus/client_golang#1499
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0
by [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1505
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1506
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by
[@&#8203;dependabot](https://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 [@&#8203;dependabot](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1509
- improved code more clean by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1511
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1510
- \[CI]: Add Concurrency Grouping to GitHub Workflows by
[@&#8203;Ishani217](https://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
[@&#8203;jcass8695](https://github.com/jcass8695) in
[prometheus/client_golang#1503
- testutil compareMetricFamilies: make less error-prone by
[@&#8203;leonnicolas](https://github.com/leonnicolas) in
[prometheus/client_golang#1424
- improved code more clean use time.IsZero() replace t = time.Time{} by
[@&#8203;lilijreey](https://github.com/lilijreey) in
[prometheus/client_golang#1515
- add native histogram exemplar support by
[@&#8203;fatsheep9146](https://github.com/fatsheep9146) in
[prometheus/client_golang#1471
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1514
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1523
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1522
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1524
- Add PR template for changelog automation by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1517
- Auto label PRs by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1518
- Fix: Auto label PRs
[#&#8203;1518](https://github.com/prometheus/client_golang/issues/1518)
by [@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1525
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1527
- ci: Group all changelog-related CI jobs into single one by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1526
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1530
- Remove synchronize trigger from changelog workflow by
[@&#8203;SachinSahu431](https://github.com/SachinSahu431) in
[prometheus/client_golang#1532
- feat: Support zstd compression by
[@&#8203;mrueg](https://github.com/mrueg) in
[prometheus/client_golang#1496
- Fix golangci-lint config by
[@&#8203;SuperQ](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1529
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1531
- Cleanup NOTICE file by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1541
- Remove inlined upstream code by
[@&#8203;SuperQ](https://github.com/SuperQ) in
[prometheus/client_golang#1539
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1545
- client: Add Option to provide limit query param for APIs that support
it by [@&#8203;abbyssoul](https://github.com/abbyssoul) in
[prometheus/client_golang#1544
- Allow creating constant histogram and summary metrics with a created
timestamp by [@&#8203;swar8080](https://github.com/swar8080) in
[prometheus/client_golang#1537
- Update README.md by [@&#8203;bwplotka](https://github.com/bwplotka)
in
[prometheus/client_golang#1556
- Temporarily remove required CI job for changelog. by
[@&#8203;bwplotka](https://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
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1549
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1552
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9
by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1553
- fix: Update Go tests by [@&#8203;SuperQ](https://github.com/SuperQ)
in
[prometheus/client_golang#1562
- process_collector: collect received/transmitted bytes by
[@&#8203;huwcbjones](https://github.com/huwcbjones) in
[prometheus/client_golang#1555
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1561
- chore: Remove half-implemented changelog automation by
[@&#8203;ArthurSens](https://github.com/ArthurSens) in
[prometheus/client_golang#1564
- build(deps): bump the github-actions group across 1 directory with 3
updates by [@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1565
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1563
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1551
- deps: Updated to prometheus/common to 0.55 by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1566
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1567
- tutorials: Renamed tutorial -> tutorials for consistency + fixed
tutorial code. by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1569
- go collector: add default metrics acceptance tests; adding more
context to HELP by [@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1568
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1570
- build(deps): bump the github-actions group with 3 updates by
[@&#8203;dependabot](https://github.com/dependabot) in
[prometheus/client_golang#1571
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1572
- ci: daggerize test and lint pipelines by
[@&#8203;marcosnils](https://github.com/marcosnils) in
[prometheus/client_golang#1534
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1573
- Add default Go runtime metrics for /gc/gogc:percent,
/gc/gomemlimit:bytes, /sched/gomaxprocs:threads by
[@&#8203;vesari](https://github.com/vesari) in
[prometheus/client_golang#1559
- Synchronize common files from prometheus/prometheus by
[@&#8203;prombot](https://github.com/prombot) in
[prometheus/client_golang#1576
- Remove go_memstat_lookups_total; added runtime/metrics calculation to
memstat metric's help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1577
- gocollector: Attach original runtime/metrics metric name to help. by
[@&#8203;bwplotka](https://github.com/bwplotka) in
[prometheus/client_golang#1578

</details>

#### New Contributors
* @&#8203;foehammer127 made their first
contributi[prometheus/client_golang#1455
* @&#8203;SachinSahu431 made their first
contributi[prometheus/client_golang#1476
* @&#8203;igor-drozdov made their first
contributi[prometheus/client_golang#1480
* @&#8203;majolo made their first
contributi[prometheus/client_golang#1492
* @&#8203;oftenoccur made their first
contributi[prometheus/client_golang#1497
* @&#8203;dongjiang1989 made their first
contributi[prometheus/client_golang#1499
* @&#8203;lilijreey made their first
contributi[prometheus/client_golang#1511
* @&#8203;Ishani217 made their first
contributi[prometheus/client_golang#1444
* @&#8203;jcass8695 made their first
contributi[prometheus/client_golang#1503
* @&#8203;leonnicolas made their first
contributi[prometheus/client_golang#1424
* @&#8203;fatsheep9146 made their first
contributi[prometheus/client_golang#1471
* @&#8203;abbyssoul made their first
contributi[prometheus/client_golang#1544
* @&#8203;swar8080 made their first
contributi[prometheus/client_golang#1537
* @&#8203;huwcbjones made their first
contributi[prometheus/client_golang#1555
* @&#8203;marcosnils made their first
contributi[prometheus/client_golang#1534
* @&#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants