-
Notifications
You must be signed in to change notification settings - Fork 7
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
[PLAT-101389] Merge thanos upstream from release-0.34 #13
Commits on Oct 9, 2023
-
bump prometheus to latest main (thanos-io#6783)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6aeca7e - Browse repository at this point
Copy the full SHA 6aeca7eView commit details
Commits on Oct 10, 2023
-
check context cancel in inmemory cache (thanos-io#6788)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2b80b3 - Browse repository at this point
Copy the full SHA b2b80b3View commit details -
Query Analysis (thanos-io#6515)
* Return Query Analysis in API A param is added to QueryAPI, if true then query analysis is returned by the method of the query having structure is returned in response. Signed-off-by: nishchay-veer <[email protected]> * Added analyze checkbox in Thanos UI A analyze checkbox is added to the thanos query api, that requests for operator telemetry which includes CPU Time Signed-off-by: nishchay-veer <[email protected]> * Return Query Analysis in API A param is added to QueryAPI, if true then query analysis is returned by the method of the query having structure is returned in response. Signed-off-by: nishchay-veer <[email protected]> * Added analyze checkbox in Thanos UI A analyze checkbox is added to the thanos query api, that requests for operator telemetry which includes CPU Time Signed-off-by: nishchay-veer <[email protected]> * Add query explain API Signed-off-by: Saswata Mukherjee <[email protected]> * Hooked queryTelemetry data into UI Signed-off-by: nishchay-veer <[email protected]> * /query_explain and /query_range_explain for explain-tree Signed-off-by: nishchay-veer <[email protected]> * update promql-engine Signed-off-by: nishchay-veer <[email protected]> * Execution time shows 0s Signed-off-by: nishchay-veer <[email protected]> * Show execution time of operators Signed-off-by: nishchay-veer <[email protected]> * Removing QueryExplainParam from query api Signed-off-by: nishchay-veer <[email protected]> * bad request format in Explain Signed-off-by: nishchay-veer <[email protected]> * Showing Expalin and Analyze Output Signed-off-by: nishchay-veer <[email protected]> * Added tooltip and different enpoints for table and graph queries Signed-off-by: nishchay-veer <[email protected]> * Linters pass Signed-off-by: nishchay-veer <[email protected]> * disable Explain when engine is 'prometheus' Signed-off-by: nishchay-veer <[email protected]> * passing query params to explain endpoints Signed-off-by: nishchay-veer <[email protected]> * fixed react test case failing Signed-off-by: nishchay-veer <[email protected]> * fix ui tests Signed-off-by: nishchay-veer <[email protected]> * fix some e2e test fails Signed-off-by: nishchay-veer <[email protected]> * added customised tooltip in place of Tooltip component Signed-off-by: nishchay-veer <[email protected]> * removed Tooltip from Panel Signed-off-by: nishchay-veer <[email protected]> * Linters pass Signed-off-by: nishchay-veer <[email protected]> * 4 arguments in QueryInstant Signed-off-by: nishchay-veer <[email protected]> * resolving conflicts -2 Signed-off-by: nishchay-veer <[email protected]> * resolving conflicts in Panel.tsx Signed-off-by: nishchay-veer <[email protected]> * adding checkbox Signed-off-by: nishchay-veer <[email protected]> * fixing linters fail Signed-off-by: nishchay-veer <[email protected]> --------- Signed-off-by: nishchay-veer <[email protected]> Signed-off-by: Saswata Mukherjee <[email protected]> Signed-off-by: Nishchay Veer <[email protected]> Co-authored-by: Saswata Mukherjee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfe0bbf - Browse repository at this point
Copy the full SHA dfe0bbfView commit details
Commits on Oct 11, 2023
-
react-app/ListTree: only show symbol when analyze enabled (thanos-io#…
…6789) No need to show the symbol if analyze is disabled. It looks weird. Let's not do that. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for beca1fe - Browse repository at this point
Copy the full SHA beca1feView commit details -
test/e2e: fix same environment names (thanos-io#6790)
Two of the same names are used in e2e environment names. Fix this name clash. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ccd270 - Browse repository at this point
Copy the full SHA 8ccd270View commit details -
Add dialer_timeout field to HTTP TransportConfig (thanos-io#6786)
* set dialer timeout to 5s in NewRoundTripperFromConfig Signed-off-by: Walther Lee <[email protected]> * add dialer_timeout field to HTTP TransportConfig Signed-off-by: Walther Lee <[email protected]> --------- Signed-off-by: Walther Lee <[email protected]> Co-authored-by: Walther Lee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 478ce99 - Browse repository at this point
Copy the full SHA 478ce99View commit details -
api/blocks: fix race between get/set (thanos-io#6791)
Running tests with -race shows that there is a race between bapi.blocks() and bapi.SetLoaded/SetGlobal() because the latter is called continuously and asynchronously in a different thread. blocks() is called through the HTTP API. Since block info is immutable, it is enough to add a lock here to fix this problem. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a950eab - Browse repository at this point
Copy the full SHA a950eabView commit details
Commits on Oct 12, 2023
-
Bucket reader: Initialize new query stats struct at each goroutine (t…
…hanos-io#6787) * initialize new query stats struct at each goroutine Signed-off-by: Ben Ye <[email protected]> * remove comment Signed-off-by: Ben Ye <[email protected]> * address feedback Signed-off-by: Ben Ye <[email protected]> * fix lint Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c9a209 - Browse repository at this point
Copy the full SHA 9c9a209View commit details -
use larger histogram bucket for thanos_bucket_store_series_result_ser…
…ies metric (thanos-io#6792) Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3686ff - Browse repository at this point
Copy the full SHA e3686ffView commit details -
api/query: create engines once (thanos-io#6793)
Fix a race where GetPrometheusEngine or GetThanosEngine is called twice at the same time from multiple HTTP requests. This fixes the race: ``` 10:29:50 querier-query: ================== 10:29:50 querier-query: WARNING: DATA RACE 10:29:50 querier-query: Write at 0x00c0005fa0f8 by goroutine 285: 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryEngineFactory).GetPrometheusEngine() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:105 +0x1f9 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).parseEngineParam() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:325 +0x109 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:626 +0x605 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query-fm() ... 10:29:50 querier-query: Previous read at 0x00c0005fa0f8 by goroutine 287: 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryEngineFactory).GetPrometheusEngine() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:101 +0x13d 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).parseEngineParam() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:325 +0x109 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query() 10:29:50 querier-query: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:626 +0x605 10:29:50 querier-query: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query-fm() ... ``` Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 728bda9 - Browse repository at this point
Copy the full SHA 728bda9View commit details -
store/proxy: fix label values span (thanos-io#6795)
Each tracing.StartSpan() writes a value into the given context so there's a race if we keep reusing the same context. Fix this by starting a new span in each goroutine. This also makes logical sense. Fixes the following race: ``` 15:21:13 querier-1: WARNING: DATA RACE 15:21:13 querier-1: Read at 0x00c0009c5050 by goroutine 328: 15:21:13 querier-1: context.(*valueCtx).Value() 15:21:13 querier-1: /usr/local/go/src/context/context.go:751 +0x76 15:21:13 querier-1: github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing.newClientSpanFromContext() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/interceptors/tracing/client.go:87 +0x241 15:21:13 querier-1: github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing.(*opentracingClientReportable).ClientReporter() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/interceptors/tracing/client.go:51 +0x195 15:21:13 querier-1: github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/tracing.UnaryClientInterceptor.UnaryClientInterceptor.func1() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/interceptors/client.go:19 +0x1a9 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/extgrpc.StoreClientGRPCOpts.ChainUnaryClient.func4.1.1() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/chain.go:74 +0x10a 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/extgrpc.StoreClientGRPCOpts.(*ClientMetrics).UnaryClientInterceptor.func3() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/[email protected]/client_metrics.go:112 +0x126 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/extgrpc.StoreClientGRPCOpts.ChainUnaryClient.func4.1.1() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/chain.go:74 +0x10a 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/extgrpc.StoreClientGRPCOpts.ChainUnaryClient.func4() 15:21:13 querier-1: /go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware/[email protected]/chain.go:83 +0x17b 15:21:13 querier-1: google.golang.org/grpc.(*ClientConn).Invoke() 15:21:13 querier-1: /go/pkg/mod/google.golang.org/[email protected]/call.go:35 +0x25d 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/store/storepb.(*storeClient).LabelValues() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/store/storepb/rpc.pb.go:1034 +0xe5 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/query.(*endpointRef).LabelValues() 15:21:13 querier-1: <autogenerated>:1 +0xa1 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/store.(*ProxyStore).LabelValues.func1() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/store/proxy.go:586 +0x323 15:21:13 querier-1: golang.org/x/sync/errgroup.(*Group).Go.func1() 15:21:13 querier-1: /go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x76 15:21:13 querier-1: Previous write at 0x00c0009c5050 by goroutine 325: 15:21:13 querier-1: context.WithValue() 15:21:13 querier-1: /usr/local/go/src/context/context.go:718 +0xce 15:21:13 querier-1: github.com/opentracing/opentracing-go.ContextWithSpan() 15:21:13 querier-1: /go/pkg/mod/github.com/opentracing/[email protected]/gocontext.go:17 +0xec 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/tracing.StartSpan() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/tracing/tracing.go:73 +0x238 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/store.(*ProxyStore).LabelValues() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/store/proxy.go:567 +0xb25 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/query.(*querier).LabelValues() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/query/querier.go:422 +0x3f5 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).labelValues() 15:21:13 querier-1: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:1092 +0x17d1 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).labelValues-fm() 15:21:13 querier-1: <autogenerated>:1 +0x45 15:21:13 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).Register.GetInstr.func1.1() ``` Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ebf748 - Browse repository at this point
Copy the full SHA 8ebf748View commit details
Commits on Oct 13, 2023
-
compact: return metas copy from syncer (thanos-io#6801)
Return copy of the map because the compactor runs garbage collector concurrently that deletes entries from the original map. Fixes race: ``` 10:55:35 compact-working-dedup: ================== 10:55:35 compact-working-dedup: WARNING: DATA RACE 10:55:35 compact-working-dedup: Write at 0x00c001822150 by goroutine 220: 10:55:35 compact-working-dedup: runtime.mapdelete() 10:55:35 compact-working-dedup: /usr/local/go/src/runtime/map.go:696 +0x0 10:55:35 compact-working-dedup: github.com/thanos-io/thanos/pkg/compact.(*Syncer).GarbageCollect() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/pkg/compact/compact.go:201 +0x324 10:55:35 compact-working-dedup: github.com/thanos-io/thanos/pkg/compact.(*BucketCompactor).Compact() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/pkg/compact/compact.go:1422 +0x60f 10:55:35 compact-working-dedup: main.runCompact.func7() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/compact.go:426 +0xfa 10:55:35 compact-working-dedup: main.runCompact.func8.1() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/compact.go:481 +0x69 10:55:35 compact-working-dedup: github.com/thanos-io/thanos/pkg/runutil.Repeat() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/pkg/runutil/runutil.go:74 +0xc3 10:55:35 compact-working-dedup: main.runCompact.func8() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/compact.go:480 +0x224 10:55:35 compact-working-dedup: github.com/oklog/run.(*Group).Run.func1() 10:55:35 compact-working-dedup: /go/pkg/mod/github.com/oklog/[email protected]/group.go:38 +0x39 10:55:35 compact-working-dedup: github.com/oklog/run.(*Group).Run.func2() 10:55:35 compact-working-dedup: /go/pkg/mod/github.com/oklog/[email protected]/group.go:39 +0x4f 10:55:35 compact-working-dedup: Previous read at 0x00c001822150 by goroutine 223: 10:55:35 compact-working-dedup: runtime.mapiternext() 10:55:35 compact-working-dedup: /usr/local/go/src/runtime/map.go:867 +0x0 10:55:35 compact-working-dedup: github.com/thanos-io/thanos/pkg/compact.(*DefaultGrouper).Groups() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/pkg/compact/compact.go:289 +0xfd 10:55:35 compact-working-dedup: main.runCompact.func16.1() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/compact.go:626 +0x4ae 10:55:35 compact-working-dedup: github.com/thanos-io/thanos/pkg/runutil.Repeat() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/pkg/runutil/runutil.go:74 +0xc3 10:55:35 compact-working-dedup: main.runCompact.func16() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/compact.go:591 +0x3f9 10:55:35 compact-working-dedup: github.com/oklog/run.(*Group).Run.func1() 10:55:35 compact-working-dedup: /go/pkg/mod/github.com/oklog/[email protected]/group.go:38 +0x39 10:55:35 compact-working-dedup: github.com/oklog/run.(*Group).Run.func2() 10:55:35 compact-working-dedup: /go/pkg/mod/github.com/oklog/[email protected]/group.go:39 +0x4f 10:55:35 compact-working-dedup: Goroutine 220 (running) created at: 10:55:35 compact-working-dedup: github.com/oklog/run.(*Group).Run() 10:55:35 compact-working-dedup: /go/pkg/mod/github.com/oklog/[email protected]/group.go:37 +0xad 10:55:35 compact-working-dedup: main.main() 10:55:35 compact-working-dedup: /go/src/github.com/thanos-io/thanos/cmd/thanos/main.go:159 +0x2964 ``` Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 681830e - Browse repository at this point
Copy the full SHA 681830eView commit details
Commits on Oct 14, 2023
-
build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (thanos-io#6805
) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0. - [Commits](golang/net@v0.14.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 65c4629 - Browse repository at this point
Copy the full SHA 65c4629View commit details
Commits on Oct 15, 2023
-
Updates busybox SHA (thanos-io#6808)
Signed-off-by: GitHub <[email protected]> Co-authored-by: fpetkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f959198 - Browse repository at this point
Copy the full SHA f959198View commit details
Commits on Oct 16, 2023
-
fix head series limiter trigger (thanos-io#6802)
Signed-off-by: Thibault Mange <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9df7566 - Browse repository at this point
Copy the full SHA 9df7566View commit details -
preallocate series map size (thanos-io#6807)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77fac93 - Browse repository at this point
Copy the full SHA 77fac93View commit details
Commits on Oct 18, 2023
-
Fix matchersToPostingGroups vals variable shadow bug (thanos-io#6817)
* fix matchersToPostingGroups vals variable shadow bug Signed-off-by: Ben Ye <[email protected]> * update changelog Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4b579f - Browse repository at this point
Copy the full SHA e4b579fView commit details -
Store: fix prometheus store label values for matches on external labe…
…ls (thanos-io#6816) External Labels should also be tested for matches against the matchers. Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fe6baa - Browse repository at this point
Copy the full SHA 6fe6baaView commit details -
optimize inmemory index cache WithLabelValues call (thanos-io#6806)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b982d5 - Browse repository at this point
Copy the full SHA 2b982d5View commit details -
add keepalive to EndpointGroupGRPCOpts (thanos-io#6810)
Signed-off-by: Walther Lee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31cba70 - Browse repository at this point
Copy the full SHA 31cba70View commit details
Commits on Oct 19, 2023
-
Cut patch release
v0.32.5
(thanos-io#6820) (thanos-io#6822)* Build with Go 1.21 (thanos-io#6615) * Build with Go 1.21 * Update tools --------- * update go alpine image to 3.18 (thanos-io#6750) * build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (thanos-io#6805) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0. - [Commits](golang/net@v0.14.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... * Updates busybox SHA (thanos-io#6808) * Fix matchersToPostingGroups vals variable shadow bug (thanos-io#6817) * fix matchersToPostingGroups vals variable shadow bug * update changelog --------- * fix head series limiter trigger (thanos-io#6802) * Store: fix prometheus store label values for matches on external labels (thanos-io#6816) External Labels should also be tested for matches against the matchers. * Cut patch release v0.32.5 * Revert "Fix matchersToPostingGroups vals variable shadow bug (thanos-io#6817)" This reverts commit 4ed9bb0. --------- Signed-off-by: Saswata Mukherjee <[email protected]> Signed-off-by: Coleen Iona Quadros <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: GitHub <[email protected]> Signed-off-by: Ben Ye <[email protected]> Signed-off-by: Thibault Mange <[email protected]> Signed-off-by: Michael Hoffmann <[email protected]> Co-authored-by: Coleen Iona Quadros <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: fpetkovski <[email protected]> Co-authored-by: Ben Ye <[email protected]> Co-authored-by: Thibault Mange <[email protected]> Co-authored-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 14953cd - Browse repository at this point
Copy the full SHA 14953cdView commit details -
go.mod: update promql-engine (thanos-io#6823)
Bring thanos-io/promql-engine#320 into Thanos. Fixes thanos-io/promql-engine#312. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 688c18a - Browse repository at this point
Copy the full SHA 688c18aView commit details -
receive/handler: fix label names/values race (thanos-io#6825)
* receive/handler: fix label names/values race There is a label name/value race in the current loop because `labelpb.ReAllocZLabelsStrings(&t.Labels, r.opts.Intern)` might be called which overwrites the original labels. At the same time, we might also be forwarding the same request through gRPC to other Receive nodes. Fixes the following race: <details> <summary>Trace of the race</summary> 10:53:51 receive-1: WARNING: DATA RACE 10:53:51 receive-1: Read at 0x00c001097b90 by goroutine 361: 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/store/labelpb.(*ZLabel).Size() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/store/labelpb/label.go:273 +0x35 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/store/storepb/prompb.(*TimeSeries).MarshalToSizedBuffer() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/store/storepb/prompb/types.pb.go:1499 +0x7c4 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/store/storepb.(*WriteRequest).MarshalToSizedBuffer() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/store/storepb/rpc.pb.go:1318 +0x409 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/store/storepb.(*WriteRequest).Marshal() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/store/storepb/rpc.pb.go:1286 +0x64 10:53:51 receive-1: google.golang.org/protobuf/internal/impl.legacyMarshal() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/internal/impl/legacy_message.go:402 +0xb1 10:53:51 receive-1: google.golang.org/protobuf/proto.MarshalOptions.marshal() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/proto/encode.go:166 +0x3a2 10:53:51 receive-1: google.golang.org/protobuf/proto.MarshalOptions.MarshalAppend() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/proto/encode.go:125 +0x96 10:53:51 receive-1: github.com/golang/protobuf/proto.marshalAppend() 10:53:51 receive-1: /go/pkg/mod/github.com/golang/[email protected]/proto/wire.go:40 +0xce 10:53:51 receive-1: github.com/golang/protobuf/proto.Marshal() 10:53:51 receive-1: /go/pkg/mod/github.com/golang/[email protected]/proto/wire.go:23 +0x65 10:53:51 receive-1: google.golang.org/grpc/encoding/proto.codec.Marshal() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/encoding/proto/proto.go:45 +0x66 10:53:51 receive-1: google.golang.org/grpc/encoding/proto.(*codec).Marshal() 10:53:51 receive-1: <autogenerated>:1 +0x53 10:53:51 receive-1: google.golang.org/grpc.encode() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/rpc_util.go:594 +0x64 10:53:51 receive-1: google.golang.org/grpc.prepareMsg() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/stream.go:1610 +0x1a8 10:53:51 receive-1: google.golang.org/grpc.(*clientStream).SendMsg() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/stream.go:791 +0x284 10:53:51 receive-1: google.golang.org/grpc.invoke() 10:53:51 receive-1: /go/pkg/mod/google.golang.org/[email protected]/call.go:70 +0xf2 ... 10:53:51 receive-1: Previous write at 0x00c001097b90 by goroutine 357: 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/store/labelpb.ReAllocZLabelsStrings() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/store/labelpb/label.go:69 +0x25e 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Writer).Write() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/writer.go:144 +0x13e4 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).fanoutForward.func2.1() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:672 +0x153 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/tracing.DoInSpan() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/tracing/tracing.go:95 +0x125 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).fanoutForward.func2() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:671 +0x1fd 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).fanoutForward.func6() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:682 +0x61 10:53:51 receive-1: Goroutine 361 (running) created at: 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).fanoutForward() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:688 +0x9c7 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).forward() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:612 +0x53a 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).handleRequest() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:417 +0xca8 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).receiveHTTP() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:539 +0x1d89 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).receiveHTTP-fm() 10:53:51 receive-1: <autogenerated>:1 +0x51 10:53:51 receive-1: net/http.HandlerFunc.ServeHTTP() 10:53:51 receive-1: /usr/local/go/src/net/http/server.go:2136 +0x47 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.NewHandler.RequestID.func2() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/server/http/middleware/request_id.go:40 +0x191 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/receive.(*Handler).testReady-fm.(*Handler).testReady.func1() 10:53:51 receive-1: /go/src/github.com/thanos-io/thanos/pkg/receive/handler.go:263 +0x249 10:53:51 receive-1: net/http.HandlerFunc.ServeHTTP() 10:53:51 receive-1: /usr/local/go/src/net/http/server.go:2136 +0x47 10:53:51 receive-1: github.com/thanos-io/thanos/pkg/extprom/http.httpInstrumentationHandler.func1() </details> Signed-off-by: Giedrius Statkevičius <[email protected]> * receive/handler: remove break Signed-off-by: Giedrius Statkevičius <[email protected]> --------- Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d80c570 - Browse repository at this point
Copy the full SHA d80c570View commit details
Commits on Oct 20, 2023
-
fix devcontainer image (thanos-io#6828)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba16848 - Browse repository at this point
Copy the full SHA ba16848View commit details -
Block: Expose fetcher and syncer metrics to be provided by depending …
…projects (thanos-io#6827) * Expose fetcher and syncer metrics to be provided by depending projects. Signed-off-by: Alex Le <[email protected]> * Updated CHANGELOG Signed-off-by: Alex Le <[email protected]> * Remove CHANGELOG change Signed-off-by: Alex Le <[email protected]> --------- Signed-off-by: Alex Le <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42792d9 - Browse repository at this point
Copy the full SHA 42792d9View commit details -
receive: fix limits reloading race (thanos-io#6826)
We are re-reading the limits configuration periodically and also reading it at the same time hence we need a lock around it. Thus, let's make that struct member private and add a getter that returns the limiter under a mutex lock. Fixes: ``` 17:14:45 receive-i3: WARNING: DATA RACE 17:14:45 receive-i3: Read at 0x00c00090aec0 by goroutine 131: 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/receive.(*headSeriesLimit).QueryMetaMonitoring() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/pkg/receive/head_series_limiter.go:109 +0x2fb 17:14:45 receive-i3: main.runReceive.func9.1() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/cmd/thanos/receive.go:402 +0x9b 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/runutil.Repeat() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/pkg/runutil/runutil.go:74 +0xc3 17:14:45 receive-i3: Previous write at 0x00c00090aec0 by goroutine 138: 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/receive.NewHeadSeriesLimit() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/pkg/receive/head_series_limiter.go:41 +0x316 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/receive.(*Limiter).loadConfig() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/pkg/receive/limiter.go:168 +0xd0d 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/receive.(*Limiter).StartConfigReloader.func1() 17:14:45 receive-i3: /go/src/github.com/thanos-io/thanos/pkg/receive/limiter.go:111 +0x207 17:14:45 receive-i3: github.com/thanos-io/thanos/pkg/extkingpin.(*pollingEngine).start.func1() ``` Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcc9bea - Browse repository at this point
Copy the full SHA dcc9beaView commit details -
query: fix hints race (thanos-io#6831)
Fix the following race: ``` 12:36:39 querier-1: ================== 12:36:39 querier-1: WARNING: DATA RACE 12:36:39 querier-1: Read at 0x00c000159540 by goroutine 341: 12:36:39 querier-1: reflect.Value.String() 12:36:39 querier-1: /usr/local/go/src/reflect/value.go:2589 +0xd76 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeAny() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:563 +0xd86 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeStruct() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:325 +0x19db 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeAny() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:606 +0xb2a 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeStruct() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:453 +0xdd6 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeAny() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:606 +0xb2a 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).writeStruct() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:453 +0xdd6 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).Marshal() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:896 +0x5c8 12:36:39 querier-1: github.com/gogo/protobuf/proto.(*TextMarshaler).Text() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:908 +0x92 12:36:39 querier-1: github.com/gogo/protobuf/proto.CompactTextString() 12:36:39 querier-1: /go/pkg/mod/github.com/gogo/[email protected]/proto/text.go:930 +0x8e 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/store/storepb.(*SeriesRequest).String() 12:36:39 querier-1: /go/src/github.com/thanos-io/thanos/pkg/store/storepb/rpc.pb.go:316 +0x7b 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/store.(*ProxyStore).Series() 12:36:39 querier-1: /go/src/github.com/thanos-io/thanos/pkg/store/proxy.go:277 +0x8f 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/query.(*querier).selectFn() 12:36:39 querier-1: Previous write at 0x00c000159540 by goroutine 339: 12:36:39 querier-1: golang.org/x/exp/slices.insertionSortOrdered[go.shape.string]() 12:36:39 querier-1: /go/pkg/mod/golang.org/x/[email protected]/slices/zsortordered.go:15 +0x357 12:36:39 querier-1: golang.org/x/exp/slices.pdqsortOrdered[go.shape.string]() 12:36:39 querier-1: /go/pkg/mod/golang.org/x/[email protected]/slices/zsortordered.go:75 +0x72f 12:36:39 querier-1: golang.org/x/exp/slices.Sort[go.shape.[]string,go.shape.string]() 12:36:39 querier-1: /go/pkg/mod/golang.org/x/[email protected]/slices/sort.go:19 +0x45a 12:36:39 querier-1: github.com/prometheus/prometheus/promql.(*evaluator).eval() 12:36:39 querier-1: /go/pkg/mod/github.com/prometheus/[email protected]/promql/engine.go:1352 +0x432 12:36:39 querier-1: github.com/prometheus/prometheus/promql.(*evaluator).Eval() 12:36:39 querier-1: /go/pkg/mod/github.com/prometheus/[email protected]/promql/engine.go:1052 +0x105 12:36:39 querier-1: github.com/prometheus/prometheus/promql.(*Engine).execEvalStmt() 12:36:39 querier-1: /go/pkg/mod/github.com/prometheus/[email protected]/promql/engine.go:708 +0xb15 12:36:39 querier-1: github.com/prometheus/prometheus/promql.(*Engine).exec() 12:36:39 querier-1: /go/pkg/mod/github.com/prometheus/[email protected]/promql/engine.go:646 +0x4c8 12:36:39 querier-1: github.com/prometheus/prometheus/promql.(*query).Exec() 12:36:39 querier-1: /go/pkg/mod/github.com/prometheus/[email protected]/promql/engine.go:235 +0x232 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query() 12:36:39 querier-1: /go/src/github.com/thanos-io/thanos/pkg/api/query/v1.go:681 +0xdfd 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).query-fm() 12:36:39 querier-1: <autogenerated>:1 +0x45 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/api/query.(*QueryAPI).Register.GetInstr.func1.1() 12:36:39 querier-1: /go/src/github.com/thanos-io/thanos/pkg/api/api.go:212 +0x62 12:36:39 querier-1: net/http.HandlerFunc.ServeHTTP() 12:36:39 querier-1: /usr/local/go/src/net/http/server.go:2136 +0x47 12:36:39 querier-1: github.com/thanos-io/thanos/pkg/logging.(*HTTPServerMiddleware).HTTPMiddleware.func1() ``` Problem is that the same slice is sorted in the PromQL engine whereas the same hints slice could still be used in other Select() calls where String() is called and then it reads those hints. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e979369 - Browse repository at this point
Copy the full SHA e979369View commit details
Commits on Oct 21, 2023
-
Adding Grupo Olx as user (thanos-io#6832)
* Adding Grupo Olx as user Signed-off-by: Nelson Almeida <[email protected]> * Adding Grupo OLX logo Signed-off-by: Nelson Almeida <[email protected]> --------- Signed-off-by: Nelson Almeida <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e195df9 - Browse repository at this point
Copy the full SHA e195df9View commit details -
Query: Add tenant label to exported metrics (thanos-io#6794)
* Receive: Add default tenant to HTTP metrics Previously, if the tenant header was empty/not supplied, the exported metrics would have an empty string as tenant. With this commit we instead use the default tenant as can be configured with: `--receive.default-tenant-id`. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Query: Add tenant label to exported metrics With this commit we now add the tenant label to relevant metrics exported by the query component. This includes the HTTP metrics handled by the InstrumentationMiddleware and the query latency metrics. Signed-off-by: Jacob Baungard Hansen <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea746be - Browse repository at this point
Copy the full SHA ea746beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a5b4fa - Browse repository at this point
Copy the full SHA 9a5b4faView commit details
Commits on Oct 22, 2023
-
Fix: Removes Deprecated ioutil (thanos-io#6834)
* Fix: Removes Deprecated ioutil In Go, io/ioutil has been recently deprecated in favor of the drop in replacements "io" and "os". With the exception of the generated code in the file marked "DO NOT EDIT", this commit addresses those instances of ioutil with the respective function replacements. Happy Hacktoberfest! Thank you for taking a moment to review my PR! Signed-off-by: donuts-are-good <[email protected]> * Adds Changelog entry Completing the request for a changelog entry. Signed-off-by: donuts-are-good <[email protected]> * Removes Changelog Entry This commit removes the ioutil changes in this PR, as they are not user-facing issues Signed-off-by: donuts-are-good <[email protected]> --------- Signed-off-by: donuts-are-good <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c98347 - Browse repository at this point
Copy the full SHA 5c98347View commit details
Commits on Oct 23, 2023
-
vertically shard queries by le if no histogram_quantile function (tha…
…nos-io#6809) Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a74384f - Browse repository at this point
Copy the full SHA a74384fView commit details -
Expose more overridable metrics from fetcher and default grouper (tha…
…nos-io#6836) * Expose more overridable metrics from fetcher and default grouper Signed-off-by: Alex Le <[email protected]> * fix test Signed-off-by: Alex Le <[email protected]> * rename new functions Signed-off-by: Alex Le <[email protected]> --------- Signed-off-by: Alex Le <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 513272e - Browse repository at this point
Copy the full SHA 513272eView commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 30418b6 - Browse repository at this point
Copy the full SHA 30418b6View commit details
Commits on Oct 25, 2023
-
Query Frontend: forward tenant information downstream (thanos-io#6595)
* Make query frontend forward tenant info downstream Signed-off-by: Douglas Camata <[email protected]> * Add TODO for client certificate Signed-off-by: Douglas Camata <[email protected]> * Finish qfe tenant forward features * Add tenant forwarding based on tenant cert. * Fix bugs in the header management. Signed-off-by: Douglas Camata <[email protected]> * Test more scenarios Signed-off-by: Douglas Camata <[email protected]> * Goimports files Signed-off-by: Douglas Camata <[email protected]> * Rerun CI Signed-off-by: Douglas Camata <[email protected]> * Rerun goimports without any line breaks Signed-off-by: Douglas Camata <[email protected]> * Resort imports in groups (std, 3rd-party, local) Signed-off-by: Douglas Camata <[email protected]> * No need to forward a custom tenant header downstream We should always and only forward the default (internal) one. Signed-off-by: Douglas Camata <[email protected]> * Make query frontend tenant cert config hidden Signed-off-by: Douglas Camata <[email protected]> * Error out when org ig and tenant header are provided at the same time Signed-off-by: Douglas Camata <[email protected]> * Fix typo Signed-off-by: Douglas Camata <[email protected]> * Update docs Signed-off-by: Douglas Camata <[email protected]> * Improve comments around forward and org id headers for tenancy Signed-off-by: Douglas Camata <[email protected]> * Add some test comments Signed-off-by: Douglas Camata <[email protected]> * Improve logic for detecting tenant and org id headers were provided Signed-off-by: Douglas Camata <[email protected]> * Fix order of check for org id headers Signed-off-by: Douglas Camata <[email protected]> * Add some TODO comments for the future Signed-off-by: Douglas Camata <[email protected]> * Rerun CI Signed-off-by: Douglas Camata <[email protected]> * Make default tenant flag in qfe match receive's Signed-off-by: Douglas Camata <[email protected]> * Remove unnecessary struct fields Signed-off-by: Douglas Camata <[email protected]> * Add instant query to tenant forward tests Signed-off-by: Douglas Camata <[email protected]> * Rerun build Signed-off-by: Douglas Camata <[email protected]> --------- Signed-off-by: Douglas Camata <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df48504 - Browse repository at this point
Copy the full SHA df48504View commit details -
Expose common structs/types for index cache (thanos-io#6835)
* expose fields for index cache Signed-off-by: Ben Ye <[email protected]> * fix lint Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da62b6b - Browse repository at this point
Copy the full SHA da62b6bView commit details -
Added the fix for npm installation in npm lint (thanos-io#6829)
Signed-off-by: lpreethvika-samsung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2fb2dcd - Browse repository at this point
Copy the full SHA 2fb2dcdView commit details -
CHANGELOG: mark v0.33 as in progress (thanos-io#6846)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0af4c29 - Browse repository at this point
Copy the full SHA 0af4c29View commit details
Commits on Oct 26, 2023
-
Cut 0.33.0-rc.0 (thanos-io#6841)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9bbcaa3 - Browse repository at this point
Copy the full SHA 9bbcaa3View commit details -
Create aligned blocks when flushing TSDBs (thanos-io#6680)
* Create aligned blocks when flushing TSDBs The receiver forces a flush on several occasions, such as when shutting down or when pruning a tenant. The flush involves compacting the entire head, which can sometimes be longer than the max block duration. Since each receiver will flush at different times, these unaligned blocks trigger vertical compaction with other align blocks in object storage and create a new block which whose duration is outside of the pre-defined compaction levels. This commit tries to resolve that issue by simulating a regular head compaction to create a block that fits the max duration, followed by flushing the remainder of the head which creates a separate, smaller sized block. Signed-off-by: Filip Petkovski <[email protected]> * Add more tests Signed-off-by: Filip Petkovski <[email protected]> * Fix test for one sample tsdb Signed-off-by: Filip Petkovski <[email protected]> --------- Signed-off-by: Filip Petkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3129872 - Browse repository at this point
Copy the full SHA 3129872View commit details -
queryfrontend: fix race condition in unit test (thanos-io#6848)
Fix the following race: ``` WARNING: DATA RACE Read at 0x00c000614f98 by goroutine 521: github.com/thanos-io/thanos/pkg/queryfrontend.TestRoundTripQueryCacheWithShardingMiddleware.func1() /home/giedrius/dev/thanos/pkg/queryfrontend/roundtrip_test.go:612 +0x28e testing.tRunner() /usr/lib/go-1.21/src/testing/testing.go:1595 +0x238 testing.(*T).Run.func1() /usr/lib/go-1.21/src/testing/testing.go:1648 +0x44 Previous write at 0x00c000614f98 by goroutine 532: github.com/thanos-io/thanos/pkg/queryfrontend.promqlResultsWithFailures.func1() /home/giedrius/dev/thanos/pkg/queryfrontend/roundtrip_test.go:917 +0x26f net/http.HandlerFunc.ServeHTTP() /usr/lib/go-1.21/src/net/http/server.go:2136 +0x47 net/http.serverHandler.ServeHTTP() /usr/lib/go-1.21/src/net/http/server.go:2938 +0x2a1 net/http.(*conn).serve() /usr/lib/go-1.21/src/net/http/server.go:2009 +0xc24 net/http.(*Server).Serve.func3() /usr/lib/go-1.21/src/net/http/server.go:3086 +0x4f ``` Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc56348 - Browse repository at this point
Copy the full SHA bc56348View commit details
Commits on Oct 27, 2023
-
Move to
e2eobs.Observable
API to make profiling tests easier (thano……s-io#6849) * Move to `e2eobs.Observable` API to make profiling tests easier and enable profiling on the interactive test. Signed-off-by: Saswata Mukherjee <[email protected]> * Address some e2e test flakes Signed-off-by: Saswata Mukherjee <[email protected]> --------- Signed-off-by: Saswata Mukherjee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f66707b - Browse repository at this point
Copy the full SHA f66707bView commit details -
Move block list to end of log file (thanos-io#6850)
Signed-off-by: Daniel Deluiggi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce7644b - Browse repository at this point
Copy the full SHA ce7644bView commit details -
extkingpin: fix race in test (thanos-io#6853)
Fix race in the test by using an atomic value. The current variable is shared between goroutines. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02ef5f7 - Browse repository at this point
Copy the full SHA 02ef5f7View commit details -
query: fix selectStore hints race (thanos-io#6852)
Appending to the hints slice modifies the original request and we have multiple of goroutines doing that at the same time. Hence, make a copy of the hints and append only then. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 103476d - Browse repository at this point
Copy the full SHA 103476dView commit details -
Improve index header metrics (thanos-io#6847)
* Improve binary reader metrics Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]> * Update buckets Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]> * Update CHANGELOG Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]> --------- Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15fadd5 - Browse repository at this point
Copy the full SHA 15fadd5View commit details -
*: prepare for stringlabels (thanos-io#6842)
Prepare for eventually building with stringlabels by converting code that depends on slice labels to use the labels APIs. Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 179843a - Browse repository at this point
Copy the full SHA 179843aView commit details
Commits on Oct 29, 2023
-
*: remove unnecessary label sorts (thanos-io#6859)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74105c5 - Browse repository at this point
Copy the full SHA 74105c5View commit details
Commits on Oct 30, 2023
-
extprom: fix tg_gauge With* race (thanos-io#6855)
Fix the following race: ``` Read at 0x00c000645ac0 by goroutine 43: github.com/prometheus/client_golang/prometheus.(*MetricVec).hashLabelValues() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/vec.go:279 +0x3a4 github.com/prometheus/client_golang/prometheus.(*MetricVec).GetMetricWithLabelValues() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/vec.go:228 +0x109 github.com/prometheus/client_golang/prometheus.(*GaugeVec).GetMetricWithLabelValues() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/gauge.go:203 +0x57 github.com/prometheus/client_golang/prometheus.(*GaugeVec).WithLabelValues() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/gauge.go:236 +0xe4 github.com/thanos-io/thanos/pkg/extprom.(*TxGaugeVec).WithLabelValues() /home/giedrius/dev/thanos/pkg/extprom/tx_gauge.go:105 +0xb8 github.com/thanos-io/thanos/pkg/compact.(*GatherNoCompactionMarkFilter).Filter.func1() /home/giedrius/dev/thanos/pkg/compact/compact.go:1603 +0x78d golang.org/x/sync/errgroup.(*Group).Go.func1() /home/giedrius/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x76 Previous write at 0x00c000645ac0 by goroutine 41: github.com/prometheus/client_golang/prometheus.NewMetricVec() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/vec.go:66 +0xfe github.com/prometheus/client_golang/prometheus.v2.NewGaugeVec() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/gauge.go:168 +0x80 github.com/prometheus/client_golang/prometheus.NewGaugeVec() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/gauge.go:153 +0x197 github.com/prometheus/client_golang/prometheus/promauto.Factory.NewGaugeVec() /home/giedrius/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/promauto/auto.go:306 +0x5c github.com/thanos-io/thanos/pkg/extprom.NewTxGaugeVec.func1() /home/giedrius/dev/thanos/pkg/extprom/tx_gauge.go:31 +0x124 github.com/thanos-io/thanos/pkg/extprom.(*TxGaugeVec).ResetTx() /home/giedrius/dev/thanos/pkg/extprom/tx_gauge.go:49 +0x72 github.com/thanos-io/thanos/pkg/extprom.(*TxGaugeVec).WithLabelValues() /home/giedrius/dev/thanos/pkg/extprom/tx_gauge.go:103 +0x58 github.com/thanos-io/thanos/pkg/compact.(*GatherNoCompactionMarkFilter).Filter.func1() /home/giedrius/dev/thanos/pkg/compact/compact.go:1603 +0x78d golang.org/x/sync/errgroup.(*Group).Go.func1() /home/giedrius/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x76 ``` During `TestNoMarkFilterAtomic`, Filter() is called concurrently thus leading to this situation. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ed4395 - Browse repository at this point
Copy the full SHA 6ed4395View commit details -
Honor pathPrefix in all api calls (thanos-io#6860)
Signed-off-by: Sylvain Rabot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 326c146 - Browse repository at this point
Copy the full SHA 326c146View commit details
Commits on Oct 31, 2023
-
store: fix stringlabel build errors for prometheus store api (thanos-…
…io#6861) Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 429cfd6 - Browse repository at this point
Copy the full SHA 429cfd6View commit details -
testutil/prometheus: fix start/stop race (thanos-io#6854)
* testutil/prometheus: fix start/stop race Fix the following race between start and stop: ``` WARNING: DATA RACE Read at 0x00c0001940a0 by goroutine 35: github.com/thanos-io/thanos/pkg/testutil/e2eutil.(*Prometheus).Stop() /home/giedrius/dev/thanos/pkg/testutil/e2eutil/prometheus.go:298 +0x94 github.com/thanos-io/thanos/pkg/metadata.TestPrometheus_Metadata_e2e.func1() /home/giedrius/dev/thanos/pkg/metadata/prometheus_test.go:32 +0x33 runtime.deferreturn() /usr/lib/go-1.21/src/runtime/panic.go:477 +0x30 testing.tRunner() /usr/lib/go-1.21/src/testing/testing.go:1595 +0x238 testing.(*T).Run.func1() /usr/lib/go-1.21/src/testing/testing.go:1648 +0x44 Previous write at 0x00c0001940a0 by goroutine 73: os/exec.(*Cmd).Start() /usr/lib/go-1.21/src/os/exec/exec.go:693 +0x977 os/exec.(*Cmd).Run() /usr/lib/go-1.21/src/os/exec/exec.go:587 +0x26 os/exec.(*Cmd).CombinedOutput() /usr/lib/go-1.21/src/os/exec/exec.go:1005 +0x1f6 github.com/thanos-io/thanos/pkg/testutil/e2eutil.(*Prometheus).start.func1() /home/giedrius/dev/thanos/pkg/testutil/e2eutil/prometheus.go:226 +0x52 ``` While fixing this I have also noticed some pretty bad code like hardcoding durations in random time.Sleep. Also, some Start() calls were without waiting for Prometheus to be up. Calling start but without waiting for Prometheus to be up doesn't make much sense so I have taken the liberty to refactor this place. Also, this should make tests faster because we won't have random sleeps too. Signed-off-by: Giedrius Statkevičius <[email protected]> * e2eutil: pass prefix too Signed-off-by: Giedrius Statkevičius <[email protected]> --------- Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3e023b6 - Browse repository at this point
Copy the full SHA 3e023b6View commit details
Commits on Nov 1, 2023
-
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp fr…
…om (thanos-io#6863) 0.42.0 to 0.44.0 Signed-off-by: Daniel Mellado <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec6b8b6 - Browse repository at this point
Copy the full SHA ec6b8b6View commit details -
Changed fetcher and syncer Histogram metric to Observer
Signed-off-by: Alex Le <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe6fdb2 - Browse repository at this point
Copy the full SHA fe6fdb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc6e92 - Browse repository at this point
Copy the full SHA 3cc6e92View commit details
Commits on Nov 3, 2023
-
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp fr…
…om (thanos-io#6864) 0.42.0 to 0.44.0 Signed-off-by: Daniel Mellado <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1847164 - Browse repository at this point
Copy the full SHA 1847164View commit details -
mdox ignore checks for krisztianfekete.org (thanos-io#6869)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e10634 - Browse repository at this point
Copy the full SHA 6e10634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 444da26 - Browse repository at this point
Copy the full SHA 444da26View commit details -
Merge pull request thanos-io#6868 from alexqyle/histogram-to-observer
Changed fetcher and syncer Histogram metric to Observer
Configuration menu - View commit details
-
Copy full SHA for 463a6ce - Browse repository at this point
Copy the full SHA 463a6ceView commit details -
extkingpin: fix Content/Rewrite race (thanos-io#6870)
Got this during `TestLimiter_StartConfigReloader`: ``` Read at 0x00c0005123f0 by goroutine 8711: github.com/thanos-io/thanos/pkg/extkingpin.(*staticPathContent).Content() /home/giedrius/dev/thanos/pkg/extkingpin/path_content_reloader.go:90 +0x28 github.com/thanos-io/thanos/pkg/receive.ParseLimitConfigContent() /home/giedrius/dev/thanos/pkg/receive/limiter.go:203 +0x3e github.com/thanos-io/thanos/pkg/receive.(*Limiter).loadConfig() /home/giedrius/dev/thanos/pkg/receive/limiter.go:143 +0x65 github.com/thanos-io/thanos/pkg/receive.(*Limiter).StartConfigReloader.func1() /home/giedrius/dev/thanos/pkg/receive/limiter.go:119 +0x207 github.com/thanos-io/thanos/pkg/extkingpin.(*pollingEngine).start.func1() /home/giedrius/dev/thanos/pkg/extkingpin/path_content_reloader.go:64 +0x6b8 github.com/thanos-io/thanos/pkg/extkingpin.(*pollingEngine).start.func2() /home/giedrius/dev/thanos/pkg/extkingpin/path_content_reloader.go:74 +0x56 Previous write at 0x00c0005123f0 by goroutine 8710: github.com/thanos-io/thanos/pkg/extkingpin.(*staticPathContent).Rewrite() /home/giedrius/dev/thanos/pkg/extkingpin/path_content_reloader.go:111 +0x529 github.com/thanos-io/thanos/pkg/receive.TestLimiter_StartConfigReloader() /home/giedrius/dev/thanos/pkg/receive/limiter_test.go:44 +0x5aa testing.tRunner() /usr/lib/go-1.21/src/testing/testing.go:1595 +0x238 testing.(*T).Run.func1() /usr/lib/go-1.21/src/testing/testing.go:1648 +0x44 ``` Fix it by protecting `t.content` with a mutex and by copying the content's slice so that the caller wouldn't have access to the original slice. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e879c6 - Browse repository at this point
Copy the full SHA 7e879c6View commit details
Commits on Nov 4, 2023
-
Makefile: enable race detection for unit tests (thanos-io#6873)
Let's enable the race detection for unit tests. Closes thanos-io#4664. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe179ac - Browse repository at this point
Copy the full SHA fe179acView commit details
Commits on Nov 5, 2023
-
Store: fix returned labels on external label conflict when skipping c…
…hunks (thanos-io#6874) Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c74a050 - Browse repository at this point
Copy the full SHA c74a050View commit details
Commits on Nov 7, 2023
-
Cut Release 0.33.0-rc.0 (thanos-io#6857)
* *: mark as 0.33-rc.0 Signed-off-by: Michael Hoffmann <[email protected]> * Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from (thanos-io#6863) 0.42.0 to 0.44.0 Signed-off-by: Daniel Mellado <[email protected]> Signed-off-by: Michael Hoffmann <[email protected]> --------- Signed-off-by: Michael Hoffmann <[email protected]> Signed-off-by: Daniel Mellado <[email protected]> Co-authored-by: Daniel Mellado <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a62cbe - Browse repository at this point
Copy the full SHA 6a62cbeView commit details
Commits on Nov 13, 2023
-
Bump CircleCI unittest timeout (thanos-io#6892)
Signed-off-by: Douglas Camata <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2320e49 - Browse repository at this point
Copy the full SHA 2320e49View commit details
Commits on Nov 15, 2023
-
e2e: fix compactor test (thanos-io#6896)
Spotted some randomness in the compactor test - `thanos_blocks_meta_synced` includes cached blocks. Depending on luck, Store might or might not see those blocks leading to inconsistent results. Thus, only check the loaded metas count because that's what matters. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecb8bb8 - Browse repository at this point
Copy the full SHA ecb8bb8View commit details -
Updates busybox SHA (thanos-io#6897)
Signed-off-by: GitHub <[email protected]> Co-authored-by: fpetkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9388c3f - Browse repository at this point
Copy the full SHA 9388c3fView commit details -
Objstore: Bump Objstore for Azure Workload Identity support (thanos-i…
…o#6891) * Bump objstore for Azure Workload Identity support Signed-off-by: Rikhil Shah <[email protected]> * make check-docs Signed-off-by: Rikhil Shah <[email protected]> * Add changelog entry Signed-off-by: Rikhil Shah <[email protected]> * Update Azure client docs Signed-off-by: Rikhil Shah <[email protected]> * make check-docs Signed-off-by: Rikhil Shah <[email protected]> * Move changelog entry to 0.33.0 release Signed-off-by: Rikhil Shah <[email protected]> * Move changelog entry Signed-off-by: Rikhil Shah <[email protected]> --------- Signed-off-by: Rikhil Shah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b87641 - Browse repository at this point
Copy the full SHA 3b87641View commit details
Commits on Nov 16, 2023
-
Allow customizing the shipper metadata file name
Currently, the shipper metadata file is always called `thanos.shipper.json` in the Prometheus data directory. This precludes running multiple sidecars that upload to different object stores, as they will overwrite each other's metadata file. This commit allows the metadata file name to be customized via a flag. The default is unchanged, but it can be overridden with the `--shipper.meta-file-name` flag. As part of this, we update the signatures of `WriteMetaFile` and `ReadMetaFile` to take the full path of the metadata file, rather than just the directory, and updates the tests that go along with this. Signed-off-by: sinkingpoint <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1305d3 - Browse repository at this point
Copy the full SHA c1305d3View commit details -
Merge pull request thanos-io#6886 from sinkingpoint/sinkingpoint/cust…
…om-shipper-paths sidecar: Allow customizing the shipper metadata file name
Configuration menu - View commit details
-
Copy full SHA for fb18026 - Browse repository at this point
Copy the full SHA fb18026View commit details -
Doc: remove dead Banzai Cloud link (thanos-io#6901)
Looks like Banzai Cloud has migrated their site, and this article has been lost. Signed-off-by: Jacob Baungard Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be48c3a - Browse repository at this point
Copy the full SHA be48c3aView commit details
Commits on Nov 18, 2023
-
tutorial to integrate thanos with cilium (thanos-io#6903)
* tutorial to integrate thanos with cilium Signed-off-by: Coleen Iona Quadros <[email protected]> * remove new line Signed-off-by: Coleen Iona Quadros <[email protected]> * add link in quick tutorial Signed-off-by: Coleen Iona Quadros <[email protected]> --------- Signed-off-by: Coleen Iona Quadros <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0198f7 - Browse repository at this point
Copy the full SHA d0198f7View commit details -
UI: Use native go:embed instead of go-bindata (thanos-io#6900)
* UI: Use native go:embed instead of go-bindata With this commit we migrate from the no longer actively maintained go-bindata project, to go:embed, for embedding the UI app into the go binary. Signed-off-by: Jacob Baungard Hansen <[email protected]> * UI: Remove static react app from .dockerignore Otherwise we cannot build in e2e tests for example. Signed-off-by: Jacob Baungard Hansen <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7895e27 - Browse repository at this point
Copy the full SHA 7895e27View commit details
Commits on Nov 19, 2023
-
CI: increase e2e test parallelism (thanos-io#6875)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3a4684 - Browse repository at this point
Copy the full SHA d3a4684View commit details -
compact: hook nodownsamplemarkfilter into filters chain (thanos-io#6893)
We have a NoDownsampleMarkFilter that we were not using before in the compactor for some reason. Hook it into the filters chain if downsampling is enabled and then trim matching ULIDs from the downsampling process. Add a test to cover this scenario. Fixes thanos-io#6179. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68bef3f - Browse repository at this point
Copy the full SHA 68bef3fView commit details
Commits on Nov 20, 2023
-
e2e/compact: fix assertion values (thanos-io#6909)
I think the original values were simply too small there - if the runner is slow then it can see smaller metrics values. If the runner works well then the values can go to these bigger values and then the test fails. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ed48f7 - Browse repository at this point
Copy the full SHA 2ed48f7View commit details -
exposes asyncOperationProcessor (thanos-io#6908)
expose struct fix lint Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67545e6 - Browse repository at this point
Copy the full SHA 67545e6View commit details -
Removed the gitpod from the contribution.md (thanos-io#6907)
Signed-off-by: MeenuyD <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19bbe2e - Browse repository at this point
Copy the full SHA 19bbe2eView commit details -
.circleci: cache tool deps (thanos-io#6910)
I have noticed that downloading tool deps takes ~5 min in CI each time. We should be able to also cache those tool deps. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c1169c - Browse repository at this point
Copy the full SHA 5c1169cView commit details -
MAINTAINERS.md: add myself as maintainer (thanos-io#6911)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a4f5ae - Browse repository at this point
Copy the full SHA 0a4f5aeView commit details -
blog: Introducing ThanosCon in Paris KubeCon EU 2024 (thanos-io#6912)
* blog: Introducing ThanosCon in Paris KubeCon EU 2024 Signed-off-by: Saswata Mukherjee <[email protected]> * Add image Signed-off-by: Saswata Mukherjee <[email protected]> * make docs Signed-off-by: Saswata Mukherjee <[email protected]> * Apply suggestions Co-authored-by: Matej Gera <[email protected]> Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Saswata Mukherjee <[email protected]> * Apply suggestions Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Saswata Mukherjee <[email protected]> * Add link to slack channel Signed-off-by: Saswata Mukherjee <[email protected]> --------- Signed-off-by: Saswata Mukherjee <[email protected]> Co-authored-by: Matej Gera <[email protected]> Co-authored-by: Bartlomiej Plotka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7efeb2a - Browse repository at this point
Copy the full SHA 7efeb2aView commit details -
Update 2023-20-11-thanoscon.md (typo) (thanos-io#6915)
Signed-off-by: Bartlomiej Plotka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c67f5a7 - Browse repository at this point
Copy the full SHA c67f5a7View commit details
Commits on Nov 21, 2023
-
Added info about ThanosCon to website and Readme. (thanos-io#6917)
* Added info about ThanosCon to website and Readme. Signed-off-by: bwplotka <[email protected]> * Update website/layouts/index.html Co-authored-by: Saswata Mukherjee <[email protected]> Signed-off-by: Bartlomiej Plotka <[email protected]> --------- Signed-off-by: bwplotka <[email protected]> Signed-off-by: Bartlomiej Plotka <[email protected]> Co-authored-by: Saswata Mukherjee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edfdc13 - Browse repository at this point
Copy the full SHA edfdc13View commit details
Commits on Nov 22, 2023
-
Objstore: Bump Objstore for Azure Workload Identity support (thanos-i…
…o#6891) * Bump objstore for Azure Workload Identity support Signed-off-by: Rikhil Shah <[email protected]> * make check-docs Signed-off-by: Rikhil Shah <[email protected]> * Add changelog entry Signed-off-by: Rikhil Shah <[email protected]> * Update Azure client docs Signed-off-by: Rikhil Shah <[email protected]> * make check-docs Signed-off-by: Rikhil Shah <[email protected]> * Move changelog entry to 0.33.0 release Signed-off-by: Rikhil Shah <[email protected]> * Move changelog entry Signed-off-by: Rikhil Shah <[email protected]> --------- Signed-off-by: Rikhil Shah <[email protected]> Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 053bd4a - Browse repository at this point
Copy the full SHA 053bd4aView commit details -
update compactor backlog doc for checking halt (thanos-io#6906)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7ad77e - Browse repository at this point
Copy the full SHA d7ad77eView commit details
Commits on Nov 23, 2023
-
Signed-off-by: Martin Hauskrecht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4db836f - Browse repository at this point
Copy the full SHA 4db836fView commit details -
Merge pull request thanos-io#6920 from lablabs/main
Update LabyrinthLabs logo
Configuration menu - View commit details
-
Copy full SHA for b5ff094 - Browse repository at this point
Copy the full SHA b5ff094View commit details
Commits on Nov 24, 2023
-
Merge pull request thanos-io#6919 from MichaHoffmann/mhoffm-release-0…
…-33-cherry-pick-objstore-bump Objstore: Bump Objstore for Azure Workload Identity support (thanos-io#6891)
Configuration menu - View commit details
-
Copy full SHA for dc79d57 - Browse repository at this point
Copy the full SHA dc79d57View commit details -
Support reload using signal (thanos-io#6453)
* Support reload using signal Signed-off-by: Simon Pasquier <[email protected]> * Add --reloader.method option to sidecar This option allows to tell the sidecar to send a SIGHUP signal to the monitored process to reload its configuration instead of the default HTTP-based method. Signed-off-by: Simon Pasquier <[email protected]> * Update docs and CHANGELOG.md Signed-off-by: Simon Pasquier <[email protected]> --------- Signed-off-by: Simon Pasquier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 023faa2 - Browse repository at this point
Copy the full SHA 023faa2View commit details
Commits on Nov 27, 2023
-
Support float histogram in store gateway (thanos-io#6925)
* support float histogram in store gateway Signed-off-by: Ben Ye <[email protected]> * fix lint Signed-off-by: Ben Ye <[email protected]> * fix e2e test Signed-off-by: Ben Ye <[email protected]> * update prompb Signed-off-by: Ben Ye <[email protected]> * add changelog Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d6f82e - Browse repository at this point
Copy the full SHA 9d6f82eView commit details -
chore: add truelayer to the adopters (thanos-io#6933)
Signed-off-by: Matteo Martellini <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f9f166 - Browse repository at this point
Copy the full SHA 5f9f166View commit details -
Fetcher: Add a BlockIDsFetcher Interface to BaseFetcher (thanos-io#6902)
* add BlockIDsFetcher to BaseFetcher Signed-off-by: Wen Xu <[email protected]> * fix lint Signed-off-by: Wen Xu <[email protected]> * use chan in the interface method to accept active block ids Signed-off-by: Wen Xu <[email protected]> * fix comments Signed-off-by: Wen Xu <[email protected]> * fix lint Signed-off-by: Wen Xu <[email protected]> * add description of active and parital blocks and modify changelog Signed-off-by: Wen Xu <[email protected]> * fix interface description Signed-off-by: Wen Xu <[email protected]> * remove entry in changelog Signed-off-by: Wen Xu <[email protected]> --------- Signed-off-by: Wen Xu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ffb9da - Browse repository at this point
Copy the full SHA 8ffb9daView commit details
Commits on Nov 28, 2023
-
Update hugo file (thanos-io#6927)
* Update hugo file thanos-io#6889 Signed-off-by: Kartikay <[email protected]> * Version 0.33 removed Signed-off-by: Kartikay <[email protected]> --------- Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d254c9 - Browse repository at this point
Copy the full SHA 0d254c9View commit details -
Updates busybox SHA (thanos-io#6897) (thanos-io#6937)
Signed-off-by: GitHub <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: fpetkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d69430d - Browse repository at this point
Copy the full SHA d69430dView commit details -
Fix hotstar logo (thanos-io#6938)
* Fix hotstar logo Signed-off-by: Kartikay <[email protected]> * Delete website/.hugo_build.lock Signed-off-by: Kartikay <[email protected]> --------- Signed-off-by: Kartikay <[email protected]> Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 463dd48 - Browse repository at this point
Copy the full SHA 463dd48View commit details
Commits on Dec 1, 2023
-
Fix deadlock in the Add() function - it accidentally was calling itself recursively. This struct wraps a `MultiError` so we need to call `Add()` on that `MultiError` inside. This deadlock can manifest in Receive - million+ leaking goroutines, all stuck on the MultiTSDB lock. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2717d8 - Browse repository at this point
Copy the full SHA a2717d8View commit details -
Merge pull request thanos-io#6949 from thanos-io/fix_errutil_deadlock
errutil: fix deadlock
Configuration menu - View commit details
-
Copy full SHA for e78091b - Browse repository at this point
Copy the full SHA e78091bView commit details
Commits on Dec 3, 2023
-
update runtime/CloseWithErrCapture comment (thanos-io#6952)
* update runtime/CloseWithErrCapture comment Signed-off-by: Sagnik Das <[email protected]> * fix lint Signed-off-by: Sagnik Das <[email protected]> --------- Signed-off-by: Sagnik Das <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f734b9 - Browse repository at this point
Copy the full SHA 7f734b9View commit details -
Added a new flag for maximum retention bytes for thanos (thanos-io#6944)
* changes Signed-off-by: Kartikay <[email protected]> * Changed Int64 to BytesVar Signed-off-by: Kartikay <[email protected]> * Updated Changelog for new flag in receive Signed-off-by: Kartikay <[email protected]> --------- Signed-off-by: Kartikay <[email protected]> Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2de1266 - Browse repository at this point
Copy the full SHA 2de1266View commit details
Commits on Dec 4, 2023
-
fix store gateway span name (thanos-io#6953)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5191d72 - Browse repository at this point
Copy the full SHA 5191d72View commit details -
Upgrade prometheus to latest main (thanos-io#6950)
* upgrade prometheus to latest main Signed-off-by: Ben Ye <[email protected]> * upgrade again Signed-off-by: Ben Ye <[email protected]> * fix test Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42f4de4 - Browse repository at this point
Copy the full SHA 42f4de4View commit details -
Improve filtered index cache filtering (thanos-io#6955)
* improve filtered index cache filtering Signed-off-by: Ben Ye <[email protected]> * make inline Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28407d6 - Browse repository at this point
Copy the full SHA 28407d6View commit details
Commits on Dec 5, 2023
-
store: fix misc label_value issues related to external labels (thanos…
…-io#6879) Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e578b1f - Browse repository at this point
Copy the full SHA e578b1fView commit details -
receive: fix adding fields to logger
Fix adding fields to the logger because otherwise it looks like "[tenant foo]: (UNDEFINED)". Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a307d60 - Browse repository at this point
Copy the full SHA a307d60View commit details -
Merge pull request thanos-io#6964 from thanos-io/handler_fix_tags
receive: fix adding fields to logger
Configuration menu - View commit details
-
Copy full SHA for 1bcfec0 - Browse repository at this point
Copy the full SHA 1bcfec0View commit details
Commits on Dec 6, 2023
-
Copy labels coming from remote engines (thanos-io#6957)
* Copy labels coming from remote engines When running in distributed mode, the remote engine will use an unsafe cast from ZLabels to Prometheus labels to avoid making new allocations. This makes it hard to use the new gRPC shared buffer pool for receiving and decompressing messages since memory gets retained beyond the scope of a Recv() call. This commit removes the unsafe cast and makes an explicit memory copy of received series labels. Since remote queries are already aggregated series, the amount of data we receive should be small anyway, and the copies on average should have a small impact. Signed-off-by: Filip Petkovski <[email protected]> * Use clone on strings Signed-off-by: Filip Petkovski <[email protected]> --------- Signed-off-by: Filip Petkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36ce448 - Browse repository at this point
Copy the full SHA 36ce448View commit details -
Add tracing index cache (thanos-io#6954)
* add tracing index cache Signed-off-by: Ben Ye <[email protected]> * changelog Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5cef7d9 - Browse repository at this point
Copy the full SHA 5cef7d9View commit details
Commits on Dec 7, 2023
-
Change order of log for finished compacting blocks (thanos-io#6966)
Signed-off-by: Daniel Deluiggi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7aecb4 - Browse repository at this point
Copy the full SHA e7aecb4View commit details -
Update MAINTAINERS.md (thanos-io#6967)
Signed-off-by: Matej Gera <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07e43ca - Browse repository at this point
Copy the full SHA 07e43caView commit details -
Add
keep_firing_for
support to alerting rule (thanos-io#6943)* Add keep_firing_for to alert rules Signed-off-by: JHeil <[email protected]> * Updating changelog Signed-off-by: JHeil <[email protected]> * Re-order keepFiringFor at the end of the struct Signed-off-by: JHeil <[email protected]> --------- Signed-off-by: JHeil <[email protected]> Signed-off-by: JHeil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d4fc6d - Browse repository at this point
Copy the full SHA 5d4fc6dView commit details
Commits on Dec 8, 2023
-
Use registerer for gRPC opts and endpoints (thanos-io#6971)
The EndpointSet and StoreGRPC options accept concrete *prometheus.Registry type. This makes it hard to create multiple instances of them because they will try to register the same metrics and the registry will panic. This commit changes the type to a prometheus.Registerer which allows clients to inject a prefixed registry and get metrics for each instance. Signed-off-by: Filip Petkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32f227a - Browse repository at this point
Copy the full SHA 32f227aView commit details
Commits on Dec 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7b8eb86 - Browse repository at this point
Copy the full SHA 7b8eb86View commit details -
Add streaming series limit at block series client (thanos-io#6972)
* add series limit that is applied when streaming using block series client Signed-off-by: Ben Ye <[email protected]> * changelog Signed-off-by: Ben Ye <[email protected]> * add unit tests Signed-off-by: Ben Ye <[email protected]> * address comments Signed-off-by: Ben Ye <[email protected]> * fix comment Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc1a6ed - Browse repository at this point
Copy the full SHA fc1a6edView commit details
Commits on Dec 14, 2023
-
Updated the defaultChecked property in checkbox element (thanos-io#6976)
Signed-off-by: lpreethvika-samsung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61dc2b9 - Browse repository at this point
Copy the full SHA 61dc2b9View commit details -
Update prometheus to d0c2d9c (thanos-io#6978)
* Update prometheus to d0c2d9c This commit updates Prometheus to commit d0c2d9c which contains the loser-tree based postings merge. Note that we cannot update to latest main since there is currently a bug in PromQL when querying native histograms introduced by prometheus/prometheus#13276. This issue should be fixed by prometheus/prometheus#13289. This commit also updates the Thanos PromQL engine to latest main. Signed-off-by: Filip Petkovski <[email protected]> * Fix handler_test.go Signed-off-by: Filip Petkovski <[email protected]> * Fix manager_test.go Signed-off-by: Filip Petkovski <[email protected]> * Use empty registry for file discovery Signed-off-by: Filip Petkovski <[email protected]> --------- Signed-off-by: Filip Petkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88f7119 - Browse repository at this point
Copy the full SHA 88f7119View commit details
Commits on Dec 15, 2023
-
Updates busybox SHA (thanos-io#6982)
Signed-off-by: GitHub <[email protected]> Co-authored-by: fpetkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96b8dba - Browse repository at this point
Copy the full SHA 96b8dbaView commit details
Commits on Dec 17, 2023
-
Updates busybox SHA (thanos-io#6982)
Signed-off-by: GitHub <[email protected]> Co-authored-by: fpetkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fbd4e6 - Browse repository at this point
Copy the full SHA 1fbd4e6View commit details -
VERSION: Bump version for release
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4aea454 - Browse repository at this point
Copy the full SHA 4aea454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f025f1 - Browse repository at this point
Copy the full SHA 0f025f1View commit details
Commits on Dec 18, 2023
-
Merge remote-tracking branch 'origin/main' into merge-release-0.33-to…
…-main Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e672e5 - Browse repository at this point
Copy the full SHA 5e672e5View commit details
Commits on Dec 19, 2023
-
Merge pull request thanos-io#6992 from MichaHoffmann/merge-release-0.…
…33-to-main merge release 0.33 to main
Configuration menu - View commit details
-
Copy full SHA for 480c8d9 - Browse repository at this point
Copy the full SHA 480c8d9View commit details
Commits on Dec 20, 2023
-
rule: native histogram support (thanos-io#6390)
* Added native histogram support for ruler Signed-off-by: Sebastian Rabenhorst <[email protected]> Formatted imports Signed-off-by: Sebastian Rabenhorst <[email protected]> Fixed imports Signed-off-by: Sebastian Rabenhorst <[email protected]> Formated imports Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fixed native histogram tests Signed-off-by: Sebastian Rabenhorst <[email protected]> Fixed receiver type Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fix for rebase Signed-off-by: Sebastian Rabenhorst <[email protected]> * Added docs for query endpoints differences Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fixed comments and naming Signed-off-by: Sebastian Rabenhorst <[email protected]> * made HTTPConfig optional Signed-off-by: Sebastian Rabenhorst <[email protected]> * made HTTPConfig optional Signed-off-by: Sebastian Rabenhorst <[email protected]> * Reverted and added check Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fixes from comments Signed-off-by: Sebastian Rabenhorst <[email protected]> * renamed queryconfig to clientconfig Signed-off-by: Sebastian Rabenhorst <[email protected]> * common prepareEndpointSet Signed-off-by: Sebastian Rabenhorst <[email protected]> * fixed lint Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fixed sidecar Signed-off-by: Sebastian Rabenhorst <[email protected]> * Fixed tests Signed-off-by: Sebastian Rabenhorst <[email protected]> --------- Signed-off-by: Sebastian Rabenhorst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a900cb5 - Browse repository at this point
Copy the full SHA a900cb5View commit details
Commits on Dec 21, 2023
-
mdox ignore checking twitter urls (thanos-io#7001)
Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b16b71d - Browse repository at this point
Copy the full SHA b16b71dView commit details -
Updated Grofers logo (thanos-io#7006)
Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d37b686 - Browse repository at this point
Copy the full SHA d37b686View commit details
Commits on Dec 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bd7accb - Browse repository at this point
Copy the full SHA bd7accbView commit details
Commits on Dec 24, 2023
-
docs: add promcon 2023 thanos talks
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d27365c - Browse repository at this point
Copy the full SHA d27365cView commit details -
Merge pull request thanos-io#7008 from MichaHoffmann/mhoffm-add-promc…
…on-2023-thanos-talks docs: add promcon 2023 thanos talks
Configuration menu - View commit details
-
Copy full SHA for ae324c2 - Browse repository at this point
Copy the full SHA ae324c2View commit details -
Added website page for companies who offer consultancy and enterprise… (
thanos-io#7000) * Added website page for companies who offer consultancy and enterprise support for Thanos Signed-off-by: Kartikay <[email protected]> * adopters.yml revert Signed-off-by: Kartikay <[email protected]> * retrigger checks Signed-off-by: Kartikay <[email protected]> * added a new line in welcome.md Signed-off-by: Kartikay <[email protected]> * retrigger checks Signed-off-by: Kartikay <[email protected]> --------- Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d6acc5 - Browse repository at this point
Copy the full SHA 2d6acc5View commit details -
Lazy downloaded index header (thanos-io#6984)
* lazy downloaded index header Signed-off-by: Ben Ye <[email protected]> * update tests Signed-off-by: Ben Ye <[email protected]> * address comments Signed-off-by: Ben Ye <[email protected]> * address comments Signed-off-by: Ben Ye <[email protected]> * changelog Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 665e643 - Browse repository at this point
Copy the full SHA 665e643View commit details
Commits on Dec 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a59a3ef - Browse repository at this point
Copy the full SHA a59a3efView commit details
Commits on Dec 27, 2023
-
query-frontend: Added support of auto_discovery for memcached (thanos…
…-io#7004) * query-frontend: Added support of auto_discovery for memcached Signed-off-by: Vasiliy Rumyantsev <[email protected]> * adjustments to build on main branch Signed-off-by: Vasiliy Rumyantsev <[email protected]> * CHANGELOG.md Signed-off-by: Vasiliy Rumyantsev <[email protected]> * typo fixed Signed-off-by: Vasiliy Rumyantsev <[email protected]> * minor fixex after review Signed-off-by: Vasiliy Rumyantsev <[email protected]> --------- Signed-off-by: Vasiliy Rumyantsev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed8a317 - Browse repository at this point
Copy the full SHA ed8a317View commit details -
Signed-off-by: Kartikay <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31850ab - Browse repository at this point
Copy the full SHA 31850abView commit details -
Merge pull request thanos-io#7009 from kartikaysaxena/url_template
Rule: Fix URI encoding of strings
Configuration menu - View commit details
-
Copy full SHA for ee9288f - Browse repository at this point
Copy the full SHA ee9288fView commit details -
ui: enable partial response strategy by default
Rebuild Signed-off-by: Vanshika <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e77caa8 - Browse repository at this point
Copy the full SHA e77caa8View commit details -
Merge pull request thanos-io#6977 from Vanshikav123/patch-partialResp…
…onse Partial Response : "Use Partial Response" enabled by default
Configuration menu - View commit details
-
Copy full SHA for 61040a5 - Browse repository at this point
Copy the full SHA 61040a5View commit details
Commits on Dec 28, 2023
-
Added negative offset check for caching queries (thanos-io#7011)
Signed-off-by: pawarpranav83 <[email protected]> Co-authored-by: pawarpranav83 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93840dc - Browse repository at this point
Copy the full SHA 93840dcView commit details
Commits on Dec 29, 2023
-
Update MAINTAINERS.md (Bartek's company)
Should be done in January last year... Signed-off-by: Bartlomiej Plotka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3db9c63 - Browse repository at this point
Copy the full SHA 3db9c63View commit details -
Merge pull request thanos-io#7015 from thanos-io/bwplotka-patch-5
Update MAINTAINERS.md (Bartek's company)
Configuration menu - View commit details
-
Copy full SHA for d388b74 - Browse repository at this point
Copy the full SHA d388b74View commit details
Commits on Dec 30, 2023
-
store: add chunksize tests to acceptance tests
* add chunk size tests to acceptance tests * refactor acceptance tests slightly Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8aa07f6 - Browse repository at this point
Copy the full SHA 8aa07f6View commit details
Commits on Jan 1, 2024
-
added tasrie it services as support partner (thanos-io#7023)
* added tasrie it services as support partner Signed-off-by: Tasrie IT Services <[email protected]> * added the link in the list.html page Signed-off-by: Tasrie IT Services <[email protected]> * fixed the logo resolution to 190x70 Signed-off-by: Tasrie IT Services <[email protected]> * Remove extraneous text Signed-off-by: Saswata Mukherjee <[email protected]> --------- Signed-off-by: Tasrie IT Services <[email protected]> Signed-off-by: Saswata Mukherjee <[email protected]> Co-authored-by: Saswata Mukherjee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d7abb5 - Browse repository at this point
Copy the full SHA 6d7abb5View commit details
Commits on Jan 2, 2024
-
Query Frontend: Add tenant label to metrics (thanos-io#6887)
This commit adds a tenant label to the HTTP metrics which are exported by the Query Frontend. Signed-off-by: Jacob Baungard Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fc308c - Browse repository at this point
Copy the full SHA 0fc308cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20dc2d7 - Browse repository at this point
Copy the full SHA 20dc2d7View commit details -
Signed-off-by: Pratham Agarwal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for afb1895 - Browse repository at this point
Copy the full SHA afb1895View commit details -
Merge pull request thanos-io#7026 from Pratham1812/patch
resolved issue thanos-io#7024
Configuration menu - View commit details
-
Copy full SHA for 7aad562 - Browse repository at this point
Copy the full SHA 7aad562View commit details
Commits on Jan 3, 2024
-
QueryFrontend|Query: Create new arg to enable extended functions (tha…
…nos-io#7028) * Adding new parameter for extended functions in querier Signed-off-by: Pedro Tanaka <[email protected]> * Adding new flag for QFE Signed-off-by: Pedro Tanaka <[email protected]> * improve argument passing in query side Signed-off-by: Pedro Tanaka <[email protected]> * Adding changelog Signed-off-by: Pedro Tanaka <[email protected]> * Adding e2e test for query Signed-off-by: Pedro Tanaka <[email protected]> * undoing uneeded changes Signed-off-by: Pedro Tanaka <[email protected]> * fixing docs Signed-off-by: Pedro Tanaka <[email protected]> * fixing e2e tests Signed-off-by: Pedro Tanaka <[email protected]> * Fixing backward compat test Signed-off-by: Pedro Tanaka <[email protected]> * changes from CR Signed-off-by: Pedro Tanaka <[email protected]> --------- Signed-off-by: Pedro Tanaka <[email protected]> Signed-off-by: Pedro Tanaka <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08a14f3 - Browse repository at this point
Copy the full SHA 08a14f3View commit details -
Merge pull request thanos-io#7018 from thanos-io/mhoffm-refactor-chun…
…ksize-acceptance-tests store: add chunksize tests to acceptance tests
Configuration menu - View commit details
-
Copy full SHA for cf94c2f - Browse repository at this point
Copy the full SHA cf94c2fView commit details
Commits on Jan 4, 2024
-
receive: respect forward timeout in http handler buckets (thanos-io#7030
) Forward timeout is what ultimately decides how long a HTTP request might take so it doesn't make sense to hard-code max value of 5. In this pull request I propose respecting the configured forward timeout and adding extra buckets if the default buckets don't cover it completely. Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b884c51 - Browse repository at this point
Copy the full SHA b884c51View commit details
Commits on Jan 5, 2024
-
receive: do not leak grpc connections (thanos-io#7031)
* receive: do not leak grpc connections Prevent a leak in gRPC connections by garbage collecting old ones when the hashring changes. For that purpose, I propose adding a `Nodes() string` method so that it would be possible to know what nodes do not exist in the hashring anymore. Signed-off-by: Giedrius Statkevičius <[email protected]> * receive: change order of operations Signed-off-by: Giedrius Statkevičius <[email protected]> --------- Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6477c00 - Browse repository at this point
Copy the full SHA 6477c00View commit details
Commits on Jan 7, 2024
-
fix multi-tenancy link (thanos-io#7032)
Signed-off-by: Alec Rajeev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b1e429 - Browse repository at this point
Copy the full SHA 8b1e429View commit details
Commits on Jan 8, 2024
-
removing todo comments from query docs
Signed-off-by: Harsh Pratap Singh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bccf54c - Browse repository at this point
Copy the full SHA bccf54cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f664d9 - Browse repository at this point
Copy the full SHA 8f664d9View commit details -
Merge pull request thanos-io#7037 from harsh-ps-2003/docs
removing todo comment from query docs
Configuration menu - View commit details
-
Copy full SHA for d37d87d - Browse repository at this point
Copy the full SHA d37d87dView commit details -
Query: add optional tenancy enforcement (thanos-io#6756)
* Query: add optional tenancy enforcement With this commit it's now possible to enable enforcement of tenancy. If tenancy is enabled, a tenant label will be added to queries based on the tenant information provided by the tenant header, and the tenant-label-name. The implementation for query APIs are done by using prom-label-proxy as library, while the implementation for non-query APIs are written from scratch. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Add changelog entry Signed-off-by: Jacob Baungard Hansen <[email protected]> * Query: Add non-default tenant testcase Signed-off-by: Jacob Baungard Hansen <[email protected]> * Test: make query a constant to make linter happy Signed-off-by: Jacob Baungard Hansen <[email protected]> * Address review comments - Remove empty lines - If multiple tenant matchers are found in the original query, we only replace the first one with the header provided tenant, and remove any subsequent ones. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Address review comments - `--enable-tenancy` -> `--enforce-tenancy` - Create `RewritePromQL` and `RewriteLabelMatchers` to clean up code in query api. Also move getLabelMatchers to tenancy pkg. - Use prom-label-proxys `EnforceMatchers` to rewrite labels on non-query APIs instead of own solution - Don't specifically handle `illegalLabelMatcherError` Signed-off-by: Jacob Baungard Hansen <[email protected]> * Re-arrage go.mod to make linter happy. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Address review comments Minor changes to CLI docs, code-comments and changelog. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Query: Add tenancy docs This commit adds documentation for the tenancy features. Signed-off-by: Jacob Baungard Hansen <[email protected]> * Update docs/components/query.md Review comment Co-authored-by: Saswata Mukherjee <[email protected]> Signed-off-by: Jacob Baungård Hansen <[email protected]> --------- Signed-off-by: Jacob Baungard Hansen <[email protected]> Signed-off-by: Jacob Baungård Hansen <[email protected]> Co-authored-by: Saswata Mukherjee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0cd95eb - Browse repository at this point
Copy the full SHA 0cd95ebView commit details -
Tests: unique docker env name for tenant tests (thanos-io#7038)
The e2e tests would occasionally fail due to non-unqiue docker environment names. With this commit the tests are environments are given unique names to avoid these failures. Signed-off-by: Jacob Baungard Hansen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e04118 - Browse repository at this point
Copy the full SHA 0e04118View commit details -
Signed-off-by: Player256 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b35b11d - Browse repository at this point
Copy the full SHA b35b11dView commit details -
Merge pull request thanos-io#6539 from Player256/main
changed store api's --sync-block-duration to 15m
Configuration menu - View commit details
-
Copy full SHA for 7c99009 - Browse repository at this point
Copy the full SHA 7c99009View commit details -
Fix docs post thanos-io#6539 merge. Signed-off-by: Filip Petkovski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7794d78 - Browse repository at this point
Copy the full SHA 7794d78View commit details
Commits on Jan 12, 2024
-
Revert "receive: upload compacted blocks if OOO enabled (thanos-io#6974…
…)" (thanos-io#7053) This reverts commit 7b8eb86. Proper way to handle this is to disable vertical compaction. I am trying to add this functionality here: prometheus/prometheus#13393 Signed-off-by: Giedrius Statkevičius <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 41571e2 - Browse repository at this point
Copy the full SHA 41571e2View commit details -
[CHORE] adding thanos upload-snapshot command (thanos-io#6884)
Signed-off-by: Nicolas Takashi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fd0ef8 - Browse repository at this point
Copy the full SHA 6fd0ef8View commit details
Commits on Jan 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44147d6 - Browse repository at this point
Copy the full SHA 44147d6View commit details -
Merge pull request thanos-io#7057 from kartikaysaxena/doc-fix
docs: fix docs error
Configuration menu - View commit details
-
Copy full SHA for ae93ed6 - Browse repository at this point
Copy the full SHA ae93ed6View commit details
Commits on Jan 14, 2024
-
cmd: make bucket upload command take lset from flags (thanos-io#7059)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dcfabe - Browse repository at this point
Copy the full SHA 2dcfabeView commit details -
CHANGELOG: mark 0.34 as in progress
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 767bf60 - Browse repository at this point
Copy the full SHA 767bf60View commit details -
Merge pull request thanos-io#7055 from MichaHoffmann/mhoffm-mark-0.34…
…-as-in-progress CHANGELOG: mark 0.34 as in progress
Configuration menu - View commit details
-
Copy full SHA for 427b9a1 - Browse repository at this point
Copy the full SHA 427b9a1View commit details -
VERSION: cut release 0.34.0-rc.0
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fc86cf5 - Browse repository at this point
Copy the full SHA fc86cf5View commit details
Commits on Jan 15, 2024
-
Merge pull request thanos-io#7061 from MichaHoffmann/mhoffm-cut-relea…
…se-0.34.0-rc.0 VERSION: cut release 0.34.0-rc.0
Configuration menu - View commit details
-
Copy full SHA for 6fb3ca1 - Browse repository at this point
Copy the full SHA 6fb3ca1View commit details
Commits on Jan 23, 2024
-
VERSION: cut release 0.34.0-rc.1
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df467f7 - Browse repository at this point
Copy the full SHA df467f7View commit details -
Merge pull request thanos-io#7086 from MichaHoffmann/mhoffm-cut-relea…
…se-0.34.0-rc.1 VERSION: cut release 0.34.0-rc.1
Configuration menu - View commit details
-
Copy full SHA for 15a60f9 - Browse repository at this point
Copy the full SHA 15a60f9View commit details
Commits on Jan 26, 2024
-
CHANGELOG: cut release 0.34 (thanos-io#7095)
Signed-off-by: Michael Hoffmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18d740f - Browse repository at this point
Copy the full SHA 18d740fView commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e28f166 - Browse repository at this point
Copy the full SHA e28f166View commit details -
Configuration menu - View commit details
-
Copy full SHA for 916e0c0 - Browse repository at this point
Copy the full SHA 916e0c0View commit details