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

Runtime reloadable config; ring migration setup #6214

Merged
merged 3 commits into from
May 24, 2022
Merged

Runtime reloadable config; ring migration setup #6214

merged 3 commits into from
May 24, 2022

Conversation

cstyan
Copy link
Contributor

@cstyan cstyan commented May 20, 2022

This adds the few missing pieces of multi KV runtime reloadable config to loki components that use the ring, based on Peters mimir PR here. Note that a lot of config was necessary to get the test to pass (many loki components will fail to start/be registered via the modules setup without things like storage config).

cc @JordanRushing @DylanGuedes @pstibrany

use the ring. Also sets the multi client runtime config function for all
services that use the ring.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyan cstyan requested a review from a team as a code owner May 20, 2022 20:22
Signed-off-by: Callum Styan <callumstyan@gmail.com>
@grafanabot
Copy link
Collaborator

./tools/diff_coverage.sh ../loki-main/test_results.txt test_results.txt ingester,distributor,querier,querier/queryrange,iter,storage,chunkenc,logql,loki

Change in test coverage per package. Green indicates 0 or positive change, red indicates that test coverage for a package fell.

+           ingester	0%
+        distributor	0.3%
+            querier	0%
+ querier/queryrange	0%
+               iter	0%
+            storage	0%
+           chunkenc	0%
+              logql	0%
+               loki	13.4%

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.

LGTM. This mirrors approach in Mimir.

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants