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

add HA dedupe functionality to docker dev environment #9012

Merged
merged 5 commits into from
Aug 16, 2024

Conversation

aldernero
Copy link
Contributor

@aldernero aldernero commented Aug 15, 2024

What this PR does

This PR updates the microservers docker compose development environment so that it can more easily be used to test the functionality and changes to the HA tracker. Specifically it

  • adds an option enable_ha_tracker to toggle the functionality
  • when the above is enabled, 2 additional prometheii are started that scrape the memcache-exporter and load-generator and add the relevant cluster and replica labels required by the HA tracker.
  • the two targets scraped for the HA tracker are now removed from the base prometheus scrape targets
  • the relevant flags to enable HA tracking were added to the mimir config

I chose to use 2 smaller prometheii instead of having 2 prometheii that scrape all the targets to save on memory requirements.

Checklist

  • [N/A] Tests updated.
  • [N/A] Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [N/A] about-versioning.md updated with experimental features.

@aldernero aldernero requested a review from a team as a code owner August 15, 2024 16:34
@aldernero aldernero merged commit 9af44ec into main Aug 16, 2024
29 checks passed
@aldernero aldernero deleted the aldernero/docker-compose-ha-tracker branch August 16, 2024 02:00
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.

2 participants