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

Track the type of ring backend used in the anonymous usage statistics #2981

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

pracucci
Copy link
Collaborator

What this PR does

We would like to learn more about the type of KV store used for the ring. I propose to track it only for the ingesters which is the most critical, and it's unlikely that people use a different backend for different rings.

Which issue(s) this PR fixes or relates to

N/A

Checklist

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

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@@ -95,6 +95,7 @@ const (
sampleOutOfBounds = "sample-out-of-bounds"

replicationFactorStatsName = "ingester_replication_factor"
ringKVStoreStatsName = "ingester_ring_kvstore"
Copy link
Contributor

Choose a reason for hiding this comment

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

Confused about this not being ingester_ring_store to mimic the flag, but it's not important so it's ok to me.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right. In YAML it's called kvstore, but it's called store in CLI flag. I don't have a preference neither. I can rename it to *_store.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done in eace833.

Copy link
Contributor

@colega colega left a comment

Choose a reason for hiding this comment

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

LGTM.

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci merged commit 7c1fe9a into main Sep 20, 2022
@pracucci pracucci deleted the track-ingesters-ring-kv-store branch September 20, 2022 07:08
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