////
This file is generated! See scripts/docs_collector.py
////

[[metricbeat-module-zookeeper]]
== ZooKeeper Module

The ZooKeeper module fetches statistics from the ZooKeeper service.

[float]
=== Compatibility

The ZooKeeper metricsets were tested with ZooKeeper 3.4.8 and are expected to work with all version
>= 3.4.0. Versions prior to 3.4 do not support the `mntr` command.


[float]
=== Example Configuration

The ZooKeeper module supports the standard configuration options that are described
in <<configuration-metricbeat>>. Here is an example configuration:

[source,yaml]
----
metricbeat.modules:
#- module: zookeeper
  #metricsets: ["mntr"]
  #enabled: true
  #period: 10s
  #hosts: ["localhost:2181"]
----

[float]
=== Metricsets

The following metricsets are available:

* <<metricbeat-metricset-zookeeper-mntr,mntr>>

include::zookeeper/mntr.asciidoc[]

