prometheus/client_golang (github.com/prometheus/client_golang)
### [`v1.20.5`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.5): / 2024-10-15
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.4...v1.20.5)
We decided to revert [the `testutil` change](https://redirect.github.com/prometheus/client_golang/pull/1424) that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the [exact error message](https://redirect.github.com/grafana/mimir/pull/9624#issuecomment-2413401565).
Going forward, we plan to reinforce our release testing strategy [\[1\]](https://redirect.github.com/prometheus/client_golang/issues/1646),[\[2\]](https://redirect.github.com/prometheus/client_golang/issues/1648) and deliver an enhanced [`testutil` package/module](https://redirect.github.com/prometheus/client_golang/issues/1639) with more flexible and safer APIs.
Thanks to [@dashpole](https://redirect.github.com/dashpole) [@dgrisonnet](https://redirect.github.com/dgrisonnet) [@kakkoyun](https://redirect.github.com/kakkoyun) [@ArthurSens](https://redirect.github.com/ArthurSens) [@vesari](https://redirect.github.com/vesari) [@logicalhan](https://redirect.github.com/logicalhan) [@krajorama](https://redirect.github.com/krajorama) [@bwplotka](https://redirect.github.com/bwplotka) who helped in this patch release! 🤗
##### Changelog
\[BUGFIX] testutil: Reverted [#1424](https://redirect.github.com/prometheus/client_golang/issues/1424); functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. [#1645](https://redirect.github.com/prometheus/client_golang/issues/1645)
### [`v1.20.4`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.4)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4)
- \[BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. [#1623](https://redirect.github.com/prometheus/client_golang/issues/1623)
### [`v1.20.3`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.3)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3)
- \[BUGFIX] histograms: Fix possible data race when appending exemplars. [#1608](https://redirect.github.com/prometheus/client_golang/issues/1608)
### [`v1.20.2`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.2)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.1...v1.20.2)
- \[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. [#1596](https://redirect.github.com/prometheus/client_golang/issues/1596)
### [`v1.20.1`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.1)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1)
- \[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. [#1587](https://redirect.github.com/prometheus/client_golang/issues/1587)
### [`v1.20.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0)
Thanks everyone for contributions!
:warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default `collectors.NewGoCollector()` collector. Given its popular usage, expect your binary to expose two additional metric.
#### Changes
- \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#1577](https://redirect.github.com/prometheus/client_golang/issues/1577)
- \[FEATURE] :warning: go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#1559](https://redirect.github.com/prometheus/client_golang/issues/1559)
- \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#1568](https://redirect.github.com/prometheus/client_golang/issues/1568) [#1578](https://redirect.github.com/prometheus/client_golang/issues/1578)
- \[FEATURE] testutil: Add CollectAndFormat method. [#1503](https://redirect.github.com/prometheus/client_golang/issues/1503)
- \[FEATURE] histograms: Add support for exemplars in native histograms. [#1471](https://redirect.github.com/prometheus/client_golang/issues/1471)
- \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#1496](https://redirect.github.com/prometheus/client_golang/issues/1496)
- \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#1544](https://redirect.github.com/prometheus/client_golang/issues/1544)
- \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#1537](https://redirect.github.com/prometheus/client_golang/issues/1537)
- \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#1555](https://redirect.github.com/prometheus/client_golang/issues/1555)
- \[FEATURE] promlint: Add duplicated metric lint rule. [#1472](https://redirect.github.com/prometheus/client_golang/issues/1472)
- \[BUGFIX] promlint: Relax metric type in name linter rule. [#1455](https://redirect.github.com/prometheus/client_golang/issues/1455)
- \[BUGFIX] promhttp: Make sure server
instrumentation wrapping supports new and future extra responseWriter methods. [#1480](https://redirect.github.com/prometheus/client_golang/issues/1480)
- \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#1424](https://redirect.github.com/prometheus/client_golang/issues/1424)
All commits
- feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@foehammer127](https://redirect.github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://redirect.github.com/prometheus/client_golang/pull/1455)
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://redirect.github.com/prometheus/client_golang/pull/1457)
- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://redirect.github.com/prometheus/client_golang/pull/1458)
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://redirect.github.com/prometheus/client_golang/pull/1459)
- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://redirect.github.com/prometheus/client_golang/pull/1461)
- Merge Release 1.19 back to main by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://redirect.github.com/prometheus/client_golang/pull/1462)
- Bump the github-actions group with 2 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://redirect.github.com/prometheus/client_golang/pull/1456)
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://redirect.github.com/prometheus/client_golang/pull/1466)
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://redirect.github.com/prometheus/client_golang/pull/1467)
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://redirect.github.com/prometheus/client_golang/pull/1469)
- Add LintDuplicateMetric to promlint by [@bboreham](https://redirect.github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://redirect.github.com/prometheus/client_golang/pull/1472)
- Auto-update Go Collector Metrics for new Go versions by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://redirect.github.com/prometheus/client_golang/pull/1476)
- Implement Unwrap() for responseWriterDelegator by [@igor-drozdov](https://redirect.github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://redirect.github.com/prometheus/client_golang/pull/1480)
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://redirect.github.com/prometheus/client_golang/pull/1485)
- Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://redirect.github.com/prometheus/client_golang/pull/1486)
- ci: Remove hardcoded supported Go versions from go.yml by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://redirect.github.com/prometheus/client_golang/pull/1489)
- feat: metrics generation workflow by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://redirect.github.com/prometheus/client_golang/pull/1481)
- fix: remove redundant go module in middleware example by [@majolo](https://redirect.github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://redirect.github.com/prometheus/client_golang/pull/1492)
- chore: Refactor how base metrics are added to Sched metrics by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://redirect.github.com/prometheus/client_golang/pull/1483)
- gocollector: Add regex option to allow collection of debug runtime metrics by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://redirect.github.com/prometheus/client_golang/pull/1389)
- Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://redirect.github.com/prometheus/client_golang/pull/1498)
- chore: fix function name in comment by [@oftenoccur](https://redirect.github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://redirect.github.com/prometheus/client_golang/pull/1497)
- build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://redirect.github.com/prometheus/client_golang/pull/1501)
- build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://redirect.github.com/prometheus/client_golang/pull/1502)
- feat(dependency): replace go-spew package by [@dongjiang1989](https://redirect.github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://redirect.github.com/prometheus/client_golang/pull/1499)
- build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://redirect.github.com/prometheus/client_golang/pull/1504)
- build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://redirect.github.com/prometheus/client_golang/pull/1505)
- build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://redirect.github.com/prometheus/client_golang/pull/1506)
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://redirect.github.com/prometheus/client_golang/pull/1507)
- build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://redirect.github.com/prometheus/client_golang/pull/1508)
- build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://redirect.github.com/prometheus/client_golang/pull/1509)
- improved code more clean by [@lilijreey](https://redirect.github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://redirect.github.com/prometheus/client_golang/pull/1511)
- build(deps): bump the github-actions group with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://redirect.github.com/prometheus/client_golang/pull/1510)
- \[CI]: Add Concurrency Grouping to GitHub Workflows by [@Ishani217](https://redirect.github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://redirect.github.com/prometheus/client_golang/pull/1444)
- Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@jcass8695](https://redirect.github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://redirect.github.com/prometheus/client_golang/pull/1503)
- testutil compareMetricFamilies: make less error-prone by [@leonnicolas](https://redirect.github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://redirect.github.com/prometheus/client_golang/pull/1424)
- improved code more clean use time.IsZero() replace t = time.Time{} by [@lilijreey](https://redirect.github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://redirect.github.com/prometheus/client_golang/pull/1515)
- add native histogram exemplar support by [@fatsheep9146](https://redirect.github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://redirect.github.com/prometheus/client_golang/pull/1471)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://redirect.github.com/prometheus/client_golang/pull/1514)
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://redirect.github.com/prometheus/client_golang/pull/1523)
- build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://redirect.github.com/prometheus/client_golang/pull/1522)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://redirect.github.com/prometheus/client_golang/pull/1524)
- Add PR template for changelog automation by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://redirect.github.com/prometheus/client_golang/pull/1517)
- Auto label PRs by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://redirect.github.com/prometheus/client_golang/pull/1518)
- Fix: Auto label PRs [#1518](https://redirect.github.com/prometheus/client_golang/issues/1518) by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://redirect.github.com/prometheus/client_golang/pull/1525)
- build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://redirect.github.com/prometheus/client_golang/pull/1527)
- ci: Group all changelog-related CI jobs into single one by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://redirect.github.com/prometheus/client_golang/pull/1526)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://redirect.github.com/prometheus/client_golang/pull/1530)
- Remove synchronize trigger from changelog workflow by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://redirect.github.com/prometheus/client_golang/pull/1532)
- feat: Support zstd compression by [@mrueg](https://redirect.github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://redirect.github.com/prometheus/client_golang/pull/1496)
- Fix golangci-lint config by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://redirect.github.com/prometheus/client_golang/pull/1536)
- build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://redirect.github.com/prometheus/client_golang/pull/1529)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://redirect.github.com/prometheus/client_golang/pull/1531)
- Cleanup NOTICE file by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://redirect.github.com/prometheus/client_golang/pull/1541)
- Remove inlined upstream code by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://redirect.github.com/prometheus/client_golang/pull/1539)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://redirect.github.com/prometheus/client_golang/pull/1545)
- client: Add Option to provide limit query param for APIs that support it by [@abbyssoul](https://redirect.github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://redirect.github.com/prometheus/client_golang/pull/1544)
- Allow creating constant histogram and summary metrics with a created timestamp by [@swar8080](https://redirect.github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://redirect.github.com/prometheus/client_golang/pull/1537)
- Update README.md by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://redirect.github.com/prometheus/client_golang/pull/1556)
- Temporarily remove required CI job for changelog. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://redirect.github.com/prometheus/client_golang/pull/1560)
- build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://redirect.github.com/prometheus/client_golang/pull/1549)
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://redirect.github.com/prometheus/client_golang/pull/1552)
- build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://redirect.github.com/prometheus/client_golang/pull/1553)
- fix: Update Go tests by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://redirect.github.com/prometheus/client_golang/pull/1562)
- process_collector: collect received/transmitted bytes by [@huwcbjones](https://redirect.github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://redirect.github.com/prometheus/client_golang/pull/1555)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://redirect.github.com/prometheus/client_golang/pull/1561)
- chore: Remove half-implemented changelog automation by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://redirect.github.com/prometheus/client_golang/pull/1564)
- build(deps): bump the github-actions group across 1 directory with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://redirect.github.com/prometheus/client_golang/pull/1565)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://redirect.github.com/prometheus/client_golang/pull/1563)
- build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://redirect.github.com/prometheus/client_golang/pull/1551)
- deps: Updated to prometheus/common to 0.55 by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://redirect.github.com/prometheus/client_golang/pull/1566)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://redirect.github.com/prometheus/client_golang/pull/1567)
- tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://redirect.github.com/prometheus/client_golang/pull/1569)
- go collector: add default metrics acceptance tests; adding more context to HELP by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://redirect.github.com/prometheus/client_golang/pull/1568)
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://redirect.github.com/prometheus/client_golang/pull/1570)
- build(deps): bump the github-actions group with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://redirect.github.com/prometheus/client_golang/pull/1571)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://redirect.github.com/prometheus/client_golang/pull/1572)
- ci: daggerize test and lint pipelines by [@marcosnils](https://redirect.github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://redirect.github.com/prometheus/client_golang/pull/1534)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://redirect.github.com/prometheus/client_golang/pull/1573)
- Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@vesari](https://redirect.github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://redirect.github.com/prometheus/client_golang/pull/1559)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://redirect.github.com/prometheus/client_golang/pull/1576)
- Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://redirect.github.com/prometheus/client_golang/pull/1577)
- gocollector: Attach original runtime/metrics metric name to help. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://redirect.github.com/prometheus/client_golang/pull/1578)
#### New Contributors
* @foehammer127 made their first contributi[https://github.com/prometheus/client_golang/pull/1455](https://redirect.github.com/prometheus/client_golang/pull/1455)l/1455
* @SachinSahu431 made their first contributi[https://github.com/prometheus/client_golang/pull/1476](https://redirect.github.com/prometheus/client_golang/pull/1476)l/1476
* @igor-drozdov made their first contributi[https://github.com/prometheus/client_golang/pull/1480](https://redirect.github.com/prometheus/client_golang/pull/1480)l/1480
* @majolo made their first contributi[https://github.com/prometheus/client_golang/pull/1492](https://redirect.github.com/prometheus/client_golang/pull/1492)l/1492
* @oftenoccur made their first contributi[https://github.com/prometheus/client_golang/pull/1497](https://redirect.github.com/prometheus/client_golang/pull/1497)l/1497
* @dongjiang1989 made their first contributi[https://github.com/prometheus/client_golang/pull/1499](https://redirect.github.com/prometheus/client_golang/pull/1499)l/1499
* @lilijreey made their first contributi[https://github.com/prometheus/client_golang/pull/1511](https://redirect.github.com/prometheus/client_golang/pull/1511)l/1511
* @Ishani217 made their first contributi[https://github.com/prometheus/client_golang/pull/1444](https://redirect.github.com/prometheus/client_golang/pull/1444)l/1444
* @jcass8695 made their first contributi[https://github.com/prometheus/client_golang/pull/1503](https://redirect.github.com/prometheus/client_golang/pull/1503)l/1503
* @leonnicolas made their first contributi[https://github.com/prometheus/client_golang/pull/1424](https://redirect.github.com/prometheus/client_golang/pull/1424)l/1424
* @fatsheep9146 made their first contributi[https://github.com/prometheus/client_golang/pull/1471](https://redirect.github.com/prometheus/client_golang/pull/1471)l/1471
* @abbyssoul made their first contributi[https://github.com/prometheus/client_golang/pull/1544](https://redirect.github.com/prometheus/client_golang/pull/1544)l/1544
* @swar8080 made their first contributi[https://github.com/prometheus/client_golang/pull/1537](https://redirect.github.com/prometheus/client_golang/pull/1537)l/1537
* @huwcbjones made their first contributi[https://github.com/prometheus/client_golang/pull/1555](https://redirect.github.com/prometheus/client_golang/pull/1555)l/1555
* @marcosnils made their first contributi[https://github.com/prometheus/client_golang/pull/1534](https://redirect.github.com/prometheus/client_golang/pull/1534)l/1534
* @vesari made their first contributi[https://github.com/prometheus/client_golang/pull/1559](https://redirect.github.com/prometheus/client_golang/pull/1559)l/1559
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0
### [`v1.19.1`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.19.1)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1)
#### What's Changed
- Security patches for `golang.org/x/sys` and `google.golang.org/protobuf`
#### New Contributors
- [@lukasauk](https://redirect.github.com/lukasauk) made their first contribution in [https://github.com/prometheus/client_golang/pull/1494](https://redirect.github.com/prometheus/client_golang/pull/1494)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1
### [`v1.19.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.19.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0)
#### What's Changed
The module `prometheus/common v0.48.0` introduced an incompatibility when used together with client_golang (See [https://github.com/prometheus/client_golang/pull/1448](https://redirect.github.com/prometheus/client_golang/pull/1448) for more details). If your project uses client_golang and you want to use `prometheus/common v0.48.0` or higher, please update client_golang to v1.19.0.
- \[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). [#1445](https://redirect.github.com/prometheus/client_golang/issues/1445) [#1449](https://redirect.github.com/prometheus/client_golang/issues/1449)
- \[FEATURE] collectors: Add version collector. [#1422](https://redirect.github.com/prometheus/client_golang/issues/1422) [#1427](https://redirect.github.com/prometheus/client_golang/issues/1427)
#### New Contributors
- [@michurin](https://redirect.github.com/michurin) made their first contribution in [https://github.com/prometheus/client_golang/pull/1423](https://redirect.github.com/prometheus/client_golang/pull/1423)
- [@kavu](https://redirect.github.com/kavu) made their first contribution in [https://github.com/prometheus/client_golang/pull/1445](https://redirect.github.com/prometheus/client_golang/pull/1445)
- [@ywwg](https://redirect.github.com/ywwg) made their first contribution in [https://github.com/prometheus/client_golang/pull/1448](https://redirect.github.com/prometheus/client_golang/pull/1448)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0
### [`v1.18.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.18.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)
#### What's Changed
- \[FEATURE] promlint: Allow creation of custom metric validations. [#1311](https://redirect.github.com/prometheus/client_golang/issues/1311)
- \[FEATURE] Go programs using client_golang can be built in wasip1 OS. [#1350](https://redirect.github.com/prometheus/client_golang/issues/1350)
- \[BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. [#1367](https://redirect.github.com/prometheus/client_golang/issues/1367)
- \[BUGFIX] testutil: Fix comparison of metrics with empty Help strings. [#1378](https://redirect.github.com/prometheus/client_golang/issues/1378)
- \[ENHANCEMENT] Improved performance of `MetricVec.WithLabelValues(...)`. [#1360](https://redirect.github.com/prometheus/client_golang/issues/1360)
#### New Contributors
- [@srenatus](https://redirect.github.com/srenatus) made their first contribution in [https://github.com/prometheus/client_golang/pull/1350](https://redirect.github.com/prometheus/client_golang/pull/1350)
- [@jadolg](https://redirect.github.com/jadolg) made their first contribution in [https://github.com/prometheus/client_golang/pull/1342](https://redirect.github.com/prometheus/client_golang/pull/1342)
- [@manas-rust](https://redirect.github.com/manas-rust) made their first contribution in [https://github.com/prometheus/client_golang/pull/1383](https://redirect.github.com/prometheus/client_golang/pull/1383)
- [@bluekeyes](https://redirect.github.com/bluekeyes) made their first contribution in [https://github.com/prometheus/client_golang/pull/1378](https://redirect.github.com/prometheus/client_golang/pull/1378)
- [@tsipo](https://redirect.github.com/tsipo) made their first contribution in [https://github.com/prometheus/client_golang/pull/1387](https://redirect.github.com/prometheus/client_golang/pull/1387)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0
### [`v1.17.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.17.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0)
#### What's Changed
- \[CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). [#1325](https://redirect.github.com/prometheus/client_golang/issues/1325)
- \[FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. [#1313](https://redirect.github.com/prometheus/client_golang/issues/1313)
- \[ENHANCEMENT] Enable detection of a native histogram without observations. [#1314](https://redirect.github.com/prometheus/client_golang/issues/1314)
Commits
- Merge v1.16.0 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1293](https://redirect.github.com/prometheus/client_golang/pull/1293)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1297](https://redirect.github.com/prometheus/client_golang/pull/1297)
- ci: define minimal permissions to GitHub workflows by [@diogoteles08](https://redirect.github.com/diogoteles08) in [https://github.com/prometheus/client_golang/pull/1295](https://redirect.github.com/prometheus/client_golang/pull/1295)
- Do not allocate memory when there's no constraints by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1296](https://redirect.github.com/prometheus/client_golang/pull/1296)
- Bump golang.org/x/sys from 0.8.0 to 0.9.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1306](https://redirect.github.com/prometheus/client_golang/pull/1306)
- Bump google.golang.org/grpc from 1.45.0 to 1.53.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1307](https://redirect.github.com/prometheus/client_golang/pull/1307)
- histogram: Enable detection of a native histogram without observations by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1314](https://redirect.github.com/prometheus/client_golang/pull/1314)
- Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1305](https://redirect.github.com/prometheus/client_golang/pull/1305)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1302](https://redirect.github.com/prometheus/client_golang/pull/1302)
- Fix data-race in metric without `code` and `method` but with `WithLabelFromCtx` by [@tigrato](https://redirect.github.com/tigrato) in [https://github.com/prometheus/client_golang/pull/1318](https://redirect.github.com/prometheus/client_golang/pull/1318)
- Add missing tick "\`" in README by [@ZiViZiViZ](https://redirect.github.com/ZiViZiViZ) in [https://github.com/prometheus/client_golang/pull/1321](https://redirect.github.com/prometheus/client_golang/pull/1321)
- Bump golang.org/x/sys from 0.9.0 to 0.10.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1320](https://redirect.github.com/prometheus/client_golang/pull/1320)
- Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1319](https://redirect.github.com/prometheus/client_golang/pull/1319)
- docs: trivial grammar fixes to improve readability in promauto Godoc by [@sengi](https://redirect.github.com/sengi) in [https://github.com/prometheus/client_golang/pull/1322](https://redirect.github.com/prometheus/client_golang/pull/1322)
- Add Go 1.21 support by [@kakkoyun](https://redirect.github.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1325](https://redirect.github.com/prometheus/client_golang/pull/1325)
- Bump client_model by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1323](https://redirect.github.com/prometheus/client_golang/pull/1323)
- histogram docs: Fixed minor nit. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1324](https://redirect.github.com/prometheus/client_golang/pull/1324)
- Update building by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1326](https://redirect.github.com/prometheus/client_golang/pull/1326)
- Bump golang.org/x/sys from 0.10.0 to 0.11.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1331](https://redirect.github.com/prometheus/client_golang/pull/1331)
- Bump github.com/prometheus/client_golang from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1329](https://redirect.github.com/prometheus/client_golang/pull/1329)
- Bump github.com/prometheus/client_golang from 1.13.1 to 1.16.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1328](https://redirect.github.com/prometheus/client_golang/pull/1328)
- Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1284](https://redirect.github.com/prometheus/client_golang/pull/1284)
- Bump github.com/prometheus/common from 0.42.0 to 0.44.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1330](https://redirect.github.com/prometheus/client_golang/pull/1330)
- Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1304](https://redirect.github.com/prometheus/client_golang/pull/1304)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1332](https://redirect.github.com/prometheus/client_golang/pull/1332)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1338](https://redirect.github.com/prometheus/client_golang/pull/1338)
- Cleanup golangci-lint errcheck by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1339](https://redirect.github.com/prometheus/client_golang/pull/1339)
- Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1348](https://redirect.github.com/prometheus/client_golang/pull/1348)
- Extend Counters, Summaries and Histograms with creation timestamp by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1313](https://redirect.github.com/prometheus/client_golang/pull/1313)
- Fix typos in comments, tests, and errors by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1346](https://redirect.github.com/prometheus/client_golang/pull/1346)
- Deprecated comment should begin with "Deprecated:" by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1347](https://redirect.github.com/prometheus/client_golang/pull/1347)
- Add changelog entry for 1.17 by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1352](https://redirect.github.com/prometheus/client_golang/pull/1352)
#### New Contributors
* @diogoteles08 made their first contributi[https://github.com/prometheus/client_golang/pull/1295](https://redirect.github.com/prometheus/client_golang/pull/1295)l/1295
* @tigrato made their first contributi[https://github.com/prometheus/client_golang/pull/1318](https://redirect.github.com/prometheus/client_golang/pull/1318)l/1318
* @ZiViZiViZ made their first contributi[https://github.com/prometheus/client_golang/pull/1321](https://redirect.github.com/prometheus/client_golang/pull/1321)l/1321
* @sengi made their first contributi[https://github.com/prometheus/client_golang/pull/1322](https://redirect.github.com/prometheus/client_golang/pull/1322)l/1322
* @ArthurSens made their first contributi[https://github.com/prometheus/client_golang/pull/1323](https://redirect.github.com/prometheus/client_golang/pull/1323)l/1323
* @alexandear made their first contributi[https://github.com/prometheus/client_golang/pull/1348](https://redirect.github.com/prometheus/client_golang/pull/1348)l/1348
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0
### [`v1.16.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.16.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0)
#### What's Changed
- \[BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. [#1252](https://redirect.github.com/prometheus/client_golang/issues/1252)
- \[BUGFIX] api: Fix undefined execution order in return statements. [#1260](https://redirect.github.com/prometheus/client_golang/issues/1260)
- \[BUGFIX] native histograms: Fix bug in bucket key calculation. [#1279](https://redirect.github.com/prometheus/client_golang/issues/1279)
- \[ENHANCEMENT] Reduce constrainLabels allocations for all metrics. [#1272](https://redirect.github.com/prometheus/client_golang/issues/1272)
- \[ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. [#1278](https://redirect.github.com/prometheus/client_golang/issues/1278)
- \[ENHANCEMENT] promlint: Improve metricUnits runtime. [#1286](https://redirect.github.com/prometheus/client_golang/issues/1286)
Commits
- Merge v1.15 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1250](https://redirect.github.com/prometheus/client_golang/pull/1250)
- Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by [@jacksontj](https://redirect.github.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1252](https://redirect.github.com/prometheus/client_golang/pull/1252)
- ✏️ \[collectors]: fix typo in test assertion by [@vegerot](https://redirect.github.com/vegerot) in [https://github.com/prometheus/client_golang/pull/1153](https://redirect.github.com/prometheus/client_golang/pull/1153)
- Added interactive tutorial \[kubeCon] by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1255](https://redirect.github.com/prometheus/client_golang/pull/1255)
- Fixed tutorial. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1256](https://redirect.github.com/prometheus/client_golang/pull/1256)
- Bump golang.org/x/sys from 0.6.0 to 0.7.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1265](https://redirect.github.com/prometheus/client_golang/pull/1265)
- Cleanup proto use in tests by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1264](https://redirect.github.com/prometheus/client_golang/pull/1264)
- Fix tutorial on WSL-based systems by [@marevers](https://redirect.github.com/marevers) in [https://github.com/prometheus/client_golang/pull/1257](https://redirect.github.com/prometheus/client_golang/pull/1257)
- Fix undefined execution order in return statements by [@PiotrLewandowski323](https://redirect.github.com/PiotrLewandowski323) in [https://github.com/prometheus/client_golang/pull/1260](https://redirect.github.com/prometheus/client_golang/pull/1260)
- Merge release 1.15.1 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1267](https://redirect.github.com/prometheus/client_golang/pull/1267)
- GitHub Workflows security hardening by [@sashashura](https://redirect.github.com/sashashura) in [https://github.com/prometheus/client_golang/pull/1180](https://redirect.github.com/prometheus/client_golang/pull/1180)
- add process start time header to client_golang prometheus by [@logicalhan](https://redirect.github.com/logicalhan) in [https://github.com/prometheus/client_golang/pull/1278](https://redirect.github.com/prometheus/client_golang/pull/1278)
- Fix bug in bucket key calculation by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1279](https://redirect.github.com/prometheus/client_golang/pull/1279)
- Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1283](https://redirect.github.com/prometheus/client_golang/pull/1283)
- Reduce constrainLabels allocations by [@khasanovbi](https://redirect.github.com/khasanovbi) in [https://github.com/prometheus/client_golang/pull/1272](https://redirect.github.com/prometheus/client_golang/pull/1272)
- added circleci as gh action YAML by [@krishnaduttPanchagnula](https://redirect.github.com/krishnaduttPanchagnula) in [https://github.com/prometheus/client_golang/pull/1281](https://redirect.github.com/prometheus/client_golang/pull/1281)
- Improve metricUnits runtime by [@avlitman](https://redirect.github.com/avlitman) in [https://github.com/prometheus/client_golang/pull/1286](https://redirect.github.com/prometheus/client_golang/pull/1286)
- Moving fully to GH actions. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1288](https://redirect.github.com/prometheus/client_golang/pull/1288)
- Fix docstring references to renamed native histogram fields / functions. by [@juliusv](https://redirect.github.com/juliusv) in [https://github.com/prometheus/client_golang/pull/1290](https://redirect.github.com/prometheus/client_golang/pull/1290)
- Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1289](https://redirect.github.com/prometheus/client_golang/pull/1289)
-
#### New Contributors
* @vegerot made their first contributi[https://github.com/prometheus/client_golang/pull/1153](https://redirect.github.com/prometheus/client_golang/pull/1153)l/1153
* @marevers made their first contributi[https://github.com/prometheus/client_golang/pull/1257](https://redirect.github.com/prometheus/client_golang/pull/1257)l/1257
* @PiotrLewandowski323 made their first contributi[https://github.com/prometheus/client_golang/pull/1260](https://redirect.github.com/prometheus/client_golang/pull/1260)l/1260
* @sashashura made their first contributi[https://github.com/prometheus/client_golang/pull/1180](https://redirect.github.com/prometheus/client_golang/pull/1180)l/1180
* @logicalhan made their first contributi[https://github.com/prometheus/client_golang/pull/1278](https://redirect.github.com/prometheus/client_golang/pull/1278)l/1278
* @khasanovbi made their first contributi[https://github.com/prometheus/client_golang/pull/1272](https://redirect.github.com/prometheus/client_golang/pull/1272)l/1272
* @krishnaduttPanchagnula made their first contributi[https://github.com/prometheus/client_golang/pull/1281](https://redirect.github.com/prometheus/client_golang/pull/1281)l/1281
* @avlitman made their first contributi[https://github.com/prometheus/client_golang/pull/1286](https://redirect.github.com/prometheus/client_golang/pull/1286)l/1286
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0
### [`v1.15.1`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.15.1)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1)
#### Changes
- \[BUGFIX] Fixed promhttp.Instrument\* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary), \
causing panics [#1253](https://redirect.github.com/prometheus/client_golang/issues/1253)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1
### [`v1.15.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.15.0)
[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0)
#### Changed
\[BUGFIX] Fix issue with atomic variables on ppc64le [#1171](https://redirect.github.com/prometheus/client_golang/issues/1171)
\[BUGFIX] Support for multiple samples within same metric [#1181](https://redirect.github.com/prometheus/client_golang/issues/1181)
\[BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 [#1187](https://redirect.github.com/prometheus/client_golang/issues/1187)
\[ENHANCEMENT] Add exemplars and middleware examples [#1173](https://redirect.github.com/prometheus/client_golang/issues/1173)
\[ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging [#1177](https://redirect.github.com/prometheus/client_golang/issues/1177)
\[ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs [#1151](https://redirect.github.com/prometheus/client_golang/issues/1151)
\[ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package [#1183](https://redirect.github.com/prometheus/client_golang/issues/1183)
\[ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation [#1066](https://redirect.github.com/prometheus/client_golang/issues/1066)
\[ENHANCEMENT] Add ability to Pusher to add custom headers [#1218](https://redirect.github.com/prometheus/client_golang/issues/1218)
\[ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage [#1225](https://redirect.github.com/prometheus/client_golang/issues/1225)
\[ENHANCEMENT] Added (official) support for go 1.20 [#1234](https://redirect.github.com/prometheus/client_golang/issues/1234)
\[ENHANCEMENT] timer: Added support for exemplars [#1233](https://redirect.github.com/prometheus/client_golang/issues/1233)
\[ENHANCEMENT] Filter expected metrics as well in CollectAndCompare [#1143](https://redirect.github.com/prometheus/client_golang/issues/1143)
\[ENHANCEMENT] ⚠️ Only set start/end if time is not Zero. This breaks compatibility in experimental api package. If you strictly depend on empty time.Time as actual value, the behavior is now changed [#1238](https://redirect.github.com/prometheus/client_golang/issues/1238)
All commits
- Merge release 1.14 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1164](https://redirect.github.com/prometheus/client_golang/pull/1164)
- Fix typo in doc comment by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1166](https://redirect.github.com/prometheus/client_golang/pull/1166)
- Fix issue with atomic variables on ppc64le by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1171](https://redirect.github.com/prometheus/client_golang/pull/1171)
- examples: Add exemplars and middleware examples by [@jessicalins](https://redirect.github.com/jessicalins) in [https://github.com/prometheus/client_golang/pull/1173](https://redirect.github.com/prometheus/client_golang/pull/1173)
- Add context to "duplicate label names" to enable debugging by [@SpencerMalone](https://redirect.github.com/SpencerMalone) in [https://github.com/prometheus/client_golang/pull/1177](https://redirect.github.com/prometheus/client_golang/pull/1177)
- Add constrained labels and Constrained variant for all MetricVecs by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1151](https://redirect.github.com/prometheus/client_golang/pull/1151)
- Support for multiple samples within same metric by [@machadovilaca](https://redirect.github.com/machadovilaca) in [https://github.com/prometheus/client_golang/pull/1181](https://redirect.github.com/prometheus/client_golang/pull/1181)
- Replace deprecated github.com/golang/protobuf package by [@zhsj](https://redirect.github.com/zhsj) in [https://github.com/prometheus/client_golang/pull/1183](https://redirect.github.com/prometheus/client_golang/pull/1183)
- Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by [@b4bay](https://redirect.github.com/b4bay) in [https://github.com/prometheus/client_golang/pull/1187](https://redirect.github.com/prometheus/client_golang/pull/1187)
- typo fix by [@ibreakthecloud](https://redirect.github.com/ibreakthecloud) in [https://github.com/prometheus/client_golang/pull/1178](https://redirect.github.com/prometheus/client_golang/pull/1178)
- Add possibility to dynamically get label values for http instrumentation by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1066](https://redirect.github.com/prometheus/client_golang/pull/1066)
- Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1199](https://redirect.github.com/prometheus/client_golang/pull/1199)
- Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1198](https://redirect.github.com/prometheus/client_golang/pull/1198)
- Bump golang.org/x/sys from 0.3.0 to 0.4.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1217](https://redirect.github.com/prometheus/client_golang/pull/1217)
- Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1213](https://redirect.github.com/prometheus/client_golang/pull/1213)
- Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by [@dependabot](https://re
---
### 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.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/stenic/sql-operator).
This PR contains the following updates:
v1.13.0
->v1.20.5
Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
### [`v1.20.5`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.5): / 2024-10-15 [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.4...v1.20.5) We decided to revert [the `testutil` change](https://redirect.github.com/prometheus/client_golang/pull/1424) that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the [exact error message](https://redirect.github.com/grafana/mimir/pull/9624#issuecomment-2413401565). Going forward, we plan to reinforce our release testing strategy [\[1\]](https://redirect.github.com/prometheus/client_golang/issues/1646),[\[2\]](https://redirect.github.com/prometheus/client_golang/issues/1648) and deliver an enhanced [`testutil` package/module](https://redirect.github.com/prometheus/client_golang/issues/1639) with more flexible and safer APIs. Thanks to [@dashpole](https://redirect.github.com/dashpole) [@dgrisonnet](https://redirect.github.com/dgrisonnet) [@kakkoyun](https://redirect.github.com/kakkoyun) [@ArthurSens](https://redirect.github.com/ArthurSens) [@vesari](https://redirect.github.com/vesari) [@logicalhan](https://redirect.github.com/logicalhan) [@krajorama](https://redirect.github.com/krajorama) [@bwplotka](https://redirect.github.com/bwplotka) who helped in this patch release! 🤗 ##### Changelog \[BUGFIX] testutil: Reverted [#1424](https://redirect.github.com/prometheus/client_golang/issues/1424); functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. [#1645](https://redirect.github.com/prometheus/client_golang/issues/1645) ### [`v1.20.4`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.4) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.3...v1.20.4) - \[BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. [#1623](https://redirect.github.com/prometheus/client_golang/issues/1623) ### [`v1.20.3`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.3) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3) - \[BUGFIX] histograms: Fix possible data race when appending exemplars. [#1608](https://redirect.github.com/prometheus/client_golang/issues/1608) ### [`v1.20.2`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.2) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.1...v1.20.2) - \[BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. [#1596](https://redirect.github.com/prometheus/client_golang/issues/1596) ### [`v1.20.1`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.1) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.0...v1.20.1) - \[BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. [#1587](https://redirect.github.com/prometheus/client_golang/issues/1587) ### [`v1.20.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.0) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.19.1...v1.20.0) Thanks everyone for contributions! :warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default `collectors.NewGoCollector()` collector. Given its popular usage, expect your binary to expose two additional metric. #### Changes - \[CHANGE] :warning: go-collector: Remove `go_memstat_lookups_total` metric which was always 0; Go runtime stopped sharing pointer lookup statistics. [#1577](https://redirect.github.com/prometheus/client_golang/issues/1577) - \[FEATURE] :warning: go-collector: Add 3 default metrics: `go_gc_gogc_percent`, `go_gc_gomemlimit_bytes` and `go_sched_gomaxprocs_threads` as those are recommended by the Go team. [#1559](https://redirect.github.com/prometheus/client_golang/issues/1559) - \[FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact `runtime/metrics` sourcing each metric (if relevant). [#1568](https://redirect.github.com/prometheus/client_golang/issues/1568) [#1578](https://redirect.github.com/prometheus/client_golang/issues/1578) - \[FEATURE] testutil: Add CollectAndFormat method. [#1503](https://redirect.github.com/prometheus/client_golang/issues/1503) - \[FEATURE] histograms: Add support for exemplars in native histograms. [#1471](https://redirect.github.com/prometheus/client_golang/issues/1471) - \[FEATURE] promhttp: Add experimental support for `zstd` on scrape, controlled by the request `Accept-Encoding` header. [#1496](https://redirect.github.com/prometheus/client_golang/issues/1496) - \[FEATURE] api/v1: Add `WithLimit` parameter to all API methods that supports it. [#1544](https://redirect.github.com/prometheus/client_golang/issues/1544) - \[FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. [#1537](https://redirect.github.com/prometheus/client_golang/issues/1537) - \[FEATURE] process-collectors: Add network usage metrics: `process_network_receive_bytes_total` and `process_network_transmit_bytes_total`. [#1555](https://redirect.github.com/prometheus/client_golang/issues/1555) - \[FEATURE] promlint: Add duplicated metric lint rule. [#1472](https://redirect.github.com/prometheus/client_golang/issues/1472) - \[BUGFIX] promlint: Relax metric type in name linter rule. [#1455](https://redirect.github.com/prometheus/client_golang/issues/1455) - \[BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. [#1480](https://redirect.github.com/prometheus/client_golang/issues/1480) - \[BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. [#1424](https://redirect.github.com/prometheus/client_golang/issues/1424)All commits
- feat(prometheus/testutil/promlint/validations): refine lintMetricType… by [@foehammer127](https://redirect.github.com/foehammer127) in [https://github.com/prometheus/client_golang/pull/1455](https://redirect.github.com/prometheus/client_golang/pull/1455) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1457](https://redirect.github.com/prometheus/client_golang/pull/1457) - Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1458](https://redirect.github.com/prometheus/client_golang/pull/1458) - Bump golang.org/x/sys from 0.16.0 to 0.17.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1459](https://redirect.github.com/prometheus/client_golang/pull/1459) - Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1461](https://redirect.github.com/prometheus/client_golang/pull/1461) - Merge Release 1.19 back to main by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1462](https://redirect.github.com/prometheus/client_golang/pull/1462) - Bump the github-actions group with 2 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1456](https://redirect.github.com/prometheus/client_golang/pull/1456) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1466](https://redirect.github.com/prometheus/client_golang/pull/1466) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1467](https://redirect.github.com/prometheus/client_golang/pull/1467) - Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1469](https://redirect.github.com/prometheus/client_golang/pull/1469) - Add LintDuplicateMetric to promlint by [@bboreham](https://redirect.github.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1472](https://redirect.github.com/prometheus/client_golang/pull/1472) - Auto-update Go Collector Metrics for new Go versions by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1476](https://redirect.github.com/prometheus/client_golang/pull/1476) - Implement Unwrap() for responseWriterDelegator by [@igor-drozdov](https://redirect.github.com/igor-drozdov) in [https://github.com/prometheus/client_golang/pull/1480](https://redirect.github.com/prometheus/client_golang/pull/1480) - Bump golang.org/x/sys from 0.17.0 to 0.18.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1485](https://redirect.github.com/prometheus/client_golang/pull/1485) - Bump github.com/prometheus/procfs from 0.12.0 to 0.13.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1486](https://redirect.github.com/prometheus/client_golang/pull/1486) - ci: Remove hardcoded supported Go versions from go.yml by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1489](https://redirect.github.com/prometheus/client_golang/pull/1489) - feat: metrics generation workflow by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1481](https://redirect.github.com/prometheus/client_golang/pull/1481) - fix: remove redundant go module in middleware example by [@majolo](https://redirect.github.com/majolo) in [https://github.com/prometheus/client_golang/pull/1492](https://redirect.github.com/prometheus/client_golang/pull/1492) - chore: Refactor how base metrics are added to Sched metrics by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1483](https://redirect.github.com/prometheus/client_golang/pull/1483) - gocollector: Add regex option to allow collection of debug runtime metrics by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1389](https://redirect.github.com/prometheus/client_golang/pull/1389) - Bump github.com/prometheus/common from 0.48.0 to 0.52.3 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1498](https://redirect.github.com/prometheus/client_golang/pull/1498) - chore: fix function name in comment by [@oftenoccur](https://redirect.github.com/oftenoccur) in [https://github.com/prometheus/client_golang/pull/1497](https://redirect.github.com/prometheus/client_golang/pull/1497) - build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1501](https://redirect.github.com/prometheus/client_golang/pull/1501) - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1502](https://redirect.github.com/prometheus/client_golang/pull/1502) - feat(dependency): replace go-spew package by [@dongjiang1989](https://redirect.github.com/dongjiang1989) in [https://github.com/prometheus/client_golang/pull/1499](https://redirect.github.com/prometheus/client_golang/pull/1499) - build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1504](https://redirect.github.com/prometheus/client_golang/pull/1504) - build(deps): bump github.com/cespare/xxhash/v2 from 2.2.0 to 2.3.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1505](https://redirect.github.com/prometheus/client_golang/pull/1505) - build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1506](https://redirect.github.com/prometheus/client_golang/pull/1506) - build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1507](https://redirect.github.com/prometheus/client_golang/pull/1507) - build(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1508](https://redirect.github.com/prometheus/client_golang/pull/1508) - build(deps): bump github.com/prometheus/common from 0.48.0 to 0.53.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1509](https://redirect.github.com/prometheus/client_golang/pull/1509) - improved code more clean by [@lilijreey](https://redirect.github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1511](https://redirect.github.com/prometheus/client_golang/pull/1511) - build(deps): bump the github-actions group with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1510](https://redirect.github.com/prometheus/client_golang/pull/1510) - \[CI]: Add Concurrency Grouping to GitHub Workflows by [@Ishani217](https://redirect.github.com/Ishani217) in [https://github.com/prometheus/client_golang/pull/1444](https://redirect.github.com/prometheus/client_golang/pull/1444) - Add CollectAndFormat to testutil, allowing caller to assert as they want to on the exported metric by [@jcass8695](https://redirect.github.com/jcass8695) in [https://github.com/prometheus/client_golang/pull/1503](https://redirect.github.com/prometheus/client_golang/pull/1503) - testutil compareMetricFamilies: make less error-prone by [@leonnicolas](https://redirect.github.com/leonnicolas) in [https://github.com/prometheus/client_golang/pull/1424](https://redirect.github.com/prometheus/client_golang/pull/1424) - improved code more clean use time.IsZero() replace t = time.Time{} by [@lilijreey](https://redirect.github.com/lilijreey) in [https://github.com/prometheus/client_golang/pull/1515](https://redirect.github.com/prometheus/client_golang/pull/1515) - add native histogram exemplar support by [@fatsheep9146](https://redirect.github.com/fatsheep9146) in [https://github.com/prometheus/client_golang/pull/1471](https://redirect.github.com/prometheus/client_golang/pull/1471) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1514](https://redirect.github.com/prometheus/client_golang/pull/1514) - build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1523](https://redirect.github.com/prometheus/client_golang/pull/1523) - build(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1522](https://redirect.github.com/prometheus/client_golang/pull/1522) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1524](https://redirect.github.com/prometheus/client_golang/pull/1524) - Add PR template for changelog automation by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1517](https://redirect.github.com/prometheus/client_golang/pull/1517) - Auto label PRs by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1518](https://redirect.github.com/prometheus/client_golang/pull/1518) - Fix: Auto label PRs [#1518](https://redirect.github.com/prometheus/client_golang/issues/1518) by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1525](https://redirect.github.com/prometheus/client_golang/pull/1525) - build(deps): bump github.com/prometheus/procfs from 0.13.0 to 0.15.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1527](https://redirect.github.com/prometheus/client_golang/pull/1527) - ci: Group all changelog-related CI jobs into single one by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1526](https://redirect.github.com/prometheus/client_golang/pull/1526) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1530](https://redirect.github.com/prometheus/client_golang/pull/1530) - Remove synchronize trigger from changelog workflow by [@SachinSahu431](https://redirect.github.com/SachinSahu431) in [https://github.com/prometheus/client_golang/pull/1532](https://redirect.github.com/prometheus/client_golang/pull/1532) - feat: Support zstd compression by [@mrueg](https://redirect.github.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1496](https://redirect.github.com/prometheus/client_golang/pull/1496) - Fix golangci-lint config by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1536](https://redirect.github.com/prometheus/client_golang/pull/1536) - build(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1529](https://redirect.github.com/prometheus/client_golang/pull/1529) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1531](https://redirect.github.com/prometheus/client_golang/pull/1531) - Cleanup NOTICE file by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1541](https://redirect.github.com/prometheus/client_golang/pull/1541) - Remove inlined upstream code by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1539](https://redirect.github.com/prometheus/client_golang/pull/1539) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1545](https://redirect.github.com/prometheus/client_golang/pull/1545) - client: Add Option to provide limit query param for APIs that support it by [@abbyssoul](https://redirect.github.com/abbyssoul) in [https://github.com/prometheus/client_golang/pull/1544](https://redirect.github.com/prometheus/client_golang/pull/1544) - Allow creating constant histogram and summary metrics with a created timestamp by [@swar8080](https://redirect.github.com/swar8080) in [https://github.com/prometheus/client_golang/pull/1537](https://redirect.github.com/prometheus/client_golang/pull/1537) - Update README.md by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1556](https://redirect.github.com/prometheus/client_golang/pull/1556) - Temporarily remove required CI job for changelog. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1560](https://redirect.github.com/prometheus/client_golang/pull/1560) - build(deps): bump github.com/prometheus/common from 0.53.0 to 0.55.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1549](https://redirect.github.com/prometheus/client_golang/pull/1549) - build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1552](https://redirect.github.com/prometheus/client_golang/pull/1552) - build(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1553](https://redirect.github.com/prometheus/client_golang/pull/1553) - fix: Update Go tests by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1562](https://redirect.github.com/prometheus/client_golang/pull/1562) - process_collector: collect received/transmitted bytes by [@huwcbjones](https://redirect.github.com/huwcbjones) in [https://github.com/prometheus/client_golang/pull/1555](https://redirect.github.com/prometheus/client_golang/pull/1555) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1561](https://redirect.github.com/prometheus/client_golang/pull/1561) - chore: Remove half-implemented changelog automation by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1564](https://redirect.github.com/prometheus/client_golang/pull/1564) - build(deps): bump the github-actions group across 1 directory with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1565](https://redirect.github.com/prometheus/client_golang/pull/1565) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1563](https://redirect.github.com/prometheus/client_golang/pull/1563) - build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1551](https://redirect.github.com/prometheus/client_golang/pull/1551) - deps: Updated to prometheus/common to 0.55 by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1566](https://redirect.github.com/prometheus/client_golang/pull/1566) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1567](https://redirect.github.com/prometheus/client_golang/pull/1567) - tutorials: Renamed tutorial -> tutorials for consistency + fixed tutorial code. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1569](https://redirect.github.com/prometheus/client_golang/pull/1569) - go collector: add default metrics acceptance tests; adding more context to HELP by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1568](https://redirect.github.com/prometheus/client_golang/pull/1568) - build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1570](https://redirect.github.com/prometheus/client_golang/pull/1570) - build(deps): bump the github-actions group with 3 updates by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1571](https://redirect.github.com/prometheus/client_golang/pull/1571) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1572](https://redirect.github.com/prometheus/client_golang/pull/1572) - ci: daggerize test and lint pipelines by [@marcosnils](https://redirect.github.com/marcosnils) in [https://github.com/prometheus/client_golang/pull/1534](https://redirect.github.com/prometheus/client_golang/pull/1534) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1573](https://redirect.github.com/prometheus/client_golang/pull/1573) - Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /sched/gomaxprocs:threads by [@vesari](https://redirect.github.com/vesari) in [https://github.com/prometheus/client_golang/pull/1559](https://redirect.github.com/prometheus/client_golang/pull/1559) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1576](https://redirect.github.com/prometheus/client_golang/pull/1576) - Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat metric's help. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1577](https://redirect.github.com/prometheus/client_golang/pull/1577) - gocollector: Attach original runtime/metrics metric name to help. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1578](https://redirect.github.com/prometheus/client_golang/pull/1578)Commits
- Merge v1.16.0 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1293](https://redirect.github.com/prometheus/client_golang/pull/1293) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1297](https://redirect.github.com/prometheus/client_golang/pull/1297) - ci: define minimal permissions to GitHub workflows by [@diogoteles08](https://redirect.github.com/diogoteles08) in [https://github.com/prometheus/client_golang/pull/1295](https://redirect.github.com/prometheus/client_golang/pull/1295) - Do not allocate memory when there's no constraints by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1296](https://redirect.github.com/prometheus/client_golang/pull/1296) - Bump golang.org/x/sys from 0.8.0 to 0.9.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1306](https://redirect.github.com/prometheus/client_golang/pull/1306) - Bump google.golang.org/grpc from 1.45.0 to 1.53.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1307](https://redirect.github.com/prometheus/client_golang/pull/1307) - histogram: Enable detection of a native histogram without observations by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1314](https://redirect.github.com/prometheus/client_golang/pull/1314) - Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1305](https://redirect.github.com/prometheus/client_golang/pull/1305) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1302](https://redirect.github.com/prometheus/client_golang/pull/1302) - Fix data-race in metric without `code` and `method` but with `WithLabelFromCtx` by [@tigrato](https://redirect.github.com/tigrato) in [https://github.com/prometheus/client_golang/pull/1318](https://redirect.github.com/prometheus/client_golang/pull/1318) - Add missing tick "\`" in README by [@ZiViZiViZ](https://redirect.github.com/ZiViZiViZ) in [https://github.com/prometheus/client_golang/pull/1321](https://redirect.github.com/prometheus/client_golang/pull/1321) - Bump golang.org/x/sys from 0.9.0 to 0.10.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1320](https://redirect.github.com/prometheus/client_golang/pull/1320) - Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1319](https://redirect.github.com/prometheus/client_golang/pull/1319) - docs: trivial grammar fixes to improve readability in promauto Godoc by [@sengi](https://redirect.github.com/sengi) in [https://github.com/prometheus/client_golang/pull/1322](https://redirect.github.com/prometheus/client_golang/pull/1322) - Add Go 1.21 support by [@kakkoyun](https://redirect.github.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1325](https://redirect.github.com/prometheus/client_golang/pull/1325) - Bump client_model by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1323](https://redirect.github.com/prometheus/client_golang/pull/1323) - histogram docs: Fixed minor nit. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1324](https://redirect.github.com/prometheus/client_golang/pull/1324) - Update building by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1326](https://redirect.github.com/prometheus/client_golang/pull/1326) - Bump golang.org/x/sys from 0.10.0 to 0.11.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1331](https://redirect.github.com/prometheus/client_golang/pull/1331) - Bump github.com/prometheus/client_golang from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1329](https://redirect.github.com/prometheus/client_golang/pull/1329) - Bump github.com/prometheus/client_golang from 1.13.1 to 1.16.0 in /examples/middleware by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1328](https://redirect.github.com/prometheus/client_golang/pull/1328) - Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1284](https://redirect.github.com/prometheus/client_golang/pull/1284) - Bump github.com/prometheus/common from 0.42.0 to 0.44.0 in /tutorial/whatsup by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1330](https://redirect.github.com/prometheus/client_golang/pull/1330) - Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1304](https://redirect.github.com/prometheus/client_golang/pull/1304) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1332](https://redirect.github.com/prometheus/client_golang/pull/1332) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1338](https://redirect.github.com/prometheus/client_golang/pull/1338) - Cleanup golangci-lint errcheck by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1339](https://redirect.github.com/prometheus/client_golang/pull/1339) - Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1348](https://redirect.github.com/prometheus/client_golang/pull/1348) - Extend Counters, Summaries and Histograms with creation timestamp by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1313](https://redirect.github.com/prometheus/client_golang/pull/1313) - Fix typos in comments, tests, and errors by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1346](https://redirect.github.com/prometheus/client_golang/pull/1346) - Deprecated comment should begin with "Deprecated:" by [@alexandear](https://redirect.github.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1347](https://redirect.github.com/prometheus/client_golang/pull/1347) - Add changelog entry for 1.17 by [@ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1352](https://redirect.github.com/prometheus/client_golang/pull/1352)Commits
- Merge v1.15 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1250](https://redirect.github.com/prometheus/client_golang/pull/1250) - Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by [@jacksontj](https://redirect.github.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1252](https://redirect.github.com/prometheus/client_golang/pull/1252) - ✏️ \[collectors]: fix typo in test assertion by [@vegerot](https://redirect.github.com/vegerot) in [https://github.com/prometheus/client_golang/pull/1153](https://redirect.github.com/prometheus/client_golang/pull/1153) - Added interactive tutorial \[kubeCon] by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1255](https://redirect.github.com/prometheus/client_golang/pull/1255) - Fixed tutorial. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1256](https://redirect.github.com/prometheus/client_golang/pull/1256) - Bump golang.org/x/sys from 0.6.0 to 0.7.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1265](https://redirect.github.com/prometheus/client_golang/pull/1265) - Cleanup proto use in tests by [@SuperQ](https://redirect.github.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1264](https://redirect.github.com/prometheus/client_golang/pull/1264) - Fix tutorial on WSL-based systems by [@marevers](https://redirect.github.com/marevers) in [https://github.com/prometheus/client_golang/pull/1257](https://redirect.github.com/prometheus/client_golang/pull/1257) - Fix undefined execution order in return statements by [@PiotrLewandowski323](https://redirect.github.com/PiotrLewandowski323) in [https://github.com/prometheus/client_golang/pull/1260](https://redirect.github.com/prometheus/client_golang/pull/1260) - Merge release 1.15.1 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1267](https://redirect.github.com/prometheus/client_golang/pull/1267) - GitHub Workflows security hardening by [@sashashura](https://redirect.github.com/sashashura) in [https://github.com/prometheus/client_golang/pull/1180](https://redirect.github.com/prometheus/client_golang/pull/1180) - add process start time header to client_golang prometheus by [@logicalhan](https://redirect.github.com/logicalhan) in [https://github.com/prometheus/client_golang/pull/1278](https://redirect.github.com/prometheus/client_golang/pull/1278) - Fix bug in bucket key calculation by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1279](https://redirect.github.com/prometheus/client_golang/pull/1279) - Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1283](https://redirect.github.com/prometheus/client_golang/pull/1283) - Reduce constrainLabels allocations by [@khasanovbi](https://redirect.github.com/khasanovbi) in [https://github.com/prometheus/client_golang/pull/1272](https://redirect.github.com/prometheus/client_golang/pull/1272) - added circleci as gh action YAML by [@krishnaduttPanchagnula](https://redirect.github.com/krishnaduttPanchagnula) in [https://github.com/prometheus/client_golang/pull/1281](https://redirect.github.com/prometheus/client_golang/pull/1281) - Improve metricUnits runtime by [@avlitman](https://redirect.github.com/avlitman) in [https://github.com/prometheus/client_golang/pull/1286](https://redirect.github.com/prometheus/client_golang/pull/1286) - Moving fully to GH actions. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1288](https://redirect.github.com/prometheus/client_golang/pull/1288) - Fix docstring references to renamed native histogram fields / functions. by [@juliusv](https://redirect.github.com/juliusv) in [https://github.com/prometheus/client_golang/pull/1290](https://redirect.github.com/prometheus/client_golang/pull/1290) - Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1289](https://redirect.github.com/prometheus/client_golang/pull/1289) -All commits
- Merge release 1.14 to main by [@bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1164](https://redirect.github.com/prometheus/client_golang/pull/1164) - Fix typo in doc comment by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1166](https://redirect.github.com/prometheus/client_golang/pull/1166) - Fix issue with atomic variables on ppc64le by [@beorn7](https://redirect.github.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1171](https://redirect.github.com/prometheus/client_golang/pull/1171) - examples: Add exemplars and middleware examples by [@jessicalins](https://redirect.github.com/jessicalins) in [https://github.com/prometheus/client_golang/pull/1173](https://redirect.github.com/prometheus/client_golang/pull/1173) - Add context to "duplicate label names" to enable debugging by [@SpencerMalone](https://redirect.github.com/SpencerMalone) in [https://github.com/prometheus/client_golang/pull/1177](https://redirect.github.com/prometheus/client_golang/pull/1177) - Add constrained labels and Constrained variant for all MetricVecs by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1151](https://redirect.github.com/prometheus/client_golang/pull/1151) - Support for multiple samples within same metric by [@machadovilaca](https://redirect.github.com/machadovilaca) in [https://github.com/prometheus/client_golang/pull/1181](https://redirect.github.com/prometheus/client_golang/pull/1181) - Replace deprecated github.com/golang/protobuf package by [@zhsj](https://redirect.github.com/zhsj) in [https://github.com/prometheus/client_golang/pull/1183](https://redirect.github.com/prometheus/client_golang/pull/1183) - Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by [@b4bay](https://redirect.github.com/b4bay) in [https://github.com/prometheus/client_golang/pull/1187](https://redirect.github.com/prometheus/client_golang/pull/1187) - typo fix by [@ibreakthecloud](https://redirect.github.com/ibreakthecloud) in [https://github.com/prometheus/client_golang/pull/1178](https://redirect.github.com/prometheus/client_golang/pull/1178) - Add possibility to dynamically get label values for http instrumentation by [@Okhoshi](https://redirect.github.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1066](https://redirect.github.com/prometheus/client_golang/pull/1066) - Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1199](https://redirect.github.com/prometheus/client_golang/pull/1199) - Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1198](https://redirect.github.com/prometheus/client_golang/pull/1198) - Bump golang.org/x/sys from 0.3.0 to 0.4.0 by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1217](https://redirect.github.com/prometheus/client_golang/pull/1217) - Synchronize common files from prometheus/prometheus by [@prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/client_golang/pull/1213](https://redirect.github.com/prometheus/client_golang/pull/1213) - Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by [@dependabot](https://re