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

Update mimir-prometheus, and remove support for selecting chunk mapper. #2762

Merged
merged 4 commits into from
Aug 19, 2022

Conversation

pstibrany
Copy link
Member

@pstibrany pstibrany commented Aug 18, 2022

What this PR does

This PR updates mimir-prometheus, which removes support for running with old chunk mapper. This support is also removed from Mimir.

Using new chunk mapper is no longer considered experimental. Option to enable async queue is now "advanced" instead. (Queue is disabled by default, maybe we want to change that?)

Checklist

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

@pstibrany pstibrany force-pushed the update-mimir-prometheus-remove-old-chunk-mapper branch from bb6f9f9 to f498cb7 Compare August 18, 2022 10:10
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

LGTM! But see my comment about default config, please 😉

# (advanced) The size of the write queue used by the head chunks mapper. Lower
# values reduce memory utilisation at the cost of potentially higher ingest
# latency. Value of 0 switches chunks mapper to implementation without a
# queue.
# CLI flag: -blocks-storage.tsdb.head-chunks-write-queue-size
[head_chunks_write_queue_size: <int> | default = 0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would change the default to 1M. It's what we use at Grafana Labs in prod, and we should upstream for the rest of the world too.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in the latest commit c96cca3

Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Thanks for addressing my feedback. Just a tiny edit to CHANGELOG and 🚀 !

CHANGELOG.md Show resolved Hide resolved
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
…r we have.

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
…size to 1000000.

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany force-pushed the update-mimir-prometheus-remove-old-chunk-mapper branch from 3193dc1 to 6bcfcd9 Compare August 19, 2022 10:41
@pstibrany pstibrany enabled auto-merge (squash) August 19, 2022 10:41
@pstibrany pstibrany merged commit e1e5d07 into main Aug 19, 2022
@pstibrany pstibrany deleted the update-mimir-prometheus-remove-old-chunk-mapper branch August 19, 2022 10:55
pstibrany added a commit that referenced this pull request Aug 19, 2022
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
pracucci pushed a commit that referenced this pull request Aug 19, 2022
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants