forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update thanos v0.11.0 #23
Merged
openshift-merge-robot
merged 259 commits into
openshift:master
from
pgier:update-thanos-v0.11.0
Mar 7, 2020
Merged
Update thanos v0.11.0 #23
openshift-merge-robot
merged 259 commits into
openshift:master
from
pgier:update-thanos-v0.11.0
Mar 7, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Bartek Plotka <[email protected]>
…le (thanos-io#1656) * Start metric and status probe server as soon as possible Signed-off-by: Kemal Akkoyun <[email protected]> * Update changelog Signed-off-by: Kemal Akkoyun <[email protected]> * Schedule a separate goroutine to start server Signed-off-by: Kemal Akkoyun <[email protected]> * Add InitSync to the rungroup Signed-off-by: Kemal Akkoyun <[email protected]> * Fix linter pointed issues Signed-off-by: Kemal Akkoyun <[email protected]> * Move InitSync to alreay existed run.Group Signed-off-by: Kemal Akkoyun <[email protected]> * Remove unnecessary changes and update CHANGELOG Signed-off-by: Kemal Akkoyun <[email protected]> * Add simple explanation for probes Signed-off-by: Kemal Akkoyun <[email protected]> * Make requested changes Signed-off-by: Kemal Akkoyun <[email protected]> * Update CHANGELOG.md Co-Authored-By: Martin Chodur <[email protected]> Signed-off-by: Kemal Akkoyun <[email protected]>
This commit simplifies the registration of pprof HTTP endpoints. The pprof.Index handler automatically takes care of delegating to the correct handler for each profile depending on the request path: https://golang.org/src/net/http/pprof/pprof.go?s=8862:9042#L260 The following profiles are handled: https://golang.org/src/net/http/pprof/pprof.go?s=7565:8570#L248 Note that this also includes the `allocs` profile, which was previously not explicitly added. Signed-off-by: Lucas Servén Marín <[email protected]>
…s. (thanos-io#1666) * Fixed compactor tests; Moved to full e2e compact test; Cleaned metrics. Signed-off-by: Bartek Plotka <[email protected]> * Removed block after each compaction group run. Fixes: thanos-io#1499 Signed-off-by: Bartek Plotka <[email protected]> * Moved to label hash for dir names for compactor groups. Fixes: thanos-io#1661 Signed-off-by: Bartek Plotka <[email protected]> * Addressed comments. Signed-off-by: Bartek Plotka <[email protected]> * Addressed comments, rebased. Signed-off-by: Bartek Plotka <[email protected]>
Signed-off-by: Povilas Versockas <[email protected]>
…io#1675) This will definitely helps with offset queries. Same was done on cortexproject/cortex#1012 Signed-off-by: Bartek Plotka <[email protected]>
This small PR simply fixes an error message that confused me during a review. Signed-off-by: Lucas Servén Marín <[email protected]>
…sharding e2e test. (thanos-io#1669) * store: Filter blocks before loading it. Sort advertise labels; Added sharding e2e test. Fixes: thanos-io#1664 Signed-off-by: Bartek Plotka <[email protected]> * Trying to speed up tests a bit. Signed-off-by: Bartek Plotka <[email protected]> * Fixed tests. Signed-off-by: Bartek Plotka <[email protected]>
This commit gives the Thanos receive component the capability to use TLS in both the remote-write client and server. This means that Thanos receive can now authenticate all requests. In order to accomplish this change, this commit abstracts the majority of the logic of `defaultGRPCServerOpts` into a reusable func for gRPC and HTTP servers and creates a similar func for TLS client configurations. Signed-off-by: Lucas Servén Marín <[email protected]>
* add oss support Signed-off-by: wujinhu <[email protected]> * fix docs Signed-off-by: wujinhu <[email protected]> * fix Makefile Signed-off-by: wujinhu <[email protected]> * review comments Signed-off-by: wujinhu <[email protected]> * fix style Signed-off-by: wujinhu <[email protected]> * review comments Signed-off-by: wujinhu <[email protected]> * review comments Signed-off-by: wujinhu <[email protected]> * review comments Signed-off-by: wujinhu <[email protected]> * review comments Signed-off-by: wujinhu <[email protected]>
* Add new http-grace-period flag Signed-off-by: Kemal Akkoyun <[email protected]> * Update CHANGELOG Signed-off-by: Kemal Akkoyun <[email protected]> * Update docs Signed-off-by: Kemal Akkoyun <[email protected]> * Update pkg/server/http.go Co-Authored-By: Bartlomiej Plotka <[email protected]> Signed-off-by: Kemal Akkoyun <[email protected]> * Rename initializer for HTTP server Signed-off-by: Kemal Akkoyun <[email protected]>
Fixes thanos-io#1670 Signed-off-by: Olivier Biesmans <[email protected]>
Signed-off-by: mengskysama <[email protected]>
Signed-off-by: wujinhu <[email protected]>
Kind of annoying and easy to forget: it should be done by promu eventually. Will investigate later. Signed-off-by: Bartek Plotka <[email protected]>
PR thanos-io#1680 introduced graceful handling for the HTTP server in Thanos, but the graceful `Shutdown` call was being performed on an `http.Server` instance that was *not* running at all. The actual server that was listening for requests was started through `http.Serve`, so there was no reference to the server struct that we could use to shut it down. This was causing all of Thanos to freeze after receiving an exit signal, because the run-group for the HTTP server would never finalize. This seems like an oversight because the `(*Server).srv` field was being properly initialized with an HTTP server. Fix this by calling `ListenAndServe` on our initialized server. Signed-off-by: Vicent Marti <[email protected]>
Signed-off-by: Olivier Biesmans <[email protected]>
* Fix downsampling option in querier URL Signed-off-by: Olivier Biesmans <[email protected]> * Fix downsampling option in querier URL Signed-off-by: Olivier Biesmans <[email protected]>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.1.0 to 1.2.1. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.1.0...v1.2.1) Signed-off-by: dependabot-preview[bot] <[email protected]>
* Added experimental filesystem bucket implementation Usa cases: * See: observatorium/thanos-replicate#7 * Local testing, demos Signed-off-by: Bartek Plotka <[email protected]> * Fixed edge case. Signed-off-by: Bartek Plotka <[email protected]> * Disabled one test case. We cannot rely on this. Signed-off-by: Bartek Plotka <[email protected]>
Currently, the bucket web command generates and registers metrics but they are never actually exposed. This commit ensures that the metrics are exposed and leverages the recently created server package for consistency. This cleanup also helps prepare for the upcoming changes for thanos-io#1657. Signed-off-by: Lucas Servén Marín <[email protected]>
these questions are about merged PRs Signed-off-by: Brett Jones <[email protected]>
As agreed thanos-io#1688 (comment) Signed-off-by: Bartek Plotka <[email protected]>
* Added official Governance page for Thanos. All maintainers, please review and approve *only* if you agree. Signed-off-by: Bartek Plotka <[email protected]> * Addressed comments. Signed-off-by: Bartek Plotka <[email protected]> * Addressed commments (only FAQ update). Signed-off-by: Bartek Plotka <[email protected]>
* Inroduce graceful shutdown for gRPC Signed-off-by: Kemal Akkoyun <[email protected]> * Add missed cancel branch Signed-off-by: Kemal Akkoyun <[email protected]> * Remove stutter from server structs Signed-off-by: Kemal Akkoyun <[email protected]> * Close servers immediately if grace period is not specified Signed-off-by: Kemal Akkoyun <[email protected]> * Update CHANGELOG Signed-off-by: Kemal Akkoyun <[email protected]> * Rename TLS methods, clarify log messages Signed-off-by: Kemal Akkoyun <[email protected]> * Document public functions Signed-off-by: Kemal Akkoyun <[email protected]> * Fix review issues Signed-off-by: Kemal Akkoyun <[email protected]> * Update bucket docs Signed-off-by: Kemal Akkoyun <[email protected]> * trigger checks Signed-off-by: Kemal Akkoyun <[email protected]> * trigger checks Signed-off-by: Kemal Akkoyun <[email protected]>
While standardizing some flags, commit 9d4d0bf accidentally added a `--http-address` flag to the bucket web component that is never used. However, rather than remove this new flag, this commit removes the `--listen` flag that the component defines so that the component is in line with the flags defined by other components. Signed-off-by: Lucas Servén Marín <[email protected]>
This commit fixes a regression introduced in thanos-io#1702, where the signature of the bucketui.Register method was changed. The bug was caused because one of the registered paths relied on the HTTP parameter variable support from github.com/julienschmidt/httprouter, which the standard library does not support. The fix is instead to implement the change recommended in thanos-io#1702 (comment). Signed-off-by: Lucas Servén Marín <[email protected]>
The receive component currently has duplicate spans for requests handled by its HTTP server. This is due to the fact that the server is instrumented once using the global singleton tracer and then a second time with the tracer configured via the CLI. This commit eliminates the duplicate instrumentation via the global singleton in favor of the explicit specified tracer, which is consistent with the practice of other Thanos components. Signed-off-by: Lucas Servén Marín <[email protected]>
- append to s.lset caused reallocs and overallocs - this is now fixed by properly setting capacity on s.lset - pprof shows "-316.22MB, 5.00% of 6322.82MB total" for sample data set and query I used Signed-off-by: Philip Panyukov <[email protected]>
Signed-off-by: Bartek Plotka <[email protected]>
Signed-off-by: khyatisoneji <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: yeya24 <[email protected]>
Signed-off-by: Frederic Branczyk <[email protected]>
…o#2145) * tracing: track query sent to prometheus via remote read api Signed-off-by: Igor Wiedler <[email protected]> * add CHANGELOG entry Signed-off-by: Igor Wiedler <[email protected]>
* Handle SIGHUP Signed-off-by: Kemal Akkoyun <[email protected]> * Only log when signal received Signed-off-by: Kemal Akkoyun <[email protected]> * Use a buffered channel Signed-off-by: Kemal Akkoyun <[email protected]>
Signed-off-by: khyatisoneji <[email protected]>
* Improve proxyStore timeouts. Signed-off-by: Aleskey Sin <[email protected]> * Fix send to closed channel. Signed-off-by: Aleskey Sin <[email protected]> * Update for PR. Signed-off-by: Aleskey Sin <[email protected]> * Fix recv done channel. Signed-off-by: Aleskey Sin <[email protected]> * PR fixes. Signed-off-by: Aleskey Sin <[email protected]>
Signed-off-by: Xiang Dai <[email protected]>
Signed-off-by: Aleskey Sin <[email protected]>
…io#2086) * Add proposal for improving Thanos Query healthiness handling Adds a document which proposes improving the healthiness handling of the store nodes in Thanos Query. Signed-off-by: Giedrius Statkevičius <[email protected]> * docs/proposals: thanos_query_health_handling: update Update the proposal according to our discussion. Signed-off-by: Giedrius Statkevičius <[email protected]> * docs: proposals: elaborate more on non-goals Elaborate more on what the 202001_thanos_query_health_handling.md proposal is not trying to solve and what problems will still exist after implementing this in terms of the end result caching. Signed-off-by: Giedrius Statkevičius <[email protected]>
…io#2151) Fixes: thanos-io#2147 Signed-off-by: Bartlomiej Plotka <[email protected]>
…os-io#2159) Signed-off-by: Bartlomiej Plotka <[email protected]>
* Update version to v0.11.0-rc.0 * Update CHANGELOG with all PRs for v0.11 * Improve CHANGELOG by being more explicit
…nos-io#2189) Signed-off-by: Kraig Amador <[email protected]>
Signed-off-by: Matthias Loibl <[email protected]>
Signed-off-by: Matthias Loibl <[email protected]>
openshift-ci-robot
added
the
size/XXL
Denotes a PR that changes 1000+ lines, ignoring generated files.
label
Mar 6, 2020
openshift-ci-robot
added
the
approved
Indicates a PR has been approved by an approver from all required OWNERS files.
label
Mar 6, 2020
v0.11.0 Note: upstream removed the vendor directory, so we need to update it for each new upstream merge.
pgier
force-pushed
the
update-thanos-v0.11.0
branch
from
March 6, 2020 16:04
39ea1d1
to
8d5aaa4
Compare
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pgier, s-urbaniak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This includes some enahncements needed for thanos ruler in CMO. I based this PR off of the earlier upgrade PR #22 since @simonpasquier had already fixed some of the conflicts.