Bryan Boreham
f42b37ff2f
[BUGFIX] TSDB: Fix race on stale values in headAppender ( #15322 )
...
* [BUGFIX] TSDB: Fix race on stale values in headAppender
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
* Simplify
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-11-06 16:51:39 +01:00
Matthieu MOREL
af1a19fc78
enable errorf rule from perfsprint linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-06 16:50:36 +01:00
Simon Pasquier
37f3f3f2db
Fix scrape failure logs
...
Before this change, logs would show like:
```
{...,"target":"http://localhost:8080/metrics ","!BADKEY":"Get ..."}
```
After this change
```
{...,"msg":"Get ...","job_name":...,"target":...}
```
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-11-06 15:38:47 +01:00
dependabot[bot]
160a4801d2
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](aaa42aa062...971e284b60
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 10:29:01 +00:00
dependabot[bot]
d60cdcdac8
chore(deps): bump actions/checkout from 4.2.0 to 4.2.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 10:29:01 +00:00
Bryan Boreham
bac1fa6149
Merge pull request #15323 from bboreham/enable-race
...
CI Build: re-enable race detector
2024-11-06 10:27:54 +00:00
Bryan Boreham
a7793b1010
Merge pull request #15327 from prometheus/merge-2.55-into-main2
...
Merge 2.55 into main
2024-11-06 10:11:30 +00:00
Julius Volz
8bd1d73e53
Merge pull request #15341 from prometheus/fix/empty-metric-name-formatting-2
...
Fix selector / series formatting for empty metric names
2024-11-05 19:06:45 +01:00
Julius Volz
3c5551df68
Merge pull request #15340 from prometheus/fix/empty-metric-name-formatting
...
Fix selector / series formatting for empty metric names
2024-11-05 16:48:46 +01:00
Julien
75626c4ce8
Merge pull request #15295 from prometheus/dependabot/go_modules/github.com/envoyproxy/go-control-plane-0.13.1
...
chore(deps): bump github.com/envoyproxy/go-control-plane from 0.13.0 to 0.13.1
2024-11-05 16:37:25 +01:00
Julius Volz
d19e749dc6
Fix selector / series formatting for empty metric names
...
Fixes https://github.com/prometheus/prometheus/issues/15335
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-11-05 16:29:40 +01:00
Julius Volz
c1f8036228
Fix selector / series formatting for empty metric names
...
Fixes https://github.com/prometheus/prometheus/issues/15335
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-11-05 16:12:05 +01:00
dependabot[bot]
3294b7d58b
chore(deps): bump actions/checkout from 4.2.0 to 4.2.2 in /scripts
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...11bd71901b
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:10:10 +00:00
Julien
60c1d7ae30
Merge pull request #15306 from prometheus/dependabot/github_actions/scripts/actions/setup-go-5.1.0
...
chore(deps): bump actions/setup-go from 5.0.2 to 5.1.0 in /scripts
2024-11-05 16:09:01 +01:00
Julien
dd76c98240
Merge pull request #15304 from prometheus/dependabot/github_actions/scripts/golangci/golangci-lint-action-6.1.1
...
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 in /scripts
2024-11-05 16:07:07 +01:00
dependabot[bot]
b8d06c79ea
chore(deps): bump the go-opentelemetry-io group with 6 updates
...
Bumps the go-opentelemetry-io group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) | `1.16.0` | `1.18.0` |
| [go.opentelemetry.io/collector/semconv](https://github.com/open-telemetry/opentelemetry-collector ) | `0.110.0` | `0.112.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go ) | `1.30.0` | `1.31.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) | `1.30.0` | `1.31.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go ) | `1.30.0` | `1.31.0` |
| [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ) | `1.30.0` | `1.31.0` |
Updates `go.opentelemetry.io/collector/pdata` from 1.16.0 to 1.18.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/pdata/v1.16.0...pdata/v1.18.0 )
Updates `go.opentelemetry.io/collector/semconv` from 0.110.0 to 0.112.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.110.0...v0.112.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.30.0 to 1.31.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.30.0...v1.31.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.30.0 to 1.31.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.30.0...v1.31.0 )
Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.30.0 to 1.31.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.30.0...v1.31.0 )
Updates `go.opentelemetry.io/otel/sdk` from 1.30.0 to 1.31.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.30.0...v1.31.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/collector/semconv
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-opentelemetry-io
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 14:59:52 +00:00
dependabot[bot]
07ea8d1aeb
chore(deps): bump github.com/envoyproxy/go-control-plane
...
Bumps [github.com/envoyproxy/go-control-plane](https://github.com/envoyproxy/go-control-plane ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/envoyproxy/go-control-plane/releases )
- [Changelog](https://github.com/envoyproxy/go-control-plane/blob/main/CHANGELOG.md )
- [Commits](https://github.com/envoyproxy/go-control-plane/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: github.com/envoyproxy/go-control-plane
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 14:59:00 +00:00
Julien
be9f488067
Merge pull request #15291 from prometheus/dependabot/go_modules/google.golang.org/api-0.204.0
...
chore(deps): bump google.golang.org/api from 0.199.0 to 0.204.0
2024-11-05 15:58:10 +01:00
Julien
05f618147a
Merge pull request #15286 from prometheus/dependabot/github_actions/actions/setup-node-4.1.0
...
chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0
2024-11-05 15:57:47 +01:00
Julien
c85202563f
Merge pull request #15307 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/influxdata/influxdb-1.11.7
...
chore(deps): bump github.com/influxdata/influxdb from 1.11.6 to 1.11.7 in /documentation/examples/remote_storage
2024-11-05 15:56:42 +01:00
Julien
40179b1890
Merge pull request #15292 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.128.0
...
chore(deps): bump github.com/digitalocean/godo from 1.126.0 to 1.128.0
2024-11-05 15:56:07 +01:00
Julien
9aabf66ecf
Merge pull request #15296 from prometheus/dependabot/go_modules/github.com/hashicorp/consul/api-1.30.0
...
chore(deps): bump github.com/hashicorp/consul/api from 1.29.4 to 1.30.0
2024-11-05 15:55:14 +01:00
Björn Rabenstein
2d0def3f43
Merge pull request #15128 from wuast94/patch-1
...
Add image source label to dockerfiles
2024-11-05 15:34:24 +01:00
Oleg Zaytsev
50e83e8f98
Export 'go_sync_mutex_wait_total_seconds_total' metric
...
This metric can be useful to debug mutex contention.
Ref: https://github.com/golang/go/issues/49881
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2024-11-05 15:25:55 +01:00
Bryan Boreham
1491d29fb1
Merge pull request #15330 from prometheus/make-release-2.53.3
...
Make release 2.53.3 LTS
2024-11-05 12:15:36 +00:00
Bryan Boreham
02aa6d1de6
Merge pull request #15338 from bboreham/cosmetic-tsdb
...
[COMMENT] Remove duplicate line
2024-11-05 12:03:04 +00:00
Oleg Zaytsev
b1e4052682
MemPostings.Delete(): make pauses to unlock and let the readers read ( #15242 )
...
This introduces back some unlocking that was removed in #13286 but in a
more balanced way, as suggested by @pracucci.
For TSDBs with a lot of churn, Delete() can take a couple of seconds,
and while it's holding the mutex, reads and writes are blocked waiting
for that mutex, increasing the number of connections handled and memory
usage.
This implementation pauses every 4K labels processed (note that also
compared to #13286 we're not processing all the label-values anymore,
but only the affected ones, because of #14307 ), makes sure that it's
possible to get the read lock, and waits for a few milliseconds more.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
2024-11-05 12:59:57 +01:00
Julien
9d9e86b333
Fix auto reload when a config file with a syntax error is reverted
...
When we had a syntax error but restored the old file, we did not
re-trigger the config reload, so the config reload metric was showing
that config reload was unsucessful.
I made magic to handle logs in cmd/prometheus.
For now it is a separate file so we can backport this easily.
I will generalize the helper in another PR.
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-11-05 12:43:34 +01:00
Julien
28f22b4d80
Update prometheus/common
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-11-05 12:08:33 +01:00
Bryan Boreham
541c7fd9fe
[COMMENT] Remove duplicate line
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-11-05 11:03:40 +00:00
dependabot[bot]
be41d3efeb
chore(deps): bump github.com/influxdata/influxdb
...
Bumps [github.com/influxdata/influxdb](https://github.com/influxdata/influxdb ) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/influxdata/influxdb/releases )
- [Commits](https://github.com/influxdata/influxdb/compare/v1.11.6...v1.11.7 )
---
updated-dependencies:
- dependency-name: github.com/influxdata/influxdb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:45:13 +00:00
Julien
49f4443b9a
Merge pull request #15309 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/common-0.60.1
...
chore(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 in /documentation/examples/remote_storage
2024-11-05 11:43:39 +01:00
dependabot[bot]
4f97b0937e
chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](0a44ba7841...39370e3970
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:36:50 +00:00
Julien
6427e13bd4
Merge pull request #15287 from prometheus/dependabot/github_actions/prometheus/promci-0.4.5
...
chore(deps): bump prometheus/promci from 0.4.4 to 0.4.5
2024-11-05 11:35:45 +01:00
Julien
266307be7a
Merge pull request #15290 from prometheus/dependabot/go_modules/github.com/Azure/azure-sdk-for-go/sdk/azcore-1.16.0
...
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.14.0 to 1.16.0
2024-11-05 11:35:13 +01:00
Julien
851be5e09f
Merge pull request #15297 from prometheus/dependabot/go_modules/github.com/klauspost/compress-1.17.11
...
chore(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11
2024-11-05 11:35:01 +01:00
dependabot[bot]
2c49f1bb6f
chore(deps): bump github.com/digitalocean/godo from 1.126.0 to 1.128.0
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.126.0 to 1.128.0.
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.126.0...v1.128.0 )
---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:33:54 +00:00
Julien
6cabe1446f
Merge pull request #15294 from prometheus/dependabot/go_modules/github.com/edsrzf/mmap-go-1.2.0
...
chore(deps): bump github.com/edsrzf/mmap-go from 1.1.0 to 1.2.0
2024-11-05 11:31:54 +01:00
dependabot[bot]
e84bfe94ca
chore(deps): bump github.com/hashicorp/consul/api from 1.29.4 to 1.30.0
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.29.4 to 1.30.0.
- [Release notes](https://github.com/hashicorp/consul/releases )
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.29.4...api/v1.30.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:21:33 +00:00
dependabot[bot]
d14713e952
chore(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.10 to 1.17.11.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.10...v1.17.11 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:21:20 +00:00
Julien
c9a4520108
Merge pull request #15298 from prometheus/dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.15.0
...
chore(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.13.1 to 2.15.0
2024-11-05 11:19:45 +01:00
dependabot[bot]
c30cd80a67
chore(deps): bump github.com/prometheus/common
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.60.0...v0.60.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 10:03:09 +00:00
Julien
67ef9c935e
Merge pull request #15308 from prometheus/dependabot/go_modules/documentation/examples/remote_storage/github.com/prometheus/client_golang-1.20.5
...
chore(deps): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 in /documentation/examples/remote_storage
2024-11-05 11:01:30 +01:00
dependabot[bot]
241062f68e
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azcore
...
Bumps [github.com/Azure/azure-sdk-for-go/sdk/azcore](https://github.com/Azure/azure-sdk-for-go ) from 1.14.0 to 1.16.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.14.0...sdk/azcore/v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azcore
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 09:59:54 +00:00
Julien
849ab0b7b1
Merge pull request #15301 from prometheus/dependabot/go_modules/github.com/Azure/azure-sdk-for-go/sdk/azidentity-1.8.0
...
chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.7.0 to 1.8.0
2024-11-05 10:58:33 +01:00
Julien
af62e93f34
Merge pull request #15299 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.42.0
...
chore(deps): bump github.com/linode/linodego from 1.41.0 to 1.42.0
2024-11-05 10:58:11 +01:00
Bryan Boreham
16217a6fcc
Make release 2.53.3 LTS
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-11-04 20:01:03 +00:00
Jan Fajerski
1b2defa7a2
Merge pull request #15256 from jan--f/prep-release-3.0.0-rc.0
...
Release 3.0.0 rc.0
2024-11-04 20:39:35 +01:00
Arthur Silva Sens
88818c9cb3
chore: Remove dead code
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2024-11-04 13:00:22 -03:00
Bryan Boreham
f83f3dc7c6
Merge remote-tracking branch 'origin/release-2.55' into merge-2.55-into-main2
2024-11-04 14:29:10 +00:00