[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 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] 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. #1587
1.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 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
Commits
ef2f87e Merge pull request #1620 from prometheus/arthursens/prepare-1.20.3
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the gomod group with 1 update in the / directory: github.com/prometheus/client_golang.
Updates
github.com/prometheus/client_golang
from 1.18.0 to 1.20.3Release notes
Sourced from github.com/prometheus/client_golang's releases.
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
Commits
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.2Updates
github.com/prometheus/common
from 0.48.0 to 0.55.0Release notes
Sourced from github.com/prometheus/common's releases.
... (truncated)
Commits
0c7b585
Merge pull request #649 from rajagopalanand/13364804fbbe
Update common Prometheus files (#660)3f20456
Bump golang.org/x/net from 0.25.0 to 0.26.0 (#657)e31eeaa
Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#658)3236a12
Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#656)1cfb464
Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.7 in /sigv4 (#659)ab322ea
chore: add HumanizeTimestamp; make ConvertToFloat exportable (#654)04635d2
Merge pull request #655 from yeya24/change-omit-emptyc4974e5
fix test43f0db5
set http_headers to be omit emptyUpdates
github.com/stretchr/testify
from 1.8.4 to 1.9.0Release notes
Sourced from github.com/stretchr/testify's releases.
... (truncated)
Commits
bb548d0
Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...814075f
build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2e045612
Merge pull request #1339 from bogdandrutu/uintptr5b6926d
Merge pull request #1385 from hslatman/not-implements9f97d67
Merge pull request #1550 from stretchr/release-notesbcb0d3f
Include the auto-release notes in releasesfb770f8
Merge pull request #1247 from ccoVeille/typos85d8bb6
fix typos in comments, tests and github templatese2741fa
Merge pull request #1548 from arjunmahishi/msgAndArgs6e59f20
http_assertions: assert that the msgAndArgs actually works in testsUpdates
golang.org/x/oauth2
from 0.17.0 to 0.21.0Commits
5fd4241
google: update compute token refresh84cb9f7
oauth2: fix typo in comment4b7f0bd
go.mod: update cloud.google.com/go/compute/metadata dependencye11eea8
microsoft: added DeviceAuthURL to AzureADEndpointd0e617c
google: add Credentials.UniverseDomainProvider3c9c1f6
oauth2/google: fix the logic of sts 0 value of expires_in5a05c65
oauth2/google: fix remove content-type header from idms get requests3a6776a
appengine: drop obsolete code for AppEngine envs <=Go 1.1185231f9
go.mod: update golang.org/x dependencies34a7afa
google/externalaccount: add Config.UniverseDomainDependabot 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