Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Update module github.com/prometheus/client_golang to v1.17.0 - autoclosed #649

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.12.1 -> v1.17.0

Release Notes

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

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: prometheus/client_golang@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: prometheus/client_golang@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: prometheus/client_golang@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: prometheus/client_golang@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: prometheus/client_golang@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: prometheus/client_golang@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: prometheus/client_golang@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.

@renovate renovate bot requested a review from a team as a code owner October 26, 2023 10:13
@renovate renovate bot added dependencies Pull requests that update a dependency file renovate PR created by RenovateBot labels Oct 26, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Oct 26, 2023

⚠ Artifact update problem

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

♻ 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 click the rebase/retry checkbox if found above, or
  • you rename this PR'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_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/c21d0b/e676c3/repos/github/giantswarm/operatorkit":"/tmp/worker/c21d0b/e676c3/repos/github/giantswarm/operatorkit" -v "/tmp/worker/c21d0b/e676c3/cache":"/tmp/worker/c21d0b/e676c3/cache" -e GOPATH -e GOPROXY -e GOSUMDB -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/c21d0b/e676c3/repos/github/giantswarm/operatorkit" ghcr.io/containerbase/sidecar:9.23.11 bash -l -c "install-tool golang 1.21.4 && go get -d -t ./... && go mod tidy && go mod tidy"
go: downloading github.com/giantswarm/microerror v0.4.0
go: downloading github.com/giantswarm/k8sclient/v7 v7.0.1
go: downloading github.com/giantswarm/micrologger v0.6.0
go: downloading k8s.io/api v0.20.15
go: downloading k8s.io/apimachinery v0.20.15
go: downloading k8s.io/client-go v0.20.15
go: downloading sigs.k8s.io/controller-runtime v0.8.3
go: downloading k8s.io/apiextensions-apiserver v0.20.15
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading github.com/giantswarm/backoff v1.0.0
go: downloading github.com/giantswarm/to v0.4.0
go: downloading github.com/patrickmn/go-cache v2.1.0+incompatible
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading github.com/giantswarm/exporterkit v1.0.0
go: downloading github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16
go: downloading github.com/stretchr/testify v1.7.0
go: downloading github.com/getsentry/sentry-go v0.12.0
go: downloading github.com/go-kit/log v0.2.1
go: downloading github.com/go-stack/stack v1.8.1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/gofuzz v1.1.0
go: downloading k8s.io/klog/v2 v2.9.0
go: downloading github.com/evanphx/json-patch v4.11.0+incompatible
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/cenkalti/backoff/v4 v4.1.2
go: downloading k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a
go: downloading github.com/go-logr/logr v0.4.0
go: downloading golang.org/x/sync v0.3.0
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.1.2
go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
go: downloading google.golang.org/protobuf v1.31.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/common v0.44.0
go: downloading github.com/prometheus/procfs v0.11.1
go: downloading golang.org/x/sys v0.13.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading golang.org/x/net v0.17.0
go: downloading github.com/imdario/mergo v0.3.12
go: downloading github.com/spf13/pflag v1.0.5
go: downloading golang.org/x/crypto v0.14.0
go: downloading github.com/go-logfmt/logfmt v0.5.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/googleapis/gnostic v0.5.5
go: downloading k8s.io/kube-openapi v0.0.0-20211110013926-83f114cd0513
go: downloading github.com/pkg/errors v0.9.1
go: downloading gomodules.xyz/jsonpatch/v2 v2.1.0
go: downloading k8s.io/component-base v0.20.15
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading golang.org/x/oauth2 v0.8.0
go: downloading golang.org/x/term v0.13.0
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/fsnotify/fsnotify v1.5.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/google/go-cmp v0.5.9
go: downloading google.golang.org/appengine v1.6.7
go: upgraded github.com/cespare/xxhash/v2 v2.1.2 => v2.2.0
go: upgraded github.com/go-kit/log v0.2.0 => v0.2.1
go: upgraded github.com/golang/protobuf v1.5.2 => v1.5.3
go: upgraded github.com/google/go-cmp v0.5.6 => v0.5.9
go: upgraded github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 => v1.0.4
go: upgraded github.com/prometheus/client_model v0.2.0 => v0.4.1-0.20230718164431-9a2bf3000d16
go: upgraded github.com/prometheus/common v0.32.1 => v0.44.0
go: upgraded github.com/prometheus/procfs v0.7.3 => v0.11.1
go: upgraded golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f => v0.8.0
go: upgraded golang.org/x/sync v0.1.0 => v0.3.0
go: upgraded google.golang.org/protobuf v1.27.1 => v1.31.0
go: upgraded gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f => v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/onsi/ginkgo v1.16.2
go: downloading github.com/onsi/gomega v1.13.0
go: downloading go.uber.org/goleak v1.1.11-0.20210813005559-691160354723
go: downloading github.com/go-logr/zapr v0.2.0
go: downloading go.uber.org/zap v1.19.1
go: downloading github.com/go-errors/errors v1.0.1
go: downloading github.com/pingcap/errors v0.11.4
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading go.uber.org/atomic v1.9.0
go: downloading go.uber.org/multierr v1.7.0
go: downloading github.com/nxadm/tail v1.4.8
go: downloading github.com/kr/pretty v0.3.1
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.10.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/stretchr/testify v1.8.2
go: downloading gopkg.in/yaml.v3 v3.0.1
go: github.com/giantswarm/operatorkit/v7/pkg/controller/collector tested by
	github.com/giantswarm/operatorkit/v7/pkg/controller/collector.test imports
	github.com/stretchr/testify/require loaded from github.com/stretchr/testify@v1.7.0,
	but go 1.16 would select v1.8.2
go: github.com/giantswarm/operatorkit/v7/api/v1 imports
	k8s.io/apimachinery/pkg/runtime tested by
	k8s.io/apimachinery/pkg/runtime.test imports
	github.com/stretchr/testify/assert loaded from github.com/stretchr/testify@v1.7.0,
	but go 1.16 would select v1.8.2
go: github.com/giantswarm/operatorkit/v7/api/v1 imports
	k8s.io/apimachinery/pkg/runtime tested by
	k8s.io/apimachinery/pkg/runtime.test imports
	github.com/stretchr/testify/assert imports
	gopkg.in/yaml.v3 loaded from gopkg.in/yaml.v3@v3.0.0,
	but go 1.16 would select v3.0.1

To upgrade to the versions selected by go 1.16:
	go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
	go mod tidy -compat=1.17
For other options, see:
	https://golang.org/doc/modules/pruning
go: github.com/giantswarm/operatorkit/v7/pkg/controller/collector tested by
	github.com/giantswarm/operatorkit/v7/pkg/controller/collector.test imports
	github.com/stretchr/testify/require loaded from github.com/stretchr/testify@v1.7.0,
	but go 1.16 would select v1.8.2
go: github.com/giantswarm/operatorkit/v7/api/v1 imports
	k8s.io/apimachinery/pkg/runtime tested by
	k8s.io/apimachinery/pkg/runtime.test imports
	github.com/stretchr/testify/assert loaded from github.com/stretchr/testify@v1.7.0,
	but go 1.16 would select v1.8.2
go: github.com/giantswarm/operatorkit/v7/api/v1 imports
	k8s.io/apimachinery/pkg/runtime tested by
	k8s.io/apimachinery/pkg/runtime.test imports
	github.com/stretchr/testify/assert imports
	gopkg.in/yaml.v3 loaded from gopkg.in/yaml.v3@v3.0.0,
	but go 1.16 would select v3.0.1

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 64a884d to 6fbb168 Compare November 14, 2023 13:38
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.17.0 Update module github.com/prometheus/client_golang to v1.17.0 - autoclosed Nov 15, 2023
@renovate renovate bot closed this Nov 15, 2023
@renovate renovate bot deleted the renovate/github.com-prometheus-client_golang-1.x branch November 15, 2023 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file renovate PR created by RenovateBot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants