Etcd module

edit

This module targets Etcd V2 and V3.

When using V2, metrics are collected using Etcd v2 API. When using V3, metrics are retrieved from the /metrics endpoint as intended for Etcd v3

When using V3, metricsest are bundled into metrics When using V2, metricsets available are leader, self and store.

Compatibility

edit

The etcd module is tested with etcd 3.2 and 3.3.

Example configuration

edit

The Etcd module supports the standard configuration options that are described in Modules. Here is an example configuration:

metricbeat.modules:
- module: etcd
  metricsets: ["leader", "self", "store"]
  period: 10s
  hosts: ["localhost:2379"]

This module supports TLS connections when using ssl config field, as described in SSL. It also supports the options described in Standard HTTP config options.

Metricsets

edit

The following metricsets are available: