Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tabacco
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ai3ai3
  • tools
  • tabacco
  • Merge requests
  • !33

Update module github.com/prometheus/client_golang to v1.14.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open renovate requested to merge renovate/github.com-prometheus-client_golang-1.x into master Jan 19, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 258

This MR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.12.2 -> v1.14.0

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

  • @​hairyhenderson made their first contribution in https://github.com/prometheus/client_golang/pull/1118
  • @​rfratto made their first contribution in https://github.com/prometheus/client_golang/pull/1103
  • @​donotnoot made their first contribution in https://github.com/prometheus/client_golang/pull/1125
  • @​rogerogers made their first contribution in https://github.com/prometheus/client_golang/pull/1130
  • @​balintzs made their first contribution in https://github.com/prometheus/client_golang/pull/1148
  • @​fstab made their first contribution in https://github.com/prometheus/client_golang/pull/1146
  • @​jessicalins made their first contribution in https://github.com/prometheus/client_golang/pull/1152

Full Changelog: https://github.com/prometheus/client_golang/compare/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: https://github.com/prometheus/client_golang/compare/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 ❤️

  • @​alissa-tung made their first contribution in https://github.com/prometheus/client_golang/pull/1000
  • @​wperron made their first contribution in https://github.com/prometheus/client_golang/pull/986
  • @​zhijian-pro made their first contribution in https://github.com/prometheus/client_golang/pull/1005
  • @​dohnto made their first contribution in https://github.com/prometheus/client_golang/pull/1021
  • @​tatsuhiro-t made their first contribution in https://github.com/prometheus/client_golang/pull/1028
  • @​sourikghosh made their first contribution in https://github.com/prometheus/client_golang/pull/998
  • @​josephwoodward made their first contribution in https://github.com/prometheus/client_golang/pull/1014
  • @​stone-z made their first contribution in https://github.com/prometheus/client_golang/pull/1013
  • @​yolossn made their first contribution in https://github.com/prometheus/client_golang/pull/1025
  • @​xrstf made their first contribution in https://github.com/prometheus/client_golang/pull/1039
  • @​dependabot made their first contribution in https://github.com/prometheus/client_golang/pull/1051
  • @​sazary made their first contribution in https://github.com/prometheus/client_golang/pull/1056
  • @​oiooj made their first contribution in https://github.com/prometheus/client_golang/pull/1075
  • @​fredr made their first contribution in https://github.com/prometheus/client_golang/pull/1095
  • @​inosato made their first contribution in https://github.com/prometheus/client_golang/pull/1096
  • @​arun-shopify made their first contribution in https://github.com/prometheus/client_golang/pull/1094
  • @​paralin made their first contribution in https://github.com/prometheus/client_golang/pull/897
Commits
  • go.mod: Set minimal support version of go to 1.15 by @​mrueg in https://github.com/prometheus/client_golang/pull/980
  • Enable CodeQL Analysis by @​kakkoyun in https://github.com/prometheus/client_golang/pull/982
  • Added Transactional Gatherer allowed cached solutions by @​bwplotka in https://github.com/prometheus/client_golang/pull/989
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/992
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1003
  • Fix deprecated NewBuildInfoCollector API by @​alissa-tung in https://github.com/prometheus/client_golang/pull/1000
  • Add exemplar support for const histogram by @​wperron in https://github.com/prometheus/client_golang/pull/986
  • Fixed lint warning. by @​bwplotka in https://github.com/prometheus/client_golang/pull/1007
  • .circleci: Add config to test against go1.18 by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1006
  • When prefix is empty, no more dots should be written by @​zhijian-pro in https://github.com/prometheus/client_golang/pull/1005
  • Add statebot config by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1001
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1009
  • Remove workaround for pre go1.15 by @​johejo in https://github.com/prometheus/client_golang/pull/1010
  • go.mod: Update dependencies by @​mrueg in https://github.com/prometheus/client_golang/pull/1018
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1019
  • Refactor apiClientImpl.DoGetFallback by @​dohnto in https://github.com/prometheus/client_golang/pull/1021
  • Added info about our slack channel. by @​bwplotka in https://github.com/prometheus/client_golang/pull/1029
  • push: Add PushContext and AddContext to Pusher by @​tatsuhiro-t in https://github.com/prometheus/client_golang/pull/1028
  • Make Query requests idempotent by @​dohnto in https://github.com/prometheus/client_golang/pull/1022
  • Bump minimum required Go version to 1.16 by @​mrueg in https://github.com/prometheus/client_golang/pull/10327
  • Update query API to support timeouts by @​josephwoodward in https://github.com/prometheus/client_golang/pull/1014
  • Implement deletion based on partially matching labels by @​stone-z in https://github.com/prometheus/client_golang/pull/1013
  • Document WithTimeout option for Query/QueryRange by @​josephwoodward in https://github.com/prometheus/client_golang/pull/1037
  • client: Allow configuration of http client by @​yolossn in https://github.com/prometheus/client_golang/pull/1025
  • update branch names in a few links by @​xrstf in https://github.com/prometheus/client_golang/pull/1039
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1045
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1046
  • prometheus: Fix convention violating names for generated collector metrics by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1048
  • Remove -Inf buckets from go collector histograms by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1049
  • Enable dependabot by @​SuperQ in https://github.com/prometheus/client_golang/pull/1050
  • Bump github.com/prometheus/common from 0.33.0 to 0.34.0 by @​dependabot in https://github.com/prometheus/client_golang/pull/1051
  • Cut v1.12.2 by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1052
  • Update readme after v0.12.2 by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1053
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1061
  • Update minimum supported Go version (1.17) by @​SuperQ in https://github.com/prometheus/client_golang/pull/1062
  • Add GitHub settings by @​SuperQ in https://github.com/prometheus/client_golang/pull/1063
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1064
  • Enable same linters as the Prometheus repo itself by @​sazary in https://github.com/prometheus/client_golang/pull/1056
  • Synchronize common files from prometheus/prometheus by @​prombot in https://github.com/prometheus/client_golang/pull/1068
  • Add Error API for pusher by @​oiooj in https://github.com/prometheus/client_golang/pull/1075
  • Bump github.com/prometheus/common from 0.34.0 to 0.35.0 by @​dependabot in https://github.com/prometheus/client_golang/pull/1076
  • Merge release-1.12 branch back into main by @​beorn7 in https://github.com/prometheus/client_golang/pull/1079
  • Fix version number in VERSION by @​beorn7 in https://github.com/prometheus/client_golang/pull/1080
  • Merging release branch back to main again by @​beorn7 in https://github.com/prometheus/client_golang/pull/1081
  • Raise exemplar labels limit from 64 to 128 by @​bboreham in https://github.com/prometheus/client_golang/pull/1091
  • Update documentation for exemplar label limit by @​fredr in https://github.com/prometheus/client_golang/pull/1095
  • Bump github.com/prometheus/common from 0.35.0 to 0.37.0 by @​dependabot in https://github.com/prometheus/client_golang/pull/1098
  • Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 by @​dependabot in https://github.com/prometheus/client_golang/pull/1099
  • Remove ioutil by @​inosato in https://github.com/prometheus/client_golang/pull/1096
  • Bump github.com/prometheus/procfs from 0.7.3 to 0.8.0 by @​dependabot in https://github.com/prometheus/client_golang/pull/1097
  • explicitly add +inf bucket in withExemplarsMetric by @​arun-shopify in https://github.com/prometheus/client_golang/pull/1094
  • Ensure tests verify request params by @​josephwoodward in https://github.com/prometheus/client_golang/pull/1047
  • Fixed support for unordered input of exemplars. by @​bwplotka in https://github.com/prometheus/client_golang/pull/1100
  • Added exemplar support to http middleware. by @​bwplotka in https://github.com/prometheus/client_golang/pull/1055
  • fix assorted oddities found by golangci-lint by @​xrstf in https://github.com/prometheus/client_golang/pull/1040
  • Generate new Go runtime metrics for go 1.19 by @​kakkoyun in https://github.com/prometheus/client_golang/pull/1105
  • testutil: Add ScrapeAndCompare by @​sazary in https://github.com/prometheus/client_golang/pull/1043
  • Fix build against GopherJS by @​paralin in https://github.com/prometheus/client_golang/pull/897
  • collectors.GoCollector: Added rule support for granular metric configuration. by @​bwplotka in https://github.com/prometheus/client_golang/pull/1102
  • Cut 1.13.0 by @​bwplotka in https://github.com/prometheus/client_golang/pull/1110

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited Nov 29, 2022 by renovate
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: renovate/github.com-prometheus-client_golang-1.x