Monitoring Zookeeper

After you install the Instana host agent, Zookeeper sensor, which is used to monitor Zookeeper, is automatically installed and configured. You don't need to do any manual configurations and can view metrics that are related to Zookeeper in the Instana UI directly.

Support information

The Apache Zookeeper sensor now supports the Zookeeper versions: 3.7.2, 3.8.4 and 3.9.3

Supported versions and support policy

The following table shows the latest supported version and support policy:

Technology Support policy Latest technology version Latest supported version
Zookeeper 45 days 3.9.5 3.9.4

For more information about the support policy, see Support strategy for sensors.

Configuring Zookeeper monitoring

The agent natively monitors Zookeeper, and configuration is optional.

Configuring the polling rate

Note: Instana Zookeeper sensor 1.0.9 and later support configuring the polling rate to reduce data ingestion. This feature is supported on self-hosted Instana backend 311 and later.

You can configure how often Instana polls Zookeeper to collect data and metrics by using the poll_rate parameter in the agent configuration.yaml file as shown in the following example:

com.instana.plugin.zookeeper:
  poll_rate: 1 # values are in seconds. Default value is 1 second.

Viewing metrics

To view the metrics, complete the following steps:

  • In the sidebar of the Instana UI, select Infrastructure.
  • Click a specific monitored host where Zookeeper is installed.

You can see a host dashboard with the following performance metrics, configuration data, and health signatures.

Configuration data

  • Version
  • Client
  • Started At
  • Mode
  • State (for a replicated zookeeper)

Performance metrics

  • Latency
  • Requests
  • Connections
  • Packets
  • Ticks (for a replicated zookeeper)
  • Zxid (transaction id)

Health signatures

Each sensor has a curated knowledge base of health signatures that are evaluated continuously against the incoming metrics and are used to raise issues or incidents depending on user impact.

Built-in events trigger issues or incidents based on failing health signatures on entities, and custom events trigger issues or incidents based on the thresholds of an individual metric of any given entity.

For information about built-events for Zookeeper sensor, see the Built-in events reference.