Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tabacco
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ai3
  • tools
  • tabacco
  • Merge requests
  • !33

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open renovate requested to merge renovate/github.com-prometheus-client_golang-1.x into master Jan 19, 2022
  • Overview 0
  • Commits 1
  • Pipelines 3
  • Changes 124

This MR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.11.0 -> v1.12.2

Release Notes

prometheus/client_golang

v1.12.2

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.
  • [CHANCE] 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

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

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

  • Address minor issues on the changelog by @​kakkoyun in https://github.com/prometheus/client_golang/pull/879
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/888
  • Update status badgets by @​SuperQ in https://github.com/prometheus/client_golang/pull/885
  • Updating dependency versions + cleanup by @​sivabalan in https://github.com/prometheus/client_golang/pull/881
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/892
  • add ExponentialBucketsRange function by @​sbunce in https://github.com/prometheus/client_golang/pull/899
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/909
  • Update cespare/xxhash dependency by @​dtrudg in https://github.com/prometheus/client_golang/pull/913
  • example/random: Move flags and metrics into main() by @​beorn7 in https://github.com/prometheus/client_golang/pull/935
  • Fix typo by @​gozeloglu in https://github.com/prometheus/client_golang/pull/939
  • Add support for go 1.17 by @​mrueg in https://github.com/prometheus/client_golang/pull/950
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/928
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/952
  • API: support wal replay status api by @​yeya24 in https://github.com/prometheus/client_golang/pull/944
  • Update /api/v1/status/tsdb to include headStats by @​prymitive in https://github.com/prometheus/client_golang/pull/925
  • Use the runtime/metrics package for the Go collector for 1.17+ by @​mknyszek in https://github.com/prometheus/client_golang/pull/955
  • promhttp: Check validity of method and code label values by @​kakkoyun in https://github.com/prometheus/client_golang/pull/962
  • go.*: Update dependencies by @​kakkoyun in https://github.com/prometheus/client_golang/pull/965

New Contributors

  • @​sivabalan made their first contribution in https://github.com/prometheus/client_golang/pull/881
  • @​sbunce made their first contribution in https://github.com/prometheus/client_golang/pull/899
  • @​dtrudg made their first contribution in https://github.com/prometheus/client_golang/pull/913
  • @​gozeloglu made their first contribution in https://github.com/prometheus/client_golang/pull/939
  • @​mrueg made their first contribution in https://github.com/prometheus/client_golang/pull/950
  • @​prymitive made their first contribution in https://github.com/prometheus/client_golang/pull/925
  • @​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

v1.11.1

Compare Source

  • [SECURITY FIX] promhttp: Check validity of method and code label values https://github.com/prometheus/client_golang/pull/987 (Addressed CVE-2022-21698)

What's Changed

  • promhttp: Check validity of method and code label values by @​bwplotka and @​kakkoyun in https://github.com/prometheus/client_golang/pull/987

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1


Configuration

📅 Schedule: 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 Jun 13, 2022 by renovate
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: renovate/github.com-prometheus-client_golang-1.x