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

feat(telemetry): add labels to serf and memberlist metrics #14161

Merged
merged 7 commits into from
Aug 12, 2022

Conversation

huikang
Copy link
Contributor

@huikang huikang commented Aug 11, 2022

Description

To help user measure the gossip stability in the cluster, we need to separate the measurements between segment or partitions (for Enterprise). This PR adds the label to the serf metrics.

For OSS, we only label lan and wan network

  • Example 1: server with 2 segments and wan gossip
consul_memberlist_gossip_count{job="server-1", network="lan", partition="default"} | 442
consul_memberlist_gossip_count{job="server-1", network="lan", partition="default", segment="alpha"} | 442
consul_memberlist_gossip_count{job="server-1", network="lan", partition="default", segment="beta"} | 442
consul_memberlist_gossip_count{job="server-1", network="wan", partition="default"} | 177
  • Example 2: server with 2 partitions and one client in team 1 partition

consul_memberlist_gossip_count{job="client-1", network="lan", partition="team1"} | 72
consul_memberlist_gossip_count{job="server-1", network="lan", partition="default"} | 217

Links

Asana ticket

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

@github-actions github-actions bot added the pr/dependencies PR specifically updates dependencies of project label Aug 11, 2022
@huikang huikang marked this pull request as draft August 11, 2022 19:35
@huikang huikang requested a review from rboyer August 11, 2022 21:10
@huikang huikang marked this pull request as ready for review August 11, 2022 21:10
@huikang huikang requested a review from a team as a code owner August 11, 2022 21:10
.changelog/14161.txt Outdated Show resolved Hide resolved
huikang and others added 2 commits August 11, 2022 17:27
Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
@huikang huikang merged commit 81931e5 into main Aug 12, 2022
@huikang huikang deleted the add-label-serf-metrics branch August 12, 2022 02:09
@rboyer rboyer mentioned this pull request Aug 12, 2022
3 tasks
davide-baldo pushed a commit to davide-baldo/consul that referenced this pull request Aug 16, 2022
…#14161) (hashicorp#14170)

* feat(telemetry): add labels to serf and memberlist metrics
* changelog
* doc update

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
agrahamlincoln pushed a commit to vlognow/consul that referenced this pull request Jan 6, 2023
…#14161) (hashicorp#14171)

* feat(telemetry): add labels to serf and memberlist metrics
* changelog
* doc update

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/dependencies PR specifically updates dependencies of project pr/no-metrics-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants