docs/en/operations/system-tables/histogram_metrics.md
import SystemTableCloud from '@site/docs/_snippets/_system_table_cloud.md';
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:
<!--AUTOGENERATED_START--> <!--AUTOGENERATED_END-->Example
You can use a query like this to export all the histogram metrics in the Prometheus format.
SELECT
metric AS name,
toFloat64(value) AS value,
description AS help,
labels,
'histogram' AS type
FROM system.histogram_metrics
FORMAT Prometheus
The response time of Keeper, in milliseconds.
Time requests spend waiting to be enqueued and waiting in the queue before being processed by the Keeper client, in milliseconds.
Time to receive and parse a request from the client in the Keeper TCP handler, in milliseconds.
Time a request spends in the Keeper dispatcher requests queue, in milliseconds.
Time to preprocess a write request before Raft commit, in milliseconds.
Time to process a write request after Raft commit, in milliseconds.
Time a response spends in the Keeper dispatcher responses queue, in milliseconds.
Time to send a response to the client in the Keeper TCP handler (includes queueing and writing to socket), in milliseconds.
Time a read request waits for the write request it depends on to complete, in milliseconds.
Time to process a read request in Keeper, in milliseconds.
Batch size sent to Raft, in elements.
Batch size sent to Raft, in bytes.
See Also
system.metrics and system.events.