Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[PLAT-101389] Merge thanos upstream from release-0.34 #13

Merged
merged 170 commits into from
Feb 16, 2024

Commits on Oct 9, 2023

  1. bump prometheus to latest main (thanos-io#6783)

    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    6aeca7e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    b2b80b3 View commit details
    Browse the repository at this point in the history
  2. 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]>
    nishchay-veer and saswatamcode authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    dfe0bbf View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. 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]>
    GiedriusS authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    beca1fe View commit details
    Browse the repository at this point in the history
  2. 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]>
    GiedriusS authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    8ccd270 View commit details
    Browse the repository at this point in the history
  3. 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]>
    wallee94 and Walther Lee authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    478ce99 View commit details
    Browse the repository at this point in the history
  4. 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]>
    GiedriusS authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    a950eab View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. 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]>
    yeya24 authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    9c9a209 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3686ff View commit details
    Browse the repository at this point in the history
  3. 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]>
    GiedriusS authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    728bda9 View commit details
    Browse the repository at this point in the history
  4. 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]>
    GiedriusS authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    8ebf748 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. 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]>
    GiedriusS authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    681830e View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. 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>
    dependabot[bot] authored Oct 14, 2023
    Configuration menu
    Copy the full SHA
    65c4629 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Updates busybox SHA (thanos-io#6808)

    Signed-off-by: GitHub <[email protected]>
    Co-authored-by: fpetkovski <[email protected]>
    github-actions[bot] and fpetkovski authored Oct 15, 2023
    Configuration menu
    Copy the full SHA
    f959198 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. fix head series limiter trigger (thanos-io#6802)

    Signed-off-by: Thibault Mange <[email protected]>
    thibaultmg authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    9df7566 View commit details
    Browse the repository at this point in the history
  2. preallocate series map size (thanos-io#6807)

    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    77fac93 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. 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]>
    yeya24 authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    e4b579f View commit details
    Browse the repository at this point in the history
  2. 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]>
    MichaHoffmann authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    6fe6baa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b982d5 View commit details
    Browse the repository at this point in the history
  4. add keepalive to EndpointGroupGRPCOpts (thanos-io#6810)

    Signed-off-by: Walther Lee <[email protected]>
    wallee94 authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    31cba70 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. 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]>
    8 people authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    14953cd View commit details
    Browse the repository at this point in the history
  2. 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]>
    GiedriusS authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    688c18a View commit details
    Browse the repository at this point in the history
  3. 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]>
    GiedriusS authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    d80c570 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. fix devcontainer image (thanos-io#6828)

    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    ba16848 View commit details
    Browse the repository at this point in the history
  2. 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]>
    alexqyle authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    42792d9 View commit details
    Browse the repository at this point in the history
  3. 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]>
    GiedriusS authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    dcc9bea View commit details
    Browse the repository at this point in the history
  4. 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]>
    GiedriusS authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    e979369 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. 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]>
    nelsonmarcos authored Oct 21, 2023
    Configuration menu
    Copy the full SHA
    e195df9 View commit details
    Browse the repository at this point in the history
  2. 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]>
    jacobbaungard authored Oct 21, 2023
    Configuration menu
    Copy the full SHA
    ea746be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a5b4fa View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. 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]>
    donuts-are-good authored Oct 22, 2023
    Configuration menu
    Copy the full SHA
    5c98347 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    a74384f View commit details
    Browse the repository at this point in the history
  2. 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]>
    alexqyle authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    513272e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    30418b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. 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]>
    douglascamata authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    df48504 View commit details
    Browse the repository at this point in the history
  2. 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]>
    yeya24 authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    da62b6b View commit details
    Browse the repository at this point in the history
  3. Added the fix for npm installation in npm lint (thanos-io#6829)

    Signed-off-by: lpreethvika-samsung <[email protected]>
    lpreethvika authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    2fb2dcd View commit details
    Browse the repository at this point in the history
  4. CHANGELOG: mark v0.33 as in progress (thanos-io#6846)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    0af4c29 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Cut 0.33.0-rc.0 (thanos-io#6841)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9bbcaa3 View commit details
    Browse the repository at this point in the history
  2. 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]>
    fpetkovski authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3129872 View commit details
    Browse the repository at this point in the history
  3. 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]>
    GiedriusS authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    bc56348 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. 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]>
    saswatamcode authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f66707b View commit details
    Browse the repository at this point in the history
  2. Move block list to end of log file (thanos-io#6850)

    Signed-off-by: Daniel Deluiggi <[email protected]>
    danielblando authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    ce7644b View commit details
    Browse the repository at this point in the history
  3. 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]>
    GiedriusS authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    02ef5f7 View commit details
    Browse the repository at this point in the history
  4. 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]>
    GiedriusS authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    103476d View commit details
    Browse the repository at this point in the history
  5. 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]>
    harry671003 authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    15fadd5 View commit details
    Browse the repository at this point in the history
  6. *: 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]>
    MichaHoffmann authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    179843a View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. *: remove unnecessary label sorts (thanos-io#6859)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    74105c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. 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]>
    GiedriusS authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    6ed4395 View commit details
    Browse the repository at this point in the history
  2. Honor pathPrefix in all api calls (thanos-io#6860)

    Signed-off-by: Sylvain Rabot <[email protected]>
    sylr authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    326c146 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    429cfd6 View commit details
    Browse the repository at this point in the history
  2. 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]>
    GiedriusS authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    3e023b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. 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]>
    danielmellado authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ec6b8b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe6fdb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3cc6e92 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. 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]>
    danielmellado authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    1847164 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e10634 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    444da26 View commit details
    Browse the repository at this point in the history
  4. Merge pull request thanos-io#6868 from alexqyle/histogram-to-observer

    Changed fetcher and syncer Histogram metric to Observer
    fpetkovski authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    463a6ce View commit details
    Browse the repository at this point in the history
  5. 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]>
    GiedriusS authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    7e879c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. 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]>
    GiedriusS authored Nov 4, 2023
    Configuration menu
    Copy the full SHA
    fe179ac View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Configuration menu
    Copy the full SHA
    c74a050 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. 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]>
    MichaHoffmann and danielmellado authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    6a62cbe View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Bump CircleCI unittest timeout (thanos-io#6892)

    Signed-off-by: Douglas Camata <[email protected]>
    douglascamata authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    2320e49 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. 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]>
    GiedriusS authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    ecb8bb8 View commit details
    Browse the repository at this point in the history
  2. Updates busybox SHA (thanos-io#6897)

    Signed-off-by: GitHub <[email protected]>
    Co-authored-by: fpetkovski <[email protected]>
    github-actions[bot] and fpetkovski authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    9388c3f View commit details
    Browse the repository at this point in the history
  3. 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]>
    rikhil-s authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    3b87641 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. 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]>
    sinkingpoint committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    c1305d3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#6886 from sinkingpoint/sinkingpoint/cust…

    …om-shipper-paths
    
    sidecar: Allow customizing the shipper metadata file name
    fpetkovski authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    fb18026 View commit details
    Browse the repository at this point in the history
  3. 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]>
    jacobbaungard authored Nov 16, 2023
    Configuration menu
    Copy the full SHA
    be48c3a View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. 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]>
    coleenquadros authored Nov 18, 2023
    Configuration menu
    Copy the full SHA
    d0198f7 View commit details
    Browse the repository at this point in the history
  2. 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]>
    jacobbaungard authored Nov 18, 2023
    Configuration menu
    Copy the full SHA
    7895e27 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. CI: increase e2e test parallelism (thanos-io#6875)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Nov 19, 2023
    Configuration menu
    Copy the full SHA
    d3a4684 View commit details
    Browse the repository at this point in the history
  2. 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]>
    GiedriusS authored Nov 19, 2023
    Configuration menu
    Copy the full SHA
    68bef3f View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. 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]>
    GiedriusS authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    2ed48f7 View commit details
    Browse the repository at this point in the history
  2. exposes asyncOperationProcessor (thanos-io#6908)

    expose struct
    
    
    
    fix lint
    
    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    67545e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19bbe2e View commit details
    Browse the repository at this point in the history
  4. .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]>
    GiedriusS authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    5c1169c View commit details
    Browse the repository at this point in the history
  5. MAINTAINERS.md: add myself as maintainer (thanos-io#6911)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    0a4f5ae View commit details
    Browse the repository at this point in the history
  6. 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]>
    3 people authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    7efeb2a View commit details
    Browse the repository at this point in the history
  7. Update 2023-20-11-thanoscon.md (typo) (thanos-io#6915)

    Signed-off-by: Bartlomiej Plotka <[email protected]>
    bwplotka authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    c67f5a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. 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]>
    bwplotka and saswatamcode authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    edfdc13 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. 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]>
    rikhil-s authored and MichaHoffmann committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    053bd4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7ad77e View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Update LabyrintLabs logo

    Signed-off-by: Martin Hauskrecht <[email protected]>
    martinhaus committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    4db836f View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#6920 from lablabs/main

    Update LabyrinthLabs logo
    fpetkovski authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    b5ff094 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. 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)
    MichaHoffmann authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    dc79d57 View commit details
    Browse the repository at this point in the history
  2. 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]>
    simonpasquier authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    023faa2 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. 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]>
    yeya24 authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    9d6f82e View commit details
    Browse the repository at this point in the history
  2. chore: add truelayer to the adopters (thanos-io#6933)

    Signed-off-by: Matteo Martellini <[email protected]>
    mercxry authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    5f9f166 View commit details
    Browse the repository at this point in the history
  3. 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]>
    wenxu1024 authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    8ffb9da View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. 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]>
    kartikaysaxena authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    0d254c9 View commit details
    Browse the repository at this point in the history
  2. 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]>
    3 people authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    d69430d View commit details
    Browse the repository at this point in the history
  3. 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]>
    kartikaysaxena authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    463dd48 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. errutil: fix deadlock

    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]>
    GiedriusS committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    a2717d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e78091b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2023

  1. 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]>
    sagnik3788 authored Dec 3, 2023
    Configuration menu
    Copy the full SHA
    7f734b9 View commit details
    Browse the repository at this point in the history
  2. 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]>
    kartikaysaxena authored Dec 3, 2023
    Configuration menu
    Copy the full SHA
    2de1266 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. fix store gateway span name (thanos-io#6953)

    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    5191d72 View commit details
    Browse the repository at this point in the history
  2. 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]>
    yeya24 authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    42f4de4 View commit details
    Browse the repository at this point in the history
  3. 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]>
    yeya24 authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    28407d6 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    e578b1f View commit details
    Browse the repository at this point in the history
  2. 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]>
    GiedriusS committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    a307d60 View commit details
    Browse the repository at this point in the history
  3. Merge pull request thanos-io#6964 from thanos-io/handler_fix_tags

    receive: fix adding fields to logger
    MichaHoffmann authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    1bcfec0 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. 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]>
    fpetkovski authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    36ce448 View commit details
    Browse the repository at this point in the history
  2. 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]>
    yeya24 authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5cef7d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    e7aecb4 View commit details
    Browse the repository at this point in the history
  2. Update MAINTAINERS.md (thanos-io#6967)

    Signed-off-by: Matej Gera <[email protected]>
    matej-g authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    07e43ca View commit details
    Browse the repository at this point in the history
  3. 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]>
    JHeilCoveo authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    5d4fc6d View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. 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]>
    fpetkovski authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    32f227a View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    7b8eb86 View commit details
    Browse the repository at this point in the history
  2. 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]>
    yeya24 authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    fc1a6ed View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    61dc2b9 View commit details
    Browse the repository at this point in the history
  2. 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]>
    fpetkovski authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    88f7119 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Updates busybox SHA (thanos-io#6982)

    Signed-off-by: GitHub <[email protected]>
    Co-authored-by: fpetkovski <[email protected]>
    github-actions[bot] and fpetkovski authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    96b8dba View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Updates busybox SHA (thanos-io#6982)

    Signed-off-by: GitHub <[email protected]>
    Co-authored-by: fpetkovski <[email protected]>
    2 people authored and MichaHoffmann committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    1fbd4e6 View commit details
    Browse the repository at this point in the history
  2. VERSION: Bump version for release

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    4aea454 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f025f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Merge remote-tracking branch 'origin/main' into merge-release-0.33-to…

    …-main
    
    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    5e672e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Merge pull request thanos-io#6992 from MichaHoffmann/merge-release-0.…

    …33-to-main
    
    merge release 0.33 to main
    MichaHoffmann authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    480c8d9 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. 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]>
    rabenhorst authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    a900cb5 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. mdox ignore checking twitter urls (thanos-io#7001)

    Signed-off-by: Ben Ye <[email protected]>
    yeya24 authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b16b71d View commit details
    Browse the repository at this point in the history
  2. Updated Grofers logo (thanos-io#7006)

    Signed-off-by: Kartikay <[email protected]>
    kartikaysaxena authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    d37b686 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    bd7accb View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. docs: add promcon 2023 thanos talks

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Dec 24, 2023
    Configuration menu
    Copy the full SHA
    d27365c View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#7008 from MichaHoffmann/mhoffm-add-promc…

    …on-2023-thanos-talks
    
    docs: add promcon 2023 thanos talks
    MichaHoffmann authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    ae324c2 View commit details
    Browse the repository at this point in the history
  3. 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]>
    kartikaysaxena authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    2d6acc5 View commit details
    Browse the repository at this point in the history
  4. 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]>
    yeya24 authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    665e643 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

  1. Configuration menu
    Copy the full SHA
    a59a3ef View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. 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]>
    xBazilio authored Dec 27, 2023
    Configuration menu
    Copy the full SHA
    ed8a317 View commit details
    Browse the repository at this point in the history
  2. Fix URI encoding of strings

    Signed-off-by: Kartikay <[email protected]>
    kartikaysaxena committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    31850ab View commit details
    Browse the repository at this point in the history
  3. Merge pull request thanos-io#7009 from kartikaysaxena/url_template

    Rule: Fix URI encoding of strings
    MichaHoffmann authored Dec 27, 2023
    Configuration menu
    Copy the full SHA
    ee9288f View commit details
    Browse the repository at this point in the history
  4. ui: enable partial response strategy by default

    Rebuild
    
    Signed-off-by: Vanshika <[email protected]>
    Vanshikav123 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    e77caa8 View commit details
    Browse the repository at this point in the history
  5. Merge pull request thanos-io#6977 from Vanshikav123/patch-partialResp…

    …onse
    
    Partial Response : "Use Partial Response" enabled by default
    MichaHoffmann authored Dec 27, 2023
    Configuration menu
    Copy the full SHA
    61040a5 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Added negative offset check for caching queries (thanos-io#7011)

    Signed-off-by: pawarpranav83 <[email protected]>
    Co-authored-by: pawarpranav83 <[email protected]>
    pawarpranav83 and pawarpranav83 authored Dec 28, 2023
    Configuration menu
    Copy the full SHA
    93840dc View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Update MAINTAINERS.md (Bartek's company)

    Should be done in January last year...
    
    Signed-off-by: Bartlomiej Plotka <[email protected]>
    bwplotka authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3db9c63 View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#7015 from thanos-io/bwplotka-patch-5

    Update MAINTAINERS.md (Bartek's company)
    MichaHoffmann authored Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d388b74 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. 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]>
    MichaHoffmann committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    8aa07f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. 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]>
    tasrieit and saswatamcode authored Jan 1, 2024
    Configuration menu
    Copy the full SHA
    6d7abb5 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. 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]>
    jacobbaungard authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    0fc308c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20dc2d7 View commit details
    Browse the repository at this point in the history
  3. resolved issue thanos-io#7024

    Signed-off-by: Pratham Agarwal <[email protected]>
    Pratham1812 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    afb1895 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7aad562 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. 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]>
    pedro-stanaka authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    08a14f3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#7018 from thanos-io/mhoffm-refactor-chun…

    …ksize-acceptance-tests
    
    store: add chunksize tests to acceptance tests
    MichaHoffmann authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    cf94c2f View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. 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]>
    GiedriusS authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    b884c51 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. 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]>
    GiedriusS authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    6477c00 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. fix multi-tenancy link (thanos-io#7032)

    Signed-off-by: Alec Rajeev <[email protected]>
    alecrajeev authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    8b1e429 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. removing todo comments from query docs

    Signed-off-by: Harsh Pratap Singh <[email protected]>
    harsh-ps-2003 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    bccf54c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f664d9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request thanos-io#7037 from harsh-ps-2003/docs

    removing todo comment from query docs
    fpetkovski authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    d37d87d View commit details
    Browse the repository at this point in the history
  4. 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]>
    jacobbaungard and saswatamcode authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    0cd95eb View commit details
    Browse the repository at this point in the history
  5. 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]>
    jacobbaungard authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    0e04118 View commit details
    Browse the repository at this point in the history
  6. changed default 3m to 15m

    Signed-off-by: Player256 <[email protected]>
    Player256 authored and fpetkovski committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    b35b11d View commit details
    Browse the repository at this point in the history
  7. Merge pull request thanos-io#6539 from Player256/main

    changed store api's --sync-block-duration to 15m
    fpetkovski authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    7c99009 View commit details
    Browse the repository at this point in the history
  8. Fix docs (thanos-io#7039)

    Fix docs post thanos-io#6539 merge.
    
    Signed-off-by: Filip Petkovski <[email protected]>
    fpetkovski authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    7794d78 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. 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]>
    GiedriusS authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    41571e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fd0ef8 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. fix docs error

    Signed-off-by: Kartikay <[email protected]>
    kartikaysaxena committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    44147d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#7057 from kartikaysaxena/doc-fix

    docs: fix docs error
    MichaHoffmann authored Jan 13, 2024
    Configuration menu
    Copy the full SHA
    ae93ed6 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    2dcfabe View commit details
    Browse the repository at this point in the history
  2. CHANGELOG: mark 0.34 as in progress

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    767bf60 View commit details
    Browse the repository at this point in the history
  3. Merge pull request thanos-io#7055 from MichaHoffmann/mhoffm-mark-0.34…

    …-as-in-progress
    
    CHANGELOG: mark 0.34 as in progress
    MichaHoffmann authored Jan 14, 2024
    Configuration menu
    Copy the full SHA
    427b9a1 View commit details
    Browse the repository at this point in the history
  4. VERSION: cut release 0.34.0-rc.0

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    fc86cf5 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. 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
    MichaHoffmann authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    6fb3ca1 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. VERSION: cut release 0.34.0-rc.1

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    df467f7 View commit details
    Browse the repository at this point in the history
  2. 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
    MichaHoffmann authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    15a60f9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. CHANGELOG: cut release 0.34 (thanos-io#7095)

    Signed-off-by: Michael Hoffmann <[email protected]>
    MichaHoffmann authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    18d740f View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Configuration menu
    Copy the full SHA
    e28f166 View commit details
    Browse the repository at this point in the history
  2. fix merge errors

    Signed-off-by: Yi Jin <[email protected]>
    jnyi committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    916e0c0 View commit details
    Browse the repository at this point in the history