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

Make store-gateway mandatory when running the blocks storage #2822

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Jul 1, 2020

What this PR does:
As of today, it's not mandatory to run the store-gateway when using the experimental blocks storage. However, over the time we've made many improvements to the blocks storage when using the store-gateway and running a blocks storage cluster without it is discouraged.

In this PR I'm proposing to do the next step and remove the bucket store support from the querier, which means the store-gateway becomes a required component when running the blocks storage.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pracucci pracucci requested a review from pstibrany July 1, 2020 12:50
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some early comments on documentation. Based on title of PR, I didn't expect to see such massive changes to documentation.

@pstibrany
Copy link
Contributor

Based on title of PR, I didn't expect to see such massive changes to documentation.

Don't get me wrong, I really like the improvements :) (I would question using Blocks with capital B though)

pracucci and others added 5 commits July 2, 2020 08:53
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
@pracucci
Copy link
Contributor Author

pracucci commented Jul 2, 2020

Don't get me wrong, I really like the improvements :)

Thanks @pstibrany for your review! Accepted all suggestions.

(I would question using Blocks with capital B though)

Me too. Was a feedback originally received by Josh but looks a bit weird to me. Will rework it during the next documentation refactoring (planned for today).

@pracucci pracucci requested a review from pstibrany July 2, 2020 07:38
pracucci and others added 2 commits July 2, 2020 09:57
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see fewer options for running and improved docs, great job.

- `query`: the PromQL query expression itself (e.g. `rate(node_cpu_seconds_total[1m])`)
- `start`: the start time
- `end`: the end time
- `step`: the query resolution (e.g. `30000` ms to have 1 resulting data point every 30s)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step sent to Prometheus API endpoint is in seconds by default, but can be specified in "duration" format as well.

pracucci and others added 10 commits July 2, 2020 18:14
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

Co-authored-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
@pracucci pracucci merged commit 54f10c2 into cortexproject:master Jul 2, 2020
@pracucci pracucci deleted the remove-bucket-store-support-from-querier branch July 2, 2020 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants