Skip to content

etcdserver: add is_leader prometheus metric that is 1 on the leader.#9587

Merged
gyuho merged 1 commit into
etcd-io:masterfrom
mborsz:is_leader
Apr 19, 2018
Merged

etcdserver: add is_leader prometheus metric that is 1 on the leader.#9587
gyuho merged 1 commit into
etcd-io:masterfrom
mborsz:is_leader

Conversation

@mborsz

@mborsz mborsz commented Apr 19, 2018

Copy link
Copy Markdown
Contributor

Before this change, we had now way to find a leader using /metrics endpoint. This commit adds a metric to do that.

Before this change, we had now way to find a leader using /metrics
endpoint. This commit adds a metric to do that.
@mborsz

mborsz commented Apr 19, 2018

Copy link
Copy Markdown
Contributor Author

cc @wojtek-t @jpbetz @gyuho

@jpbetz jpbetz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@gyuho gyuho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm thanks!

@gyuho gyuho merged commit 8f8b32b into etcd-io:master Apr 19, 2018
@gyuho gyuho mentioned this pull request Apr 19, 2018
18 tasks
gyuho added a commit that referenced this pull request Apr 23, 2018
@junotx junotx mentioned this pull request Sep 9, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants