Adding texts in verify_leader metric

- Added description providing example case when the metric can go high
pull/11997/head
Sujata Roy 3 years ago committed by GitHub
parent 295ab0b3a5
commit 1064333eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -398,7 +398,7 @@ These metrics are used to monitor the health of the Consul servers.
| `consul.raft.state.leader` | Increments whenever a Consul server becomes a leader. If there are frequent leadership changes this may be indication that the servers are overloaded and aren't meeting the soft real-time requirements for Raft, or that there are networking problems between the servers. | leadership transitions / interval | counter |
| `consul.raft.state.follower` | Counts the number of times an agent has entered the follower mode. This happens when a new agent joins the cluster or after the end of a leader election. | follower state entered / interval | counter |
| `consul.raft.transition.heartbeat_timeout` | The number of times an agent has transitioned to the Candidate state, after receive no heartbeat messages from the last known leader. | timeouts / interval | counter |
| `consul.raft.verify_leader` | Counts the number of times an agent checks whether it is still the leader or not | checks / interval | Counter |
| `consul.raft.verify_leader` | This metric doesn't have direct correlation to the leader change. It just counts the number of times an agent checks whether it is still the leader or not. For example, during every consistent read, the check is done. So, depending on the load in the system, this metric can be high as it is incremented each time a consistent read is done. | checks / interval | Counter |
| `consul.rpc.accept_conn` | Increments when a server accepts an RPC connection. | connections | counter |
| `consul.catalog.register` | Measures the time it takes to complete a catalog register operation. | ms | timer |
| `consul.catalog.deregister` | Measures the time it takes to complete a catalog deregister operation. | ms | timer |

Loading…
Cancel
Save