42 lines
898 B
Text
42 lines
898 B
Text
////
|
|
This file is generated! See scripts/docs_collector.py
|
|
////
|
|
|
|
[[metricbeat-module-zookeeper]]
|
|
== ZooKeeper module
|
|
|
|
The ZooKeeper module fetches statistics from the ZooKeeper service. The default
|
|
metricset is `mntr`.
|
|
|
|
[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
|
|
enabled: true
|
|
metricsets: ["mntr"]
|
|
period: 10s
|
|
hosts: ["localhost:2181"]
|
|
----
|
|
|
|
[float]
|
|
=== Metricsets
|
|
|
|
The following metricsets are available:
|
|
|
|
* <<metricbeat-metricset-zookeeper-mntr,mntr>>
|
|
|
|
include::zookeeper/mntr.asciidoc[]
|
|
|