Skip to content
Snippets Groups Projects

fix(deps): update module github.com/prometheus/client_golang to v1.13.0

Open renovate requested to merge renovate/github.com-prometheus-client_golang-1.x into master

This MR contains the following updates:

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

Release Notes

prometheus/client_golang

v1.13.0

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] 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] :warning: Added way to specify what runtime/metrics collectors.NewGoCollector should use. See ExampleGoCollector_WithAdvancedGoMetrics. #​1102

New Contributors :heart:

Commits

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] :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. :warning:️ 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

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

New Contributors

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

v1.11.1

Compare Source

What's Changed

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


Configuration

:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • renovate mentioned in issue #2

    mentioned in issue #2

  • renovate added 1 commit

    added 1 commit

    • cb14ecd1 - fix(deps): update module github.com/prometheus/client_golang to v1.12.1

    Compare with previous version

  • renovate changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.0 to fix(deps): update module github.com/prometheus/client_golang to v1.12.1

    changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.0 to fix(deps): update module github.com/prometheus/client_golang to v1.12.1

  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

  • renovate added 4 commits

    added 4 commits

    • cb14ecd1...25bf8ac1 - 3 commits from branch master
    • 910b789f - fix(deps): update module github.com/prometheus/client_golang to v1.12.1

    Compare with previous version

  • renovate added 1 commit

    added 1 commit

    • 81c34a03 - fix(deps): update module github.com/prometheus/client_golang to v1.12.2

    Compare with previous version

  • renovate changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.1 to fix(deps): update module github.com/prometheus/client_golang to v1.12.2

    changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.1 to fix(deps): update module github.com/prometheus/client_golang to v1.12.2

  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

  • renovate added 1 commit

    added 1 commit

    • a309ace3 - fix(deps): update module github.com/prometheus/client_golang to v1.13.0

    Compare with previous version

  • renovate changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.2 to fix(deps): update module github.com/prometheus/client_golang to v1.13.0

    changed title from fix(deps): update module github.com/prometheus/client_golang to v1.12.2 to fix(deps): update module github.com/prometheus/client_golang to v1.13.0

  • renovate changed the description

    changed the description

  • :warning: Artifact update problem

    Renovate failed to update an artifact related to this branch. You probably do not want to merge this MR as-is.

    :recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:

    • any of the package files in this branch needs updating, or
    • the branch becomes conflicted, or
    • you check the rebase/retry checkbox if found above, or
    • you rename this MR's title to start with "rebase!" to trigger it manually

    The artifact failure details are included below:

    File name: go.sum
    Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/cache/renovate/repos/gitlab/ai3/tools/iprep":"/cache/renovate/repos/gitlab/ai3/tools/iprep" -v "/cache/renovate/cache":"/cache/renovate/cache" -e GOPATH -e GOFLAGS -e CGO_ENABLED -w "/cache/renovate/repos/gitlab/ai3/tools/iprep" docker.io/renovate/go:1.19.0 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./... && go mod vendor"
    go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
    go: downloading github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
    go: downloading github.com/d5/tengo/v2 v2.7.0
    go: downloading github.com/oschwald/maxminddb-golang v1.8.0
    go: downloading github.com/syndtr/goleveldb v1.0.0
    go: downloading google.golang.org/genproto v0.0.0-20210416161957-9910b6c460de
    go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
    go: upgraded github.com/google/go-cmp v0.5.5 => v0.5.8
    go: upgraded golang.org/x/net v0.0.0-20210420072503-d25e30425868 => v0.0.0-20220225172249-27dd8689420f
    go: upgraded golang.org/x/sync v0.0.0-20210220032951-036812b2e83c => v0.0.0-20220601150217-0de741cfad7f
    go: upgraded google.golang.org/protobuf v1.26.0 => v1.28.1
    git.autistici.org/ai3/tools/iprep/db tested by
    	git.autistici.org/ai3/tools/iprep/db.test imports
    	github.com/google/go-cmp/cmp: missing go.sum entry for module providing package github.com/google/go-cmp/cmp (imported by git.autistici.org/ai3/tools/iprep/db); to add:
    	go get -t git.autistici.org/ai3/tools/iprep/db
    
  • renovate changed the description

    changed the description

  • renovate changed the description

    changed the description

Please register or sign in to reply
Loading