All Products
Search
Document Center

:Zookeeper integration

Last Updated:Aug 27, 2026

Managed Service for Prometheus pulls performance metrics from ZooKeeper based on the parameters you configure. This lets you monitor the operational health of ZooKeeper and analyze its performance data in real time.

Prerequisites

Container cluster

ECS (VPC)

Integrate Zookeeper

  1. Log on to the Managed Service for Prometheus console. In the left-side navigation pane, click Integration Center.

  2. On the Integration Center page, click the ZooKeeper card and follow the on-screen instructions. The key parameters are described below.

    Container cluster

    Parameter

    Description

    Zookeeper host

    The following types of ZooKeeper endpoints are supported:

    • The in-cluster access endpoint of ZooKeeper, such as zookeeper-server.namespace.

    • The service's internal IP address.

    • The public IPv4 address of the service. You must allow four-letter word commands in the ZooKeeper configuration. For example, set 4lw.commands.whitelist=*.

    Zookeeper port

    The service port of ZooKeeper.

    Metric collection interval (s)

    The interval for collecting monitoring data. The default value is 15.

    ECS (VPC)

    Parameter

    Description

    Zookeeper host

    The following types of ZooKeeper endpoints are supported:

    • The in-cluster access endpoint of ZooKeeper, such as zookeeper-server.namespace.

    • The service's internal IP address.

    • The public IPv4 address of the service. You must allow four-letter word commands in the ZooKeeper configuration. For example, set 4lw.commands.whitelist=*.

    Zookeeper port

    The service port of ZooKeeper.

    Metric collection interval (s)

    The interval for collecting monitoring data. The default value is 15.

    Custom labels

    Add tags to the metrics of the ECS instance. Then, you can monitor, manage, query, or analyze the metric data in a fine-grained manner when you use tools such as Grafana. For more information, see Add custom tags to ECS instance metrics in a VPC.

    Note
    • A tag key cannot contain special characters used in the Prometheus functionality, such as hyphens (-), periods (.), or percent signs (%).

    • Tags must be specified in the key-value format required by Prometheus.

The installed component is displayed on the Integration Management page in the Managed Service for Prometheus console. The Integration Management page consists of the Integrated Environments, Integrated Addons, and Query Dashboards tabs, where you can view information such as targets, metrics, dashboards, and alerts.

Related documents

After you integrate the component, you can configure for key metrics. This helps you promptly detect and resolve metric anomalies. For more information, see Create a Prometheus alert rule.