prometheus/client_golang (github.com/prometheus/client_golang)
### [`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
### [`v1.14.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.14.0): 1.14.0 / 2022-11-08
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.13.1...v1.14.0)
It might look like a small release, but it's quite opposite 😱 There were many non user facing changes and fixes and enormous work from engineers from Grafana to add native histograms in 💪🏾 Enjoy! 😍
#### What's Changed
- \[FEATURE] Add Support for Native Histograms. [#1150](https://togithub.com/prometheus/client_golang/issues/1150)
- \[CHANGE] Extend `prometheus.Registry` to implement `prometheus.Collector` interface. [#1103](https://togithub.com/prometheus/client_golang/issues/1103)
#### New Contributors
- [@hairyhenderson](https://togithub.com/hairyhenderson) made their first contribution in [https://github.com/prometheus/client_golang/pull/1118](https://togithub.com/prometheus/client_golang/pull/1118)
- [@rfratto](https://togithub.com/rfratto) made their first contribution in [https://github.com/prometheus/client_golang/pull/1103](https://togithub.com/prometheus/client_golang/pull/1103)
- [@donotnoot](https://togithub.com/donotnoot) made their first contribution in [https://github.com/prometheus/client_golang/pull/1125](https://togithub.com/prometheus/client_golang/pull/1125)
- [@rogerogers](https://togithub.com/rogerogers) made their first contribution in [https://github.com/prometheus/client_golang/pull/1130](https://togithub.com/prometheus/client_golang/pull/1130)
- [@balintzs](https://togithub.com/balintzs) made their first contribution in [https://github.com/prometheus/client_golang/pull/1148](https://togithub.com/prometheus/client_golang/pull/1148)
- [@fstab](https://togithub.com/fstab) made their first contribution in [https://github.com/prometheus/client_golang/pull/1146](https://togithub.com/prometheus/client_golang/pull/1146)
- [@jessicalins](https://togithub.com/jessicalins) made their first contribution in [https://github.com/prometheus/client_golang/pull/1152](https://togithub.com/prometheus/client_golang/pull/1152)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0
### [`v1.13.1`](https://togithub.com/prometheus/client_golang/releases/tag/v1.13.1): 1.13.1 / 2022-11-02
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.13.0...v1.13.1)
- \[BUGFIX] Fix race condition with Exemplar in Counter. [#1146](https://togithub.com/prometheus/client_golang/issues/1146)
- \[BUGFIX] Fix `CumulativeCount` value of `+Inf` bucket created from exemplar. [#1148](https://togithub.com/prometheus/client_golang/issues/1148)
- \[BUGFIX] Fix double-counting bug in `promhttp.InstrumentRoundTripperCounter`. [#1118](https://togithub.com/prometheus/client_golang/issues/1118)
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1
### [`v1.13.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.13.0): 1.13.0 / 2022-08-06
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.12.2...v1.13.0)
- \[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version).
- \[ENHANCEMENT] Added `prometheus.TransactionalGatherer` interface for `promhttp.Handler` use which allows using low allocation update techniques for custom collectors. [#989](https://togithub.com/prometheus/client_golang/issues/989)
- \[ENHANCEMENT] Added exemplar support to `prometheus.NewConstHistogram`. See [`ExampleNewConstHistogram_WithExemplar`](prometheus/examples_test.go#L602) example on how to use it. [#986](https://togithub.com/prometheus/client_golang/issues/986)
- \[ENHANCEMENT] Query requests are now retried after network error. [#1022](https://togithub.com/prometheus/client_golang/issues/1022)
- \[ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#1028](https://togithub.com/prometheus/client_golang/issues/1028)
- \[ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#1075](https://togithub.com/prometheus/client_golang/issues/1075)
- \[ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#998](https://togithub.com/prometheus/client_golang/issues/998)
- \[ENHANCEMENT] Query API now supports timeouts. [#1014](https://togithub.com/prometheus/client_golang/issues/1014)
- \[ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#1013](https://togithub.com/prometheus/client_golang/issues/1013)
- \[ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#1025](https://togithub.com/prometheus/client_golang/issues/1025)
- \[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#1091](https://togithub.com/prometheus/client_golang/issues/1091)
- \[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#1094](https://togithub.com/prometheus/client_golang/issues/1094)
- \[ENHANCEMENT] Most `promhttp.Instrument*` middlewares now support adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and puts it in exemplar if present. [#1055](https://togithub.com/prometheus/client_golang/issues/1055)
- \[ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#1043](https://togithub.com/prometheus/client_golang/issues/1043)
- \[BUGFIX] Fixed `GopherJS` build support. [#897](https://togithub.com/prometheus/client_golang/issues/897)
- \[ENHANCEMENT] :warning: Added way to specify what `runtime/metrics` `collectors.NewGoCollector` should use. See [`ExampleGoCollector_WithAdvancedGoMetrics`](prometheus/collectors/go_collector_latest_test.go#L263). [#1102](https://togithub.com/prometheus/client_golang/issues/1102)
#### New Contributors ❤️
- [@alissa-tung](https://togithub.com/alissa-tung) made their first contribution in [https://github.com/prometheus/client_golang/pull/1000](https://togithub.com/prometheus/client_golang/pull/1000)
- [@wperron](https://togithub.com/wperron) made their first contribution in [https://github.com/prometheus/client_golang/pull/986](https://togithub.com/prometheus/client_golang/pull/986)
- [@zhijian-pro](https://togithub.com/zhijian-pro) made their first contribution in [https://github.com/prometheus/client_golang/pull/1005](https://togithub.com/prometheus/client_golang/pull/1005)
- [@dohnto](https://togithub.com/dohnto) made their first contribution in [https://github.com/prometheus/client_golang/pull/1021](https://togithub.com/prometheus/client_golang/pull/1021)
- [@tatsuhiro-t](https://togithub.com/tatsuhiro-t) made their first contribution in [https://github.com/prometheus/client_golang/pull/1028](https://togithub.com/prometheus/client_golang/pull/1028)
- [@sourikghosh](https://togithub.com/sourikghosh) made their first contribution in [https://github.com/prometheus/client_golang/pull/998](https://togithub.com/prometheus/client_golang/pull/998)
- [@josephwoodward](https://togithub.com/josephwoodward) made their first contribution in [https://github.com/prometheus/client_golang/pull/1014](https://togithub.com/prometheus/client_golang/pull/1014)
- [@stone-z](https://togithub.com/stone-z) made their first contribution in [https://github.com/prometheus/client_golang/pull/1013](https://togithub.com/prometheus/client_golang/pull/1013)
- [@yolossn](https://togithub.com/yolossn) made their first contribution in [https://github.com/prometheus/client_golang/pull/1025](https://togithub.com/prometheus/client_golang/pull/1025)
- [@xrstf](https://togithub.com/xrstf) made their first contribution in [https://github.com/prometheus/client_golang/pull/1039](https://togithub.com/prometheus/client_golang/pull/1039)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/prometheus/client_golang/pull/1051](https://togithub.com/prometheus/client_golang/pull/1051)
- [@sazary](https://togithub.com/sazary) made their first contribution in [https://github.com/prometheus/client_golang/pull/1056](https://togithub.com/prometheus/client_golang/pull/1056)
- [@oiooj](https://togithub.com/oiooj) made their first contribution in [https://github.com/prometheus/client_golang/pull/1075](https://togithub.com/prometheus/client_golang/pull/1075)
- [@fredr](https://togithub.com/fredr) made their first contribution in [https://github.com/prometheus/client_golang/pull/1095](https://togithub.com/prometheus/client_golang/pull/1095)
- [@inosato](https://togithub.com/inosato) made their first contribution in [https://github.com/prometheus/client_golang/pull/1096](https://togithub.com/prometheus/client_golang/pull/1096)
- [@arun-shopify](https://togithub.com/arun-shopify) made their first contribution in [https://github.com/prometheus/client_golang/pull/1094](https://togithub.com/prometheus/client_golang/pull/1094)
- [@paralin](https://togithub.com/paralin) made their first contribution in [https://github.com/prometheus/client_golang/pull/897](https://togithub.com/prometheus/client_golang/pull/897)
Commits
- go.mod: Set minimal support version of go to 1.15 by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/980](https://togithub.com/prometheus/client_golang/pull/980)
- Enable CodeQL Analysis by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/982](https://togithub.com/prometheus/client_golang/pull/982)
- Added Transactional Gatherer allowed cached solutions by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/989](https://togithub.com/prometheus/client_golang/pull/989)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/992](https://togithub.com/prometheus/client_golang/pull/992)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1003](https://togithub.com/prometheus/client_golang/pull/1003)
- Fix deprecated `NewBuildInfoCollector` API by [@alissa-tung](https://togithub.com/alissa-tung) in [https://github.com/prometheus/client_golang/pull/1000](https://togithub.com/prometheus/client_golang/pull/1000)
- Add exemplar support for const histogram by [@wperron](https://togithub.com/wperron) in [https://github.com/prometheus/client_golang/pull/986](https://togithub.com/prometheus/client_golang/pull/986)
- Fixed lint warning. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1007](https://togithub.com/prometheus/client_golang/pull/1007)
- .circleci: Add config to test against go1.18 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1006](https://togithub.com/prometheus/client_golang/pull/1006)
- When prefix is empty, no more dots should be written by [@zhijian-pro](https://togithub.com/zhijian-pro) in [https://github.com/prometheus/client_golang/pull/1005](https://togithub.com/prometheus/client_golang/pull/1005)
- Add statebot config by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1001](https://togithub.com/prometheus/client_golang/pull/1001)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1009](https://togithub.com/prometheus/client_golang/pull/1009)
- Remove workaround for pre go1.15 by [@johejo](https://togithub.com/johejo) in [https://github.com/prometheus/client_golang/pull/1010](https://togithub.com/prometheus/client_golang/pull/1010)
- go.mod: Update dependencies by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1018](https://togithub.com/prometheus/client_golang/pull/1018)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1019](https://togithub.com/prometheus/client_golang/pull/1019)
- Refactor apiClientImpl.DoGetFallback by [@dohnto](https://togithub.com/dohnto) in [https://github.com/prometheus/client_golang/pull/1021](https://togithub.com/prometheus/client_golang/pull/1021)
- Added info about our slack channel. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1029](https://togithub.com/prometheus/client_golang/pull/1029)
- push: Add PushContext and AddContext to Pusher by [@tatsuhiro-t](https://togithub.com/tatsuhiro-t) in [https://github.com/prometheus/client_golang/pull/1028](https://togithub.com/prometheus/client_golang/pull/1028)
- Make Query requests idempotent by [@dohnto](https://togithub.com/dohnto) in [https://github.com/prometheus/client_golang/pull/1022](https://togithub.com/prometheus/client_golang/pull/1022)
- Bump minimum required Go version to 1.16 by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/10327](https://togithub.com/prometheus/client_golang/pull/10327)
- Update query API to support timeouts by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1014](https://togithub.com/prometheus/client_golang/pull/1014)
- Implement deletion based on partially matching labels by [@stone-z](https://togithub.com/stone-z) in [https://github.com/prometheus/client_golang/pull/1013](https://togithub.com/prometheus/client_golang/pull/1013)
- Document WithTimeout option for Query/QueryRange by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1037](https://togithub.com/prometheus/client_golang/pull/1037)
- client: Allow configuration of http client by [@yolossn](https://togithub.com/yolossn) in [https://github.com/prometheus/client_golang/pull/1025](https://togithub.com/prometheus/client_golang/pull/1025)
- update branch names in a few links by [@xrstf](https://togithub.com/xrstf) in [https://github.com/prometheus/client_golang/pull/1039](https://togithub.com/prometheus/client_golang/pull/1039)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1045](https://togithub.com/prometheus/client_golang/pull/1045)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1046](https://togithub.com/prometheus/client_golang/pull/1046)
- prometheus: Fix convention violating names for generated collector metrics by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1048](https://togithub.com/prometheus/client_golang/pull/1048)
- Remove -Inf buckets from go collector histograms by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1049](https://togithub.com/prometheus/client_golang/pull/1049)
- Enable dependabot by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1050](https://togithub.com/prometheus/client_golang/pull/1050)
- Bump github.com/prometheus/common from 0.33.0 to 0.34.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1051](https://togithub.com/prometheus/client_golang/pull/1051)
- Cut v1.12.2 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1052](https://togithub.com/prometheus/client_golang/pull/1052)
- Update readme after v0.12.2 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1053](https://togithub.com/prometheus/client_golang/pull/1053)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1061](https://togithub.com/prometheus/client_golang/pull/1061)
- Update minimum supported Go version (1.17) by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1062](https://togithub.com/prometheus/client_golang/pull/1062)
- Add GitHub settings by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1063](https://togithub.com/prometheus/client_golang/pull/1063)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1064](https://togithub.com/prometheus/client_golang/pull/1064)
- Enable same linters as the Prometheus repo itself by [@sazary](https://togithub.com/sazary) in [https://github.com/prometheus/client_golang/pull/1056](https://togithub.com/prometheus/client_golang/pull/1056)
- Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1068](https://togithub.com/prometheus/client_golang/pull/1068)
- Add Error API for pusher by [@oiooj](https://togithub.com/oiooj) in [https://github.com/prometheus/client_golang/pull/1075](https://togithub.com/prometheus/client_golang/pull/1075)
- Bump github.com/prometheus/common from 0.34.0 to 0.35.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1076](https://togithub.com/prometheus/client_golang/pull/1076)
- Merge release-1.12 branch back into main by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1079](https://togithub.com/prometheus/client_golang/pull/1079)
- Fix version number in VERSION by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1080](https://togithub.com/prometheus/client_golang/pull/1080)
- Merging release branch back to main again by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1081](https://togithub.com/prometheus/client_golang/pull/1081)
- Raise exemplar labels limit from 64 to 128 by [@bboreham](https://togithub.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1091](https://togithub.com/prometheus/client_golang/pull/1091)
- Update documentation for exemplar label limit by [@fredr](https://togithub.com/fredr) in [https://github.com/prometheus/client_golang/pull/1095](https://togithub.com/prometheus/client_golang/pull/1095)
- Bump github.com/prometheus/common from 0.35.0 to 0.37.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1098](https://togithub.com/prometheus/client_golang/pull/1098)
- Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1099](https://togithub.com/prometheus/client_golang/pull/1099)
- Remove ioutil by [@inosato](https://togithub.com/inosato) in [https://github.com/prometheus/client_golang/pull/1096](https://togithub.com/prometheus/client_golang/pull/1096)
- Bump github.com/prometheus/procfs from 0.7.3 to 0.8.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1097](https://togithub.com/prometheus/client_golang/pull/1097)
- explicitly add +inf bucket in withExemplarsMetric by [@arun-shopify](https://togithub.com/arun-shopify) in [https://github.com/prometheus/client_golang/pull/1094](https://togithub.com/prometheus/client_golang/pull/1094)
- Ensure tests verify request params by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1047](https://togithub.com/prometheus/client_golang/pull/1047)
- Fixed support for unordered input of exemplars. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1100](https://togithub.com/prometheus/client_golang/pull/1100)
- Added exemplar support to http middleware. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1055](https://togithub.com/prometheus/client_golang/pull/1055)
- fix assorted oddities found by golangci-lint by [@xrstf](https://togithub.com/xrstf) in [https://github.com/prometheus/client_golang/pull/1040](https://togithub.com/prometheus/client_golang/pull/1040)
- Generate new Go runtime metrics for go 1.19 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1105](https://togithub.com/prometheus/client_golang/pull/1105)
- testutil: Add ScrapeAndCompare by [@sazary](https://togithub.com/sazary) in [https://github.com/prometheus/client_golang/pull/1043](https://togithub.com/prometheus/client_golang/pull/1043)
- Fix build against GopherJS by [@paralin](https://togithub.com/paralin) in [https://github.com/prometheus/client_golang/pull/897](https://togithub.com/prometheus/client_golang/pull/897)
- collectors.GoCollector: Added rule support for granular metric configuration. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1102](https://togithub.com/prometheus/client_golang/pull/1102)
- Cut 1.13.0 by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1110](https://togithub.com/prometheus/client_golang/pull/1110)
### [`v1.12.2`](https://togithub.com/prometheus/client_golang/releases/tag/v1.12.2): 1.12.2 / 2022-05-13
[Compare Source](https://togithub.com/prometheus/client_golang/compare/v1.12.1...v1.12.2)
- \[CHANGE] Added `collectors.WithGoCollections` that allows to choose what collection of Go runtime metrics user wants: Equivalent of [`MemStats` structure](https://pkg.go.dev/runtime#MemStats) configured using `GoRuntimeMemStatsCollection`, new based on dedicated [runtime/metrics](https://pkg.go.dev/runtime/metrics) metrics represented by `GoRuntimeMetricsCollection` option, or both by specifying `GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection` flag.
- \[CHANGE] :warning: Change in `collectors.NewGoCollector` metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back with `GoRuntimeMetricsCollection` option or `GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection` for smooth transition.
- \[BUGFIX] Fixed the bug that causes generated histogram metric names to end with `_total`. ⚠️ This changes 3 metric names in the new Go collector that was reverted from default in this release.
- `go_gc_heap_allocs_by_size_bytes_total` -> `go_gc_heap_allocs_by_size_bytes`,
- `go_gc_heap_frees_by_size_bytes_total` -> `go_gc_heap_allocs_by_size_bytes`
- `go_gc_pauses_seconds_total` -> `go_gc_pauses_seconds`.
- \[CHANGE] Removed `-Inf` buckets from new Go Collector histograms.
**Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2
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.12.1
->v1.16.0
Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
### [`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) -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)Commits
- go.mod: Set minimal support version of go to 1.15 by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/980](https://togithub.com/prometheus/client_golang/pull/980) - Enable CodeQL Analysis by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/982](https://togithub.com/prometheus/client_golang/pull/982) - Added Transactional Gatherer allowed cached solutions by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/989](https://togithub.com/prometheus/client_golang/pull/989) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/992](https://togithub.com/prometheus/client_golang/pull/992) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1003](https://togithub.com/prometheus/client_golang/pull/1003) - Fix deprecated `NewBuildInfoCollector` API by [@alissa-tung](https://togithub.com/alissa-tung) in [https://github.com/prometheus/client_golang/pull/1000](https://togithub.com/prometheus/client_golang/pull/1000) - Add exemplar support for const histogram by [@wperron](https://togithub.com/wperron) in [https://github.com/prometheus/client_golang/pull/986](https://togithub.com/prometheus/client_golang/pull/986) - Fixed lint warning. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1007](https://togithub.com/prometheus/client_golang/pull/1007) - .circleci: Add config to test against go1.18 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1006](https://togithub.com/prometheus/client_golang/pull/1006) - When prefix is empty, no more dots should be written by [@zhijian-pro](https://togithub.com/zhijian-pro) in [https://github.com/prometheus/client_golang/pull/1005](https://togithub.com/prometheus/client_golang/pull/1005) - Add statebot config by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1001](https://togithub.com/prometheus/client_golang/pull/1001) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1009](https://togithub.com/prometheus/client_golang/pull/1009) - Remove workaround for pre go1.15 by [@johejo](https://togithub.com/johejo) in [https://github.com/prometheus/client_golang/pull/1010](https://togithub.com/prometheus/client_golang/pull/1010) - go.mod: Update dependencies by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/1018](https://togithub.com/prometheus/client_golang/pull/1018) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1019](https://togithub.com/prometheus/client_golang/pull/1019) - Refactor apiClientImpl.DoGetFallback by [@dohnto](https://togithub.com/dohnto) in [https://github.com/prometheus/client_golang/pull/1021](https://togithub.com/prometheus/client_golang/pull/1021) - Added info about our slack channel. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1029](https://togithub.com/prometheus/client_golang/pull/1029) - push: Add PushContext and AddContext to Pusher by [@tatsuhiro-t](https://togithub.com/tatsuhiro-t) in [https://github.com/prometheus/client_golang/pull/1028](https://togithub.com/prometheus/client_golang/pull/1028) - Make Query requests idempotent by [@dohnto](https://togithub.com/dohnto) in [https://github.com/prometheus/client_golang/pull/1022](https://togithub.com/prometheus/client_golang/pull/1022) - Bump minimum required Go version to 1.16 by [@mrueg](https://togithub.com/mrueg) in [https://github.com/prometheus/client_golang/pull/10327](https://togithub.com/prometheus/client_golang/pull/10327) - Update query API to support timeouts by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1014](https://togithub.com/prometheus/client_golang/pull/1014) - Implement deletion based on partially matching labels by [@stone-z](https://togithub.com/stone-z) in [https://github.com/prometheus/client_golang/pull/1013](https://togithub.com/prometheus/client_golang/pull/1013) - Document WithTimeout option for Query/QueryRange by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1037](https://togithub.com/prometheus/client_golang/pull/1037) - client: Allow configuration of http client by [@yolossn](https://togithub.com/yolossn) in [https://github.com/prometheus/client_golang/pull/1025](https://togithub.com/prometheus/client_golang/pull/1025) - update branch names in a few links by [@xrstf](https://togithub.com/xrstf) in [https://github.com/prometheus/client_golang/pull/1039](https://togithub.com/prometheus/client_golang/pull/1039) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1045](https://togithub.com/prometheus/client_golang/pull/1045) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1046](https://togithub.com/prometheus/client_golang/pull/1046) - prometheus: Fix convention violating names for generated collector metrics by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1048](https://togithub.com/prometheus/client_golang/pull/1048) - Remove -Inf buckets from go collector histograms by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1049](https://togithub.com/prometheus/client_golang/pull/1049) - Enable dependabot by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1050](https://togithub.com/prometheus/client_golang/pull/1050) - Bump github.com/prometheus/common from 0.33.0 to 0.34.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1051](https://togithub.com/prometheus/client_golang/pull/1051) - Cut v1.12.2 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1052](https://togithub.com/prometheus/client_golang/pull/1052) - Update readme after v0.12.2 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1053](https://togithub.com/prometheus/client_golang/pull/1053) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1061](https://togithub.com/prometheus/client_golang/pull/1061) - Update minimum supported Go version (1.17) by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1062](https://togithub.com/prometheus/client_golang/pull/1062) - Add GitHub settings by [@SuperQ](https://togithub.com/SuperQ) in [https://github.com/prometheus/client_golang/pull/1063](https://togithub.com/prometheus/client_golang/pull/1063) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1064](https://togithub.com/prometheus/client_golang/pull/1064) - Enable same linters as the Prometheus repo itself by [@sazary](https://togithub.com/sazary) in [https://github.com/prometheus/client_golang/pull/1056](https://togithub.com/prometheus/client_golang/pull/1056) - Synchronize common files from prometheus/prometheus by [@prombot](https://togithub.com/prombot) in [https://github.com/prometheus/client_golang/pull/1068](https://togithub.com/prometheus/client_golang/pull/1068) - Add Error API for pusher by [@oiooj](https://togithub.com/oiooj) in [https://github.com/prometheus/client_golang/pull/1075](https://togithub.com/prometheus/client_golang/pull/1075) - Bump github.com/prometheus/common from 0.34.0 to 0.35.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1076](https://togithub.com/prometheus/client_golang/pull/1076) - Merge release-1.12 branch back into main by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1079](https://togithub.com/prometheus/client_golang/pull/1079) - Fix version number in VERSION by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1080](https://togithub.com/prometheus/client_golang/pull/1080) - Merging release branch back to main again by [@beorn7](https://togithub.com/beorn7) in [https://github.com/prometheus/client_golang/pull/1081](https://togithub.com/prometheus/client_golang/pull/1081) - Raise exemplar labels limit from 64 to 128 by [@bboreham](https://togithub.com/bboreham) in [https://github.com/prometheus/client_golang/pull/1091](https://togithub.com/prometheus/client_golang/pull/1091) - Update documentation for exemplar label limit by [@fredr](https://togithub.com/fredr) in [https://github.com/prometheus/client_golang/pull/1095](https://togithub.com/prometheus/client_golang/pull/1095) - Bump github.com/prometheus/common from 0.35.0 to 0.37.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1098](https://togithub.com/prometheus/client_golang/pull/1098) - Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1099](https://togithub.com/prometheus/client_golang/pull/1099) - Remove ioutil by [@inosato](https://togithub.com/inosato) in [https://github.com/prometheus/client_golang/pull/1096](https://togithub.com/prometheus/client_golang/pull/1096) - Bump github.com/prometheus/procfs from 0.7.3 to 0.8.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/prometheus/client_golang/pull/1097](https://togithub.com/prometheus/client_golang/pull/1097) - explicitly add +inf bucket in withExemplarsMetric by [@arun-shopify](https://togithub.com/arun-shopify) in [https://github.com/prometheus/client_golang/pull/1094](https://togithub.com/prometheus/client_golang/pull/1094) - Ensure tests verify request params by [@josephwoodward](https://togithub.com/josephwoodward) in [https://github.com/prometheus/client_golang/pull/1047](https://togithub.com/prometheus/client_golang/pull/1047) - Fixed support for unordered input of exemplars. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1100](https://togithub.com/prometheus/client_golang/pull/1100) - Added exemplar support to http middleware. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1055](https://togithub.com/prometheus/client_golang/pull/1055) - fix assorted oddities found by golangci-lint by [@xrstf](https://togithub.com/xrstf) in [https://github.com/prometheus/client_golang/pull/1040](https://togithub.com/prometheus/client_golang/pull/1040) - Generate new Go runtime metrics for go 1.19 by [@kakkoyun](https://togithub.com/kakkoyun) in [https://github.com/prometheus/client_golang/pull/1105](https://togithub.com/prometheus/client_golang/pull/1105) - testutil: Add ScrapeAndCompare by [@sazary](https://togithub.com/sazary) in [https://github.com/prometheus/client_golang/pull/1043](https://togithub.com/prometheus/client_golang/pull/1043) - Fix build against GopherJS by [@paralin](https://togithub.com/paralin) in [https://github.com/prometheus/client_golang/pull/897](https://togithub.com/prometheus/client_golang/pull/897) - collectors.GoCollector: Added rule support for granular metric configuration. by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1102](https://togithub.com/prometheus/client_golang/pull/1102) - Cut 1.13.0 by [@bwplotka](https://togithub.com/bwplotka) in [https://github.com/prometheus/client_golang/pull/1110](https://togithub.com/prometheus/client_golang/pull/1110)
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.