Sourced from github.com/prometheus/client_golang's releases.
v1.20.3
- [BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
v1.20.2
- [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
v1.20.1
This release contains the critical fix for the issue. Thanks to
@geberl
,@CubicrootXYZ
,@zetaab
and@timofurrer
for helping us with the investigation!
- [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #1587
v1.20.0
Thanks everyone for contributions!
:warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default
collectors.NewGoCollector()
collector. Given its popular usage, expect your binary to expose two additional metric.Changes
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_total
metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent
,go_gc_gomemlimit_bytes
andgo_sched_gomaxprocs_threads
as those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metrics
sourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstd
on scrape, controlled by the requestAccept-Encoding
header. #1496- [FEATURE] api/v1: Add
WithLimit
parameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collectors: Add network usage metrics:
process_network_receive_bytes_total
andprocess_network_transmit_bytes_total
. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
- feat(prometheus/testutil/promlint/validations): refine lintMetricType… by
@foehammer127
in prometheus/client_golang#1455- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /examples/middleware by
@dependabot
in prometheus/client_golang#1457- Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 by
@dependabot
in prometheus/client_golang#1458- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
@dependabot
in prometheus/client_golang#1459- Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 in /tutorial/whatsup by
@dependabot
in prometheus/client_golang#1461- Merge Release 1.19 back to main by
@ArthurSens
in prometheus/client_golang#1462- Bump the github-actions group with 2 updates by
@dependabot
in prometheus/client_golang#1456- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by
@dependabot
in prometheus/client_golang#1466- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /examples/middleware by
@dependabot
in prometheus/client_golang#1467- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /tutorial/whatsup by
@dependabot
in prometheus/client_golang#1469- Add LintDuplicateMetric to promlint by
@bboreham
in prometheus/client_golang#1472- Auto-update Go Collector Metrics for new Go versions by
@SachinSahu431
in prometheus/client_golang#1476- Implement Unwrap() for responseWriterDelegator by
@igor-drozdov
in prometheus/client_golang#1480- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
@dependabot
in prometheus/client_golang#1485
... (truncated)
Sourced from github.com/prometheus/client_golang's changelog.
1.20.3 / 2024-09-05
- [BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
1.20.2 / 2024-08-23
- [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
1.20.1 / 2024-08-20
- [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with
PedanticRegistry
on linux machines. #15871.20.0 / 2024-08-14
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_total
metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent
,go_gc_gomemlimit_bytes
andgo_sched_gomaxprocs_threads
as those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metrics
sourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstd
on scrape, controlled by the requestAccept-Encoding
header. #1496- [FEATURE] api/v1: Add
WithLimit
parameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collector: Add network usage metrics:
process_network_receive_bytes_total
andprocess_network_transmit_bytes_total
. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
1.19.0 / 2024-02-27
The module
prometheus/common v0.48.0
introduced an incompatibility when used together with client_golang (See prometheus/client_golang#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.
- [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
- [FEATURE] collectors: Add version collector. #1422 #1427
1.18.0 / 2023-12-22
- [FEATURE] promlint: Allow creation of custom metric validations. #1311
- [FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
- [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
- [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
- [ENHANCEMENT] Improved performance of
MetricVec.WithLabelValues(...)
. #13601.17.0 / 2023-09-27
- [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #1325
- [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #1313
- [ENHANCEMENT] Enable detection of a native histogram without observations. #1314
1.16.0 / 2023-06-15
... (truncated)
ef2f87e
Merge pull request #1620
from prometheus/arthursens/prepare-1.20.3937ac63
Add changelog entry for 1.20.36e9914d
Merge pull request #1608
from krajorama/index-out-of-range-native-histogram-e...d6b8c89
Update comments with more explanations504566f
Use simplified solution from #1609
for the data racedc8e9a4
fix: native histogram: Simplify and fix addExemplardc819ce
Use a trivial solution to #1605e061dfa
native histogram: use exemplars in concurrency test67121dc
Merge pull request #1596
from mrueg/fix-uncompressed-content-header187acd4
Cut 1.20.2