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

Bump thanos to release 0.14.0-rc.1 #31

Merged
merged 54 commits into from
Jul 9, 2020

Commits on May 20, 2020

  1. Cut v0.13.0-rc.0 (thanos-io#2628)

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored May 20, 2020
    Configuration menu
    Copy the full SHA
    16d4eeb View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Fixed promu build to build in compatible directory that crossbuild un…

    …derstands.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka committed May 22, 2020
    Configuration menu
    Copy the full SHA
    8e763bf View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. Fixed test job. (thanos-io#2650)

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored May 23, 2020
    Configuration menu
    Copy the full SHA
    5f410ae View commit details
    Browse the repository at this point in the history
  2. Release fix attempt2.

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka committed May 23, 2020
    Configuration menu
    Copy the full SHA
    5fded9f View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2020

  1. Updated Prometheus as little as possible to include Isolation fix. (t…

    …hanos-io#2697)
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 1, 2020
    Configuration menu
    Copy the full SHA
    df3db54 View commit details
    Browse the repository at this point in the history
  2. Allow using multiple memcached clients at the same time. (thanos-io#2648

    ) (thanos-io#2698)
    
    * Allow using multiple memcached clients at the same time.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Added unit test to verify that we can have multiple clients.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Added CHANGELOG.md entry.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Remove unused argument.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    # Conflicts:
    #	CHANGELOG.md
    bwplotka authored Jun 1, 2020
    Configuration menu
    Copy the full SHA
    1f09857 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2020

  1. store/proxy: Deduplicate chunks on StoreAPI level. Recommend chunk so…

    …rting for StoreAPI + Optimized iter chunk dedup. (thanos-io#2710) (thanos-io#2711)
    
    * Deduplicate chunk dups on proxy StoreAPI level. Recommend chunk sorting for StoreAPI.
    
    Also: Merge same series together on proxy level instead select. This allows better dedup efficiency.
    
    Partially fixes: thanos-io#2303
    
    Cases like overlapped data from store and sidecar and 1:1 duplicates are optimized as soon as it's possible.
    This case was highly visible on GitLab repro data and exists in most of Thanos setup.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    
    * Optimized algorithm to combine series only on start.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    
    * Optimized chunk comparision for overlaps.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    
    * Optimized deduplication for deduplicated chunk on query level as well.
    
    Never use proto .String() in fast path!
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    # Conflicts:
    #	CHANGELOG.md
    #	pkg/store/storepb/custom.go
    #	pkg/store/storepb/custom_test.go
    bwplotka authored Jun 4, 2020
    Configuration menu
    Copy the full SHA
    bb16dbd View commit details
    Browse the repository at this point in the history
  2. deps: Updated minio-go dependency to v6.0.56 to add two region endpoi…

    …nts (thanos-io#2705) (thanos-io#2718)
    
    * Updated minio dependency to v6.0.56 for af-south-1 region
    
    Signed-off-by: Theunis Botha <theunisb@jurumani.com>
    
    * Updated CHANGELOG.md
    
    Signed-off-by: Theunis Botha <theunisb@jurumani.com>
    theunisbotha authored Jun 4, 2020
    Configuration menu
    Copy the full SHA
    ae589a1 View commit details
    Browse the repository at this point in the history
  3. Store: irate and resets use now counter downsampling aggregations. (

    thanos-io#2719)
    
    See related discussion: https://cloud-native.slack.com/archives/CL25937SP/p1590408991325100
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 4, 2020
    Configuration menu
    Copy the full SHA
    2f9e4e9 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. Cut release 0.13.0-rc.1 (thanos-io#2720)

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    
    # Conflicts:
    #	CHANGELOG.md
    bwplotka authored Jun 5, 2020
    Configuration menu
    Copy the full SHA
    8cc9f79 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. Cut 0.13.0 release. (thanos-io#2762)

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    f06c13a View commit details
    Browse the repository at this point in the history
  2. shipper: Be strict about upload order unless it's specified so & cut …

    …v0.13.0-rc.2 (thanos-io#2765)
    
    * shipper: Be strict about upload order unless it's specified so.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    
    * Cut 0.13.0-rc.2
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    3bf1397 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. receive: Add more tracing spans for the life-cycle of requests (thano…

    …s-io#2772)
    
    * Add more tracing spans for receive
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Add spans for read path
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Fix context propogation issue
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    aaa6aee View commit details
    Browse the repository at this point in the history
  2. use original file name in rules loaded metric (thanos-io#2770)

    Signed-off-by: yeya24 <yb532204897@gmail.com>
    yeya24 authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    1483f69 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. querier: Execute Selects concurrently per query (thanos-io#2657)

    * Implement async select for Querier
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Use prometheus/gate for now
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Add changelog and mention behaviour in documentation
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Use new gate.Gate implementation
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Preserve tracing context
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jun 17, 2020
    Configuration menu
    Copy the full SHA
    c9c60c1 View commit details
    Browse the repository at this point in the history
  2. mixin: Default dashboards to UTC (thanos-io#2776)

    Various tools in the SRE space use UTC as the default to make it
    effortless during incidents to not have to calculate between timezones.
    The Thanos query UI also defaults to this just like Prometheus.
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    brancz authored Jun 17, 2020
    Configuration menu
    Copy the full SHA
    6b882af View commit details
    Browse the repository at this point in the history
  3. ui: Add error boundary in the React UI (thanos-io#2759)

    * ui: Add ErrorBoundary to the React UI
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * query:  Return empty array instead of nil from API
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * ui: Fix typo; remove unnecessary inline style
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * format bindata.go
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    onprem authored Jun 17, 2020
    Configuration menu
    Copy the full SHA
    8439d36 View commit details
    Browse the repository at this point in the history
  4. receive: Improve receive error logging (thanos-io#2773)

    * Add more context for receive logs
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Add request id for receive logs
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jun 17, 2020
    Configuration menu
    Copy the full SHA
    aa60140 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Add memcached server address to Set() error (thanos-io#2775)

    * Add memcached server address to Set() error
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    
    * Addressed review comments
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci authored Jun 18, 2020
    Configuration menu
    Copy the full SHA
    2c4697f View commit details
    Browse the repository at this point in the history
  2. ui: Fix external prefix not having a trailing slash (thanos-io#2779)

    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    onprem authored Jun 18, 2020
    Configuration menu
    Copy the full SHA
    6c513e5 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. go.mod: Update Prometheus mod to pull in prometheus/prometheus#7414 (t…

    …hanos-io#2787)
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    brancz authored Jun 19, 2020
    Configuration menu
    Copy the full SHA
    02ab6b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. Cut release v0.13.0

    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    adf6fac View commit details
    Browse the repository at this point in the history
  2. Merge pull request thanos-io#2790 from thanos-io/cut-0.13.0-full

    Cut release v0.13.0
    bwplotka authored Jun 22, 2020
    Configuration menu
    Copy the full SHA
    a2edf6e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'release-0.13' into merge-0.13.0-to-master

    # Conflicts:
    #	.circleci/config.yml
    #	CHANGELOG.md
    #	go.mod
    #	go.sum
    #	pkg/shipper/shipper.go
    #	pkg/shipper/shipper_e2e_test.go
    #	pkg/shipper/shipper_test.go
    #	pkg/store/storepb/custom.go
    #	pkg/store/storepb/custom_test.go
    #	pkg/ui/bindata.go
    bwplotka committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    0a70253 View commit details
    Browse the repository at this point in the history
  4. Merge pull request thanos-io#2791 from thanos-io/merge-0.13.0-to-master

    Merge 0.13.0 to master
    bwplotka authored Jun 22, 2020
    Configuration menu
    Copy the full SHA
    e5d1cc7 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2020

  1. Adding TOC to getting-started.md page (thanos-io#2689)

    Signed-off-by: soniasingla <soniasingla.1812@gmail.com>
    soniasingla authored Jun 23, 2020
    Configuration menu
    Copy the full SHA
    b17ed32 View commit details
    Browse the repository at this point in the history
  2. Allow to customize BucketStore query gate (thanos-io#2798)

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci authored Jun 23, 2020
    Configuration menu
    Copy the full SHA
    686c49b View commit details
    Browse the repository at this point in the history
  3. Fixed navbar toggle icon to be visible (thanos-io#2795)

    Signed-off-by: thisisobate <obasiuche62@gmail.com>
    thisisobate authored Jun 23, 2020
    Configuration menu
    Copy the full SHA
    1bdc2e6 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Removing manually created TOC in Thanos docs (thanos-io#2799)

    Signed-off-by: soniasingla <soniasingla.1812@gmail.com>
    soniasingla authored Jun 24, 2020
    Configuration menu
    Copy the full SHA
    a29ba3e View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. proposal: Add scalable rule storage proposal (thanos-io#2661)

    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    brancz authored Jun 25, 2020
    Configuration menu
    Copy the full SHA
    7a35375 View commit details
    Browse the repository at this point in the history
  2. Added Kemal to Maintainer Role; Kemal is volounteering to be next rel…

    …ease shephard (thanos-io#2804)
    
    Also moved release date to next week as Kemal is PTO this week.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 25, 2020
    Configuration menu
    Copy the full SHA
    5051a1e View commit details
    Browse the repository at this point in the history
  3. ui: Add Stores page to React UI (thanos-io#2754)

    * ui: Add store page to React UI
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * query: Remove unnecessary field 'store_type' from api response
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * ui: React: Show infinity icon the time is too big
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * ui: Add tests for the Stores page in React UI
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    onprem authored Jun 25, 2020
    Configuration menu
    Copy the full SHA
    1aca077 View commit details
    Browse the repository at this point in the history
  4. Reduced memory allocations in readIndexRange() (thanos-io#2807)

    * Reduced memory allocations in readIndexRange()
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    
    * Updated CHANGELOG
    
    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci authored Jun 25, 2020
    Configuration menu
    Copy the full SHA
    a9e60f2 View commit details
    Browse the repository at this point in the history
  5. docs: compact: add blurb about how retention policy works (thanos-io#…

    …2808)
    
    Add some verbiage that explains when exactly do the blocks get deleted.
    
    Closes thanos-io#2782.
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    GiedriusS authored Jun 25, 2020
    Configuration menu
    Copy the full SHA
    f078fae View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. compact: introduce flag --block-viewer.global.sync-block-interval (th…

    …anos-io#2752)
    
    Thanos compact currently does metadata sync every minute if `--wait` is
    active. Thanos store has a equivalent flag named `sync-block-duration`.
    This commit introduces `--block-viewer.global.sync-block-interval` to be able to
    configure the interval via a flag.
    
    Signed-off-by: Schlotter, Christian <christi.schlotter@gmail.com>
    chrischdi authored Jun 26, 2020
    Configuration menu
    Copy the full SHA
    a7bb287 View commit details
    Browse the repository at this point in the history
  2. store: Preallocate output buffer when encoding postings. (thanos-io#2812

    )
    
    * Preallocate output buffer when encoding postings.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Rename values to length.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Renamed count method to length.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    pstibrany authored Jun 26, 2020
    Configuration menu
    Copy the full SHA
    fc27af4 View commit details
    Browse the repository at this point in the history
  3. Improve ThanosReceiveNoUpload to only alert on current instances

    Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
    metalmatze committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    4d22b66 View commit details
    Browse the repository at this point in the history
  4. Merge pull request thanos-io#2813 from metalmatze/mixin-ThanosReceive…

    …NoUpload-improvement
    
    Improve ThanosReceiveNoUpload to only alert on current instances
    brancz authored Jun 26, 2020
    Configuration menu
    Copy the full SHA
    b334cb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. Implement CLI Flags page in React UI (thanos-io#2796)

    * query: Add /status/flags endpoint
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    
    * ui: Allow dropdowns in Navbar; enable flags page
    
    Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
    onprem authored Jun 27, 2020
    Configuration menu
    Copy the full SHA
    dd2e003 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. go.mod: Bump Prometheus to current latest (thanos-io#2814)

    * go.mod: Bump Prometheus to current latest
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    
    * cmd/thanos/rule: Fix rule manager options field name
    
    This change is necessary due to the Prometheus bump, which down-scopes
    the interface required for the rule manager to replay ALERT_FOR_STATE.
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    
    * pkg/block/indexheader: Fix reading from index in test
    
    Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
    brancz authored Jun 29, 2020
    Configuration menu
    Copy the full SHA
    e24ce43 View commit details
    Browse the repository at this point in the history
  2. receive: Fixed small options race; Removed unused StartTime feature. (t…

    …hanos-io#2816)
    
    startTimeMargin and StartTime is used only by Prometheus remote read, Thanos does not use it.
    Fixed following race:
    
    ```
    === RUN   TestMultiTSDB/run_on_existing_storage
    ==================
    WARNING: DATA RACE
    Read at 0x00c00073ae80 by goroutine 69:
      github.com/prometheus/prometheus/tsdb.validateOpts()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/github.com/prometheus/prometheus@v1.8.2-0.20200609165731-66dfb951c4ca/tsdb/db.go:510 +0x55
      github.com/prometheus/prometheus/tsdb.Open()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/github.com/prometheus/prometheus@v1.8.2-0.20200609165731-66dfb951c4ca/tsdb/db.go:502 +0x61
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).getOrLoadTenant.func1()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:268 +0x56b
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).getOrLoadTenant()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:302 +0x4ef
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).Open.func1()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:142 +0x66
      golang.org/x/sync/errgroup.(*Group).Go.func1()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a/errgroup/errgroup.go:57 +0x85
    
    Previous write at 0x00c00073ae80 by goroutine 57:
      github.com/prometheus/prometheus/tsdb.validateOpts()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/github.com/prometheus/prometheus@v1.8.2-0.20200609165731-66dfb951c4ca/tsdb/db.go:511 +0x1f2
      github.com/prometheus/prometheus/tsdb.Open()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/github.com/prometheus/prometheus@v1.8.2-0.20200609165731-66dfb951c4ca/tsdb/db.go:502 +0x61
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).getOrLoadTenant.func1()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:268 +0x56b
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).getOrLoadTenant()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:302 +0x4ef
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).Open.func1()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:142 +0x66
      golang.org/x/sync/errgroup.(*Group).Go.func1()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a/errgroup/errgroup.go:57 +0x85
    
    Goroutine 69 (running) created at:
      golang.org/x/sync/errgroup.(*Group).Go()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a/errgroup/errgroup.go:54 +0x73
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).Open()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:141 +0x2af
      github.com/thanos-io/thanos/pkg/receive.TestMultiTSDB.func3()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb_test.go:118 +0x6d3
      testing.tRunner()
          /home/bwplotka/.gvm/gos/go1.14.2/src/testing/testing.go:991 +0x1eb
    
    Goroutine 57 (running) created at:
      golang.org/x/sync/errgroup.(*Group).Go()
          /home/bwplotka/Repos/thanosgopath/pkg/mod/golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a/errgroup/errgroup.go:54 +0x73
      github.com/thanos-io/thanos/pkg/receive.(*MultiTSDB).Open()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb.go:141 +0x2af
      github.com/thanos-io/thanos/pkg/receive.TestMultiTSDB.func3()
          /home/bwplotka/Repos/thanos/pkg/receive/multitsdb_test.go:118 +0x6d3
      testing.tRunner()
          /home/bwplotka/.gvm/gos/go1.14.2/src/testing/testing.go:991 +0x1eb
    ==================
    ```
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jun 29, 2020
    Configuration menu
    Copy the full SHA
    789ef71 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. Added missing CHANGELOG entry for PR 2613 (thanos-io#2820)

    Signed-off-by: Marco Pracucci <marco@pracucci.com>
    pracucci authored Jun 30, 2020
    Configuration menu
    Copy the full SHA
    a61789d View commit details
    Browse the repository at this point in the history
  2. Query: always return a string in the lastError field (thanos-io#2809)

    * Query: always return a string in the `lastError` field
    
    While testing out the new React UI, I have found out that some errors
    return empty dicts when marshalled into the JSON format. The response
    looks like this:
    
    ```
    {..., "lastError": {}}
    ```
    
    And then, obviously, the UI fails to parse that. Add a
    `stringifiedError` type with tests which ensures that we always get a
    string.
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    
    * CHANGELOG: add PR number + remove whitespace
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    
    * query/storeset: fix a subtle bug
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    
    * Make changes according to Bartek's suggestions
    
    Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
    GiedriusS authored Jun 30, 2020
    Configuration menu
    Copy the full SHA
    7463266 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. receive: Added more observability, fixed leaktest, to actually check …

    …leaks ): (thanos-io#2817)
    
    Reason: Missing (), probably we need linter for this.
    
    Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
    bwplotka authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    e5b8ed7 View commit details
    Browse the repository at this point in the history
  2. Update ThanosReceiveNoUpload to select sum == 0 (thanos-io#2819)

    Right now the alert actually fires in wrong conditions.
    We select all sum(instances  == 0) which is always 0...
    Instead we want to sum(instances) == 0
    
    Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
    metalmatze authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    b4f8477 View commit details
    Browse the repository at this point in the history
  3. Soft cut changelog on master to indicate v0.14.0 being in progress (t…

    …hanos-io#2824)
    
    * Soft cut changelog on master to indicate 0.14 being in progress
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Update version in tutorials
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    2b10e9e View commit details
    Browse the repository at this point in the history
  4. Cut release v0.14.0-rc.0 (thanos-io#2826)

    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    b3522fb View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2020

  1. ci: Manually download promu in crossbuild stage (thanos-io#2828)

    * Manually download promu in crossbuild stage
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    
    * Make sure all directories created in the path
    
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun committed Jul 2, 2020
    Configuration menu
    Copy the full SHA
    00e3c32 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Query: correctly marshal errors to JSON and ignore if nil (thanos-io#…

    …2848)
    
    * correctly marshal errors to JSON and ignore if nil
    
    Signed-off-by: Dan Potepa <dan@danpotepa.co.uk>
    
    * LastError should be cleared if the newer update was ok
    
    Signed-off-by: Dan Potepa <dan@danpotepa.co.uk>
    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    cuotos authored and kakkoyun committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    81cab6f View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Cut release v0.14.0-rc.1 (thanos-io#2853)

    Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
    kakkoyun authored Jul 8, 2020
    Configuration menu
    Copy the full SHA
    c8b8bfc View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

  1. Merge remote-tracking branch 'upstream/release-0.14' into 0.14

    * upstream/release-0.14: (46 commits)
      Cut release v0.14.0-rc.1 (thanos-io#2853)
      Query: correctly marshal errors to JSON and ignore if nil (thanos-io#2848)
      ci: Manually download promu in crossbuild stage (thanos-io#2828)
      Cut release v0.14.0-rc.0 (thanos-io#2826)
      Soft cut changelog on master to indicate v0.14.0 being in progress (thanos-io#2824)
      Update ThanosReceiveNoUpload to select sum == 0 (thanos-io#2819)
      receive: Added more observability, fixed leaktest, to actually check leaks ): (thanos-io#2817)
      Query: always return a string in the `lastError` field (thanos-io#2809)
      Added missing CHANGELOG entry for PR 2613 (thanos-io#2820)
      receive: Fixed small options race; Removed unused StartTime feature. (thanos-io#2816)
      go.mod: Bump Prometheus to current latest (thanos-io#2814)
      Implement CLI Flags page in React UI (thanos-io#2796)
      Improve ThanosReceiveNoUpload to only alert on current instances
      store: Preallocate output buffer when encoding postings. (thanos-io#2812)
      compact: introduce flag --block-viewer.global.sync-block-interval (thanos-io#2752)
      docs: compact: add blurb about how retention policy works (thanos-io#2808)
      Reduced memory allocations in readIndexRange() (thanos-io#2807)
      ui: Add Stores page to React UI (thanos-io#2754)
      Added Kemal to Maintainer Role; Kemal is volounteering to be next release shephard (thanos-io#2804)
      proposal: Add scalable rule storage proposal (thanos-io#2661)
      ...
    paulfantom committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    9c227bc View commit details
    Browse the repository at this point in the history
  2. pkg/rules/rulespb.AlertState: marshal JSON as lowercase (thanos-io#2834)

    Currently, alert state is rendered as upper case.
    In Prometheus it is lower case.
    This fixes it.
    
    Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
    s-urbaniak authored and paulfantom committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    c972643 View commit details
    Browse the repository at this point in the history
  3. vendor: revendor

    paulfantom committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    35d0496 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    24f92db View commit details
    Browse the repository at this point in the history