Add documentation for Serf member telemetry metrics

This commit is contained in:
Tyler Ryan 2019-05-01 14:35:52 -07:00 committed by Freddy
parent c649243f7c
commit af3d20b1bd
1 changed files with 19 additions and 1 deletions

View File

@ -909,12 +909,30 @@ These metrics give insight into the health of the cluster as a whole.
<td>nodes / Interval</td>
<td>counter</td>
</tr>
<tr>
<td>`consul.serf.member.failed`</td>
<td>This increments when an agent is marked dead. This can be an indicator of overloaded agents, network problems, or configuration errors where agents cannot connect to each other on the [required ports](/docs/agent/options.html#ports).</td>
<td>failures / interval</td>
<td>counter</td>
</tr>
<tr>
<td>`consul.serf.member.flap`</td>
<td>Available in Consul 0.7 and later, this increments when an agent is marked dead and then recovers within a short time period. This can be an indicator of overloaded agents, network problems, or configuration errors where agents can not connect to each other on the [required ports](/docs/agent/options.html#ports).</td>
<td>Available in Consul 0.7 and later, this increments when an agent is marked dead and then recovers within a short time period. This can be an indicator of overloaded agents, network problems, or configuration errors where agents cannot connect to each other on the [required ports](/docs/agent/options.html#ports).</td>
<td>flaps / interval</td>
<td>counter</td>
</tr>
<tr>
<td>`consul.serf.member.join`</td>
<td>This increments when an agent joins the cluster. If an agent flapped or failed this counter also increments when it re-joins.</td>
<td>joins / interval</td>
<td>counter</td>
</tr>
<tr>
<td>`consul.serf.member.left`</td>
<td>This increments when an agent leaves the cluster.</td>
<td>leaves / interval</td>
<td>counter</td>
</tr>
<tr>
<td>`consul.serf.events`</td>
<td>This increments when an agent processes an [event](/docs/commands/event.html). Consul uses events internally so there may be additional events showing in telemetry. There are also a per-event counters emitted as `consul.serf.events.<event name>`.</td>