alertmanager/cmd
pasquier-s 17bd637c97 Add mesh metrics (#1225)
* Add mesh metrics

This change adds 2 new metrics for the mesh:

* alertmanager_peer_connection, state of the connection between the
  Alertmanager instance and a peer.
* alertmanager_peer_terminations_total, total number of terminated
  connection.

It also moves the gathering of the alertmanager_peer_position metric
outside of the meshWait() function so that the metric is computed
accurately even when no alerting group fires.

* Remove 'nick' label from alertmanager_peer_connection metric
2018-02-06 12:13:52 +01:00
..
alertmanager Add mesh metrics (#1225) 2018-02-06 12:13:52 +01:00
amtool Switch amtool to kingpin (#976) 2017-12-22 11:17:13 +01:00