Sourced from github.com/prometheus/client_golang's releases.
1.13.0 / 2022-08-06
- [CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version).
- [ENHANCEMENT] Added
prometheus.TransactionalGathererinterface forpromhttp.Handleruse which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram. SeeExampleNewConstHistogram_WithExemplarexample on how to use it. #986- [ENHANCEMENT]
prometheus/push.Pushernow has context-aware methods that pass context to HTTP requests. #1028- [ENHANCEMENT]
prometheus/push.Pusherhas nowErrormethod that retrieve last error. #1075- [ENHANCEMENT]
testutil.GatherAndCompareprovides now readable diff on failed comparisons. #998- [ENHANCEMENT] Query API now supports timeouts. #1014
- [ENHANCEMENT] New
MetricVecmethodDeletePartialMatch(labels Labels)for deleting all metrics that match provided labels. #1013- [ENHANCEMENT]
api.Confignow 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.ScrapeAndComparemethod. #1043- [BUGFIX] Fixed
GopherJSbuild support. #897- [ENHANCEMENT] :warning: Added way to specify what
runtime/metricscollectors.NewGoCollectorshould use. SeeExampleGoCollector_WithAdvancedGoMetrics. #1102New Contributors ❤️
@alissa-tungmade their first contribution in prometheus/client_golang#1000@wperronmade their first contribution in prometheus/client_golang#986@zhijian-promade their first contribution in prometheus/client_golang#1005@dohntomade their first contribution in prometheus/client_golang#1021@tatsuhiro-tmade their first contribution in prometheus/client_golang#1028@sourikghoshmade their first contribution in prometheus/client_golang#998@josephwoodwardmade their first contribution in prometheus/client_golang#1014@stone-zmade their first contribution in prometheus/client_golang#1013@yolossnmade their first contribution in prometheus/client_golang#1025@xrstfmade their first contribution in prometheus/client_golang#1039@dependabotmade their first contribution in prometheus/client_golang#1051@sazarymade their first contribution in prometheus/client_golang#1056@oioojmade their first contribution in prometheus/client_golang#1075@fredrmade their first contribution in prometheus/client_golang#1095@inosatomade their first contribution in prometheus/client_golang#1096@arun-shopifymade their first contribution in prometheus/client_golang#1094@paralinmade their first contribution in prometheus/client_golang#897
- go.mod: Set minimal support version of go to 1.15 by
@mruegin prometheus/client_golang#980- Enable CodeQL Analysis by
@kakkoyunin prometheus/client_golang#982- Added Transactional Gatherer allowed cached solutions by
@bwplotkain prometheus/client_golang#989- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#992- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1003- Fix deprecated
NewBuildInfoCollectorAPI by@alissa-tungin prometheus/client_golang#1000- Add exemplar support for const histogram by
@wperronin prometheus/client_golang#986- Fixed lint warning. by
@bwplotkain prometheus/client_golang#1007- .circleci: Add config to test against go1.18 by
@kakkoyunin prometheus/client_golang#1006
... (truncated)
Sourced from github.com/prometheus/client_golang's changelog.
1.13.0 / 2022-08-05
- [CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against new 1.19 version).
- [ENHANCEMENT] Added
prometheus.TransactionalGathererinterface forpromhttp.Handleruse which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram. SeeExampleNewConstHistogram_WithExemplarexample on how to use it. #986- [ENHANCEMENT]
prometheus/push.Pusherhas now context aware methods that pass context to HTTP request. #1028- [ENHANCEMENT]
prometheus/push.Pusherhas nowErrormethod that retrieve last error. #1075- [ENHANCEMENT]
testutil.GatherAndCompareprovides now readable diff on failed comparisons. #998- [ENHANCEMENT] Query API now supports timeouts. #1014
- [ENHANCEMENT] New
MetricVecmethodDeletePartialMatch(labels Labels)for deleting all metrics that match provided labels. #1013- [ENHANCEMENT]
api.Confignow 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 supports adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and put it in exemplar if present. #1055- [ENHANCEMENT] Added
testutil.ScrapeAndComparemethod. #1043- [BUGFIX] Fixed
GopherJSbuild support. #897- [ENHANCEMENT] :warning: Added way to specify what
runtime/metricscollectors.NewGoCollectorshould use. SeeExampleGoCollector_WithAdvancedGoMetrics. #1102
64435fc Cut 1.13.0 (#1110)5b7e8b2 collectors.GoCollector: Added rule support for granular metric configuration....d44fbbe Fix build against GopherJS (#897)1638da9 testutil: Add ScrapeAndCompare (#1043)c576b95 Generate new Go runtime metrics for go 1.19 (#1105)618194d fix assorted oddities found by golangci-lint (#1040)c7488be Added exemplar support to http middleware. (#1055)3faf3ba Fixed support for unordered input of exemplars. (#1100)44ce5e1 Ensure tests verify request params (#1047)807b1ee explicitly add +inf bucket in withExemplarsMetric (#1094)