Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.11.1
->v1.19.1
v0.26.0
->v0.55.0
v1.8.2
->v1.9.0
v2.2.6
->v2.4.0
Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
v1.19.1
Compare Source
What's Changed
golang.org/x/sys
andgoogle.golang.org/protobuf
New Contributors
Full Changelog: prometheus/client_golang@v1.19.0...v1.19.1
v1.19.0
Compare Source
What's Changed
The module
prometheus/common v0.48.0
introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to useprometheus/common v0.48.0
or higher, please update client_golang to v1.19.0.New Contributors
Full Changelog: prometheus/client_golang@v1.18.0...v1.19.0
v1.18.0
Compare Source
What's Changed
MetricVec.WithLabelValues(...)
. #1360New Contributors
Full Changelog: prometheus/client_golang@v1.17.0...v1.18.0
v1.17.0
Compare Source
What's Changed
Commits
code
andmethod
but withWithLabelFromCtx
by @tigrato in https://github.com/prometheus/client_golang/pull/1318New Contributors
Full Changelog: prometheus/client_golang@v1.16.0...v1.17.0
v1.16.0
Compare Source
What's Changed
Commits
New Contributors
Full Changelog: prometheus/client_golang@v1.15.1...v1.16.0
v1.15.1
Compare Source
Changes
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⚠️ 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
[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]
All commits
Header
method to Pusher for custom header by @songjiayang in https://github.com/prometheus/client_golang/pull/1218New Contributors
Full Changelog: prometheus/client_golang@v1.14.0...v1.15.0
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.Registry
to implementprometheus.Collector
interface. #1103New Contributors
Full Changelog: prometheus/client_golang@v1.13.1...v1.14.0
v1.13.1
: 1.13.1 / 2022-11-02Compare Source
CumulativeCount
value of+Inf
bucket created from exemplar. #1148promhttp.InstrumentRoundTripperCounter
. #1118Full Changelog: prometheus/client_golang@v1.13.0...v1.13.1
v1.13.0
: 1.13.0 / 2022-08-06Compare Source
prometheus.TransactionalGatherer
interface forpromhttp.Handler
use which allows using low allocation update techniques for custom collectors. #989prometheus.NewConstHistogram
. SeeExampleNewConstHistogram_WithExemplar
example on how to use it. #986prometheus/push.Pusher
now has context-aware methods that pass context to HTTP requests. #1028prometheus/push.Pusher
has nowError
method that retrieve last error. #1075testutil.GatherAndCompare
provides now readable diff on failed comparisons. #998MetricVec
methodDeletePartialMatch(labels Labels)
for deleting all metrics that match provided labels. #1013api.Config
now 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.ScrapeAndCompare
method. #1043GopherJS
build support. #897runtime/metrics
collectors.NewGoCollector
should use. SeeExampleGoCollector_WithAdvancedGoMetrics
. #1102New Contributors ❤️
Commits
NewBuildInfoCollector
API by @alissa-tung in https://github.com/prometheus/client_golang/pull/1000v1.12.2
: 1.12.2 / 2022-05-13Compare Source
collectors.WithGoCollections
that allows to choose what collection of Go runtime metrics user wants: Equivalent ofMemStats
structure configured usingGoRuntimeMemStatsCollection
, new based on dedicated runtime/metrics metrics represented byGoRuntimeMetricsCollection
option, or both by specifyingGoRuntimeMemStatsCollection | GoRuntimeMetricsCollection
flag.collectors.NewGoCollector
metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back withGoRuntimeMetricsCollection
option orGoRuntimeMemStatsCollection | GoRuntimeMetricsCollection
for smooth transition._total
.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
.-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-29Compare Source
Full Changelog: prometheus/client_golang@v1.12.0...v1.12.1
v1.12.0
: 1.12.0 / 2022-01-19Compare Source
CVE-2022-21698
)What's Changed
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (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.
This PR has been generated by Renovate Bot.