Skip to content

Memberlist: keep a buffer with sent and received messages for troubleshooting #3581

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

Merged
merged 6 commits into from
Dec 11, 2020
Merged

Memberlist: keep a buffer with sent and received messages for troubleshooting #3581

merged 6 commits into from
Dec 11, 2020

Conversation

pstibrany
Copy link
Contributor

@pstibrany pstibrany commented Dec 10, 2020

What this PR does: This PR implements size-bounded buffer of sent and received memberlist messages, that can be displayed in admin UI. Only application-level (KV store updates) messages are preserved, not memberlist own low-level messages (for cluster maintainance).

Screenshot 2020-12-10 at 13 47 26

Checklist

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

…, and display them in the admin UI.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Copy link
Contributor

@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.

Memberlist code is a bit tricky to me and, due to my lack of knowledge, it's difficult to understand (to me) if we're tracking sent/received messages in all required places, so I trust you on this. UI LGTM!

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
@pstibrany pstibrany merged commit 638c78c into cortexproject:master Dec 11, 2020
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.

2 participants