histogram_metrics
Querying in ClickHouse Cloud
The data in this system table is held locally on each node in ClickHouse Cloud. Obtaining a complete view of all data, therefore, requires the clusterAllReplicas
function. See here for further details.
This table contains histogram metrics that can be calculated instantly and exported in the Prometheus format. It is always up to date. Replaces the deprecated system.latency_log
.
Columns:
metric
(String) — Metric name.value
(Int64) — Metric value.description
(String) — Metric description.labels
(Map(String, String)) — Metric labels.name
(String) — Alias formetric
.
Example
You can use a query like this to export all the histogram metrics in the Prometheus format.
Metric descriptions
keeper_response_time_ms_bucket
The response time of Keeper, in milliseconds.
See Also
- system.asynchronous_metrics — Contains periodically calculated metrics.
- system.events — Contains a number of events that occurred.
- system.metric_log — Contains a history of metrics values from tables
system.metrics
andsystem.events
. - Monitoring — Base concepts of ClickHouse monitoring.