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

Adding the regular emitting of the memberlist broadcast queue #275

Merged
merged 4 commits into from Aug 29, 2022

Conversation

jmurret
Copy link
Contributor

@jmurret jmurret commented Aug 19, 2022

Implementation

This implementation follows the pattern that exists in serf for capturing intent queue metrics.

Verification

I verified this change by following the Layer 7 Observability Learn Guide to run prometheus and Grafana and view the metrics in a Grafana Dashboard.

Before

Below you can see that consul_memberlist_queue_Intent (this has since been renamed to consul_memberlist_queue_broadcast) is not available as a metric.

Screen Shot 2022-08-25 at 4 40 44 PM

After

Below you can see that consul_memberlist_queue_Intent (this has since been renamed to consul_memberlist_queue_broadcast) is available as a metric and is showing data in the dashboard.
Screen Shot 2022-08-25 at 4 33 37 PM

…quency based on the new config value of QueueCheckInterval.
@jmurret jmurret requested review from rboyer and huikang August 25, 2022 22:47
@jmurret jmurret marked this pull request as ready for review August 25, 2022 22:47
Copy link
Contributor

@huikang huikang left a comment

Choose a reason for hiding this comment

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

LGTM.

Added some non-blocking comments; I will leave it to RB to decide.

memberlist.go Outdated Show resolved Hide resolved
memberlist.go Outdated Show resolved Hide resolved
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.

None yet

3 participants