: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 and go_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
[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 and go_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
[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 use prometheus/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(...). #1360
1.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
[BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #1252
[BUGFIX] api: Fix undefined execution order in return statements. #1260
[BUGFIX] native histograms: Fix bug in bucket key calculation. #1279
[ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #1272
[ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #1278
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/prometheus/client_golang from 1.9.0 to 1.20.0.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
... (truncated)
Commits
73b811c
Cut 1.20.0 release. (#1580)7ce5089
gocollector: Attach original runtime/metrics metric name to help. (#1578)062300e
Remove go_memstat_lookups_total; added runtime/metrics calculation to memstat...aa3c00d
Update common Prometheus files (#1576)3ad2722
Add default Go runtime metrics for /gc/gogc:percent, /gc/gomemlimit:bytes, /s...0715727
Update common Prometheus files (#1573)3634bd9
ci: daggerize test and lint pipelines (#1534)28b5e6e
Merge pull request #1572 from prometheus/repo_sync8e18075
Update common Prometheus files46f77a9
Merge pull request #1571 from prometheus/dependabot/github_actions/github-act...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show