Update module github.com/prometheus/client_golang to v1.14.0 #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/github.com-prometheus-client_golang-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.12.1->v1.14.0Release Notes
prometheus/client_golang
v1.14.0: 1.14.0 / 2022-11-08Compare 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
prometheus.Registryto implementprometheus.Collectorinterface. #1103New Contributors
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0
v1.13.1: 1.13.1 / 2022-11-02Compare Source
CumulativeCountvalue of+Infbucket created from exemplar. #1148promhttp.InstrumentRoundTripperCounter. #1118Full Changelog: https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1
v1.13.0: 1.13.0 / 2022-08-06Compare Source
prometheus.TransactionalGathererinterface forpromhttp.Handleruse which allows using low allocation update techniques for custom collectors. #989prometheus.NewConstHistogram. SeeExampleNewConstHistogram_WithExemplarexample on how to use it. #986prometheus/push.Pushernow has context-aware methods that pass context to HTTP requests. #1028prometheus/push.Pusherhas nowErrormethod that retrieve last error. #1075testutil.GatherAndCompareprovides now readable diff on failed comparisons. #998MetricVecmethodDeletePartialMatch(labels Labels)for deleting all metrics that match provided labels. #1013api.Confignow accepts passing custom*http.Client. #1025promhttp.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. #1055testutil.ScrapeAndComparemethod. #1043GopherJSbuild support. #897runtime/metricscollectors.NewGoCollectorshould use. SeeExampleGoCollector_WithAdvancedGoMetrics. #1102New Contributors ❤️
Commits
NewBuildInfoCollectorAPI by @alissa-tung in https://github.com/prometheus/client_golang/pull/1000v1.12.2: 1.12.2 / 2022-05-13Compare Source
collectors.WithGoCollectionsthat allows to choose what collection of Go runtime metrics user wants: Equivalent ofMemStatsstructure configured usingGoRuntimeMemStatsCollection, new based on dedicated runtime/metrics metrics represented byGoRuntimeMetricsCollectionoption, or both by specifyingGoRuntimeMemStatsCollection | GoRuntimeMetricsCollectionflag.collectors.NewGoCollectormetrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back withGoRuntimeMetricsCollectionoption orGoRuntimeMemStatsCollection | GoRuntimeMetricsCollectionfor smooth transition._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_bytesgo_gc_pauses_seconds_total->go_gc_pauses_seconds.-Infbuckets from new Go Collector histograms.Full Changelog: https://github.com/prometheus/client_golang/compare/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.
This PR has been generated by Renovate Bot.