Stackstate-Consul Integration

Overview

Connect Consul to Stackstate in order to:

  • Correlate the performance of Consul with the rest of your applications
  • Monitor the health of your Consul cluster

For more details about configuring this integration refer to the following file(s) on GitHub:

Metrics

For each service that you’re monitoring we’ll create the consul.catalog.nodes_up gauge metric tagged by consul_service_id that will let you know how many Consul nodes are running each service. We’ll also collect consul.catalog.service_u tagged by consul_node_id that measures how many services a node is running. Finally, we perform a service check consul.check that will report on the state of each service.

The other consul metrics collected are not service bound but node bound, and only consul.peers is tagged with mode:leader or mode:follower.

consul.catalog.nodes_critical
(gauge)
# of Nodes with service status `critical` from those registered
shown as node
consul.catalog.nodes_passing
(gauge)
# of Nodes with service status `passing` from those registered
shown as node
consul.catalog.nodes_up
(gauge)
# of Nodes
shown as node
consul.catalog.nodes_warning
(gauge)
# of Nodes with service status `warning` from those registered
shown as node
consul.catalog.services_critical
(gauge)
Total critical services on nodes
shown as service
consul.catalog.services_passing
(gauge)
Total passing services on nodes
shown as service
consul.catalog.services_up
(gauge)
Total services registered on nodes
shown as service
consul.catalog.services_warning
(gauge)
Total warning services on nodes
shown as service