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

Upgrade Thanos and simplify store-gateway metrics #142

Merged
merged 3 commits into from Aug 17, 2021
Merged

Conversation

pracucci
Copy link
Collaborator

What this PR does:
In #123 we've started to simplify store-gateway metrics and in this PR I'm completing the work. This PR is based on a change done in Thanos (PR) to allow to share the same metrics between multiple index-header lazy reader pools.

To bring in the Thanos change I had to upgrade Thanos too. It includes a couple of changes affecting us too:

The change to skip compaction for blocks with out-of-order chunk is very interesting but can't leverage on it right away because we don't support no-compact marker (eg. not stored in global markers location, not part of bucket-index, ...). I will open an issue with follow up work to be done to add support for it in Mimir too.

I've done a manual test and index-header lazy loader metrics look good.

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]

Copy link
Member

@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.

Nice work.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
@@ -45,6 +45,7 @@ blocks_storage:
bucket_store:
sync_dir: /tmp/mimir-tsdb-querier
consistency_delay: 5s
index_header_lazy_loading_enabled: true
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Enabled by default in dev env. It was used to test these changes but I think we should keep it enabled in dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants