Update module github.com/prometheus/client_golang to v1.19.1 #5

Merged
rasmus merged 1 commits from renovate/github.com-prometheus-client_golang-1.x into master 2024-06-04 23:23:00 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.11.1 -> v1.19.1

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1

v1.19.0

Compare Source

What's Changed

The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.

  • [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #​1445 #​1449
  • [FEATURE] collectors: Add version collector. #​1422 #​1427

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0

v1.18.0

Compare Source

What's Changed

  • [FEATURE] promlint: Allow creation of custom metric validations. #​1311
  • [FEATURE] Go programs using client_golang can be built in wasip1 OS. #​1350
  • [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #​1367
  • [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #​1378
  • [ENHANCEMENT] Improved performance of MetricVec.WithLabelValues(...). #​1360

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0

v1.17.0

Compare Source

What's Changed

  • [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #​1325
  • [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #​1313
  • [ENHANCEMENT] Enable detection of a native histogram without observations. #​1314
Commits

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0

v1.16.0

Compare Source

What's Changed

  • [BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #​1252
  • [BUGFIX] api: Fix undefined execution order in return statements. #​1260
  • [BUGFIX] native histograms: Fix bug in bucket key calculation. #​1279
  • [ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #​1272
  • [ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #​1278
  • [ENHANCEMENT] promlint: Improve metricUnits runtime. #​1286
Commits

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0

v1.15.1

Compare Source

Changes

  • [BUGFIX] Fixed promhttp.Instrument* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary),
    causing panics #​1253

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1

v1.15.0

Compare Source

Changed

[BUGFIX] Fix issue with atomic variables on ppc64le #​1171
[BUGFIX] Support for multiple samples within same metric #​1181
[BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 #​1187
[ENHANCEMENT] Add exemplars and middleware examples #​1173
[ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging #​1177
[ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs #​1151
[ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package #​1183
[ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation #​1066
[ENHANCEMENT] Add ability to Pusher to add custom headers #​1218
[ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage #​1225
[ENHANCEMENT] Added (official) support for go 1.20 #​1234
[ENHANCEMENT] timer: Added support for exemplars #​1233
[ENHANCEMENT] Filter expected metrics as well in CollectAndCompare #​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

All commits

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0

v1.14.0: 1.14.0 / 2022-11-08

Compare Source

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
  • [CHANGE] Extend prometheus.Registry to implement prometheus.Collector interface. #​1103

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0

v1.13.1: 1.13.1 / 2022-11-02

Compare Source

  • [BUGFIX] Fix race condition with Exemplar in Counter. #​1146
  • [BUGFIX] Fix CumulativeCount value of +Inf bucket created from exemplar. #​1148
  • [BUGFIX] Fix double-counting bug in promhttp.InstrumentRoundTripperCounter. #​1118

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1

v1.13.0: 1.13.0 / 2022-08-06

Compare Source

  • [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
  • [ENHANCEMENT] Added exemplar support to prometheus.NewConstHistogram. See ExampleNewConstHistogram_WithExemplar example on how to use it. #​986
  • [ENHANCEMENT] Query requests are now retried after network error. #​1022
  • [ENHANCEMENT] prometheus/push.Pusher now has context-aware methods that pass context to HTTP requests. #​1028
  • [ENHANCEMENT] prometheus/push.Pusher has now Error method that retrieve last error. #​1075
  • [ENHANCEMENT] testutil.GatherAndCompare provides now readable diff on failed comparisons. #​998
  • [ENHANCEMENT] Query API now supports timeouts. #​1014
  • [ENHANCEMENT] New MetricVec method DeletePartialMatch(labels Labels) for deleting all metrics that match provided labels. #​1013
  • [ENHANCEMENT] api.Config now accepts passing custom *http.Client. #​1025
  • [BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. #​1091
  • [BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. #​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
  • [ENHANCEMENT] Added testutil.ScrapeAndCompare method. #​1043
  • [BUGFIX] Fixed GopherJS build support. #​897
  • [ENHANCEMENT] ⚠️ Added way to specify what runtime/metrics collectors.NewGoCollector should use. See ExampleGoCollector_WithAdvancedGoMetrics. #​1102

New Contributors ❤️

Commits

v1.12.2: 1.12.2 / 2022-05-13

Compare Source

  • [CHANGE] Added collectors.WithGoCollections that allows to choose what collection of Go runtime metrics user wants: Equivalent of MemStats structure configured using GoRuntimeMemStatsCollection, new based on dedicated runtime/metrics metrics represented by GoRuntimeMetricsCollection option, or both by specifying GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection flag.
  • [CHANGE] ⚠️ 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

v1.12.1: 1.12.1 / 2022-01-29

Compare Source

  • [BUGFIX] Make the Go 1.17 collector concurrency-safe #​969
    • Use simpler locking in the Go 1.17 collector #​975
  • [BUGFIX] Reduce granularity of histogram buckets for Go 1.17 collector #​974
  • [ENHANCEMENT] API client: make HTTP reads more efficient #​976

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1

v1.12.0: 1.12.0 / 2022-01-19

Compare Source

  • [CHANGE] example/random: Move flags and metrics into main() #​935
  • [FEATURE] API client: Support wal replay status api #​944
  • [FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ #​955
  • [ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats #​925
  • [SECURITY FIX] promhttp: Check validity of method and code label values #​962 (Addressed CVE-2022-21698)

What's Changed

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | require | minor | `v1.11.1` -> `v1.19.1` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.19.1`](https://github.com/prometheus/client_golang/releases/tag/v1.19.1) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1) #### What's Changed - Security patches for `golang.org/x/sys` and `google.golang.org/protobuf` #### New Contributors - [@&#8203;lukasauk](https://github.com/lukasauk) made their first contribution in https://github.com/prometheus/client_golang/pull/1494 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1 ### [`v1.19.0`](https://github.com/prometheus/client_golang/releases/tag/v1.19.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0) #### What's Changed The module `prometheus/common v0.48.0` introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use `prometheus/common v0.48.0` or higher, please update client_golang to v1.19.0. - \[CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). [#&#8203;1445](https://github.com/prometheus/client_golang/issues/1445) [#&#8203;1449](https://github.com/prometheus/client_golang/issues/1449) - \[FEATURE] collectors: Add version collector. [#&#8203;1422](https://github.com/prometheus/client_golang/issues/1422) [#&#8203;1427](https://github.com/prometheus/client_golang/issues/1427) #### New Contributors - [@&#8203;michurin](https://github.com/michurin) made their first contribution in https://github.com/prometheus/client_golang/pull/1423 - [@&#8203;kavu](https://github.com/kavu) made their first contribution in https://github.com/prometheus/client_golang/pull/1445 - [@&#8203;ywwg](https://github.com/ywwg) made their first contribution in https://github.com/prometheus/client_golang/pull/1448 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0 ### [`v1.18.0`](https://github.com/prometheus/client_golang/releases/tag/v1.18.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0) #### What's Changed - \[FEATURE] promlint: Allow creation of custom metric validations. [#&#8203;1311](https://github.com/prometheus/client_golang/issues/1311) - \[FEATURE] Go programs using client_golang can be built in wasip1 OS. [#&#8203;1350](https://github.com/prometheus/client_golang/issues/1350) - \[BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. [#&#8203;1367](https://github.com/prometheus/client_golang/issues/1367) - \[BUGFIX] testutil: Fix comparison of metrics with empty Help strings. [#&#8203;1378](https://github.com/prometheus/client_golang/issues/1378) - \[ENHANCEMENT] Improved performance of `MetricVec.WithLabelValues(...)`. [#&#8203;1360](https://github.com/prometheus/client_golang/issues/1360) #### New Contributors - [@&#8203;srenatus](https://github.com/srenatus) made their first contribution in https://github.com/prometheus/client_golang/pull/1350 - [@&#8203;jadolg](https://github.com/jadolg) made their first contribution in https://github.com/prometheus/client_golang/pull/1342 - [@&#8203;manas-rust](https://github.com/manas-rust) made their first contribution in https://github.com/prometheus/client_golang/pull/1383 - [@&#8203;bluekeyes](https://github.com/bluekeyes) made their first contribution in https://github.com/prometheus/client_golang/pull/1378 - [@&#8203;tsipo](https://github.com/tsipo) made their first contribution in https://github.com/prometheus/client_golang/pull/1387 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0 ### [`v1.17.0`](https://github.com/prometheus/client_golang/releases/tag/v1.17.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0) #### What's Changed - \[CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). [#&#8203;1325](https://github.com/prometheus/client_golang/issues/1325) - \[FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. [#&#8203;1313](https://github.com/prometheus/client_golang/issues/1313) - \[ENHANCEMENT] Enable detection of a native histogram without observations. [#&#8203;1314](https://github.com/prometheus/client_golang/issues/1314) <details><summary>Commits</summary> - Merge v1.16.0 to main by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1293 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1297 - ci: define minimal permissions to GitHub workflows by [@&#8203;diogoteles08](https://github.com/diogoteles08) in https://github.com/prometheus/client_golang/pull/1295 - Do not allocate memory when there's no constraints by [@&#8203;Okhoshi](https://github.com/Okhoshi) in https://github.com/prometheus/client_golang/pull/1296 - Bump golang.org/x/sys from 0.8.0 to 0.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1306 - Bump google.golang.org/grpc from 1.45.0 to 1.53.0 in /tutorial/whatsup by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1307 - histogram: Enable detection of a native histogram without observations by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1314 - Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1305 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1302 - Fix data-race in metric without `code` and `method` but with `WithLabelFromCtx` by [@&#8203;tigrato](https://github.com/tigrato) in https://github.com/prometheus/client_golang/pull/1318 - Add missing tick "\`" in README by [@&#8203;ZiViZiViZ](https://github.com/ZiViZiViZ) in https://github.com/prometheus/client_golang/pull/1321 - Bump golang.org/x/sys from 0.9.0 to 0.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1320 - Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1319 - docs: trivial grammar fixes to improve readability in promauto Godoc by [@&#8203;sengi](https://github.com/sengi) in https://github.com/prometheus/client_golang/pull/1322 - Add Go 1.21 support by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1325 - Bump client_model by [@&#8203;ArthurSens](https://github.com/ArthurSens) in https://github.com/prometheus/client_golang/pull/1323 - histogram docs: Fixed minor nit. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1324 - Update building by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1326 - Bump golang.org/x/sys from 0.10.0 to 0.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1331 - Bump github.com/prometheus/client_golang from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0 in /tutorial/whatsup by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1329 - Bump github.com/prometheus/client_golang from 1.13.1 to 1.16.0 in /examples/middleware by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1328 - Bump github.com/prometheus/common from 0.42.0 to 0.44.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1284 - Bump github.com/prometheus/common from 0.42.0 to 0.44.0 in /tutorial/whatsup by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1330 - Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1304 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1332 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1338 - Cleanup golangci-lint errcheck by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1339 - Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/prometheus/client_golang/pull/1348 - Extend Counters, Summaries and Histograms with creation timestamp by [@&#8203;ArthurSens](https://github.com/ArthurSens) in https://github.com/prometheus/client_golang/pull/1313 - Fix typos in comments, tests, and errors by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/prometheus/client_golang/pull/1346 - Deprecated comment should begin with "Deprecated:" by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/prometheus/client_golang/pull/1347 - Add changelog entry for 1.17 by [@&#8203;ArthurSens](https://github.com/ArthurSens) in https://github.com/prometheus/client_golang/pull/1352 </details> #### New Contributors * @&#8203;diogoteles08 made their first contribution in https://github.com/prometheus/client_golang/pull/1295 * @&#8203;tigrato made their first contribution in https://github.com/prometheus/client_golang/pull/1318 * @&#8203;ZiViZiViZ made their first contribution in https://github.com/prometheus/client_golang/pull/1321 * @&#8203;sengi made their first contribution in https://github.com/prometheus/client_golang/pull/1322 * @&#8203;ArthurSens made their first contribution in https://github.com/prometheus/client_golang/pull/1323 * @&#8203;alexandear made their first contribution in https://github.com/prometheus/client_golang/pull/1348 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0 ### [`v1.16.0`](https://github.com/prometheus/client_golang/releases/tag/v1.16.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0) #### What's Changed - \[BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. [#&#8203;1252](https://github.com/prometheus/client_golang/issues/1252) - \[BUGFIX] api: Fix undefined execution order in return statements. [#&#8203;1260](https://github.com/prometheus/client_golang/issues/1260) - \[BUGFIX] native histograms: Fix bug in bucket key calculation. [#&#8203;1279](https://github.com/prometheus/client_golang/issues/1279) - \[ENHANCEMENT] Reduce constrainLabels allocations for all metrics. [#&#8203;1272](https://github.com/prometheus/client_golang/issues/1272) - \[ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. [#&#8203;1278](https://github.com/prometheus/client_golang/issues/1278) - \[ENHANCEMENT] promlint: Improve metricUnits runtime. [#&#8203;1286](https://github.com/prometheus/client_golang/issues/1286) <details> <summary> Commits </summary> - Merge v1.15 to main by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1250 - Switch to POST for LabelNames, Series, and QueryExemplars to DoGetFallback by [@&#8203;jacksontj](https://github.com/jacksontj) in https://github.com/prometheus/client_golang/pull/1252 - ✏️ \[collectors]: fix typo in test assertion by [@&#8203;vegerot](https://github.com/vegerot) in https://github.com/prometheus/client_golang/pull/1153 - Added interactive tutorial \[kubeCon] by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1255 - Fixed tutorial. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1256 - Bump golang.org/x/sys from 0.6.0 to 0.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1265 - Cleanup proto use in tests by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1264 - Fix tutorial on WSL-based systems by [@&#8203;marevers](https://github.com/marevers) in https://github.com/prometheus/client_golang/pull/1257 - Fix undefined execution order in return statements by [@&#8203;PiotrLewandowski323](https://github.com/PiotrLewandowski323) in https://github.com/prometheus/client_golang/pull/1260 - Merge release 1.15.1 to main by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1267 - GitHub Workflows security hardening by [@&#8203;sashashura](https://github.com/sashashura) in https://github.com/prometheus/client_golang/pull/1180 - add process start time header to client_golang prometheus by [@&#8203;logicalhan](https://github.com/logicalhan) in https://github.com/prometheus/client_golang/pull/1278 - Fix bug in bucket key calculation by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1279 - Bump github.com/prometheus/procfs from 0.9.0 to 0.10.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1283 - Reduce constrainLabels allocations by [@&#8203;khasanovbi](https://github.com/khasanovbi) in https://github.com/prometheus/client_golang/pull/1272 - added circleci as gh action YAML by [@&#8203;krishnaduttPanchagnula](https://github.com/krishnaduttPanchagnula) in https://github.com/prometheus/client_golang/pull/1281 - Improve metricUnits runtime by [@&#8203;avlitman](https://github.com/avlitman) in https://github.com/prometheus/client_golang/pull/1286 - Moving fully to GH actions. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1288 - Fix docstring references to renamed native histogram fields / functions. by [@&#8203;juliusv](https://github.com/juliusv) in https://github.com/prometheus/client_golang/pull/1290 - Fixed README & CHANGELOG; Added fmt makefile command (+bingo) for easier contributions. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1289 - </details> #### New Contributors * @&#8203;vegerot made their first contribution in https://github.com/prometheus/client_golang/pull/1153 * @&#8203;marevers made their first contribution in https://github.com/prometheus/client_golang/pull/1257 * @&#8203;PiotrLewandowski323 made their first contribution in https://github.com/prometheus/client_golang/pull/1260 * @&#8203;sashashura made their first contribution in https://github.com/prometheus/client_golang/pull/1180 * @&#8203;logicalhan made their first contribution in https://github.com/prometheus/client_golang/pull/1278 * @&#8203;khasanovbi made their first contribution in https://github.com/prometheus/client_golang/pull/1272 * @&#8203;krishnaduttPanchagnula made their first contribution in https://github.com/prometheus/client_golang/pull/1281 * @&#8203;avlitman made their first contribution in https://github.com/prometheus/client_golang/pull/1286 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 ### [`v1.15.1`](https://github.com/prometheus/client_golang/releases/tag/v1.15.1) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1) #### Changes - \[BUGFIX] Fixed promhttp.Instrument\* handlers wrongly trying to attach exemplar to unsupported metrics (e.g. summary), \ causing panics [#&#8203;1253](https://github.com/prometheus/client_golang/issues/1253) **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.15.0...v1.15.1 ### [`v1.15.0`](https://github.com/prometheus/client_golang/releases/tag/v1.15.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0) #### Changed \[BUGFIX] Fix issue with atomic variables on ppc64le [#&#8203;1171](https://github.com/prometheus/client_golang/issues/1171) \[BUGFIX] Support for multiple samples within same metric [#&#8203;1181](https://github.com/prometheus/client_golang/issues/1181) \[BUGFIX] Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 [#&#8203;1187](https://github.com/prometheus/client_golang/issues/1187) \[ENHANCEMENT] Add exemplars and middleware examples [#&#8203;1173](https://github.com/prometheus/client_golang/issues/1173) \[ENHANCEMENT] Add more context to "duplicate label names" error to enable debugging [#&#8203;1177](https://github.com/prometheus/client_golang/issues/1177) \[ENHANCEMENT] Add constrained labels and constrained variant for all MetricVecs [#&#8203;1151](https://github.com/prometheus/client_golang/issues/1151) \[ENHANCEMENT] Moved away from deprecated github.com/golang/protobuf package [#&#8203;1183](https://github.com/prometheus/client_golang/issues/1183) \[ENHANCEMENT] Add possibility to dynamically get label values for http instrumentation [#&#8203;1066](https://github.com/prometheus/client_golang/issues/1066) \[ENHANCEMENT] Add ability to Pusher to add custom headers [#&#8203;1218](https://github.com/prometheus/client_golang/issues/1218) \[ENHANCEMENT] api: Extend and improve efficiency of json-iterator usage [#&#8203;1225](https://github.com/prometheus/client_golang/issues/1225) \[ENHANCEMENT] Added (official) support for go 1.20 [#&#8203;1234](https://github.com/prometheus/client_golang/issues/1234) \[ENHANCEMENT] timer: Added support for exemplars [#&#8203;1233](https://github.com/prometheus/client_golang/issues/1233) \[ENHANCEMENT] Filter expected metrics as well in CollectAndCompare [#&#8203;1143](https://github.com/prometheus/client_golang/issues/1143) \[ENHANCEMENT] ⚠️ Only set start/end if time is not Zero. This breaks compatibility in experimental api package. If you strictly depend on empty time.Time as actual value, the behavior is now changed [#&#8203;1238](https://github.com/prometheus/client_golang/issues/1238) <details> <summary>All commits</summary> - Merge release 1.14 to main by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1164 - Fix typo in doc comment by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1166 - Fix issue with atomic variables on ppc64le by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1171 - examples: Add exemplars and middleware examples by [@&#8203;jessicalins](https://github.com/jessicalins) in https://github.com/prometheus/client_golang/pull/1173 - Add context to "duplicate label names" to enable debugging by [@&#8203;SpencerMalone](https://github.com/SpencerMalone) in https://github.com/prometheus/client_golang/pull/1177 - Add constrained labels and Constrained variant for all MetricVecs by [@&#8203;Okhoshi](https://github.com/Okhoshi) in https://github.com/prometheus/client_golang/pull/1151 - Support for multiple samples within same metric by [@&#8203;machadovilaca](https://github.com/machadovilaca) in https://github.com/prometheus/client_golang/pull/1181 - Replace deprecated github.com/golang/protobuf package by [@&#8203;zhsj](https://github.com/zhsj) in https://github.com/prometheus/client_golang/pull/1183 - Bump golang.org/x/text to v0.3.8 to mitigate CVE-2022-32149 by [@&#8203;b4bay](https://github.com/b4bay) in https://github.com/prometheus/client_golang/pull/1187 - typo fix by [@&#8203;ibreakthecloud](https://github.com/ibreakthecloud) in https://github.com/prometheus/client_golang/pull/1178 - Add possibility to dynamically get label values for http instrumentation by [@&#8203;Okhoshi](https://github.com/Okhoshi) in https://github.com/prometheus/client_golang/pull/1066 - Bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1199 - Bump github.com/prometheus/procfs from 0.8.0 to 0.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1198 - Bump golang.org/x/sys from 0.3.0 to 0.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1217 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1213 - Bump github.com/prometheus/common from 0.37.0 to 0.39.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1197 - Add `Header` method to Pusher for custom header by [@&#8203;songjiayang](https://github.com/songjiayang) in https://github.com/prometheus/client_golang/pull/1218 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1224 - api: Extend and improve json-iterator usage by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1225 - Indent example in godoc consistently by [@&#8203;lamida](https://github.com/lamida) in https://github.com/prometheus/client_golang/pull/1226 - Remove unnecessary check if label is nil in observeWithExemplar by [@&#8203;dimonl](https://github.com/dimonl) in https://github.com/prometheus/client_golang/pull/1235 - README: Remove not working gocoverage images. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1236 - Added support for go 1.20. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1234 - timer: Added support for exemplars. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1233 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1237 - Filter expected metrics as well in CollectAndCompare by [@&#8203;DariaKunoichi](https://github.com/DariaKunoichi) in https://github.com/prometheus/client_golang/pull/1143 - Only set start/end if time is not Zero by [@&#8203;jacksontj](https://github.com/jacksontj) in https://github.com/prometheus/client_golang/pull/1238 - Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1243 - Bump golang.org/x/sys from 0.5.0 to 0.6.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1246 - Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1245 - Bump github.com/prometheus/common from 0.41.0 to 0.42.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1244 - Cut v1.15.0 by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1249 </details> #### New Contributors * @&#8203;SpencerMalone made their first contribution in https://github.com/prometheus/client_golang/pull/1177 * @&#8203;Okhoshi made their first contribution in https://github.com/prometheus/client_golang/pull/1151 * @&#8203;machadovilaca made their first contribution in https://github.com/prometheus/client_golang/pull/1181 * @&#8203;b4bay made their first contribution in https://github.com/prometheus/client_golang/pull/1187 * @&#8203;ibreakthecloud made their first contribution in https://github.com/prometheus/client_golang/pull/1178 * @&#8203;songjiayang made their first contribution in https://github.com/prometheus/client_golang/pull/1218 * @&#8203;lamida made their first contribution in https://github.com/prometheus/client_golang/pull/1226 * @&#8203;dimonl made their first contribution in https://github.com/prometheus/client_golang/pull/1235 * @&#8203;DariaKunoichi made their first contribution in https://github.com/prometheus/client_golang/pull/1143 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0 ### [`v1.14.0`](https://github.com/prometheus/client_golang/releases/tag/v1.14.0): 1.14.0 / 2022-11-08 [Compare Source](https://github.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. [#&#8203;1150](https://github.com/prometheus/client_golang/issues/1150) - \[CHANGE] Extend `prometheus.Registry` to implement `prometheus.Collector` interface. [#&#8203;1103](https://github.com/prometheus/client_golang/issues/1103) #### New Contributors - [@&#8203;hairyhenderson](https://github.com/hairyhenderson) made their first contribution in https://github.com/prometheus/client_golang/pull/1118 - [@&#8203;rfratto](https://github.com/rfratto) made their first contribution in https://github.com/prometheus/client_golang/pull/1103 - [@&#8203;donotnoot](https://github.com/donotnoot) made their first contribution in https://github.com/prometheus/client_golang/pull/1125 - [@&#8203;rogerogers](https://github.com/rogerogers) made their first contribution in https://github.com/prometheus/client_golang/pull/1130 - [@&#8203;balintzs](https://github.com/balintzs) made their first contribution in https://github.com/prometheus/client_golang/pull/1148 - [@&#8203;fstab](https://github.com/fstab) made their first contribution in https://github.com/prometheus/client_golang/pull/1146 - [@&#8203;jessicalins](https://github.com/jessicalins) made their first contribution in https://github.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://github.com/prometheus/client_golang/releases/tag/v1.13.1): 1.13.1 / 2022-11-02 [Compare Source](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1) - \[BUGFIX] Fix race condition with Exemplar in Counter. [#&#8203;1146](https://github.com/prometheus/client_golang/issues/1146) - \[BUGFIX] Fix `CumulativeCount` value of `+Inf` bucket created from exemplar. [#&#8203;1148](https://github.com/prometheus/client_golang/issues/1148) - \[BUGFIX] Fix double-counting bug in `promhttp.InstrumentRoundTripperCounter`. [#&#8203;1118](https://github.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://github.com/prometheus/client_golang/releases/tag/v1.13.0): 1.13.0 / 2022-08-06 [Compare Source](https://github.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. [#&#8203;989](https://github.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. [#&#8203;986](https://github.com/prometheus/client_golang/issues/986) - \[ENHANCEMENT] Query requests are now retried after network error. [#&#8203;1022](https://github.com/prometheus/client_golang/issues/1022) - \[ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#&#8203;1028](https://github.com/prometheus/client_golang/issues/1028) - \[ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#&#8203;1075](https://github.com/prometheus/client_golang/issues/1075) - \[ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#&#8203;998](https://github.com/prometheus/client_golang/issues/998) - \[ENHANCEMENT] Query API now supports timeouts. [#&#8203;1014](https://github.com/prometheus/client_golang/issues/1014) - \[ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#&#8203;1013](https://github.com/prometheus/client_golang/issues/1013) - \[ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#&#8203;1025](https://github.com/prometheus/client_golang/issues/1025) - \[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#&#8203;1091](https://github.com/prometheus/client_golang/issues/1091) - \[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#&#8203;1094](https://github.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. [#&#8203;1055](https://github.com/prometheus/client_golang/issues/1055) - \[ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#&#8203;1043](https://github.com/prometheus/client_golang/issues/1043) - \[BUGFIX] Fixed `GopherJS` build support. [#&#8203;897](https://github.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). [#&#8203;1102](https://github.com/prometheus/client_golang/issues/1102) #### New Contributors ❤️ - [@&#8203;alissa-tung](https://github.com/alissa-tung) made their first contribution in https://github.com/prometheus/client_golang/pull/1000 - [@&#8203;wperron](https://github.com/wperron) made their first contribution in https://github.com/prometheus/client_golang/pull/986 - [@&#8203;zhijian-pro](https://github.com/zhijian-pro) made their first contribution in https://github.com/prometheus/client_golang/pull/1005 - [@&#8203;dohnto](https://github.com/dohnto) made their first contribution in https://github.com/prometheus/client_golang/pull/1021 - [@&#8203;tatsuhiro-t](https://github.com/tatsuhiro-t) made their first contribution in https://github.com/prometheus/client_golang/pull/1028 - [@&#8203;sourikghosh](https://github.com/sourikghosh) made their first contribution in https://github.com/prometheus/client_golang/pull/998 - [@&#8203;josephwoodward](https://github.com/josephwoodward) made their first contribution in https://github.com/prometheus/client_golang/pull/1014 - [@&#8203;stone-z](https://github.com/stone-z) made their first contribution in https://github.com/prometheus/client_golang/pull/1013 - [@&#8203;yolossn](https://github.com/yolossn) made their first contribution in https://github.com/prometheus/client_golang/pull/1025 - [@&#8203;xrstf](https://github.com/xrstf) made their first contribution in https://github.com/prometheus/client_golang/pull/1039 - [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in https://github.com/prometheus/client_golang/pull/1051 - [@&#8203;sazary](https://github.com/sazary) made their first contribution in https://github.com/prometheus/client_golang/pull/1056 - [@&#8203;oiooj](https://github.com/oiooj) made their first contribution in https://github.com/prometheus/client_golang/pull/1075 - [@&#8203;fredr](https://github.com/fredr) made their first contribution in https://github.com/prometheus/client_golang/pull/1095 - [@&#8203;inosato](https://github.com/inosato) made their first contribution in https://github.com/prometheus/client_golang/pull/1096 - [@&#8203;arun-shopify](https://github.com/arun-shopify) made their first contribution in https://github.com/prometheus/client_golang/pull/1094 - [@&#8203;paralin](https://github.com/paralin) made their first contribution in https://github.com/prometheus/client_golang/pull/897 <details close> <summary>Commits</summary> <br> - go.mod: Set minimal support version of go to 1.15 by [@&#8203;mrueg](https://github.com/mrueg) in https://github.com/prometheus/client_golang/pull/980 - Enable CodeQL Analysis by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/982 - Added Transactional Gatherer allowed cached solutions by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/989 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/992 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1003 - Fix deprecated `NewBuildInfoCollector` API by [@&#8203;alissa-tung](https://github.com/alissa-tung) in https://github.com/prometheus/client_golang/pull/1000 - Add exemplar support for const histogram by [@&#8203;wperron](https://github.com/wperron) in https://github.com/prometheus/client_golang/pull/986 - Fixed lint warning. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1007 - .circleci: Add config to test against go1.18 by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1006 - When prefix is empty, no more dots should be written by [@&#8203;zhijian-pro](https://github.com/zhijian-pro) in https://github.com/prometheus/client_golang/pull/1005 - Add statebot config by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1001 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1009 - Remove workaround for pre go1.15 by [@&#8203;johejo](https://github.com/johejo) in https://github.com/prometheus/client_golang/pull/1010 - go.mod: Update dependencies by [@&#8203;mrueg](https://github.com/mrueg) in https://github.com/prometheus/client_golang/pull/1018 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1019 - Refactor apiClientImpl.DoGetFallback by [@&#8203;dohnto](https://github.com/dohnto) in https://github.com/prometheus/client_golang/pull/1021 - Added info about our slack channel. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1029 - push: Add PushContext and AddContext to Pusher by [@&#8203;tatsuhiro-t](https://github.com/tatsuhiro-t) in https://github.com/prometheus/client_golang/pull/1028 - Make Query requests idempotent by [@&#8203;dohnto](https://github.com/dohnto) in https://github.com/prometheus/client_golang/pull/1022 - Bump minimum required Go version to 1.16 by [@&#8203;mrueg](https://github.com/mrueg) in https://github.com/prometheus/client_golang/pull/10327 - Update query API to support timeouts by [@&#8203;josephwoodward](https://github.com/josephwoodward) in https://github.com/prometheus/client_golang/pull/1014 - Implement deletion based on partially matching labels by [@&#8203;stone-z](https://github.com/stone-z) in https://github.com/prometheus/client_golang/pull/1013 - Document WithTimeout option for Query/QueryRange by [@&#8203;josephwoodward](https://github.com/josephwoodward) in https://github.com/prometheus/client_golang/pull/1037 - client: Allow configuration of http client by [@&#8203;yolossn](https://github.com/yolossn) in https://github.com/prometheus/client_golang/pull/1025 - update branch names in a few links by [@&#8203;xrstf](https://github.com/xrstf) in https://github.com/prometheus/client_golang/pull/1039 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1045 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1046 - prometheus: Fix convention violating names for generated collector metrics by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1048 - Remove -Inf buckets from go collector histograms by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1049 - Enable dependabot by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1050 - Bump github.com/prometheus/common from 0.33.0 to 0.34.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1051 - Cut v1.12.2 by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1052 - Update readme after v0.12.2 by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1053 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1061 - Update minimum supported Go version (1.17) by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1062 - Add GitHub settings by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/1063 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1064 - Enable same linters as the Prometheus repo itself by [@&#8203;sazary](https://github.com/sazary) in https://github.com/prometheus/client_golang/pull/1056 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/1068 - Add Error API for pusher by [@&#8203;oiooj](https://github.com/oiooj) in https://github.com/prometheus/client_golang/pull/1075 - Bump github.com/prometheus/common from 0.34.0 to 0.35.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1076 - Merge release-1.12 branch back into main by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1079 - Fix version number in VERSION by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1080 - Merging release branch back to main again by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/1081 - Raise exemplar labels limit from 64 to 128 by [@&#8203;bboreham](https://github.com/bboreham) in https://github.com/prometheus/client_golang/pull/1091 - Update documentation for exemplar label limit by [@&#8203;fredr](https://github.com/fredr) in https://github.com/prometheus/client_golang/pull/1095 - Bump github.com/prometheus/common from 0.35.0 to 0.37.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1098 - Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1099 - Remove ioutil by [@&#8203;inosato](https://github.com/inosato) in https://github.com/prometheus/client_golang/pull/1096 - Bump github.com/prometheus/procfs from 0.7.3 to 0.8.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/prometheus/client_golang/pull/1097 - explicitly add +inf bucket in withExemplarsMetric by [@&#8203;arun-shopify](https://github.com/arun-shopify) in https://github.com/prometheus/client_golang/pull/1094 - Ensure tests verify request params by [@&#8203;josephwoodward](https://github.com/josephwoodward) in https://github.com/prometheus/client_golang/pull/1047 - Fixed support for unordered input of exemplars. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1100 - Added exemplar support to http middleware. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1055 - fix assorted oddities found by golangci-lint by [@&#8203;xrstf](https://github.com/xrstf) in https://github.com/prometheus/client_golang/pull/1040 - Generate new Go runtime metrics for go 1.19 by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/1105 - testutil: Add ScrapeAndCompare by [@&#8203;sazary](https://github.com/sazary) in https://github.com/prometheus/client_golang/pull/1043 - Fix build against GopherJS by [@&#8203;paralin](https://github.com/paralin) in https://github.com/prometheus/client_golang/pull/897 - collectors.GoCollector: Added rule support for granular metric configuration. by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1102 - Cut 1.13.0 by [@&#8203;bwplotka](https://github.com/bwplotka) in https://github.com/prometheus/client_golang/pull/1110 </details> ### [`v1.12.2`](https://github.com/prometheus/client_golang/releases/tag/v1.12.2): 1.12.2 / 2022-05-13 [Compare Source](https://github.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 ### [`v1.12.1`](https://github.com/prometheus/client_golang/releases/tag/v1.12.1): 1.12.1 / 2022-01-29 [Compare Source](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1) - \[BUGFIX] Make the Go 1.17 collector concurrency-safe [#&#8203;969](https://github.com/prometheus/client_golang/issues/969) - Use simpler locking in the Go 1.17 collector [#&#8203;975](https://github.com/prometheus/client_golang/issues/975) - \[BUGFIX] Reduce granularity of histogram buckets for Go 1.17 collector [#&#8203;974](https://github.com/prometheus/client_golang/issues/974) - \[ENHANCEMENT] API client: make HTTP reads more efficient [#&#8203;976](https://github.com/prometheus/client_golang/issues/976) **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1 ### [`v1.12.0`](https://github.com/prometheus/client_golang/releases/tag/v1.12.0): 1.12.0 / 2022-01-19 [Compare Source](https://github.com/prometheus/client_golang/compare/v1.11.1...v1.12.0) - \[CHANGE] example/random: Move flags and metrics into main() [#&#8203;935](https://github.com/prometheus/client_golang/issues/935) - \[FEATURE] API client: Support wal replay status api [#&#8203;944](https://github.com/prometheus/client_golang/issues/944) - \[FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ [#&#8203;955](https://github.com/prometheus/client_golang/issues/955) - \[ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats [#&#8203;925](https://github.com/prometheus/client_golang/issues/925) - \[SECURITY FIX] promhttp: Check validity of method and code label values [#&#8203;962](https://github.com/prometheus/client_golang/issues/962) (Addressed [`CVE-2022-21698`](https://github.com/prometheus/client_golang/security/advisories/GHSA-cg3q-j54f-5p7p)) #### What's Changed - Address minor issues on the changelog by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/879 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/888 - Update status badgets by [@&#8203;SuperQ](https://github.com/SuperQ) in https://github.com/prometheus/client_golang/pull/885 - Updating dependency versions + cleanup by [@&#8203;sivabalan](https://github.com/sivabalan) in https://github.com/prometheus/client_golang/pull/881 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/892 - add ExponentialBucketsRange function by [@&#8203;sbunce](https://github.com/sbunce) in https://github.com/prometheus/client_golang/pull/899 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/909 - Update cespare/xxhash dependency by [@&#8203;dtrudg](https://github.com/dtrudg) in https://github.com/prometheus/client_golang/pull/913 - example/random: Move flags and metrics into main() by [@&#8203;beorn7](https://github.com/beorn7) in https://github.com/prometheus/client_golang/pull/935 - Fix typo by [@&#8203;gozeloglu](https://github.com/gozeloglu) in https://github.com/prometheus/client_golang/pull/939 - Add support for go 1.17 by [@&#8203;mrueg](https://github.com/mrueg) in https://github.com/prometheus/client_golang/pull/950 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/928 - Synchronize common files from prometheus/prometheus by [@&#8203;prombot](https://github.com/prombot) in https://github.com/prometheus/client_golang/pull/952 - API: support wal replay status api by [@&#8203;yeya24](https://github.com/yeya24) in https://github.com/prometheus/client_golang/pull/944 - Update /api/v1/status/tsdb to include headStats by [@&#8203;prymitive](https://github.com/prymitive) in https://github.com/prometheus/client_golang/pull/925 - Use the runtime/metrics package for the Go collector for 1.17+ by [@&#8203;mknyszek](https://github.com/mknyszek) in https://github.com/prometheus/client_golang/pull/955 - promhttp: Check validity of method and code label values by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/962 - go.\*: Update dependencies by [@&#8203;kakkoyun](https://github.com/kakkoyun) in https://github.com/prometheus/client_golang/pull/965 #### New Contributors - [@&#8203;sivabalan](https://github.com/sivabalan) made their first contribution in https://github.com/prometheus/client_golang/pull/881 - [@&#8203;sbunce](https://github.com/sbunce) made their first contribution in https://github.com/prometheus/client_golang/pull/899 - [@&#8203;dtrudg](https://github.com/dtrudg) made their first contribution in https://github.com/prometheus/client_golang/pull/913 - [@&#8203;gozeloglu](https://github.com/gozeloglu) made their first contribution in https://github.com/prometheus/client_golang/pull/939 - [@&#8203;mrueg](https://github.com/mrueg) made their first contribution in https://github.com/prometheus/client_golang/pull/950 - [@&#8203;prymitive](https://github.com/prymitive) made their first contribution in https://github.com/prometheus/client_golang/pull/925 - [@&#8203;mknyszek](https://github.com/mknyszek) made their first contribution in https://github.com/prometheus/client_golang/pull/955 **Full Changelog**: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM2Ny4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate added 1 commit 2024-06-04 00:03:11 +02:00
renovate force-pushed renovate/github.com-prometheus-client_golang-1.x from c4350c9e09 to a9e40952b7 2024-06-04 22:15:07 +02:00 Compare
renovate force-pushed renovate/github.com-prometheus-client_golang-1.x from a9e40952b7 to 80c7ff0b11 2024-06-04 23:02:59 +02:00 Compare
rasmus merged commit a587f0165b into master 2024-06-04 23:23:00 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: academy/mq-container#5