-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
auto-apply memberlist ring config when join_members provided #4400
Conversation
e1ca359
to
f4e7a30
Compare
8bc0f45
to
a801881
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very reasonable to me 👍 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@trevorwhitney my only nit would be to include a brief comment with basically what you summarized in the PR As this common config block grows it's gonna be a tangled web of us manipulating config and any insight I think will go a long away to help our furture selves. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is showing some diffs from a prior PR (compactor prefix in shared config), which will probably go away after merging in main
. That being said, LGTM
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
Signed-off-by: Trevor Whitney <trevorjwhitney@gmail.com>
bdc07d1
to
f4a68c4
Compare
@owen-d docs added. It seemed from previous PRs that the configuration docs are updated by hand (which I did), but if they're auto-generated from somewhere else please let me know and I'll update the source. |
Signed-off-by: Trevor Whitney trevorjwhitney@gmail.com
What this PR does / why we need it:
This PR will change the default ingester, distributor, and ruler ring configurations to use memberlist if
-memberlist.join_members
in provided. The idea here is that if a user explicitly configured thememberlist
configuration section, they probably want to be using memberlist for their various ring configurations. Since a user can still explicitly override a specific ring configuration (for example, use consul for the distributor), it seems pretty harmless to take a guess at better defaults here.Checklist