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 go package upgrades #60

Merged
merged 7 commits into from
Feb 22, 2023
Merged

Update go package upgrades #60

merged 7 commits into from
Feb 22, 2023

Conversation

lunar-renovate
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.10.0 -> v1.14.0
github.com/prometheus/common require minor v0.25.0 -> v0.39.0
gopkg.in/yaml.v3 require patch v3.0.0-20210107192922-496545a6307b -> v3.0.1

Release Notes

prometheus/client_golang

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

v1.11.1: 1.11.1 / 2022-02-15

Compare Source

What's Changed

Full Changelog: prometheus/client_golang@v1.11.0...v1.11.1

v1.11.0: / 2021-06-07

Compare Source

  • [CHANGE] Add new collectors package. #​862
  • [CHANGE] prometheus.NewExpvarCollector is deprecated, use collectors.NewExpvarCollector instead. #​862
  • [CHANGE] prometheus.NewGoCollector is deprecated, use collectors.NewGoCollector instead. #​862
  • [CHANGE] prometheus.NewBuildInfoCollector is deprecated, use collectors.NewBuildInfoCollector instead. #​862
  • [FEATURE] Add new collector for database/sql#DBStats. #​866
  • [FEATURE] API client: Add exemplars API support. #​861
  • [ENHANCEMENT] API client: Add newer fields to Rules API. #​855
  • [ENHANCEMENT] API client: Add missing fields to Targets API. #​856

What's Changed

New Contributors

Full Changelog: prometheus/client_golang@v1.10.0...v1.11.0

prometheus/common

v0.39.0

Compare Source

  • [ENHANCEMENT] Add support for proxy connect headers. #​409
  • [ENHANCEMENT] Add platform info to labels. #​403

v0.38.0

Compare Source

  • [FEATURE] Implement Stringer on TLSVersion (#​405)
  • [FEATURE] Check if TLS certificate and key file have been modified (#​345)
  • [ENHANCEMENT] Add the ability to specify the maximum acceptable TLS version (#​414)
  • [ENHANCEMENT] Make LoadHTTPConfigFile set directory and move from tests file (#​415)
  • [ENHANCEMENT] Get Revision from debug.BuildInfo if not explicitly set (#​374)

v0.37.1

Compare Source

v0.37.0

Compare Source

  • [ENHANCEMENT] Improve OAuth2 user agent handling (#​391)

v0.36.0

Compare Source

  • [ENHANCEMENT] OAuth2: Respect disable keepalives option; Implement close idle connections (#​390)
  • [ENHANCEMENT] Add User-Agent header to oauth2 requests #​387

v0.35.0

Compare Source

  • [ENHANCEMENT] Static server: Add more mimetypes (#​385)

v0.34.0

Compare Source

  • [ENHANCEMENT] Enable selecting minimum TLS version. #​375

v0.33.0

Compare Source

  • [ENHANCEMENT] Make HTTP2 User Visible #​360
  • [FEATURE] Add proxy_url support for oauth2 #​358

v0.32.1

Compare Source

v0.32.0

Compare Source

  • [FEATURE] Add tls_config field to OAuth 2.0 Config #​331
  • [ENHANCEMENT] route: allow HEAD operations #​332
  • [BUGFIX] Fix caller in promlog #​334

v0.31.1

Compare Source

Do not marshal secrets in URL's (#​328)

v0.31.0

Compare Source

  • Re-enable HTTP/2 (#​325)
  • promlog: check the log level before calling runtime.Caller (#​322)

v0.30.1

Compare Source

Do not marshal secrets in URL's (#​328)

v0.30.0

Compare Source

Add the ability to enable HTTP2 again via an env variable

v0.29.0

Compare Source

Add WithIdleConnTimeout HTTP client option

v0.28.0

Compare Source

Client golang dependency update.

v0.27.0: / 2021-06-03

Compare Source

  • Fix marshalling of URL wrapper with nil value. #​303
  • Remove deprecated log package #​306

v0.26.0: / 2021-06-03

Compare Source

  • Add dynamic logging capabilities #​296
  • Replace go-kit/kit/log with go-kit/log #​304
go-yaml/yaml

v3.0.1

Compare Source


Configuration

📅 Schedule: Branch creation - "before 7am on Monday" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@lunar-renovate lunar-renovate requested a review from a team as a code owner February 6, 2023 02:06
@lunar-renovate lunar-renovate added the dependencies Pull requests that update a dependency file label Feb 6, 2023
@lunar-renovate
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@cablunar
Copy link
Contributor

@mahlunar @kjuulh do you have time to look though this PR? 👍 Would like some go struction pointers.
I tested the release locally, it looks fine.

Copy link

@kjuulh kjuulh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation for using zlog instead og zap

humio.go Outdated Show resolved Hide resolved
@cablunar cablunar requested a review from kjuulh February 22, 2023 11:47
Copy link

@kjuulh kjuulh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cablunar cablunar merged commit 71956f0 into master Feb 22, 2023
@cablunar cablunar deleted the renovate/go-package-upgrades branch February 22, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants