Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACM Obs bot] Bump stolostron/thanos to v0.36.1 #150

Open
wants to merge 1,194 commits into
base: release-2.12
Choose a base branch
from

Conversation

acm-observability-bot[bot]
Copy link

Description

This is an automated version bump from CI.
The logs for this run can be found in the syncbot repo actions.
If you wish to perform this manually, execute the following commands from stolostron/thanos repo:

git fetch https://github.com/thanos-io/thanos --tags
if ! git merge refs/tags/v0.36.1 --no-edit; then
  git checkout --theirs CHANGELOG.md VERSION docs go.mod go.sum pkg tutorials .busybox-versions .devcontainer
  git checkout --ours OWNERS
  git add CHANGELOG.md VERSION docs go.mod go.sum pkg tutorials .busybox-versions .devcontainer OWNERS
  git merge --continue
fi
go mod tidy
go mod vendor

if [ -f scripts/rh-manifest.sh ]; then
  bash scripts/rh-manifest.sh
  git add rh-manifest.txt
  git diff --cached --exit-code || git commit -s -m "[bot] update rh-manifest.txt"
fi

MichaHoffmann and others added 30 commits June 10, 2024 11:02
Previously we defered starting the gRPC server by blocking the whole
startup until we could ping prometheus. This breaks usecases that rely
on the config reloader to start prometheus.
We fix it by using a channel to defer starting the grpc server
and loading external labels in an actor concurrently.

Signed-off-by: Michael Hoffmann <[email protected]>
Dependency: Update minio-go to v7.0.70 which includes support for EKS Pod Identity.

Signed-off-by: farhad <[email protected]>
* Uupdate Prometheus

Signed-off-by: alanprot <[email protected]>

* Updating prometheus to 4e664035e84e

Signed-off-by: alanprot <[email protected]>

* Temporarily pinning prometheus common

Signed-off-by: alanprot <[email protected]>

* fixing lint

Signed-off-by: alanprot <[email protected]>

* Using jsoniter to encode promql responses

Signed-off-by: alanprot <[email protected]>

* Removing e2e test case with unvalid hifen on a matcher -> prometheus now support this use case

Signed-off-by: alanprot <[email protected]>

* Updating prometheus to v0.52.2-0.20240606174736-edd558884b24

Signed-off-by: alanprot <[email protected]>

* pinning grpc to v1.63.2

Signed-off-by: alanprot <[email protected]>

---------

Signed-off-by: alanprot <[email protected]>
Co-authored-by: EC2 Default User <[email protected]>
Changelog - update the changelog entry position
The distributed engine retrieves label sets once per query, and
doing the expensive copying and conversion uses a lot of memory.

We already set them in the format we need in the endpoint status,
so we can retrieve them from there.

Signed-off-by: Filip Petkovski <[email protected]>
Fetches the right version of prometheus from
the releases api rather than the tags api

Signed-off-by: Aritra24 <[email protected]>
* Remove unused/broken `vendor` key.
* Increase Go PR limit from 5 to 20.
* Fixup yaml consistency.

Signed-off-by: SuperQ <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@v3...v6)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/felixge/fgprof](https://github.com/felixge/fgprof) from 0.9.2 to 0.9.4.
- [Release notes](https://github.com/felixge/fgprof/releases)
- [Commits](felixge/fgprof@v0.9.2...v0.9.4)

---
updated-dependencies:
- dependency-name: github.com/felixge/fgprof
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.17.8 to 1.17.9.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](klauspost/compress@v1.17.8...v1.17.9)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.29.0 to 1.33.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.29.0...v1.33.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](actions/setup-go@v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Refactor existing stats incrementation for touched and fetched data

Signed-off-by: Justin Jung <[email protected]>

* Add TypedBytesLimiter

Signed-off-by: Justin Jung <[email protected]>

* Remove addAndCheck func

Signed-off-by: Justin Jung <[email protected]>

* Update BytesLimiter interface to accept dataType param

Signed-off-by: Justin Jung <[email protected]>

* Added tests

Signed-off-by: Justin Jung <[email protected]>

* Fix build + changelog

Signed-off-by: Justin Jung <[email protected]>

* Fix wrong data type

Signed-off-by: Justin Jung <[email protected]>

* Changed storeDataType to be exported

Signed-off-by: Justin Jung <[email protected]>

* Revert []BytesLimiter to BytesLimtier

Signed-off-by: Justin Jung <[email protected]>

* Lint

Signed-off-by: Justin Jung <[email protected]>

* More reverts

Signed-off-by: Justin Jung <[email protected]>

* More

Signed-off-by: Justin Jung <[email protected]>

* Rename DefaultBytesLimiterFactory back to NewBytesLimiterFactory

Signed-off-by: Justin Jung <[email protected]>

* Changed StoreDataType from string to int

Signed-off-by: Justin Jung <[email protected]>

* Removed nil check for bytesLimiter

Signed-off-by: Justin Jung <[email protected]>

* nit

Signed-off-by: Justin Jung <[email protected]>

* Removed changelog

Signed-off-by: Justin Jung <[email protected]>

---------

Signed-off-by: Justin Jung <[email protected]>
Dependabot already includes `dependencies` on PRs. Removing the config
will cause it to also include an ecosystem label like `go`.

Signed-off-by: SuperQ <[email protected]>
Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
* upgrade Prometheus common and Prometheus to latest main

Signed-off-by: Ben Ye <[email protected]>

* lint

Signed-off-by: Ben Ye <[email protected]>

---------

Signed-off-by: Ben Ye <[email protected]>
…o#7468)

The TSDB Selector is more powerful then label matchers. The issue is
that we propagate the TSDB to select with label matchers, but they
cannot convey enough information to select the right TSDB. This is an
example of a configuration that would select too many TSDBs.

Signed-off-by: Michael Hoffmann <[email protected]>
…s-io#7449)

Bumps [github.com/opentracing/basictracer-go](https://github.com/opentracing/basictracer-go) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/opentracing/basictracer-go/releases)
- [Commits](opentracing/basictracer-go@v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/opentracing/basictracer-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…7441)

Bumps [go.elastic.co/apm/module/apmot](https://github.com/elastic/apm-agent-go) from 1.11.0 to 1.15.0.
- [Release notes](https://github.com/elastic/apm-agent-go/releases)
- [Changelog](https://github.com/elastic/apm-agent-go/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-go@v1.11.0...v1.15.0)

---
updated-dependencies:
- dependency-name: go.elastic.co/apm/module/apmot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GiedriusS and others added 17 commits November 6, 2024 16:26
Add wait_interval*3 timeout to SyncMetas(). We had an incident in
production where object storage had had some problems and the syncer got
stuck due to no timeout. The timeout value is arbitrary but just exists
so that it wouldn't get stuck for eternity.

Signed-off-by: Giedrius Statkevičius <[email protected]>
Use 1.23.3 as it contains a critical fix: golang/go#70001

Signed-off-by: Giedrius Statkevičius <[email protected]>
Prometheus v3.0.0-rc.0 introduces a new scrape protocol
(`PrometheusText1.0.0`) which is present by default in the global
configuration. It breaks the Thanos sidecar when it wants to retrieve
the external labels.

This change replaces the use of the Prometheus `GlobalConfig` struct by
a minimal struct which unmarshals only the `external_labels` key.

See also prometheus-operator/prometheus-operator#7078

Signed-off-by: Simon Pasquier <[email protected]>
* fix store debug matchers panic on regex

Signed-off-by: Ben Ye <[email protected]>

* add test

Signed-off-by: Ben Ye <[email protected]>

* changelog

Signed-off-by: Ben Ye <[email protected]>

---------

Signed-off-by: Ben Ye <[email protected]>
* support hedged requests in store

Signed-off-by: milinddethe15 <[email protected]>

* hedged roundtripper with tdigest for dynamic delay

Signed-off-by: milinddethe15 <[email protected]>

* refactor struct and fix lint

Signed-off-by: milinddethe15 <[email protected]>

* Improve hedging implementation

Signed-off-by: milinddethe15 <[email protected]>

* Improved hedging implementation

Signed-off-by: milinddethe15 <[email protected]>

* Update store doc

Signed-off-by: milinddethe15 <[email protected]>

* fix white space

Signed-off-by: milinddethe15 <[email protected]>

* add enabled field

Signed-off-by: milinddethe15 <[email protected]>

---------

Signed-off-by: milinddethe15 <[email protected]>
I always get this in logs:
```
err: receive capnp conn: close tcp ...: use of closed network connection
```

This is also visible in the e2e test.

After Done() returns, the connection is closed either way so no need to
close it again.

Signed-off-by: Giedrius Statkevičius <[email protected]>
* Fix a storage GW bug that loses TSDB infos when joining them
* E2E test demonstrating a bug in the MinT calculation in distributed
  Engine

Signed-off-by: Michael Hoffmann <[email protected]>
…o#7915)

* always close block series client at the end

Signed-off-by: Ben Ye <[email protected]>

* add back close for loser tree

Signed-off-by: Ben Ye <[email protected]>

---------

Signed-off-by: Ben Ye <[email protected]>
* Update objstore and promql-engine to latest

Signed-off-by: Saswata Mukherjee <[email protected]>

* Fixes after upgrade

Signed-off-by: Saswata Mukherjee <[email protected]>

---------

Signed-off-by: Saswata Mukherjee <[email protected]>
@acm-observability-commit-bot acm-observability-commit-bot bot force-pushed the automated-updates-acm-release-2.12 branch from e6ebdad to eacf69d Compare December 2, 2024 01:05
* Merge pull request thanos-io#7674 from didukh86/query_frontend_tls_redis_fix

Query-frontend: Fix connection to Redis cluster with TLS.
Signed-off-by: Saswata Mukherjee <[email protected]>

* Capnp: Use segment from existing message (thanos-io#7945)

* Capnp: Use segment from existing message

Signed-off-by: Filip Petkovski <[email protected]>

* Downgrade capnproto

Signed-off-by: Filip Petkovski <[email protected]>

---------

Signed-off-by: Filip Petkovski <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>

* [Receive] Fix race condition when adding multiple new tenants at once (thanos-io#7941)

* [Receive] fix race condition

Signed-off-by: Yi Jin <[email protected]>

* add a change log

Signed-off-by: Yi Jin <[email protected]>

* memorize tsdb local clients without race condition

Signed-off-by: Yi Jin <[email protected]>

* fix data race in testing with some concurrent safe helper functions

Signed-off-by: Yi Jin <[email protected]>

* address comments

Signed-off-by: Yi Jin <[email protected]>

---------

Signed-off-by: Yi Jin <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>

* Cut patch release v0.37.1

Signed-off-by: Saswata Mukherjee <[email protected]>

* Update promql-engine for subquery fix (thanos-io#7953)

Signed-off-by: Saswata Mukherjee <[email protected]>

* Sidecar: Ensure limit param is positive for compatibility with older Prometheus (thanos-io#7954)

Signed-off-by: Saswata Mukherjee <[email protected]>

* Update changelog

Signed-off-by: Saswata Mukherjee <[email protected]>

* Fix changelog

Signed-off-by: Saswata Mukherjee <[email protected]>

---------

Signed-off-by: Saswata Mukherjee <[email protected]>
Signed-off-by: Filip Petkovski <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
Co-authored-by: Filip Petkovski <[email protected]>
Co-authored-by: Yi Jin <[email protected]>
@acm-observability-commit-bot acm-observability-commit-bot bot force-pushed the automated-updates-acm-release-2.12 branch from eacf69d to 0f6b895 Compare December 9, 2024 01:05
SungJin1212 and others added 7 commits December 11, 2024 08:50
Signed-off-by: Michael Hoffmann <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
* Fix potential deadlock in hedging request (thanos-io#7962)

Signed-off-by: SungJin1212 <[email protected]>

* sidecar: fix limit mintime (thanos-io#7970)

Signed-off-by: Michael Hoffmann <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>

* Cut patch release v0.37.2

Signed-off-by: Saswata Mukherjee <[email protected]>

* Fix changelog

Signed-off-by: Saswata Mukherjee <[email protected]>

---------

Signed-off-by: SungJin1212 <[email protected]>
Signed-off-by: Michael Hoffmann <[email protected]>
Signed-off-by: Saswata Mukherjee <[email protected]>
Co-authored-by: SungJin1212 <[email protected]>
Co-authored-by: Michael Hoffmann <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@acm-observability-commit-bot acm-observability-commit-bot bot force-pushed the automated-updates-acm-release-2.12 branch from 0f6b895 to e982082 Compare December 16, 2024 01:06
Copy link

openshift-ci bot commented Dec 16, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: acm-observability-bot[bot]
Once this PR has been reviewed and has the lgtm label, please assign saswatamcode for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

openshift-ci bot commented Dec 16, 2024

@acm-observability-bot[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/test-unit e982082 link true /test test-unit
ci/prow/pr-image-mirror e982082 link true /test pr-image-mirror
ci/prow/images e982082 link true /test images

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.