Skip to content

Update module github.com/prometheus/client_golang to v1.19.0

This MR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.14.0 -> v1.19.0

Release Notes

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

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


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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports