Status | |
---|---|
Stability | alpha: metrics |
Distributions | contrib |
Issues | |
Code Owners | @djaglowski | Seeking more code owners! |
The Zookeeper receiver collects metrics from a Zookeeper instance, using the mntr
command. The mntr
4 letter word command needs
to be enabled for the receiver to be able to collect metrics.
endpoint
: (default =localhost:2181
) Endpoint to connect to collect metrics. Takes the formhost:port
. You can temporarily disable thecomponent.UseLocalHostAsDefaultHost
feature gate to change this to0.0.0.0:2181
. This feature gate will be removed in a future release.timeout
: (default =10s
) Timeout within which requests should be completed.initial_delay
(default =1s
): defines how long this receiver waits before starting.
Example configuration.
receivers:
zookeeper:
endpoint: "localhost:2181"
collection_interval: 20s
initial_delay: 1s
Details about the metrics produced by this receiver can be found in metadata.yaml with further documentation in documentation.md
This receiver does not support scraping metrics from Zookeeper's New Metric System.