prometheus/client_golang (github.com/prometheus/client_golang)
### [`v1.17.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.17.0)
[Compare Source](https://togithub.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://togithub.com/prometheus/client_golang/issues/1325)
- \[FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. [#1313](https://togithub.com/prometheus/client_golang/issues/1313)
- \[ENHANCEMENT] Enable detection of a native histogram without observations. [#1314](https://togithub.com/prometheus/client_golang/issues/1314)
Commits
- Merge v1.16.0 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1293](https://togithub.com/prometheus/client_golang/pull/1293)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1297](https://togithub.com/prometheus/client_golang/pull/1297)
- ci: define minimal permissions to GitHub workflows by [@diogoteles08](https://togithub.com/diogoteles08) in [https://github.com/prometheus/client_golang/pull/1295](https://togithub.com/prometheus/client_golang/pull/1295)
- Do not allocate memory when there's no constraints by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1296](https://togithub.com/prometheus/client_golang/pull/1296)
- Bump golang.org/x/sys from 0.8.0 to 0.9.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1306](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1307](https://togithub.com/prometheus/client_golang/pull/1307)
- histogram: Enable detection of a native histogram without observations by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1314](https://togithub.com/prometheus/client_golang/pull/1314)
- Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1305](https://togithub.com/prometheus/client_golang/pull/1305)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1302](https://togithub.com/prometheus/client_golang/pull/1302)
- Fix data-race in metric without `code` and `method` but with `WithLabelFromCtx` by [@tigrato](https://togithub.com/tigrato) in [https://github.com/prometheus/client_golang/pull/1318](https://togithub.com/prometheus/client_golang/pull/1318)
- Add missing tick "\`" in README by [@ZiViZiViZ](https://togithub.com/ZiViZiViZ) in [https://github.com/prometheus/client_golang/pull/1321](https://togithub.com/prometheus/client_golang/pull/1321)
- Bump golang.org/x/sys from 0.9.0 to 0.10.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1320](https://togithub.com/prometheus/client_golang/pull/1320)
- Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1319](https://togithub.com/prometheus/client_golang/pull/1319)
- docs: trivial grammar fixes to improve readability in promauto Godoc by [@sengi](https://togithub.com/sengi) in [https://github.com/prometheus/client_golang/pull/1322](https://togithub.com/prometheus/client_golang/pull/1322)
- Add Go 1.21 support by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1325](https://togithub.com/prometheus/client_golang/pull/1325)
- Bump client_model by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1323](https://togithub.com/prometheus/client_golang/pull/1323)
- histogram docs: Fixed minor nit. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1324](https://togithub.com/prometheus/client_golang/pull/1324)
- Update building by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1326](https://togithub.com/prometheus/client_golang/pull/1326)
- Bump golang.org/x/sys from 0.10.0 to 0.11.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1331](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1329](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1328](https://togithub.com/prometheus/client_golang/pull/1328)
- Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1284](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1330](https://togithub.com/prometheus/client_golang/pull/1330)
- Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1304](https://togithub.com/prometheus/client_golang/pull/1304)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1332](https://togithub.com/prometheus/client_golang/pull/1332)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1338](https://togithub.com/prometheus/client_golang/pull/1338)
- Cleanup golangci-lint errcheck by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1339](https://togithub.com/prometheus/client_golang/pull/1339)
- Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1348](https://togithub.com/prometheus/client_golang/pull/1348)
- Extend Counters, Summaries and Histograms with creation timestamp by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1313](https://togithub.com/prometheus/client_golang/pull/1313)
- Fix typos in comments, tests, and errors by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1346](https://togithub.com/prometheus/client_golang/pull/1346)
- Deprecated comment should begin with "Deprecated:" by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1347](https://togithub.com/prometheus/client_golang/pull/1347)
- Add changelog entry for 1.17 by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1352](https://togithub.com/prometheus/client_golang/pull/1352)
#### New Contributors
* @diogoteles08 made their first contributi[https://github.com/prometheus/client_golang/pull/1295](https://togithub.com/prometheus/client_golang/pull/1295)l/1295
* @tigrato made their first contributi[https://github.com/prometheus/client_golang/pull/1318](https://togithub.com/prometheus/client_golang/pull/1318)l/1318
* @ZiViZiViZ made their first contributi[https://github.com/prometheus/client_golang/pull/1321](https://togithub.com/prometheus/client_golang/pull/1321)l/1321
* @sengi made their first contributi[https://github.com/prometheus/client_golang/pull/1322](https://togithub.com/prometheus/client_golang/pull/1322)l/1322
* @ArthurSens made their first contributi[https://github.com/prometheus/client_golang/pull/1323](https://togithub.com/prometheus/client_golang/pull/1323)l/1323
* @alexandear made their first contributi[https://github.com/prometheus/client_golang/pull/1348](https://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.16.0)
[Compare Source](https://togithub.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://togithub.com/prometheus/client_golang/issues/1252)
- \[BUGFIX] api: Fix undefined execution order in return statements. [#1260](https://togithub.com/prometheus/client_golang/issues/1260)
- \[BUGFIX] native histograms: Fix bug in bucket key calculation. [#1279](https://togithub.com/prometheus/client_golang/issues/1279)
- \[ENHANCEMENT] Reduce constrainLabels allocations for all metrics. [#1272](https://togithub.com/prometheus/client_golang/issues/1272)
- \[ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. [#1278](https://togithub.com/prometheus/client_golang/issues/1278)
- \[ENHANCEMENT] promlint: Improve metricUnits runtime. [#1286](https://togithub.com/prometheus/client_golang/issues/1286)
Commits
- Merge v1.15 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1250](https://togithub.com/prometheus/client_golang/pull/1250)
- Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by [@jacksontj](https://togithub.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1252](https://togithub.com/prometheus/client_golang/pull/1252)
- ✏️ \[collectors]: fix typo in test assertion by [@vegerot](https://togithub.com/vegerot) in [https://github.com/prometheus/client_golang/pull/1153](https://togithub.com/prometheus/client_golang/pull/1153)
- Added interactive tutorial \[kubeCon] by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1255](https://togithub.com/prometheus/client_golang/pull/1255)
- Fixed tutorial. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1256](https://togithub.com/prometheus/client_golang/pull/1256)
- Bump golang.org/x/sys from 0.6.0 to 0.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1265](https://togithub.com/prometheus/client_golang/pull/1265)
- Cleanup proto use in tests by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1264](https://togithub.com/prometheus/client_golang/pull/1264)
- Fix tutorial on WSL-based systems by [@marevers](https://togithub.com/marevers) in [https://github.com/prometheus/client_golang/pull/1257](https://togithub.com/prometheus/client_golang/pull/1257)
- Fix undefined execution order in return statements by [@PiotrLewandowski323](https://togithub.com/PiotrLewandowski323) in [https://github.com/prometheus/client_golang/pull/1260](https://togithub.com/prometheus/client_golang/pull/1260)
- Merge release 1.15.1 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1267](https://togithub.com/prometheus/client_golang/pull/1267)
- GitHub Workflows security hardening by [@sashashura](https://togithub.com/sashashura) in [https://github.com/prometheus/client_golang/pull/1180](https://togithub.com/prometheus/client_golang/pull/1180)
- add process start time header to client_golang prometheus by [@logicalhan](https://togithub.com/logicalhan) in [https://github.com/prometheus/client_golang/pull/1278](https://togithub.com/prometheus/client_golang/pull/1278)
- Fix bug in bucket key calculation by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1279](https://togithub.com/prometheus/client_golang/pull/1279)
- Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1283](https://togithub.com/prometheus/client_golang/pull/1283)
- Reduce constrainLabels allocations by [@khasanovbi](https://togithub.com/khasanovbi) in [https://github.com/prometheus/client_golang/pull/1272](https://togithub.com/prometheus/client_golang/pull/1272)
- added circleci as gh action YAML by [@krishnaduttPanchagnula](https://togithub.com/krishnaduttPanchagnula) in [https://github.com/prometheus/client_golang/pull/1281](https://togithub.com/prometheus/client_golang/pull/1281)
- Improve metricUnits runtime by [@avlitman](https://togithub.com/avlitman) in [https://github.com/prometheus/client_golang/pull/1286](https://togithub.com/prometheus/client_golang/pull/1286)
- Moving fully to GH actions. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1288](https://togithub.com/prometheus/client_golang/pull/1288)
- Fix docstring references to renamed native histogram fields / functions. by [@juliusv](https://togithub.com/juliusv) in [https://github.com/prometheus/client_golang/pull/1290](https://togithub.com/prometheus/client_golang/pull/1290)
- Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1289](https://togithub.com/prometheus/client_golang/pull/1289)
-
#### New Contributors
* @vegerot made their first contributi[https://github.com/prometheus/client_golang/pull/1153](https://togithub.com/prometheus/client_golang/pull/1153)l/1153
* @marevers made their first contributi[https://github.com/prometheus/client_golang/pull/1257](https://togithub.com/prometheus/client_golang/pull/1257)l/1257
* @PiotrLewandowski323 made their first contributi[https://github.com/prometheus/client_golang/pull/1260](https://togithub.com/prometheus/client_golang/pull/1260)l/1260
* @sashashura made their first contributi[https://github.com/prometheus/client_golang/pull/1180](https://togithub.com/prometheus/client_golang/pull/1180)l/1180
* @logicalhan made their first contributi[https://github.com/prometheus/client_golang/pull/1278](https://togithub.com/prometheus/client_golang/pull/1278)l/1278
* @khasanovbi made their first contributi[https://github.com/prometheus/client_golang/pull/1272](https://togithub.com/prometheus/client_golang/pull/1272)l/1272
* @krishnaduttPanchagnula made their first contributi[https://github.com/prometheus/client_golang/pull/1281](https://togithub.com/prometheus/client_golang/pull/1281)l/1281
* @avlitman made their first contributi[https://github.com/prometheus/client_golang/pull/1286](https://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.15.1)
[Compare Source](https://togithub.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://togithub.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://togithub.com/prometheus/client_golang/releases/tag/v1.15.0)
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.14.0...v1.15.0)
#### Changed
\[BUGFIX] Fix issue with atomic variables on ppc64le [#1171](https://togithub.com/prometheus/client_golang/issues/1171)
\[BUGFIX] Support for multiple samples within same metric [#1181](https://togithub.com/prometheus/client_golang/issues/1181)
\[BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 [#1187](https://togithub.com/prometheus/client_golang/issues/1187)
\[ENHANCEMENT] Add exemplars and middleware examples [#1173](https://togithub.com/prometheus/client_golang/issues/1173)
\[ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging [#1177](https://togithub.com/prometheus/client_golang/issues/1177)
\[ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs [#1151](https://togithub.com/prometheus/client_golang/issues/1151)
\[ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package [#1183](https://togithub.com/prometheus/client_golang/issues/1183)
\[ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation [#1066](https://togithub.com/prometheus/client_golang/issues/1066)
\[ENHANCEMENT] Add ability to Pusher to add custom headers [#1218](https://togithub.com/prometheus/client_golang/issues/1218)
\[ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage [#1225](https://togithub.com/prometheus/client_golang/issues/1225)
\[ENHANCEMENT] Added (official) support for go 1.20 [#1234](https://togithub.com/prometheus/client_golang/issues/1234)
\[ENHANCEMENT] timer: Added support for exemplars [#1233](https://togithub.com/prometheus/client_golang/issues/1233)
\[ENHANCEMENT] Filter expected metrics as well in CollectAndCompare [#1143](https://togithub.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://togithub.com/prometheus/client_golang/issues/1238)
All commits
- Merge release 1.14 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1164](https://togithub.com/prometheus/client_golang/pull/1164)
- Fix typo in doc comment by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1166](https://togithub.com/prometheus/client_golang/pull/1166)
- Fix issue with atomic variables on ppc64le by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1171](https://togithub.com/prometheus/client_golang/pull/1171)
- examples: Add exemplars and middleware examples by [@jessicalins](https://togithub.com/jessicalins) in [https://github.com/prometheus/client_golang/pull/1173](https://togithub.com/prometheus/client_golang/pull/1173)
- Add context to "duplicate label names" to enable debugging by [@SpencerMalone](https://togithub.com/SpencerMalone) in [https://github.com/prometheus/client_golang/pull/1177](https://togithub.com/prometheus/client_golang/pull/1177)
- Add constrained labels and Constrained variant for all MetricVecs by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1151](https://togithub.com/prometheus/client_golang/pull/1151)
- Support for multiple samples within same metric by [@machadovilaca](https://togithub.com/machadovilaca) in [https://github.com/prometheus/client_golang/pull/1181](https://togithub.com/prometheus/client_golang/pull/1181)
- Replace deprecated github.com/golang/protobuf package by [@zhsj](https://togithub.com/zhsj) in [https://github.com/prometheus/client_golang/pull/1183](https://togithub.com/prometheus/client_golang/pull/1183)
- Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by [@b4bay](https://togithub.com/b4bay) in [https://github.com/prometheus/client_golang/pull/1187](https://togithub.com/prometheus/client_golang/pull/1187)
- typo fix by [@ibreakthecloud](https://togithub.com/ibreakthecloud) in [https://github.com/prometheus/client_golang/pull/1178](https://togithub.com/prometheus/client_golang/pull/1178)
- Add possibility to dynamically get label values for http instrumentation by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1066](https://togithub.com/prometheus/client_golang/pull/1066)
- Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1199](https://togithub.com/prometheus/client_golang/pull/1199)
- Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1198](https://togithub.com/prometheus/client_golang/pull/1198)
- Bump golang.org/x/sys from 0.3.0 to 0.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1217](https://togithub.com/prometheus/client_golang/pull/1217)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1213](https://togithub.com/prometheus/client_golang/pull/1213)
- Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1197](https://togithub.com/prometheus/client_golang/pull/1197)
- Add `Header` method to Pusher for custom header by [@songjiayang](https://togithub.com/songjiayang) in [https://github.com/prometheus/client_golang/pull/1218](https://togithub.com/prometheus/client_golang/pull/1218)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1224](https://togithub.com/prometheus/client_golang/pull/1224)
- api: Extend and improve json-iterator usage by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1225](https://togithub.com/prometheus/client_golang/pull/1225)
- Indent example in godoc consistently by [@lamida](https://togithub.com/lamida) in [https://github.com/prometheus/client_golang/pull/1226](https://togithub.com/prometheus/client_golang/pull/1226)
- Remove unnecessary check if label is nil in observeWithExemplar by [@dimonl](https://togithub.com/dimonl) in [https://github.com/prometheus/client_golang/pull/1235](https://togithub.com/prometheus/client_golang/pull/1235)
- README: Remove not working gocoverage images. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1236](https://togithub.com/prometheus/client_golang/pull/1236)
- Added support for go 1.20. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1234](https://togithub.com/prometheus/client_golang/pull/1234)
- timer: Added support for exemplars. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1233](https://togithub.com/prometheus/client_golang/pull/1233)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1237](https://togithub.com/prometheus/client_golang/pull/1237)
- Filter expected metrics as well in CollectAndCompare by [@DariaKunoichi](https://togithub.com/DariaKunoichi) in [https://github.com/prometheus/client_golang/pull/1143](https://togithub.com/prometheus/client_golang/pull/1143)
- Only set start/end if time is not Zero by [@jacksontj](https://togithub.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1238](https://togithub.com/prometheus/client_golang/pull/1238)
- Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1243](https://togithub.com/prometheus/client_golang/pull/1243)
- Bump golang.org/x/sys from 0.5.0 to 0.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1246](https://togithub.com/prometheus/client_golang/pull/1246)
- Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1245](https://togithub.com/prometheus/client_golang/pull/1245)
- Bump github.com/prometheus/common from 0.41.0 to 0.42.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1244](https://togithub.com/prometheus/client_golang/pull/1244)
- Cut v1.15.0 by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1249](https://togithub.com/prometheus/client_golang/pull/1249)
#### New Contributors
* @SpencerMalone made their first contributi[https://github.com/prometheus/client_golang/pull/1177](https://togithub.com/prometheus/client_golang/pull/1177)l/1177
* @Okhoshi made their first contributi[https://github.com/prometheus/client_golang/pull/1151](https://togithub.com/prometheus/client_golang/pull/1151)l/1151
* @machadovilaca made their first contributi[https://github.com/prometheus/client_golang/pull/1181](https://togithub.com/prometheus/client_golang/pull/1181)l/1181
* @b4bay made their first contributi[https://github.com/prometheus/client_golang/pull/1187](https://togithub.com/prometheus/client_golang/pull/1187)l/1187
* @ibreakthecloud made their first contributi[https://github.com/prometheus/client_golang/pull/1178](https://togithub.com/prometheus/client_golang/pull/1178)l/1178
* @songjiayang made their first contributi[https://github.com/prometheus/client_golang/pull/1218](https://togithub.com/prometheus/client_golang/pull/1218)l/1218
* @lamida made their first contributi[https://github.com/prometheus/client_golang/pull/1226](https://togithub.com/prometheus/client_golang/pull/1226)l/1226
* @dimonl made their first contributi[https://github.com/prometheus/client_golang/pull/1235](https://togithub.com/prometheus/client_golang/pull/1235)l/1235
* @DariaKunoichi made their first contributi[https://github.com/prometheus/client_golang/pull/1143](https://togithub.com/prometheus/client_golang/pull/1143)l/1143
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0
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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.14.0
->v1.17.0
Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
### [`v1.17.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.17.0) [Compare Source](https://togithub.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://togithub.com/prometheus/client_golang/issues/1325) - \[FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. [#1313](https://togithub.com/prometheus/client_golang/issues/1313) - \[ENHANCEMENT] Enable detection of a native histogram without observations. [#1314](https://togithub.com/prometheus/client_golang/issues/1314)Commits
- Merge v1.16.0 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1293](https://togithub.com/prometheus/client_golang/pull/1293) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1297](https://togithub.com/prometheus/client_golang/pull/1297) - ci: define minimal permissions to GitHub workflows by [@diogoteles08](https://togithub.com/diogoteles08) in [https://github.com/prometheus/client_golang/pull/1295](https://togithub.com/prometheus/client_golang/pull/1295) - Do not allocate memory when there's no constraints by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1296](https://togithub.com/prometheus/client_golang/pull/1296) - Bump golang.org/x/sys from 0.8.0 to 0.9.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1306](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1307](https://togithub.com/prometheus/client_golang/pull/1307) - histogram: Enable detection of a native histogram without observations by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1314](https://togithub.com/prometheus/client_golang/pull/1314) - Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1305](https://togithub.com/prometheus/client_golang/pull/1305) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1302](https://togithub.com/prometheus/client_golang/pull/1302) - Fix data-race in metric without `code` and `method` but with `WithLabelFromCtx` by [@tigrato](https://togithub.com/tigrato) in [https://github.com/prometheus/client_golang/pull/1318](https://togithub.com/prometheus/client_golang/pull/1318) - Add missing tick "\`" in README by [@ZiViZiViZ](https://togithub.com/ZiViZiViZ) in [https://github.com/prometheus/client_golang/pull/1321](https://togithub.com/prometheus/client_golang/pull/1321) - Bump golang.org/x/sys from 0.9.0 to 0.10.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1320](https://togithub.com/prometheus/client_golang/pull/1320) - Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1319](https://togithub.com/prometheus/client_golang/pull/1319) - docs: trivial grammar fixes to improve readability in promauto Godoc by [@sengi](https://togithub.com/sengi) in [https://github.com/prometheus/client_golang/pull/1322](https://togithub.com/prometheus/client_golang/pull/1322) - Add Go 1.21 support by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1325](https://togithub.com/prometheus/client_golang/pull/1325) - Bump client_model by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1323](https://togithub.com/prometheus/client_golang/pull/1323) - histogram docs: Fixed minor nit. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1324](https://togithub.com/prometheus/client_golang/pull/1324) - Update building by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1326](https://togithub.com/prometheus/client_golang/pull/1326) - Bump golang.org/x/sys from 0.10.0 to 0.11.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1331](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1329](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1328](https://togithub.com/prometheus/client_golang/pull/1328) - Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1284](https://togithub.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://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1330](https://togithub.com/prometheus/client_golang/pull/1330) - Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1304](https://togithub.com/prometheus/client_golang/pull/1304) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1332](https://togithub.com/prometheus/client_golang/pull/1332) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1338](https://togithub.com/prometheus/client_golang/pull/1338) - Cleanup golangci-lint errcheck by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1339](https://togithub.com/prometheus/client_golang/pull/1339) - Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1348](https://togithub.com/prometheus/client_golang/pull/1348) - Extend Counters, Summaries and Histograms with creation timestamp by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1313](https://togithub.com/prometheus/client_golang/pull/1313) - Fix typos in comments, tests, and errors by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1346](https://togithub.com/prometheus/client_golang/pull/1346) - Deprecated comment should begin with "Deprecated:" by [@alexandear](https://togithub.com/alexandear) in [https://github.com/prometheus/client_golang/pull/1347](https://togithub.com/prometheus/client_golang/pull/1347) - Add changelog entry for 1.17 by [@ArthurSens](https://togithub.com/ArthurSens) in [https://github.com/prometheus/client_golang/pull/1352](https://togithub.com/prometheus/client_golang/pull/1352)Commits
- Merge v1.15 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1250](https://togithub.com/prometheus/client_golang/pull/1250) - Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by [@jacksontj](https://togithub.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1252](https://togithub.com/prometheus/client_golang/pull/1252) - ✏️ \[collectors]: fix typo in test assertion by [@vegerot](https://togithub.com/vegerot) in [https://github.com/prometheus/client_golang/pull/1153](https://togithub.com/prometheus/client_golang/pull/1153) - Added interactive tutorial \[kubeCon] by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1255](https://togithub.com/prometheus/client_golang/pull/1255) - Fixed tutorial. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1256](https://togithub.com/prometheus/client_golang/pull/1256) - Bump golang.org/x/sys from 0.6.0 to 0.7.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1265](https://togithub.com/prometheus/client_golang/pull/1265) - Cleanup proto use in tests by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1264](https://togithub.com/prometheus/client_golang/pull/1264) - Fix tutorial on WSL-based systems by [@marevers](https://togithub.com/marevers) in [https://github.com/prometheus/client_golang/pull/1257](https://togithub.com/prometheus/client_golang/pull/1257) - Fix undefined execution order in return statements by [@PiotrLewandowski323](https://togithub.com/PiotrLewandowski323) in [https://github.com/prometheus/client_golang/pull/1260](https://togithub.com/prometheus/client_golang/pull/1260) - Merge release 1.15.1 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1267](https://togithub.com/prometheus/client_golang/pull/1267) - GitHub Workflows security hardening by [@sashashura](https://togithub.com/sashashura) in [https://github.com/prometheus/client_golang/pull/1180](https://togithub.com/prometheus/client_golang/pull/1180) - add process start time header to client_golang prometheus by [@logicalhan](https://togithub.com/logicalhan) in [https://github.com/prometheus/client_golang/pull/1278](https://togithub.com/prometheus/client_golang/pull/1278) - Fix bug in bucket key calculation by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1279](https://togithub.com/prometheus/client_golang/pull/1279) - Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1283](https://togithub.com/prometheus/client_golang/pull/1283) - Reduce constrainLabels allocations by [@khasanovbi](https://togithub.com/khasanovbi) in [https://github.com/prometheus/client_golang/pull/1272](https://togithub.com/prometheus/client_golang/pull/1272) - added circleci as gh action YAML by [@krishnaduttPanchagnula](https://togithub.com/krishnaduttPanchagnula) in [https://github.com/prometheus/client_golang/pull/1281](https://togithub.com/prometheus/client_golang/pull/1281) - Improve metricUnits runtime by [@avlitman](https://togithub.com/avlitman) in [https://github.com/prometheus/client_golang/pull/1286](https://togithub.com/prometheus/client_golang/pull/1286) - Moving fully to GH actions. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1288](https://togithub.com/prometheus/client_golang/pull/1288) - Fix docstring references to renamed native histogram fields / functions. by [@juliusv](https://togithub.com/juliusv) in [https://github.com/prometheus/client_golang/pull/1290](https://togithub.com/prometheus/client_golang/pull/1290) - Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1289](https://togithub.com/prometheus/client_golang/pull/1289) -All commits
- Merge release 1.14 to main by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1164](https://togithub.com/prometheus/client_golang/pull/1164) - Fix typo in doc comment by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1166](https://togithub.com/prometheus/client_golang/pull/1166) - Fix issue with atomic variables on ppc64le by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1171](https://togithub.com/prometheus/client_golang/pull/1171) - examples: Add exemplars and middleware examples by [@jessicalins](https://togithub.com/jessicalins) in [https://github.com/prometheus/client_golang/pull/1173](https://togithub.com/prometheus/client_golang/pull/1173) - Add context to "duplicate label names" to enable debugging by [@SpencerMalone](https://togithub.com/SpencerMalone) in [https://github.com/prometheus/client_golang/pull/1177](https://togithub.com/prometheus/client_golang/pull/1177) - Add constrained labels and Constrained variant for all MetricVecs by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1151](https://togithub.com/prometheus/client_golang/pull/1151) - Support for multiple samples within same metric by [@machadovilaca](https://togithub.com/machadovilaca) in [https://github.com/prometheus/client_golang/pull/1181](https://togithub.com/prometheus/client_golang/pull/1181) - Replace deprecated github.com/golang/protobuf package by [@zhsj](https://togithub.com/zhsj) in [https://github.com/prometheus/client_golang/pull/1183](https://togithub.com/prometheus/client_golang/pull/1183) - Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by [@b4bay](https://togithub.com/b4bay) in [https://github.com/prometheus/client_golang/pull/1187](https://togithub.com/prometheus/client_golang/pull/1187) - typo fix by [@ibreakthecloud](https://togithub.com/ibreakthecloud) in [https://github.com/prometheus/client_golang/pull/1178](https://togithub.com/prometheus/client_golang/pull/1178) - Add possibility to dynamically get label values for http instrumentation by [@Okhoshi](https://togithub.com/Okhoshi) in [https://github.com/prometheus/client_golang/pull/1066](https://togithub.com/prometheus/client_golang/pull/1066) - Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1199](https://togithub.com/prometheus/client_golang/pull/1199) - Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1198](https://togithub.com/prometheus/client_golang/pull/1198) - Bump golang.org/x/sys from 0.3.0 to 0.4.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1217](https://togithub.com/prometheus/client_golang/pull/1217) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1213](https://togithub.com/prometheus/client_golang/pull/1213) - Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1197](https://togithub.com/prometheus/client_golang/pull/1197) - Add `Header` method to Pusher for custom header by [@songjiayang](https://togithub.com/songjiayang) in [https://github.com/prometheus/client_golang/pull/1218](https://togithub.com/prometheus/client_golang/pull/1218) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1224](https://togithub.com/prometheus/client_golang/pull/1224) - api: Extend and improve json-iterator usage by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1225](https://togithub.com/prometheus/client_golang/pull/1225) - Indent example in godoc consistently by [@lamida](https://togithub.com/lamida) in [https://github.com/prometheus/client_golang/pull/1226](https://togithub.com/prometheus/client_golang/pull/1226) - Remove unnecessary check if label is nil in observeWithExemplar by [@dimonl](https://togithub.com/dimonl) in [https://github.com/prometheus/client_golang/pull/1235](https://togithub.com/prometheus/client_golang/pull/1235) - README: Remove not working gocoverage images. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1236](https://togithub.com/prometheus/client_golang/pull/1236) - Added support for go 1.20. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1234](https://togithub.com/prometheus/client_golang/pull/1234) - timer: Added support for exemplars. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1233](https://togithub.com/prometheus/client_golang/pull/1233) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1237](https://togithub.com/prometheus/client_golang/pull/1237) - Filter expected metrics as well in CollectAndCompare by [@DariaKunoichi](https://togithub.com/DariaKunoichi) in [https://github.com/prometheus/client_golang/pull/1143](https://togithub.com/prometheus/client_golang/pull/1143) - Only set start/end if time is not Zero by [@jacksontj](https://togithub.com/jacksontj) in [https://github.com/prometheus/client_golang/pull/1238](https://togithub.com/prometheus/client_golang/pull/1238) - Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1243](https://togithub.com/prometheus/client_golang/pull/1243) - Bump golang.org/x/sys from 0.5.0 to 0.6.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1246](https://togithub.com/prometheus/client_golang/pull/1246) - Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1245](https://togithub.com/prometheus/client_golang/pull/1245) - Bump github.com/prometheus/common from 0.41.0 to 0.42.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1244](https://togithub.com/prometheus/client_golang/pull/1244) - Cut v1.15.0 by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1249](https://togithub.com/prometheus/client_golang/pull/1249)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.
This PR has been generated by Mend Renovate. View repository job log here.