Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/prometheus/client_golang to v1.16.0 #143

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 8, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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

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: prometheus/client_golang@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: prometheus/client_golang@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 Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 8 times, most recently from 02f1a0e to 37057c3 Compare September 8, 2023 16:10
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 37057c3 to 84ce577 Compare September 8, 2023 18:11
@johnhalbert johnhalbert merged commit 4a3b555 into master Sep 8, 2023
4 checks passed
@johnhalbert johnhalbert deleted the renovate/github.com-prometheus-client_golang-1.x branch September 8, 2023 20:53
johnhalbert added a commit that referenced this pull request Sep 13, 2023
* Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 (#133)

Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Add renovate.json (#66)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update alpine Docker tag to v3.18 (#136)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update bitnami/golang Docker tag to v1.20 (#139)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update amazon/dynamodb-local Docker tag to v1.22.0 (#138)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/aws/aws-sdk-go to v1.45.5 (#140)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/getsentry/sentry-go to v0.24.0 (#141)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/rs/zerolog to v1.30.0 (#144)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/go-redis/redis/v8 to v8.11.5 (#142)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/stretchr/testify to v1.8.4 (#145)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module google.golang.org/protobuf to v1.31.0 (#146)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/checkout action to v4 (#147)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update actions/setup-go action to v4 (#148)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/prometheus/client_golang to v1.16.0 (#143)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/aws/aws-sdk-go to v1.45.6 (#153)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/go-chi/chi to v5 (#151)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/go-chi/chi to v5 (#154)

* Update module github.com/go-chi/chi to v5

* Update go.mod, go.sum

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update module github.com/go-chi/chi to v5 (#155)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/aws/aws-sdk-go to v1.45.7 (#156)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/go-chi/chi to v5 (#157)

* Update module github.com/go-chi/chi to v5

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update module github.com/aws/aws-sdk-go to v1.45.8 (#158)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update amazon/dynamodb-local Docker tag to v2 (#149)

* Update amazon/dynamodb-local Docker tag to v2

* Update access key id & secret for local dynamo

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update module github.com/go-redis/redis/v8 to v9 (#152)

* Update module github.com/go-redis/redis/v8 to v9

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update module github.com/brave-intl/bat-go to v1 (#150)

* Update module github.com/brave-intl/bat-go to v1

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Halbert <[email protected]>

* Update module github.com/getsentry/sentry-go to v0.24.1 (#161)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update github.com/brave-intl/bat-go/libs digest to 8b4fe85 (#160)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant