E-MapReduce (EMR) ClickHouse clusters expose two monitoring dimensions: service metrics for ZooKeeper and ClickHouse, and node metrics for individual host health and deployment status.
| Monitoring type | What it shows | Where to find it |
|---|---|---|
| Service metrics | Cluster-wide performance data from ZooKeeper and ClickHouse | Services > Monitoring > Metric Monitoring tab, Dashboard drop-down list |
| Node deployment status | Real-time process status for each component on each host | Services tab > Status button |
| Node metric data | Per-node performance metrics filtered by hostname | Services > Monitoring > Metric Monitoring tab, hostname drop-down list |
Prerequisites
Before you begin, ensure that you have:
-
A ClickHouse cluster. For more information, see Create a ClickHouse cluster.
View service metrics
Service metrics cover ZooKeeper coordination health and ClickHouse query and storage performance. ClickHouse metrics are collected from three system tables: metrics, events, and asynchronous_metrics.
-
Log on to the EMR on ECS console.
-
In the top navigation bar, select the region where your cluster resides and select a resource group.
-
On the EMR on ECS page, find the cluster and click Services in the Actions column.
-
On the Services tab, click Monitoring, then click Metric Monitoring.
-
From the Dashboard drop-down list, select ZOOKEEPER or CLICKHOUSE to switch between dashboards.
View node metrics
View node deployment status
Node deployment status shows the real-time process state for each component. Use this view to confirm that all service processes are running or to identify failed processes.
-
Log on to the EMR on ECS console.
-
In the top navigation bar, select the region where your cluster resides and select a resource group.
-
On the EMR on ECS page, find the cluster and click Services in the Actions column.
-
On the Services tab, find ZooKeeper or ClickHouse and click Status.
-
In the Components section, click the Plus icon to the left of a component to expand its process list and view real-time status.
View per-node metric data
-
Log on to the EMR on ECS console.
-
In the top navigation bar, select the region where your cluster resides and select a resource group.
-
On the EMR on ECS page, find the cluster and click Services in the Actions column.
-
On the Services tab, click Monitoring, then click Metric Monitoring.
-
From the hostname drop-down list, select the node to view its metrics.