---
title: ClickHouse
description: Monitor the health and performance of your ClickHouse clusters.
breadcrumbs: Docs > Integrations > ClickHouse
---

# ClickHouse
Supported OS Integration version6.7.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

This check monitors [ClickHouse](https://clickhouse.com/) through the Datadog Agent.

**Minimum Agent version:** 7.16.0

## Setup{% #setup %}

Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the [Autodiscovery Integration Templates](https://docs.datadoghq.com/agent/kubernetes/integrations.md) for guidance on applying these instructions.

### Installation{% #installation %}

The ClickHouse check is included in the [Datadog Agent](https://app.datadoghq.com/account/settings/agent/latest) package. No additional installation is needed on your server.

### Configuration{% #configuration %}

#### Prepare ClickHouse{% #prepare-clickhouse %}

As a best practice, Datadog recommends using a read-only user to monitor your ClickHouse instance. This limits the access granted to the Datadog Agent.

{% tab title="Host" %}
#### Host{% #host %}

To configure this check for an Agent running on a host:

#### Metric collection{% #metric-collection %}

1. To start collecting your ClickHouse performance data, edit the `clickhouse.d/conf.yaml` file in the `conf.d/` folder at the root of your Agent's configuration directory. See the [sample clickhouse.d/conf.yaml](https://github.com/DataDog/integrations-core/blob/master/clickhouse/datadog_checks/clickhouse/data/conf.yaml.example) for all available configuration options.

*Note*: This integration uses the official `clickhouse-connect` client to connect over HTTP.
[Restart the Agent](https://docs.datadoghq.com/agent/guide/agent-commands.md#start-stop-and-restart-the-agent).
##### Log collection{% #log-collection %}

1. Collecting logs is disabled by default in the Datadog Agent, enable it in your `datadog.yaml` file:

   ```yaml
   logs_enabled: true
   ```

1. Add the log files you are interested in to your `clickhouse.d/conf.yaml` file to start collecting your ClickHouse logs:

   ```yaml
     logs:
       - type: file
         path: /var/log/clickhouse-server/clickhouse-server.log
         source: clickhouse
         service: "<SERVICE_NAME>"
   ```

Change the `path` and `service` parameter values and configure them for your environment. See the [sample clickhouse.d/conf.yaml](https://github.com/DataDog/integrations-core/blob/master/clickhouse/datadog_checks/clickhouse/data/conf.yaml.example) for all available configuration options.

1. [Restart the Agent](https://docs.datadoghq.com/agent/guide/agent-commands.md#start-stop-and-restart-the-agent).

{% /tab %}

{% tab title="Containerized" %}
#### Containerized{% #containerized %}

For containerized environments, see the [Autodiscovery Integration Templates](https://docs.datadoghq.com/agent/kubernetes/integrations.md) for guidance on applying the parameters below.

#### Metric collection{% #metric-collection %}

| Parameter            | Value                                                                                        |
| -------------------- | -------------------------------------------------------------------------------------------- |
| `<INTEGRATION_NAME>` | `clickhouse`                                                                                 |
| `<INIT_CONFIG>`      | blank or `{}`                                                                                |
| `<INSTANCE_CONFIG>`  | `{"server": "%%host%%", "port": "%%port%%", "username": "<USER>", "password": "<PASSWORD>"}` |

##### Log collection{% #log-collection %}

Collecting logs is disabled by default in the Datadog Agent. To enable it, see [Kubernetes log collection](https://docs.datadoghq.com/agent/kubernetes/log.md).

| Parameter      | Value                                                   |
| -------------- | ------------------------------------------------------- |
| `<LOG_CONFIG>` | `{"source": "clickhouse", "service": "<SERVICE_NAME>"}` |

{% /tab %}

### Validation{% #validation %}

[Run the Agent's status subcommand](https://docs.datadoghq.com/agent/guide/agent-commands.md#agent-status-and-information) and look for `clickhouse` under the **Checks** section.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **clickhouse.CompiledExpressionCacheCount**(gauge)                                              | Total entries in the cache of JIT-compiled code.*Shown as item*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.MarkCacheFiles**(gauge)                                                            | The number of mark files cached in the mark cache.*Shown as item*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.ReplicasMaxInsertsInQueue**(gauge)                                                 | Maximum number of INSERT operations in the queue (still to be replicated) across Replicated tables.*Shown as item*                                                                                                                                                                                                                                                                                                          |
| **clickhouse.ReplicasMaxMergesInQueue**(gauge)                                                  | Maximum number of merge operations in the queue (still to be applied) across Replicated tables.*Shown as item*                                                                                                                                                                                                                                                                                                              |
| **clickhouse.ReplicasMaxQueueSize**(gauge)                                                      | Maximum queue size (in the number of operations like get, merge) across Replicated tables.*Shown as item*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.ReplicasSumInsertsInQueue**(gauge)                                                 | Sum of INSERT operations in the queue (still to be replicated) across Replicated tables.*Shown as item*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.ReplicasSumMergesInQueue**(gauge)                                                  | Sum of merge operations in the queue (still to be applied) across Replicated tables.*Shown as item*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.UncompressedCacheBytes**(gauge)                                                    | Total size of uncompressed cache in bytes. Uncompressed cache does not usually improve the performance and should be mostly avoided.*Shown as byte*                                                                                                                                                                                                                                                                         |
| **clickhouse.UncompressedCacheCells**(gauge)                                                    | Total number of entries in the uncompressed cache. Each entry represents a decompressed block of data. Uncompressed cache does not usually improve performance and should be mostly avoided.*Shown as item*                                                                                                                                                                                                                 |
| **clickhouse.addresses.active**(gauge)                                                          | Total count of addresses which are used for creation connections with connection pools                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.aggregator.threads**(gauge)                                                        | Number of threads in the Aggregator thread pool.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.aggregator.threads.active**(gauge)                                                 | Number of threads in the Aggregator thread pool running a task.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.aggregator.threads.scheduled**(gauge)                                              | Number of queued or active jobs in the Aggregator thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.aio.read.count**(count)                                                            | Number of reads with Linux or FreeBSD AIO interface.*Shown as read*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.aio.read.size.count**(count)                                                       | Number of bytes read with Linux or FreeBSD AIO interface.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.aio.read.size.total**(gauge)                                                       | Total number of bytes read with Linux or FreeBSD AIO interface.*Shown as byte*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.aio.read.total**(gauge)                                                            | Total number of reads with Linux or FreeBSD AIO interface.*Shown as read*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.aio.write.count**(count)                                                           | Number of writes with Linux or FreeBSD AIO interface.*Shown as write*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.aio.write.size.count**(count)                                                      | Number of bytes read with Linux or FreeBSD AIO interface.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.aio.write.size.total**(gauge)                                                      | Total number of bytes read with Linux or FreeBSD AIO interface.*Shown as byte*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.aio.write.total**(gauge)                                                           | Total number of writes with Linux or FreeBSD AIO interface.*Shown as write*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.async.read.time**(gauge)                                                           | Time spent in waiting for asynchronous reads in asynchronous local read.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.async.reader.ignored.bytes.count**(count)                                          | Number of bytes ignored during asynchronous reading                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.async.reader.ignored.bytes.total**(gauge)                                          | Number of bytes ignored during asynchronous reading                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.async.remote\_read.time**(gauge)                                                   | Time spent in waiting for asynchronous remote reads.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.AsynchronousHeavyMetricsCalculationTimeSpent**(gauge)        | Time in seconds spent for calculation of asynchronous heavy (tables related) metrics (this is the overhead of asynchronous metrics).                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.AsynchronousHeavyMetricsUpdateInterval**(gauge)              | Heavy (tables related) metrics update interval                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.asynchronous\_metrics.AsynchronousMetricsCalculationTimeSpent**(gauge)             | Time in seconds spent for calculation of asynchronous metrics (this is the overhead of asynchronous metrics).                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.AsynchronousMetricsUpdateInterval**(gauge)                   | Metrics update interval                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.CGroupMaxCPU**(gauge)                                        | The maximum number of CPU cores according to CGroups.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.asynchronous\_metrics.CGroupMemoryTotal**(gauge)                                   | The total amount of memory in cgroup, in bytes. If stated zero, the limit is the same as OSMemoryTotal.                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.CGroupMemoryUsed**(gauge)                                    | The amount of memory used in cgroup, in bytes.                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.asynchronous\_metrics.CGroupSystemTime**(gauge)                                    | The ratio of time the CPU core was running OS kernel (system) code.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.CGroupSystemTimeNormalized**(gauge)                          | The value is similar to `CGroupSystemTime` but divided by the number of available CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                           |
| **clickhouse.asynchronous\_metrics.CGroupUserTime**(gauge)                                      | The ratio of time the CPU core was running userspace code. This includes also the time when the CPU was under-utilized due to the reasons internal to the CPU (memory loads, pipeline stalls, branch mispredictions, running another SMT core).                                                                                                                                                                             |
| **clickhouse.asynchronous\_metrics.CGroupUserTimeNormalized**(gauge)                            | The value is similar to `CGroupUserTime` but divided by the number of available CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                             |
| **clickhouse.asynchronous\_metrics.CompiledExpressionCacheBytes**(gauge)                        | Total bytes used for the cache of JIT-compiled code.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.CompiledExpressionCacheCount**(gauge)                        | Total entries in the cache of JIT-compiled code.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.asynchronous\_metrics.DictionaryTotalFailedUpdates**(gauge)                        | Sum of sequantially failed updates in all dictionaries                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.FilesystemCacheBytes**(gauge)                                | Total bytes in the `cache` virtual filesystem. This cache is hold on disk.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.FilesystemCacheCapacity**(gauge)                             | Total capacity in the `cache` virtual filesystem. This cache is hold on disk.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.FilesystemCacheFiles**(gauge)                                | Total number of cached file segments in the `cache` virtual filesystem. This cache is hold on disk.                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathAvailableBytes**(gauge)                    | Available bytes on the volume where ClickHouse logs path is mounted. If this value approaches zero, you should tune the log rotation in the configuration file.                                                                                                                                                                                                                                                             |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathAvailableINodes**(gauge)                   | The number of available inodes on the volume where ClickHouse logs path is mounted.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathTotalBytes**(gauge)                        | The size of the volume where ClickHouse logs path is mounted, in bytes. It's recommended to have at least 10 GB for logs.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathTotalINodes**(gauge)                       | The total number of inodes on the volume where ClickHouse logs path is mounted.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathUsedBytes**(gauge)                         | Used bytes on the volume where ClickHouse logs path is mounted.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.asynchronous\_metrics.FilesystemLogsPathUsedINodes**(gauge)                        | The number of used inodes on the volume where ClickHouse logs path is mounted.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathAvailableBytes**(gauge)                    | Available bytes on the volume where the main ClickHouse path is mounted.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathAvailableINodes**(gauge)                   | The number of available inodes on the volume where the main ClickHouse path is mounted. If it is close to zero, it indicates a misconfiguration, and you will get 'no space left on device' even when the disk is not full.                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathTotalBytes**(gauge)                        | The size of the volume where the main ClickHouse path is mounted, in bytes.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathTotalINodes**(gauge)                       | The total number of inodes on the volume where the main ClickHouse path is mounted. If it is less than 25 million, it indicates a misconfiguration.                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathUsedBytes**(gauge)                         | Used bytes on the volume where the main ClickHouse path is mounted.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.FilesystemMainPathUsedINodes**(gauge)                        | The number of used inodes on the volume where the main ClickHouse path is mounted. This value mostly corresponds to the number of files.                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.HashTableStatsCacheEntries**(gauge)                          | The number of entries in the cache of hash table sizes. The cache for hash table sizes is used for predictive optimization of GROUP BY.                                                                                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.HashTableStatsCacheHits**(gauge)                             | The number of times the prediction of a hash table size was correct.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.HashTableStatsCacheMisses**(gauge)                           | The number of times the prediction of a hash table size was incorrect.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.IndexMarkCacheBytes**(gauge)                                 | Total size of mark cache for secondary indices in bytes.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.IndexMarkCacheFiles**(gauge)                                 | Total number of mark files cached in the mark cache for secondary indices.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.IndexUncompressedCacheBytes**(gauge)                         | Total size of uncompressed cache in bytes for secondary indices. Uncompressed cache does not usually improve the performance and should be mostly avoided.                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.IndexUncompressedCacheCells**(gauge)                         | Total number of entries in the uncompressed cache for secondary indices. Each entry represents a decompressed block of data. Uncompressed cache does not usually improve performance and should be mostly avoided.                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.Jitter**(gauge)                                              | The difference in time the thread for calculation of the asynchronous metrics was scheduled to wake up and the time it was in fact, woken up. A proxy-indicator of overall system latency and responsiveness.                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.LoadAverage1**(gauge)                                        | The whole system load, averaged with exponential smoothing over 1 minute.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.asynchronous\_metrics.LoadAverage15**(gauge)                                       | The whole system load, averaged with exponential smoothing over 15 minutes.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.LoadAverage5**(gauge)                                        | The whole system load, averaged with exponential smoothing over 5 minutes.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.MMapCacheCells**(gauge)                                      | The number of files opened with `mmap` (mapped in memory). This is used for queries with the setting `local_filesystem_read_method` set to `mmap`. The files opened with `mmap` are kept in the cache to avoid costly TLB flushes.                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.MarkCacheBytes**(gauge)                                      | Total size of mark cache in bytes                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.asynchronous\_metrics.MarkCacheFiles**(gauge)                                      | Total number of mark files cached in the mark cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.MaxPartCountForPartition**(gauge)                            | Maximum number of parts per partition across all partitions of all tables of MergeTree family. Values larger than 300 indicates misconfiguration, overload, or massive data loading.                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.MemoryCode**(gauge)                                          | The amount of virtual memory mapped for the pages of machine code of the server process, in bytes.                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.MemoryDataAndStack**(gauge)                                  | The amount of virtual memory mapped for the use of stack and for the allocated memory, in bytes. It is unspecified whether it includes the per-thread stacks and most of the allocated memory, that is allocated with the 'mmap' system call. This metric exists only for completeness reasons. I recommend to use the `MemoryResident` metric for monitoring.                                                              |
| **clickhouse.asynchronous\_metrics.MemoryResident**(gauge)                                      | The amount of physical memory used by the server process, in bytes.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.MemoryResidentMax**(gauge)                                   | Maximum amount of physical memory used by the server process, in bytes.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.MemoryShared**(gauge)                                        | The amount of memory used by the server process, that is also shared by another processes, in bytes. ClickHouse does not use shared memory, but some memory can be labeled by OS as shared for its own reasons. This metric does not make a lot of sense to watch, and it exists only for completeness reasons.                                                                                                             |
| **clickhouse.asynchronous\_metrics.MemoryVirtual**(gauge)                                       | The size of the virtual address space allocated by the server process, in bytes. The size of the virtual address space is usually much greater than the physical memory consumption, and should not be used as an estimate for the memory consumption. The large values of this metric are totally normal, and makes only technical sense.                                                                                  |
| **clickhouse.asynchronous\_metrics.NetworkTCPReceiveQueue**(gauge)                              | Total size of receive queues of network sockets used on the server across TCPv4 and TCPv6.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.NetworkTCPSocketRemoteAddresses**(gauge)                     | Total number of unique remote addresses of network sockets used on the server across TCPv4 and TCPv6.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.asynchronous\_metrics.NetworkTCPSockets**(gauge)                                   | Total number of network sockets used on the server across TCPv4 and TCPv6, in all states.                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.asynchronous\_metrics.NetworkTCPTransmitQueue**(gauge)                             | Total size of transmit queues of network sockets used on the server across TCPv4 and TCPv6.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.NetworkTCPUnrecoveredRetransmits**(gauge)                    | Total size of current retransmits (unrecovered at this moment) of network sockets used on the server across TCPv4 and TCPv6.                                                                                                                                                                                                                                                                                                |
| **clickhouse.asynchronous\_metrics.NumberOfDatabases**(gauge)                                   | Total number of databases on the server.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.NumberOfDetachedByUserParts**(gauge)                         | The total number of parts detached from MergeTree tables by users with the `ALTER TABLE DETACH` query (as opposed to unexpected, broken or ignored parts). The server does not care about detached parts and they can be removed.                                                                                                                                                                                           |
| **clickhouse.asynchronous\_metrics.NumberOfDetachedParts**(gauge)                               | The total number of parts detached from MergeTree tables. A part can be detached by a user with the `ALTER TABLE DETACH` query or by the server itself it the part is broken, unexpected or unneeded. The server does not care about detached parts and they can be removed.                                                                                                                                                |
| **clickhouse.asynchronous\_metrics.NumberOfPendingMutations**(gauge)                            | The total number of mutations that are in left to be mutated.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.NumberOfPendingMutationsOverExecutionTime**(gauge)           | The total number of mutations which have data part left to be mutated over the specified max_pending_mutations_execution_time_to_warn setting.                                                                                                                                                                                                                                                                              |
| **clickhouse.asynchronous\_metrics.NumberOfStuckMutations**(gauge)                              | The total number of mutations which have data part left to be mutated over the last 1 hour.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.NumberOfTables**(gauge)                                      | Total number of tables summed across the databases on the server, excluding the databases that cannot contain MergeTree tables. The excluded database engines are those who generate the set of tables on the fly, like `Lazy`, `MySQL`, `PostgreSQL`, `SQlite`.                                                                                                                                                            |
| **clickhouse.asynchronous\_metrics.NumberOfTablesSystem**(gauge)                                | Total number of tables in the system database on the server stored in tables of MergeTree family.                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.asynchronous\_metrics.OSCPUOverload**(gauge)                                       | Relative CPU deficit, calculated as: how many threads are waiting for CPU relative to the number of threads, using CPU. If it is greater than zero, the server would benefit from more CPU. If it is significantly greater than zero, the server could become unresponsive. The metric is accumulated between the updates of asynchronous metrics.                                                                          |
| **clickhouse.asynchronous\_metrics.OSContextSwitches**(gauge)                                   | The number of context switches that the system underwent on the host machine. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.OSGuestNiceTimeNormalized**(gauge)                           | The value is similar to `OSGuestNiceTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                      |
| **clickhouse.asynchronous\_metrics.OSGuestTimeNormalized**(gauge)                               | The value is similar to `OSGuestTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                          |
| **clickhouse.asynchronous\_metrics.OSIOWaitTimeNormalized**(gauge)                              | The value is similar to `OSIOWaitTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                         |
| **clickhouse.asynchronous\_metrics.OSIdleTimeNormalized**(gauge)                                | The value is similar to `OSIdleTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                           |
| **clickhouse.asynchronous\_metrics.OSInterrupts**(gauge)                                        | The number of interrupts on the host machine. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.OSIrqTimeNormalized**(gauge)                                 | The value is similar to `OSIrqTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                            |
| **clickhouse.asynchronous\_metrics.OSMemoryAvailable**(gauge)                                   | The amount of memory available to be used by programs, in bytes. This is very similar to the `OSMemoryFreePlusCached` metric. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.OSMemoryBuffers**(gauge)                                     | The amount of memory used by OS kernel buffers, in bytes. This should be typically small, and large values may indicate a misconfiguration of the OS. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.OSMemoryCached**(gauge)                                      | The amount of memory used by the OS page cache, in bytes. Typically, almost all available memory is used by the OS page cache - high values of this metric are normal and expected. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                            |
| **clickhouse.asynchronous\_metrics.OSMemoryFreePlusCached**(gauge)                              | The amount of free memory plus OS page cache memory on the host system, in bytes. This memory is available to be used by programs. The value should be very similar to `OSMemoryAvailable`. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                    |
| **clickhouse.asynchronous\_metrics.OSMemoryFreeWithoutCached**(gauge)                           | The amount of free memory on the host system, in bytes. This does not include the memory used by the OS page cache memory, in bytes. The page cache memory is also available for usage by programs, so the value of this metric can be confusing. See the `OSMemoryAvailable` metric instead. For convenience we also provide the `OSMemoryFreePlusCached` metric, that should be somewhat similar to OSMemor…              |
| **clickhouse.asynchronous\_metrics.OSMemorySwapCached**(gauge)                                  | The amount of memory in swap that was also loaded in RAM. Swap should be disabled on production systems. If the value of this metric is large, it indicates a misconfiguration. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                |
| **clickhouse.asynchronous\_metrics.OSMemoryTotal**(gauge)                                       | The total amount of memory on the host system, in bytes.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.OSNiceTimeNormalized**(gauge)                                | The value is similar to `OSNiceTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                           |
| **clickhouse.asynchronous\_metrics.OSOpenFiles**(gauge)                                         | The total number of opened files on the host machine. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.OSProcessesBlocked**(gauge)                                  | Number of threads blocked waiting for I/O to complete (`man procfs`). This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.OSProcessesCreated**(gauge)                                  | The number of processes created. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.OSProcessesRunning**(gauge)                                  | The number of runnable (running or ready to run) threads by the operating system. This is a system-wide metric, it includes all the processes on the host machine, not just clickhouse-server.                                                                                                                                                                                                                              |
| **clickhouse.asynchronous\_metrics.OSSoftIrqTimeNormalized**(gauge)                             | The value is similar to `OSSoftIrqTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                        |
| **clickhouse.asynchronous\_metrics.OSStealTimeNormalized**(gauge)                               | The value is similar to `OSStealTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                          |
| **clickhouse.asynchronous\_metrics.OSSystemTimeNormalized**(gauge)                              | The value is similar to `OSSystemTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                         |
| **clickhouse.asynchronous\_metrics.OSThreadsRunnable**(gauge)                                   | The total number of 'runnable' threads, as the OS kernel scheduler seeing it.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.OSThreadsTotal**(gauge)                                      | The total number of threads, as the OS kernel scheduler seeing it.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.OSUptime**(gauge)                                            | The uptime of the host server (the machine where ClickHouse is running), in seconds.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.OSUserTimeNormalized**(gauge)                                | The value is similar to `OSUserTime` but divided to the number of CPU cores to be measured in the [0..1] interval regardless of the number of cores. This allows you to average the values of this metric across multiple servers in a cluster even if the number of cores is non-uniform, and still get the average resource utilization metric.                                                                           |
| **clickhouse.asynchronous\_metrics.PageCacheBytes**(gauge)                                      | Total size of userspace page cache in bytes.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.asynchronous\_metrics.PageCacheCells**(gauge)                                      | Total number of entries in the userspace page cache.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.PageCacheMaxBytes**(gauge)                                   | Current limit on the size of userspace page cache, in bytes.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.asynchronous\_metrics.PageCachePinnedBytes**(gauge)                                | Userspace page cache memory that's currently in use and can't be evicted                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.PrimaryIndexCacheBytes**(gauge)                              | Total size of primary index cache in bytes                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.PrimaryIndexCacheFiles**(gauge)                              | Total number of index files cached in the primary index cache                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.QueryCacheBytes**(gauge)                                     | Total size of the query cache in bytes.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.QueryCacheEntries**(gauge)                                   | Total number of entries in the query cache.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.ReplicasMaxAbsoluteDelay**(gauge)                            | Maximum difference in seconds between the most fresh replicated part and the most fresh data part still to be replicated, across Replicated tables. A very high value indicates a replica with no data.                                                                                                                                                                                                                     |
| **clickhouse.asynchronous\_metrics.ReplicasMaxInsertsInQueue**(gauge)                           | Maximum number of INSERT operations in the queue (still to be replicated) across Replicated tables.                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.asynchronous\_metrics.ReplicasMaxMergesInQueue**(gauge)                            | Maximum number of merge operations in the queue (still to be applied) across Replicated tables.                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.asynchronous\_metrics.ReplicasMaxQueueSize**(gauge)                                | Maximum queue size (in the number of operations like get, merge) across Replicated tables.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.asynchronous\_metrics.ReplicasMaxRelativeDelay**(gauge)                            | Maximum difference between the replica delay and the delay of the most up-to-date replica of the same table, across Replicated tables.                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.ReplicasSumInsertsInQueue**(gauge)                           | Sum of INSERT operations in the queue (still to be replicated) across Replicated tables.                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.ReplicasSumMergesInQueue**(gauge)                            | Sum of merge operations in the queue (still to be applied) across Replicated tables.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.ReplicasSumQueueSize**(gauge)                                | Sum queue size (in the number of operations like get, merge) across Replicated tables.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.TotalBytesOfMergeTreeTables**(gauge)                         | Total amount of bytes (compressed, including data and indices) stored in all tables of MergeTree family.                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.TotalBytesOfMergeTreeTablesSystem**(gauge)                   | Total amount of bytes (compressed, including data and indices) stored in tables of MergeTree family in the system database.                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.TotalIndexGranularityBytesInMemory**(gauge)                  | The total amount of memory (in bytes) used by index granulas (only takes active parts into account).                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.TotalIndexGranularityBytesInMemoryAllocated**(gauge)         | The total amount of memory (in bytes) reserved for index granulas (only takes active parts into account).                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.asynchronous\_metrics.TotalPartsOfMergeTreeTables**(gauge)                         | Total amount of data parts in all tables of MergeTree family. Numbers larger than 10 000 will negatively affect the server startup time and it may indicate unreasonable choice of the partition key.                                                                                                                                                                                                                       |
| **clickhouse.asynchronous\_metrics.TotalPartsOfMergeTreeTablesSystem**(gauge)                   | Total amount of data parts in tables of MergeTree family in the system database.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.asynchronous\_metrics.TotalPrimaryKeyBytesInMemory**(gauge)                        | The total amount of memory (in bytes) used by primary key values (only takes active parts into account).                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.TotalPrimaryKeyBytesInMemoryAllocated**(gauge)               | The total amount of memory (in bytes) reserved for primary key values (only takes active parts into account).                                                                                                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.TotalRowsOfMergeTreeTables**(gauge)                          | Total amount of rows (records) stored in all tables of MergeTree family.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.asynchronous\_metrics.TotalRowsOfMergeTreeTablesSystem**(gauge)                    | Total amount of rows (records) stored in tables of MergeTree family in the system database.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.asynchronous\_metrics.TrackedMemory**(gauge)                                       | Memory tracked by ClickHouse (should be equal to MemoryTracking metric), in bytes.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.asynchronous\_metrics.UncompressedCacheBytes**(gauge)                              | Total size of uncompressed cache in bytes. Uncompressed cache does not usually improve the performance and should be mostly avoided.                                                                                                                                                                                                                                                                                        |
| **clickhouse.asynchronous\_metrics.UncompressedCacheCells**(gauge)                              | Total number of entries in the uncompressed cache. Each entry represents a decompressed block of data. Uncompressed cache does not usually improve performance and should be mostly avoided.                                                                                                                                                                                                                                |
| **clickhouse.asynchronous\_metrics.UnreclaimableRSS**(gauge)                                    | The amount of physical memory used by the server process, in bytes, excluding memory reclaimable by the OS (MADV_FREE)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.Uptime**(gauge)                                              | The server uptime in seconds. It includes the time spent for server initialization before accepting connections.                                                                                                                                                                                                                                                                                                            |
| **clickhouse.asynchronous\_metrics.VMMaxMapCount**(gauge)                                       | The maximum number of memory mappings a process may have (/proc/sys/vm/max_map_count).                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.asynchronous\_metrics.VMNumMaps**(gauge)                                           | The current number of memory mappings of the process (/proc/self/maps). If it is close to the maximum (VMMaxMapCount), you should increase the limit for vm.max_map_count in /etc/sysctl.conf                                                                                                                                                                                                                               |
| **clickhouse.asynchronous\_metrics.jemalloc.epoch**(gauge)                                      | An internal incremental update number of the statistics of jemalloc (Jason Evans' memory allocator), used in all other `jemalloc` metrics.                                                                                                                                                                                                                                                                                  |
| **clickhouse.attached.database**(gauge)                                                         | Active database, used by current and upcoming SELECTs.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.attached.table**(gauge)                                                            | Active table, used by current and upcoming SELECTs.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.azure.blob\_storage.copy\_object.count**(count)                                    | Number of Azure blob storage API CopyObject calls                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.azure.blob\_storage.copy\_object.total**(gauge)                                    | Number of Azure blob storage API CopyObject calls                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.azure.blob\_storage.delete\_object.count**(count)                                  | Number of Azure blob storage API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.azure.blob\_storage.delete\_object.total**(gauge)                                  | Number of Azure blob storage API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.azure.blob\_storage.list\_object.count**(count)                                    | Number of Azure blob storage API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.azure.blob\_storage.list\_object.total**(gauge)                                    | Number of Azure blob storage API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.azure.blob\_storage.upload\_part.count**(count)                                    | Number of Azure blob storage API UploadPart calls                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.azure.blob\_storage.upload\_part.total**(gauge)                                    | Number of Azure blob storage API UploadPart calls                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.background\_pool.buffer\_flush\_schedule.task.active**(gauge)                      | Number of active tasks in BackgroundBufferFlushSchedulePool. This pool is used for periodic Buffer flushes*Shown as task*                                                                                                                                                                                                                                                                                                   |
| **clickhouse.background\_pool.buffer\_flush\_schedule.task.limit**(gauge)                       | Limit on number of tasks in BackgroundBufferFlushSchedulePool                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.background\_pool.common.task.active**(gauge)                                       | Number of active tasks in an associated background pool*Shown as task*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.background\_pool.common.task.limit**(gauge)                                        | Limit on number of tasks in an associated background pool                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.background\_pool.distributed.task.active**(gauge)                                  | Number of active tasks in BackgroundDistributedSchedulePool. This pool is used for distributed sends that is done in background.*Shown as task*                                                                                                                                                                                                                                                                             |
| **clickhouse.background\_pool.distributed.task.limit**(gauge)                                   | Limit on number of tasks in BackgroundDistributedSchedulePool                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.background\_pool.fetches.task.active**(gauge)                                      | Number of active tasks in BackgroundFetchesPool*Shown as task*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.background\_pool.fetches.task.limit**(gauge)                                       | Limit on number of simultaneous fetches in an associated background pool                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.background\_pool.merges.task.active**(gauge)                                       | Number of active merges and mutations in an associated background pool*Shown as task*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.background\_pool.merges.task.limit**(gauge)                                        | Limit on number of active merges and mutations in an associated background pool                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.background\_pool.message\_broker.task.active**(gauge)                              | Number of active tasks in BackgroundProcessingPool for message streaming*Shown as task*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.background\_pool.message\_broker.task.limit**(gauge)                               | Limit on number of tasks in BackgroundProcessingPool for message streaming                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.background\_pool.move.memory**(gauge)                                              | Total amount of memory (bytes) allocated in background processing pool (that is dedicated for background moves). Note that this value may include a drift when the memory was allocated in a context of background processing pool and freed in other context or vice-versa. This happens naturally due to caches for tables indexes and doesn't indicate memory leaks.*Shown as byte*                                      |
| **clickhouse.background\_pool.move.task.active**(gauge)                                         | The number of active tasks in BackgroundProcessingPool for moves.*Shown as task*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.background\_pool.move.task.limit**(gauge)                                          | Limit on number of tasks in BackgroundProcessingPool for moves                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.background\_pool.processing.memory**(gauge)                                        | Total amount of memory allocated in background processing pool (that is dedicated for background merges, mutations and fetches). Note that this value may include a drift when the memory was allocated in a context of background processing pool and freed in other context or vice-versa. This happens naturally due to caches for tables indexes and doesn't indicate memory leaks.*Shown as byte*                      |
| **clickhouse.background\_pool.processing.task.active**(gauge)                                   | The number of active tasks in BackgroundProcessingPool (merges, mutations, fetches, or replication queue bookkeeping)*Shown as task*                                                                                                                                                                                                                                                                                        |
| **clickhouse.background\_pool.schedule.memory**(gauge)                                          | Total amount of memory allocated in background schedule pool (that is dedicated for bookkeeping tasks of Replicated tables).*Shown as byte*                                                                                                                                                                                                                                                                                 |
| **clickhouse.background\_pool.schedule.task.active**(gauge)                                     | The number of active tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.*Shown as task*                                                                                                                                                                                                           |
| **clickhouse.background\_pool.schedule.task.limit**(gauge)                                      | Limit on number of tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.                                                                                                                                                                                                                            |
| **clickhouse.backup.post\_tasks.time**(gauge)                                                   | Time spent running post tasks after making backup entries*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.backup.read.time**(gauge)                                                          | Time spent reading backup metadata from .backup file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.backup.tables.time**(gauge)                                                        | Time spent making backup entries for tables data*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.backup.time**(gauge)                                                               | Time spent making backup entries*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.backup.write.time**(gauge)                                                         | Time spent writing backup metadata to .backup file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.backups.read.open.count**(count)                                                   | Number of backups opened for reading                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.backups.read.open.total**(gauge)                                                   | Number of backups opened for reading                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.backups.threads.active**(gauge)                                                    | Number of threads in thread pool for BACKUP running a task.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.backups.threads.scheduled**(gauge)                                                 | Number of queued or active jobs for BACKUP.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.backups.threads.total**(gauge)                                                     | Number of threads in the thread pool for BACKUP.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.backups.write.open.count**(count)                                                  | Number of backups opened for writing                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.backups.write.open.total**(gauge)                                                  | Number of backups opened for writing                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.backups\_io.threads.active**(gauge)                                                | Number of threads in the BackupsIO thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.backups\_io.threads.scheduled**(gauge)                                             | Number of queued or active jobs in the BackupsIO thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.backups\_io.threads.total**(gauge)                                                 | Number of threads in the BackupsIO thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.buffer.write.discard.count**(count)                                                | The number of stack traces dropped by query profiler or signal handler because pipe is full or cannot write to pipe during the last interval.*Shown as error*                                                                                                                                                                                                                                                               |
| **clickhouse.buffer.write.discard.total**(gauge)                                                | The total number of stack traces dropped by query profiler or signal handler because pipe is full or cannot write to pipe.*Shown as error*                                                                                                                                                                                                                                                                                  |
| **clickhouse.cache.async.insert**(gauge)                                                        | Number of async insert hash id in cache                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.buffer.time**(gauge)                                                         | Prepare buffer time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.distributed.client\_access.count**(count)                                    | Number of client access times                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.distributed.client\_access.total**(gauge)                                    | Number of client access times                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.distributed.connection.time**(gauge)                                         | The time spent to connect to distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.cache.distributed.connections.used.count**(count)                                  | The number of used connections to distributed cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.distributed.connections.used.total**(gauge)                                  | The number of used connections to distributed cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.distributed.new\_read\_range.time**(gauge)                                   | Time spent to start a new read range with distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.cache.distributed.packets.received.count**(count)                                  | Total number of packets received from distributed cache                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.distributed.packets.received.total**(gauge)                                  | Total number of packets received from distributed cache                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.distributed.packets.skipped.count**(count)                                   | Number of skipped unused packets from distributed cache                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.distributed.packets.skipped.total**(gauge)                                   | Number of skipped unused packets from distributed cache                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.distributed.read.compute.time**(gauge)                                       | Time spent to precompute read ranges*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.cache.distributed.read.time**(gauge)                                               | Time spent reading from distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.cache.distributed.read\_buffer\_next\_impl.time**(gauge)                           | Time spend in ReadBufferFromDistributedCache::nextImpl*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.cache.distributed.registry.update.time**(gauge)                                    | Time spent updating distributed cache registry*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.cache.distributed.registry.updates.count**(count)                                  | Number of distributed cache registry updates                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.cache.distributed.registry.updates.total**(gauge)                                  | Number of distributed cache registry updates                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.cache.distributed.registry\_lock.time**(gauge)                                     | Time spent to take DistributedCacheRegistry lock*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.cache.distributed.response.time**(gauge)                                           | Time spend to wait for response from distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.cache.distributed.server.switches.count**(count)                                   | Number of server switches between distributed cache servers in read/write-through cache                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.distributed.server.switches.total**(gauge)                                   | Number of server switches between distributed cache servers in read/write-through cache                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.file\_segments**(gauge)                                                      | Number of existing cache file segments*Shown as segment*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.cache.mark.entry.found.count**(count)                                              | Number of times an entry has been found in the mark cache, so we didn't have to load a mark file.                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.cache.mark.entry.found.total**(gauge)                                              | Number of times an entry has been found in the mark cache, so we didn't have to load a mark file.                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.cache.mark.entry.missed.count**(count)                                             | Number of times an entry has not been found in the mark cache, so we had to load a mark file in memory, which is a costly operation, adding to query latency.                                                                                                                                                                                                                                                               |
| **clickhouse.cache.mark.entry.missed.total**(gauge)                                             | Number of times an entry has not been found in the mark cache, so we had to load a mark file in memory, which is a costly operation, adding to query latency.                                                                                                                                                                                                                                                               |
| **clickhouse.cache.mmap.file.found.count**(count)                                               | Number of times a file has been found in the MMap cache (for the 'mmap' read_method), so we didn't have to mmap it again.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.mmap.file.found.total**(gauge)                                               | Number of times a file has been found in the MMap cache (for the 'mmap' read_method), so we didn't have to mmap it again.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.mmap.file.missed.count**(count)                                              | Number of times a file has not been found in the MMap cache (for the 'mmap' read_method), so we had to mmap it again.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.cache.mmap.file.missed.total**(gauge)                                              | Number of times a file has not been found in the MMap cache (for the 'mmap' read_method), so we had to mmap it again.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.cache.opened\_file.hits.count**(count)                                             | Number of times a file has been found in the opened file cache, so we didn't have to open it again.                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.opened\_file.hits.total**(gauge)                                             | Number of times a file has been found in the opened file cache, so we didn't have to open it again.                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.opened\_file.misses.count**(count)                                           | Number of times a file has been found in the opened file cache, so we had to open it again.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.opened\_file.misses.total**(gauge)                                           | Number of times a file has been found in the opened file cache, so we had to open it again.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.opened\_file.time**(gauge)                                                   | Amount of time spent executing OpenedFileCache methods.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.page.chunk.evicted.count**(count)                                            | Number of times a chunk has been found in the userspace page cache, not in use, but all its pages were evicted by the OS.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.page.chunk.evicted.total**(gauge)                                            | Number of times a chunk has been found in the userspace page cache, not in use, but all its pages were evicted by the OS.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.page.chunk.hits.count**(count)                                               | Number of times a chunk has been found in the userspace page cache, not in use, with all pages intact.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.cache.page.chunk.hits.partial.count**(count)                                       | Number of times a chunk has been found in the userspace page cache, not in use, but some of its pages were evicted by the OS.                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.page.chunk.hits.partial.total**(gauge)                                       | Number of times a chunk has been found in the userspace page cache, not in use, but some of its pages were evicted by the OS.                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.page.chunk.hits.total**(gauge)                                               | Number of times a chunk has been found in the userspace page cache, not in use, with all pages intact.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.cache.page.chunk.misses.count**(count)                                             | Number of times a chunk has not been found in the userspace page cache.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.page.chunk.misses.total**(gauge)                                             | Number of times a chunk has not been found in the userspace page cache.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.page.chunk.shared.count**(count)                                             | Number of times a chunk has been found in the userspace page cache, already in use by another thread.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.cache.page.chunk.shared.total**(gauge)                                             | Number of times a chunk has been found in the userspace page cache, already in use by another thread.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.cache.page.thread\_pool\_reader.prepare.time**(gauge)                              | Time spent on preparation (e.g. call to reader seek() method)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.page.thread\_pool\_reader.read.miss.time**(gauge)                            | Time spent reading data inside the asynchronous job in ThreadPoolReader - when read was not done from the page cache.*Shown as microsecond*                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.page.thread\_pool\_reader.read.time**(gauge)                                 | Time spent reading data from page cache in ThreadPoolReader.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.cache.query.hits.count**(count)                                                    | Number of times a query result has been found in the query cache (and query computation was avoided). Only updated for SELECT queries with SETTING use_query_cache = 1.                                                                                                                                                                                                                                                     |
| **clickhouse.cache.query.hits.total**(gauge)                                                    | Number of times a query result has been found in the query cache (and query computation was avoided). Only updated for SELECT queries with SETTING use_query_cache = 1.                                                                                                                                                                                                                                                     |
| **clickhouse.cache.query.misses.count**(count)                                                  | Number of times a query result has not been found in the query cache (and required query computation). Only updated for SELECT queries with SETTING use_query_cache = 1.                                                                                                                                                                                                                                                    |
| **clickhouse.cache.query.misses.total**(gauge)                                                  | Number of times a query result has not been found in the query cache (and required query computation). Only updated for SELECT queries with SETTING use_query_cache = 1.                                                                                                                                                                                                                                                    |
| **clickhouse.cache.read.bytes.count**(count)                                                    | Bytes read from filesystem cache                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.cache.read.bytes.total**(gauge)                                                    | Bytes read from filesystem cache                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.cache.read.hits.count**(count)                                                     | Number of times the read from filesystem cache hit the cache.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.read.hits.total**(gauge)                                                     | Number of times the read from filesystem cache hit the cache.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.read.misses.count**(count)                                                   | Number of times the read from filesystem cache miss the cache.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.read.misses.total**(gauge)                                                   | Number of times the read from filesystem cache miss the cache.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.read.time**(gauge)                                                           | Time reading from filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.cache.remote\_file\_segments.waiting**(gauge)                                      | Total size of remote file segments waiting to be asynchronously loaded into filesystem cache.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.schema.evitcted.count**(count)                                               | Number of times a schema from cache was evicted due to overflow                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.cache.schema.evitcted.total**(gauge)                                               | Number of times a schema from cache was evicted due to overflow                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.cache.schema.found.count**(count)                                                  | Number of times the requested source is found in schema cache                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.schema.found.total**(gauge)                                                  | Number of times the requested source is found in schema cache                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.schema.found\_schemas.count**(count)                                         | Number of times the schema is found in schema cache during schema inference                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.schema.found\_schemas.total**(gauge)                                         | Number of times the schema is found in schema cache during schema inference                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.schema.invalid.count**(count)                                                | Number of times a schema in cache became invalid due to changes in data                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.schema.invalid.total**(gauge)                                                | Number of times a schema in cache became invalid due to changes in data                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.schema.missed.count**(count)                                                 | Number of times the requested source is not in schema cache                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.schema.missed.total**(gauge)                                                 | Number of times the requested source is not in schema cache                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.cache.schema.missed\_schemas.count**(count)                                        | Number of times the requested source is in cache but the schema is not in cache during schema inference                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.schema.missed\_schemas.total**(gauge)                                        | Number of times the requested source is in cache but the schema is not in cache during schema inference                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.cache.schema.rows.found.count**(count)                                             | Number of times the number of rows is found in schema cache during count from files                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.schema.rows.found.total**(gauge)                                             | Number of times the number of rows is found in schema cache during count from files                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.schema.rows.missed.count**(count)                                            | Number of times the requested source is in cache but the number of rows is not in cache while count from files                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.schema.rows.missed.total**(gauge)                                            | Number of times the requested source is in cache but the number of rows is not in cache while count from files                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.source.read.bytes.count**(count)                                             | Bytes read from filesystem cache source (from remote fs, etc)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.source.read.bytes.total**(gauge)                                             | Bytes read from filesystem cache source (from remote fs, etc)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.source.read.time**(gauge)                                                    | Time reading from filesystem cache source (from remote filesystem, etc)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cache.source.write.bytes.count**(count)                                            | Bytes written from source (remote fs, etc) to filesystem cache                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.source.write.bytes.total**(gauge)                                            | Bytes written from source (remote fs, etc) to filesystem cache                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.source.write.time**(gauge)                                                   | Time spent writing data into filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache.uncompressed.block\_data.count**(count)                                      | Number of times a block of data has been found in the uncompressed cache (and decompression was avoided).                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.uncompressed.block\_data.miss.count**(count)                                 | Number of times a block of data has not been found in the uncompressed cache (and required decompression).                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.cache.uncompressed.block\_data.miss.total**(gauge)                                 | Number of times a block of data has not been found in the uncompressed cache (and required decompression).                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.cache.uncompressed.block\_data.total**(gauge)                                      | Number of times a block of data has been found in the uncompressed cache (and decompression was avoided).                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache.write.bytes.count**(count)                                                   | Bytes written from source (remote fs, etc) to filesystem cache                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.write.bytes.total**(gauge)                                                   | Bytes written from source (remote fs, etc) to filesystem cache                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.cache.write.time**(gauge)                                                          | Time spent writing data into filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache\_dictionary.threads.active**(gauge)                                          | Number of threads in the CacheDictionary thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.cache\_dictionary.threads.scheduled**(gauge)                                       | Number of queued or active jobs in the CacheDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cache\_dictionary.threads.total**(gauge)                                           | Number of threads in the CacheDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.cache\_dictionary.update\_queue.batches**(gauge)                                   | Number of 'batches' (a set of keys) in update queue in CacheDictionaries.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.cache\_dictionary.update\_queue.keys**(gauge)                                      | Exact number of keys in update queue in CacheDictionaries.*Shown as key*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.cache\_file\_segments.detached**(gauge)                                            | Number of existing detached cache file segments*Shown as segment*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.cachewarmer.bytes.downloaded.count**(count)                                        | Amount of data fetched into filesystem cache by dedicated background threads.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.cachewarmer.bytes.downloaded.total**(gauge)                                        | Amount of data fetched into filesystem cache by dedicated background threads.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.compilation.attempt.count**(count)                                                 | The number of times a compilation of generated C++ code was initiated during the last interval.*Shown as event*                                                                                                                                                                                                                                                                                                             |
| **clickhouse.compilation.attempt.total**(gauge)                                                 | The total number of times a compilation of generated C++ code was initiated.*Shown as event*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.compilation.function.execute.count**(count)                                        | The number of times a compiled function was executed during the last interval.*Shown as execution*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.compilation.function.execute.total**(gauge)                                        | The total number of times a compiled function was executed.*Shown as execution*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.compilation.llvm.attempt.count**(count)                                            | The number of times a compilation of generated LLVM code (to create fused function for complex expressions) was initiated during the last interval.*Shown as event*                                                                                                                                                                                                                                                         |
| **clickhouse.compilation.llvm.attempt.total**(gauge)                                            | The total number of times a compilation of generated LLVM code (to create fused function for complex expressions) was initiated.*Shown as event*                                                                                                                                                                                                                                                                            |
| **clickhouse.compilation.regex.count**(count)                                                   | The number of regular expressions compiled during the last interval. Identical regular expressions are compiled just once and cached forever.*Shown as event*                                                                                                                                                                                                                                                               |
| **clickhouse.compilation.regex.total**(gauge)                                                   | The total number of regular expressions compiled. Identical regular expressions are compiled just once and cached forever.*Shown as event*                                                                                                                                                                                                                                                                                  |
| **clickhouse.compilation.size.count**(count)                                                    | The number of bytes used for expressions compilation during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.compilation.size.total**(gauge)                                                    | The total number of bytes used for expressions compilation.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.compilation.success.count**(count)                                                 | The number of times a compilation of generated C++ code was successful during the last interval.*Shown as event*                                                                                                                                                                                                                                                                                                            |
| **clickhouse.compilation.success.total**(gauge)                                                 | The total number of times a compilation of generated C++ code was successful.*Shown as event*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.compilation.time**(gauge)                                                          | The percentage of time spent for compilation of expressions to LLVM code during the last interval.*Shown as percent*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.configuration.main.reloaded.count**(count)                                         | Number of times the main configuration was reloaded.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.configuration.main.reloaded.total**(gauge)                                         | Number of times the main configuration was reloaded.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.connection.http**(gauge)                                                           | The number of connections to HTTP server*Shown as connection*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.connection.http.create.count**(count)                                              | The number of created HTTP connections (closed or opened) during the last interval.*Shown as connection*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.connection.http.create.total**(gauge)                                              | The total number of created HTTP connections (closed or opened).*Shown as connection*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.connection.http.stored**(gauge)                                                    | Total count of sessions stored in the session pool for http hosts                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.connection.http.total**(gauge)                                                     | Total count of all sessions: stored in the pool and actively used right now for http hosts                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.connection.interserver**(gauge)                                                    | The number of connections from other replicas to fetch parts*Shown as connection*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.connection.mysql**(gauge)                                                          | Number of client connections using MySQL protocol.*Shown as connection*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.connection.send.external**(gauge)                                                  | The number of connections that are sending data for external tables to remote servers. External tables are used to implement GLOBAL IN and GLOBAL JOIN operators with distributed subqueries.*Shown as connection*                                                                                                                                                                                                          |
| **clickhouse.connection.send.scalar**(gauge)                                                    | The number of connections that are sending data for scalars to remote servers.*Shown as connection*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.connection.tcp**(gauge)                                                            | The number of connections to TCP server (clients with native interface).*Shown as connection*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.connections.alive.total**(gauge)                                                   | Number of alive connections*Shown as connection*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.connections.http.created.count**(count)                                            | Number of created http connections                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.connections.http.created.time**(gauge)                                             | Total time spend on creating http connections*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.connections.http.created.total**(gauge)                                            | Number of created http connections                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.connections.http.expired.count**(count)                                            | Number of expired http connections                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.connections.http.expired.total**(gauge)                                            | Number of expired http connections                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.connections.http.failed.count**(count)                                             | Number of cases when creation of a http connection failed                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.connections.http.failed.total**(gauge)                                             | Number of cases when creation of a http connection failed                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.connections.http.preserved.count**(count)                                          | Number of preserved http connections                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.connections.http.preserved.total**(gauge)                                          | Number of preserved http connections                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.connections.http.reset.count**(count)                                              | Number of reset http connections                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.connections.http.reset.total**(gauge)                                              | Number of reset http connections                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.connections.http.reused.count**(count)                                             | Number of reused http connections                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.connections.http.reused.total**(gauge)                                             | Number of reused http connections                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.connections.outstanding.total**(gauge)                                             | Number of outstanding requests*Shown as connection*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.cpu.time**(gauge)                                                                  | The percentage of CPU time spent seen by OS during the last interval. Does not include involuntary waits due to virtualization.*Shown as percent*                                                                                                                                                                                                                                                                           |
| **clickhouse.data.part.replicated.obsolete.count**(count)                                       | Number of times a data part was covered by another data part that has been fetched from a replica (so, we have marked a covered data part as obsolete and no longer needed).                                                                                                                                                                                                                                                |
| **clickhouse.data.part.replicated.obsolete.total**(gauge)                                       | Number of times a data part was covered by another data part that has been fetched from a replica (so, we have marked a covered data part as obsolete and no longer needed).                                                                                                                                                                                                                                                |
| **clickhouse.database.total**(gauge)                                                            | The current number of databases.*Shown as instance*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.ddl.max\_processed**(gauge)                                                        | Max processed DDL entry of DDLWorker.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.dictionary.cache.keys.expired.count**(count)                                       | Number of keys looked up in the dictionaries of 'cache' types and found in the cache but they were obsolete.                                                                                                                                                                                                                                                                                                                |
| **clickhouse.dictionary.cache.keys.expired.total**(gauge)                                       | Number of keys looked up in the dictionaries of 'cache' types and found in the cache but they were obsolete.                                                                                                                                                                                                                                                                                                                |
| **clickhouse.dictionary.cache.keys.found.count**(count)                                         | Number of keys looked up in the dictionaries of 'cache' types and found in the cache.                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.dictionary.cache.keys.found.total**(gauge)                                         | Number of keys looked up in the dictionaries of 'cache' types and found in the cache.                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.dictionary.cache.keys.not\_found.count**(count)                                    | Number of keys looked up in the dictionaries of 'cache' types and not found.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.dictionary.cache.keys.not\_found.total**(gauge)                                    | Number of keys looked up in the dictionaries of 'cache' types and not found.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.dictionary.cache.keys.requested.count**(count)                                     | Number of keys requested from the data source for the dictionaries of 'cache' types.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.dictionary.cache.keys.requested.total**(gauge)                                     | Number of keys requested from the data source for the dictionaries of 'cache' types.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.dictionary.cache.read.waiting.time**(gauge)                                        | Number of nanoseconds spend in waiting for read lock to lookup the data for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                         |
| **clickhouse.dictionary.cache.request.time**(gauge)                                             | Number of nanoseconds spend in querying the external data sources for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                               |
| **clickhouse.dictionary.cache.requests.count**(count)                                           | Number of bulk requests to the external data sources for the dictionaries of 'cache' types.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.dictionary.cache.requests.total**(gauge)                                           | Number of bulk requests to the external data sources for the dictionaries of 'cache' types.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.dictionary.cache.write.waiting.time**(gauge)                                       | Number of nanoseconds spend in waiting for write lock to update the data for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                        |
| **clickhouse.dictionary.item.current**(gauge)                                                   | The number of items stored in a dictionary.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.dictionary.load**(gauge)                                                           | The percentage filled in a dictionary (for a hashed dictionary, the percentage filled in the hash table).*Shown as percent*                                                                                                                                                                                                                                                                                                 |
| **clickhouse.dictionary.memory.used**(gauge)                                                    | The total amount of memory used by a dictionary.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.dictionary.request.cache**(gauge)                                                  | The number of requests in fly to data sources of dictionaries of cache type.*Shown as request*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.disk.azure.copy\_object.count**(count)                                             | Number of Disk Azure blob storage API CopyObject calls                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.azure.copy\_object.total**(gauge)                                             | Number of Disk Azure blob storage API CopyObject calls                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.azure.upload\_part.count**(count)                                             | Number of Disk Azure blob storage API UploadPart calls                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.azure.upload\_part.total**(gauge)                                             | Number of Disk Azure blob storage API UploadPart calls                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.connectioned.active**(gauge)                                                  | Total count of all sessions: stored in the pool and actively used right now for disks                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk.connections.created.count**(count)                                            | Number of created connections for disk                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.connections.created.time**(gauge)                                             | Total time spend on creating connections for disk*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.disk.connections.created.total**(gauge)                                            | Number of created connections for disk                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.connections.errors.count**(count)                                             | Number of cases when creation of a connection for disk is failed                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.disk.connections.errors.total**(gauge)                                             | Number of cases when creation of a connection for disk is failed                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.disk.connections.expired.count**(count)                                            | Number of expired connections for disk                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.connections.expired.total**(gauge)                                            | Number of expired connections for disk                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk.connections.preserved.count**(count)                                          | Number of preserved connections for disk                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.disk.connections.preserved.total**(gauge)                                          | Number of preserved connections for disk                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.disk.connections.reset.count**(count)                                              | Number of reset connections for disk                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.disk.connections.reset.total**(gauge)                                              | Number of reset connections for disk                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.disk.connections.reused.count**(count)                                             | Number of reused connections for disk                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk.connections.reused.total**(gauge)                                             | Number of reused connections for disk                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk.connections.stored**(gauge)                                                   | Total count of sessions stored in the session pool for disks                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.disk.read.size.count**(count)                                                      | The number of bytes read from disks or block devices during the last interval. Doesn't include bytes read from page cache. May include excessive data due to block size, readahead, etc.*Shown as byte*                                                                                                                                                                                                                     |
| **clickhouse.disk.read.size.total**(gauge)                                                      | The total number of bytes read from disks or block devices. Doesn't include bytes read from page cache. May include excessive data due to block size, readahead, etc.*Shown as byte*                                                                                                                                                                                                                                        |
| **clickhouse.disk.write.size.count**(count)                                                     | The number of bytes written to disks or block devices during the last interval. Doesn't include bytes that are in page cache dirty pages. May not include data that was written by OS asynchronously.*Shown as byte*                                                                                                                                                                                                        |
| **clickhouse.disk.write.size.total**(gauge)                                                     | The total number of bytes written to disks or block devices. Doesn't include bytes that are in page cache dirty pages. May not include data that was written by OS asynchronously.*Shown as byte*                                                                                                                                                                                                                           |
| **clickhouse.disk\_s3.abort\_multipart\_upload.count**(count)                                   | Number of DiskS3 API AbortMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.disk\_s3.abort\_multipart\_upload.total**(gauge)                                   | Number of DiskS3 API AbortMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.disk\_s3.copy\_object.count**(count)                                               | Number of DiskS3 API CopyObject calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.copy\_object.total**(gauge)                                               | Number of DiskS3 API CopyObject calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.create\_multipart\_upload.count**(count)                                  | Number of DiskS3 API CreateMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.disk\_s3.create\_multipart\_upload.total**(gauge)                                  | Number of DiskS3 API CreateMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.disk\_s3.delete\_object.count**(count)                                             | Number of DiskS3 API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.disk\_s3.delete\_object.total**(gauge)                                             | Number of DiskS3 API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.disk\_s3.get\_object.count**(count)                                                | Number of DiskS3 API GetObject calls.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk\_s3.get\_object.total**(gauge)                                                | Number of DiskS3 API GetObject calls.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk\_s3.get\_object\_attributes.count**(count)                                    | Number of DiskS3 API GetObjectAttributes calls.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.disk\_s3.get\_object\_attributes.total**(gauge)                                    | Number of DiskS3 API GetObjectAttributes calls.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.disk\_s3.get\_request.throttler.time**(gauge)                                      | Total time a query was sleeping to conform DiskS3 GET and SELECT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.disk\_s3.head\_objects.count**(count)                                              | Number of DiskS3 API HeadObject calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.head\_objects.total**(gauge)                                              | Number of DiskS3 API HeadObject calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.list\_objects.count**(count)                                              | Number of DiskS3 API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.disk\_s3.list\_objects.total**(gauge)                                              | Number of DiskS3 API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.disk\_s3.put\_object.count**(count)                                                | Number of DiskS3 API PutObject calls.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk\_s3.put\_object.total**(gauge)                                                | Number of DiskS3 API PutObject calls.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.disk\_s3.put\_request.throttler.time**(gauge)                                      | Total time a query was sleeping to conform DiskS3 PUT, COPY, POST and LIST request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.disk\_s3.read.requests.count**(count)                                              | Number of GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.disk\_s3.read.requests.errors.count**(count)                                       | Number of non-throttling errors in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.disk\_s3.read.requests.errors.total**(gauge)                                       | Number of non-throttling errors in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.disk\_s3.read.requests.redirects.count**(count)                                    | Number of redirects in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.disk\_s3.read.requests.redirects.total**(gauge)                                    | Number of redirects in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.disk\_s3.read.requests.throttling.count**(count)                                   | Number of 429 and 503 errors in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.disk\_s3.read.requests.throttling.total**(gauge)                                   | Number of 429 and 503 errors in GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.disk\_s3.read.requests.total**(gauge)                                              | Number of GET and HEAD requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.disk\_s3.read.time**(gauge)                                                        | Time of GET and HEAD requests to DiskS3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.upload\_part.count**(count)                                               | Number of DiskS3 API UploadPart calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.upload\_part.total**(gauge)                                               | Number of DiskS3 API UploadPart calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.disk\_s3.upload\_part\_copy.count**(count)                                         | Number of DiskS3 API UploadPartCopy calls.                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.disk\_s3.upload\_part\_copy.total**(gauge)                                         | Number of DiskS3 API UploadPartCopy calls.                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.disk\_s3.write.requests.count**(count)                                             | Number of POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.disk\_s3.write.requests.errors.count**(count)                                      | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.disk\_s3.write.requests.errors.total**(gauge)                                      | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.disk\_s3.write.requests.redirects.count**(count)                                   | Number of redirects in POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.disk\_s3.write.requests.redirects.total**(gauge)                                   | Number of redirects in POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.disk\_s3.write.requests.total**(gauge)                                             | Number of POST, DELETE, PUT and PATCH requests to DiskS3 storage.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.disk\_s3.write.time**(gauge)                                                       | Time of POST, DELETE, PUT and PATCH requests to DiskS3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.distributed.connection.fail\_at\_all.count**(count)                                | Count when distributed connection fails after all retries finished*Shown as connection*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.distributed.connection.fail\_at\_all.total**(gauge)                                | Total count when distributed connection fails after all retries finished*Shown as connection*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.distributed.connection.fail\_try.count**(count)                                    | Count when distributed connection fails with retry*Shown as connection*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.distributed.connection.fail\_try.total**(gauge)                                    | Total count when distributed connection fails with retry*Shown as connection*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.distributed.connection.successful.count**(count)                                   | Total count of successful distributed connections to a usable server (with required table, but maybe stale).                                                                                                                                                                                                                                                                                                                |
| **clickhouse.distributed.connection.successful.total**(gauge)                                   | Total count of successful distributed connections to a usable server (with required table, but maybe stale).                                                                                                                                                                                                                                                                                                                |
| **clickhouse.distributed.connection.tries.count**(count)                                        | Total count of distributed connection attempts.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.distributed.connection.tries.total**(gauge)                                        | Total count of distributed connection attempts.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.distributed.delayed.inserts.time**(gauge)                                          | Total number of milliseconds spent while the INSERT of a block to a Distributed table was throttled due to high number of pending bytes.*Shown as microsecond*                                                                                                                                                                                                                                                              |
| **clickhouse.distributed.inserts.delayed.count**(count)                                         | Number of times the INSERT of a block to a Distributed table was throttled due to high number of pending bytes.*Shown as query*                                                                                                                                                                                                                                                                                             |
| **clickhouse.distributed.inserts.delayed.total**(gauge)                                         | Total number of times the INSERT of a block to a Distributed table was throttled due to high number of pending bytes.*Shown as query*                                                                                                                                                                                                                                                                                       |
| **clickhouse.distributed.inserts.rejected.count**(count)                                        | Number of times the INSERT of a block to a Distributed table was rejected with 'Too many bytes' exception due to high number of pending bytes.*Shown as query*                                                                                                                                                                                                                                                              |
| **clickhouse.distributed.inserts.rejected.total**(gauge)                                        | Total number of times the INSERT of a block to a Distributed table was rejected with 'Too many bytes' exception due to high number of pending bytes.*Shown as query*                                                                                                                                                                                                                                                        |
| **clickhouse.distributed\_cache.clickhouse\_server.connections.open**(gauge)                    | Number of open connections to ClickHouse server from Distributed Cache                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.distributed\_cache.connections.open.total**(gauge)                                 | The number of open connections to distributed cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.distributed\_cache.connections.open.used**(gauge)                                  | Number of currently used connections to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.distributed\_cache.read.requests**(gauge)                                          | Number of executed Read requests to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.distributed\_cache.write.requests**(gauge)                                         | Number of executed Write requests to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.drained\_connections.async**(gauge)                                                | Number of connections drained asynchronously.*Shown as connection*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.drained\_connections.async.active**(gauge)                                         | Number of active connections drained asynchronously.*Shown as connection*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.drained\_connections.sync**(gauge)                                                 | Number of connections drained synchronously.*Shown as connection*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.drained\_connections.sync.active**(gauge)                                          | Number of active connections drained synchronously.*Shown as connection*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.error.dns.count**(count)                                                           | Number of errors in DNS resolution*Shown as error*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.error.dns.total**(gauge)                                                           | Total count of errors in DNS resolution*Shown as error*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.errors.raised**(count)                                                             | Number of errors raised since last server restart. Tagged by `error_name`, `error_code`, and `remote` (whether the error originated on a remote shard).*Shown as error*                                                                                                                                                                                                                                                     |
| **clickhouse.events.AIORead.count**(count)                                                      | Number of reads with Linux or FreeBSD AIO interface (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AIORead.total**(gauge)                                                      | Number of reads with Linux or FreeBSD AIO interface (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AIOReadBytes.count**(count)                                                 | Number of bytes read with Linux or FreeBSD AIO interface (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AIOReadBytes.total**(gauge)                                                 | Number of bytes read with Linux or FreeBSD AIO interface (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AIOWrite.count**(count)                                                     | Number of writes with Linux or FreeBSD AIO interface (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AIOWrite.total**(gauge)                                                     | Number of writes with Linux or FreeBSD AIO interface (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AIOWriteBytes.count**(count)                                                | Number of bytes written with Linux or FreeBSD AIO interface (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.AIOWriteBytes.total**(gauge)                                                | Number of bytes written with Linux or FreeBSD AIO interface (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.AddressesDiscovered.count**(count)                                          | Total count of new addresses in DNS resolve results for HTTP connections (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AddressesDiscovered.total**(gauge)                                          | Total count of new addresses in DNS resolve results for HTTP connections (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AddressesExpired.count**(count)                                             | Total count of expired addresses which is no longer presented in DNS resolve results for HTTP connections (count)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.AddressesExpired.total**(gauge)                                             | Total count of expired addresses which is no longer presented in DNS resolve results for HTTP connections (total)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.AddressesMarkedAsFailed.count**(count)                                      | Total count of addresses which have been marked as faulty due to connection errors for HTTP connections (count)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AddressesMarkedAsFailed.total**(gauge)                                      | Total count of addresses which have been marked as faulty due to connection errors for HTTP connections (total)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AggregatingSortedMilliseconds**(gauge)                                      | Total time spent while aggregating sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AggregationHashTablesInitializedAsTwoLevel.count**(count)                   | How many hash tables were inited as two-level for aggregation. (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AggregationHashTablesInitializedAsTwoLevel.total**(gauge)                   | How many hash tables were inited as two-level for aggregation. (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AggregationOptimizedEqualRangesOfKeys.count**(count)                        | For how many blocks optimization of equal ranges of keys was applied (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AggregationOptimizedEqualRangesOfKeys.total**(gauge)                        | For how many blocks optimization of equal ranges of keys was applied (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AggregationPreallocatedElementsInHashTables.count**(count)                  | How many elements were preallocated in hash tables for aggregation. (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AggregationPreallocatedElementsInHashTables.total**(gauge)                  | How many elements were preallocated in hash tables for aggregation. (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AnalyzePatchRangesMicroseconds.count**(count)                               | Total time spent analyzing index of patch parts (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AnalyzePatchRangesMicroseconds.total**(gauge)                               | Total time spent analyzing index of patch parts (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ApplyPatchesMicroseconds.count**(count)                                     | Total time spent applying patch parts to blocks (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ApplyPatchesMicroseconds.total**(gauge)                                     | Total time spent applying patch parts to blocks (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ArenaAllocBytes.count**(count)                                              | Number of bytes allocated for memory Arena (used for GROUP BY and similar operations) (count)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ArenaAllocBytes.total**(gauge)                                              | Number of bytes allocated for memory Arena (used for GROUP BY and similar operations) (total)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ArenaAllocChunks.count**(count)                                             | Number of chunks allocated for memory Arena (used for GROUP BY and similar operations) (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ArenaAllocChunks.total**(gauge)                                             | Number of chunks allocated for memory Arena (used for GROUP BY and similar operations) (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AsyncInsertBytes.count**(count)                                             | Data size in bytes of asynchronous INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.AsyncInsertBytes.total**(gauge)                                             | Data size in bytes of asynchronous INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.AsyncInsertCacheHits.count**(count)                                         | Number of times a duplicate hash id has been found in asynchronous INSERT hash id cache. (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AsyncInsertCacheHits.total**(gauge)                                         | Number of times a duplicate hash id has been found in asynchronous INSERT hash id cache. (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AsyncInsertQuery.count**(count)                                             | Same as InsertQuery, but only for asynchronous INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AsyncInsertQuery.total**(gauge)                                             | Same as InsertQuery, but only for asynchronous INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AsyncInsertRows.count**(count)                                              | Number of rows inserted by asynchronous INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AsyncInsertRows.total**(gauge)                                              | Number of rows inserted by asynchronous INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AsyncLoaderWaitMicroseconds**(gauge)                                        | Total time a query was waiting for async loader jobs.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AsyncLoggingConsoleDroppedMessages.count**(count)                           | How many messages have been dropped from the console log due to the async log queue being full (count)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AsyncLoggingConsoleDroppedMessages.total**(gauge)                           | How many messages have been dropped from the console log due to the async log queue being full (total)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AsyncLoggingConsoleTotalMessages.count**(count)                             | How many messages (accepted or dropped) have been sent to the async queue for the console log (count)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AsyncLoggingConsoleTotalMessages.total**(gauge)                             | How many messages (accepted or dropped) have been sent to the async queue for the console log (total)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AsyncLoggingErrorFileLogDroppedMessages.count**(count)                      | How many messages have been dropped from error file log due to the async log queue being full (count)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AsyncLoggingErrorFileLogDroppedMessages.total**(gauge)                      | How many messages have been dropped from error file log due to the async log queue being full (total)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AsyncLoggingErrorFileLogTotalMessages.count**(count)                        | How many messages (accepted or dropped) have been sent to the async queue for the error file log (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.AsyncLoggingErrorFileLogTotalMessages.total**(gauge)                        | How many messages (accepted or dropped) have been sent to the async queue for the error file log (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.AsyncLoggingFileLogDroppedMessages.count**(count)                           | How many messages have been dropped from the file log due to the async log queue being full (count)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.AsyncLoggingFileLogDroppedMessages.total**(gauge)                           | How many messages have been dropped from the file log due to the async log queue being full (total)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.AsyncLoggingFileLogTotalMessages.count**(count)                             | How many messages (accepted or dropped) have been sent to the async queue for the file log (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.AsyncLoggingFileLogTotalMessages.total**(gauge)                             | How many messages (accepted or dropped) have been sent to the async queue for the file log (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.AsyncLoggingSyslogDroppedMessages.count**(count)                            | How many messages have been dropped from the syslog due to the async log queue being full (count)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.AsyncLoggingSyslogDroppedMessages.total**(gauge)                            | How many messages have been dropped from the syslog due to the async log queue being full (total)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.AsyncLoggingSyslogTotalMessages.count**(count)                              | How many messages (accepted or dropped) have been sent to the async queue for the syslog (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AsyncLoggingSyslogTotalMessages.total**(gauge)                              | How many messages (accepted or dropped) have been sent to the async queue for the syslog (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AsyncLoggingTextLogDroppedMessages.count**(count)                           | How many messages have been dropped from text_log due to the async log queue being full (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AsyncLoggingTextLogDroppedMessages.total**(gauge)                           | How many messages have been dropped from text_log due to the async log queue being full (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AsyncLoggingTextLogTotalMessages.count**(count)                             | How many messages (accepted or dropped) have been sent to the async queue for the text_log (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.AsyncLoggingTextLogTotalMessages.total**(gauge)                             | How many messages (accepted or dropped) have been sent to the async queue for the text_log (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.AsynchronousReadWaitMicroseconds**(gauge)                                   | Time spent in waiting for asynchronous reads in asynchronous local read.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AsynchronousReaderIgnoredBytes.count**(count)                               | Number of bytes ignored during asynchronous reading (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AsynchronousReaderIgnoredBytes.total**(gauge)                               | Number of bytes ignored during asynchronous reading (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AsynchronousRemoteReadWaitMicroseconds**(gauge)                             | Time spent in waiting for asynchronous remote reads.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.AzureCommitBlockList.count**(count)                                         | Number of Azure blob storage API CommitBlockList calls (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureCommitBlockList.total**(gauge)                                         | Number of Azure blob storage API CommitBlockList calls (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureCopyObject.count**(count)                                              | Number of Azure blob storage API CopyObject calls (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.AzureCopyObject.total**(gauge)                                              | Number of Azure blob storage API CopyObject calls (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.AzureCreateContainer.count**(count)                                         | Number of Azure blob storage API CreateContainer calls. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureCreateContainer.total**(gauge)                                         | Number of Azure blob storage API CreateContainer calls. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureDeleteObjects.count**(count)                                           | Number of Azure blob storage API DeleteObject(s) calls. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureDeleteObjects.total**(gauge)                                           | Number of Azure blob storage API DeleteObject(s) calls. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureGetObject.count**(count)                                               | Number of Azure API GetObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AzureGetObject.total**(gauge)                                               | Number of Azure API GetObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AzureGetProperties.count**(count)                                           | Number of Azure blob storage API GetProperties calls. (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.AzureGetProperties.total**(gauge)                                           | Number of Azure blob storage API GetProperties calls. (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.AzureGetRequestThrottlerCount.count**(count)                                | Number of Azure GET requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureGetRequestThrottlerCount.total**(gauge)                                | Number of Azure GET requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureGetRequestThrottlerSleepMicroseconds**(gauge)                          | Total time a query was sleeping to conform Azure GET request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureListObjects.count**(count)                                             | Number of Azure blob storage API ListObjects calls. (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AzureListObjects.total**(gauge)                                             | Number of Azure blob storage API ListObjects calls. (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.AzurePutRequestThrottlerCount.count**(count)                                | Number of Azure PUT requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzurePutRequestThrottlerCount.total**(gauge)                                | Number of Azure PUT requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzurePutRequestThrottlerSleepMicroseconds**(gauge)                          | Total time a query was sleeping to conform Azure PUT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.AzureReadMicroseconds**(gauge)                                              | Total time spent waiting for Azure read requests.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AzureReadRequestsCount.count**(count)                                       | Number of Azure read requests. (count)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AzureReadRequestsCount.total**(gauge)                                       | Number of Azure read requests. (total)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.AzureReadRequestsErrors.count**(count)                                      | Number of Azure read request errors. (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AzureReadRequestsErrors.total**(gauge)                                      | Number of Azure read request errors. (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.AzureReadRequestsRedirects.count**(count)                                   | Number of Azure read request redirects. (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureReadRequestsRedirects.total**(gauge)                                   | Number of Azure read request redirects. (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.AzureReadRequestsThrottling.count**(count)                                  | Number of Azure read requests throttled. (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AzureReadRequestsThrottling.total**(gauge)                                  | Number of Azure read requests throttled. (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AzureStageBlock.count**(count)                                              | Number of Azure blob storage API StageBlock calls (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.AzureStageBlock.total**(gauge)                                              | Number of Azure blob storage API StageBlock calls (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.AzureUpload.count**(count)                                                  | Number of Azure blob storage API Upload calls (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AzureUpload.total**(gauge)                                                  | Number of Azure blob storage API Upload calls (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.AzureWriteMicroseconds**(gauge)                                             | Total time spent waiting for Azure read requests.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AzureWriteRequestsCount.count**(count)                                      | Number of Azure write requests. (count)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AzureWriteRequestsCount.total**(gauge)                                      | Number of Azure write requests. (total)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.AzureWriteRequestsErrors.count**(count)                                     | Number of Azure write request errors. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.AzureWriteRequestsErrors.total**(gauge)                                     | Number of Azure write request errors. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.AzureWriteRequestsRedirects.count**(count)                                  | Number of Azure write request redirects. (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AzureWriteRequestsRedirects.total**(gauge)                                  | Number of Azure write request redirects. (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.AzureWriteRequestsThrottling.count**(count)                                 | Number of Azure write requests throttled. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.AzureWriteRequestsThrottling.total**(gauge)                                 | Number of Azure write requests throttled. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.BackgroundLoadingMarksTasks.count**(count)                                  | Number of background tasks for loading marks (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.BackgroundLoadingMarksTasks.total**(gauge)                                  | Number of background tasks for loading marks (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.BackupEntriesCollectorForTablesDataMicroseconds**(gauge)                    | Time spent making backup entries for tables data*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.BackupEntriesCollectorMicroseconds**(gauge)                                 | Time spent making backup entries*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.BackupEntriesCollectorRunPostTasksMicroseconds**(gauge)                     | Time spent running post tasks after making backup entries*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.BackupLockFileReads.count**(count)                                          | How many times the '.lock' file was read while making backup (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.BackupLockFileReads.total**(gauge)                                          | How many times the '.lock' file was read while making backup (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.BackupPreparingFileInfosMicroseconds**(gauge)                               | Time spent preparing file infos for backup entries*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.BackupReadLocalBytesToCalculateChecksums.count**(count)                     | Total size of files read locally to calculate checksums for backup entries (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.BackupReadLocalBytesToCalculateChecksums.total**(gauge)                     | Total size of files read locally to calculate checksums for backup entries (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.BackupReadLocalFilesToCalculateChecksums.count**(count)                     | Number of files read locally to calculate checksums for backup entries (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.BackupReadLocalFilesToCalculateChecksums.total**(gauge)                     | Number of files read locally to calculate checksums for backup entries (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.BackupReadMetadataMicroseconds**(gauge)                                     | Time spent reading backup metadata from .backup file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.BackupReadRemoteBytesToCalculateChecksums.count**(count)                    | Total size of files read from remote disks to calculate checksums for backup entries (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BackupReadRemoteBytesToCalculateChecksums.total**(gauge)                    | Total size of files read from remote disks to calculate checksums for backup entries (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BackupReadRemoteFilesToCalculateChecksums.count**(count)                    | Number of files read from remote disks to calculate checksums for backup entries (count)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.BackupReadRemoteFilesToCalculateChecksums.total**(gauge)                    | Number of files read from remote disks to calculate checksums for backup entries (total)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.BackupThrottlerBytes.count**(count)                                         | Bytes passed through 'max_backup_bandwidth_for_server' throttler. (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.BackupThrottlerBytes.total**(gauge)                                         | Bytes passed through 'max_backup_bandwidth_for_server' throttler. (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.BackupThrottlerSleepMicroseconds**(gauge)                                   | Total time a query was sleeping to conform 'max_backup_bandwidth_for_server' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.BackupWriteMetadataMicroseconds**(gauge)                                    | Time spent writing backup metadata to .backup file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.BackupsOpenedForRead.count**(count)                                         | Number of backups opened for reading (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BackupsOpenedForRead.total**(gauge)                                         | Number of backups opened for reading (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BackupsOpenedForUnlock.count**(count)                                       | Number of backups opened for unlocking (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.BackupsOpenedForUnlock.total**(gauge)                                       | Number of backups opened for unlocking (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.BackupsOpenedForWrite.count**(count)                                        | Number of backups opened for writing (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BackupsOpenedForWrite.total**(gauge)                                        | Number of backups opened for writing (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.BuildPatchesJoinMicroseconds.count**(count)                                 | Total time spent building indexes and hash tables for applying patch parts with Join mode (count)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.BuildPatchesJoinMicroseconds.total**(gauge)                                 | Total time spent building indexes and hash tables for applying patch parts with Join mode (total)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.BuildPatchesMergeMicroseconds.count**(count)                                | Total time spent building indexes for applying patch parts with Merge mode (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.BuildPatchesMergeMicroseconds.total**(gauge)                                | Total time spent building indexes for applying patch parts with Merge mode (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.CacheWarmerBytesDownloaded.count**(count)                                   | Amount of data fetched into filesystem cache by dedicated background threads. (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CacheWarmerBytesDownloaded.total**(gauge)                                   | Amount of data fetched into filesystem cache by dedicated background threads. (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CacheWarmerDataPartsDownloaded.count**(count)                               | Number of data parts that were fully fetched by CacheWarmer. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CacheWarmerDataPartsDownloaded.total**(gauge)                               | Number of data parts that were fully fetched by CacheWarmer. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CachedReadBufferCacheWriteBytes.count**(count)                              | Bytes written from source (remote fs, etc) to filesystem cache (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedReadBufferCacheWriteBytes.total**(gauge)                              | Bytes written from source (remote fs, etc) to filesystem cache (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedReadBufferCacheWriteMicroseconds**(gauge)                             | Time spent writing data into filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.CachedReadBufferCreateBufferMicroseconds**(gauge)                           | Prepare buffer time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CachedReadBufferPredownloadedBytes.count**(count)                           | Bytes read from filesystem cache source. Cache segments are read from left to right as a whole, it might be that we need to predownload some part of the segment irrelevant for the current task just to get to the needed data (count)                                                                                                                                                                                     |
| **clickhouse.events.CachedReadBufferPredownloadedBytes.total**(gauge)                           | Bytes read from filesystem cache source. Cache segments are read from left to right as a whole, it might be that we need to predownload some part of the segment irrelevant for the current task just to get to the needed data (total)                                                                                                                                                                                     |
| **clickhouse.events.CachedReadBufferReadFromCacheBytes.count**(count)                           | Bytes read from filesystem cache (count)                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.CachedReadBufferReadFromCacheBytes.total**(gauge)                           | Bytes read from filesystem cache (total)                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.CachedReadBufferReadFromCacheHits.count**(count)                            | Number of times the read from filesystem cache hit the cache. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CachedReadBufferReadFromCacheHits.total**(gauge)                            | Number of times the read from filesystem cache hit the cache. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CachedReadBufferReadFromCacheMicroseconds**(gauge)                          | Time reading from filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.CachedReadBufferReadFromCacheMisses.count**(count)                          | Number of times the read from filesystem cache miss the cache. (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedReadBufferReadFromCacheMisses.total**(gauge)                          | Number of times the read from filesystem cache miss the cache. (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedReadBufferReadFromSourceBytes.count**(count)                          | Bytes read from filesystem cache source (from remote fs, etc) (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CachedReadBufferReadFromSourceBytes.total**(gauge)                          | Bytes read from filesystem cache source (from remote fs, etc) (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CachedReadBufferReadFromSourceMicroseconds**(gauge)                         | Time reading from filesystem cache source (from remote filesystem, etc)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.CachedReadBufferWaitReadBufferMicroseconds**(gauge)                         | Time spend waiting for internal read buffer (includes cache waiting)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.CachedWriteBufferCacheWriteBytes.count**(count)                             | Bytes written from source (remote fs, etc) to filesystem cache (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedWriteBufferCacheWriteBytes.total**(gauge)                             | Bytes written from source (remote fs, etc) to filesystem cache (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CachedWriteBufferCacheWriteMicroseconds**(gauge)                            | Time spent writing data into filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.CannotRemoveEphemeralNode.count**(count)                                    | Number of times an error happened while trying to remove ephemeral node. This is not an issue, because our implementation of ZooKeeper library guarantee that the session will expire and the node will be removed. (count)                                                                                                                                                                                                 |
| **clickhouse.events.CannotRemoveEphemeralNode.total**(gauge)                                    | Number of times an error happened while trying to remove ephemeral node. This is not an issue, because our implementation of ZooKeeper library guarantee that the session will expire and the node will be removed. (total)                                                                                                                                                                                                 |
| **clickhouse.events.CannotWriteToWriteBufferDiscard.count**(count)                              | Number of stack traces dropped by query profiler or signal handler because pipe is full or cannot write to pipe. (count)                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.CannotWriteToWriteBufferDiscard.total**(gauge)                              | Number of stack traces dropped by query profiler or signal handler because pipe is full or cannot write to pipe. (total)                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.CoalescingSortedMilliseconds**(gauge)                                       | Total time spent while coalescing sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CollapsingSortedMilliseconds**(gauge)                                       | Total time spent while collapsing sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CommonBackgroundExecutorTaskCancelMicroseconds**(gauge)                     | Time spent in cancel() for Common executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.CommonBackgroundExecutorTaskExecuteStepMicroseconds**(gauge)                | Time spent in executeStep() for Common executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.CommonBackgroundExecutorTaskResetMicroseconds**(gauge)                      | Time spent resetting task for Common executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CommonBackgroundExecutorWaitMicroseconds**(gauge)                           | Time spent waiting for completion in Common executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.CompileExpressionsBytes.count**(count)                                      | Number of bytes used for expressions compilation. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CompileExpressionsBytes.total**(gauge)                                      | Number of bytes used for expressions compilation. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CompileExpressionsMicroseconds**(gauge)                                     | Total time spent for compilation of expressions to LLVM code.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.CompileFunction.count**(count)                                              | Number of times a compilation of generated LLVM code (to create fused function for complex expressions) was initiated. (count)                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.CompileFunction.total**(gauge)                                              | Number of times a compilation of generated LLVM code (to create fused function for complex expressions) was initiated. (total)                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.CompiledFunctionExecute.count**(count)                                      | Number of times a compiled function was executed. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CompiledFunctionExecute.total**(gauge)                                      | Number of times a compiled function was executed. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CompressedReadBufferBlocks.count**(count)                                   | Number of compressed blocks (the blocks of data that are compressed independent of each other) read from compressed sources (files, network). (count)                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CompressedReadBufferBlocks.total**(gauge)                                   | Number of compressed blocks (the blocks of data that are compressed independent of each other) read from compressed sources (files, network). (total)                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CompressedReadBufferBytes.count**(count)                                    | Number of uncompressed bytes (the number of bytes after decompression) read from compressed sources (files, network). (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.CompressedReadBufferBytes.total**(gauge)                                    | Number of uncompressed bytes (the number of bytes after decompression) read from compressed sources (files, network). (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.CompressedReadBufferChecksumDoesntMatch.count**(count)                      | Number of times the compressed block checksum did not match. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CompressedReadBufferChecksumDoesntMatch.total**(gauge)                      | Number of times the compressed block checksum did not match. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CompressedReadBufferChecksumDoesntMatchMicroseconds**(gauge)                | Total time spent detecting bit-flips due to compressed block checksum mismatches.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.CompressedReadBufferChecksumDoesntMatchSingleBitMismatch.count**(count)     | Number of times a compressed block checksum mismatch was caused by a single-bit difference. (count)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.CompressedReadBufferChecksumDoesntMatchSingleBitMismatch.total**(gauge)     | Number of times a compressed block checksum mismatch was caused by a single-bit difference. (total)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ConcurrencyControlDownscales.count**(count)                                 | Total number of CPU downscaling events (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ConcurrencyControlDownscales.total**(gauge)                                 | Total number of CPU downscaling events (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ConcurrencyControlPreemptedMicroseconds**(gauge)                            | Total time a query was waiting due to preemption of CPU slots.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ConcurrencyControlPreemptions.count**(count)                                | Total number of CPU preemptions (count)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ConcurrencyControlPreemptions.total**(gauge)                                | Total number of CPU preemptions (total)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ConcurrencyControlQueriesDelayed.count**(count)                             | Total number of CPU slot allocations (queries) that were required to wait for slots to upscale (count)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ConcurrencyControlQueriesDelayed.total**(gauge)                             | Total number of CPU slot allocations (queries) that were required to wait for slots to upscale (total)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ConcurrencyControlSlotsAcquired.count**(count)                              | Total number of CPU slots acquired (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ConcurrencyControlSlotsAcquired.total**(gauge)                              | Total number of CPU slots acquired (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ConcurrencyControlSlotsAcquiredNonCompeting.count**(count)                  | Total number of noncompeting CPU slot acquired (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ConcurrencyControlSlotsAcquiredNonCompeting.total**(gauge)                  | Total number of noncompeting CPU slot acquired (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ConcurrencyControlSlotsDelayed.count**(count)                               | Number of CPU slot not granted initially and required to wait for a free CPU slot (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ConcurrencyControlSlotsDelayed.total**(gauge)                               | Number of CPU slot not granted initially and required to wait for a free CPU slot (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ConcurrencyControlSlotsGranted.count**(count)                               | Number of CPU slot granted according to guarantee of 1 thread per query and for queries with setting 'use_concurrency_control' = 0 (count)                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ConcurrencyControlSlotsGranted.total**(gauge)                               | Number of CPU slot granted according to guarantee of 1 thread per query and for queries with setting 'use_concurrency_control' = 0 (total)                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ConcurrencyControlUpscales.count**(count)                                   | Total number of CPU upscaling events (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ConcurrencyControlUpscales.total**(gauge)                                   | Total number of CPU upscaling events (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ConcurrencyControlWaitMicroseconds**(gauge)                                 | Total time a query was waiting on resource requests for CPU slots.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ConcurrentQuerySlotsAcquired.count**(count)                                 | Total number of query slots acquired (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ConcurrentQuerySlotsAcquired.total**(gauge)                                 | Total number of query slots acquired (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ConcurrentQueryWaitMicroseconds**(gauge)                                    | Total time a query was waiting for a query slots*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ConnectionPoolIsFullMicroseconds**(gauge)                                   | Total time spent waiting for a slot in connection pool.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ContextLock.count**(count)                                                  | Number of times the lock of Context was acquired or tried to acquire. This is global lock. (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ContextLock.total**(gauge)                                                  | Number of times the lock of Context was acquired or tried to acquire. This is global lock. (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ContextLockWaitMicroseconds**(gauge)                                        | Context lock wait time in microseconds*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.CoordinatedMergesMergeAssignmentRequest.count**(count)                      | Total number of merge assignment requests (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeAssignmentRequest.total**(gauge)                      | Total number of merge assignment requests (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeAssignmentRequestMicroseconds**(gauge)                | Total time spend in merge assignment client*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeAssignmentResponse.count**(count)                     | Total number of merge assignment requests (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeAssignmentResponse.total**(gauge)                     | Total number of merge assignment requests (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeAssignmentResponseMicroseconds**(gauge)               | Total time spend in merge assignment handler*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorFetchMetadataMicroseconds**(gauge)         | Total time spend on fetching fresh metadata inside merge coordinator*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorFilterMicroseconds**(gauge)                | Total time spend on filtering prepared merges inside merge coordinator*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateExclusivelyCount.count**(count)   | Total number of exclusive captures of coordinator state lock (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateExclusivelyCount.total**(gauge)   | Total number of exclusive captures of coordinator state lock (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateExclusivelyMicroseconds**(gauge)  | Total time spend on locking coordinator state mutex exclusively*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateForShareCount.count**(count)      | Total number of for share captures of coordinator state lock (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateForShareCount.total**(gauge)      | Total number of for share captures of coordinator state lock (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorLockStateForShareMicroseconds**(gauge)     | Total time spend on locking coordinator state mutex for share*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorSelectMergesMicroseconds**(gauge)          | Total time spend on finding merge using merge selectors inside merge coordinator*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorUpdateCount.count**(count)                 | Total number of merge coordinator updates (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorUpdateCount.total**(gauge)                 | Total number of merge coordinator updates (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.CoordinatedMergesMergeCoordinatorUpdateMicroseconds**(gauge)                | Total time spend on updating merge coordinator state*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.CoordinatedMergesMergeWorkerUpdateCount.count**(count)                      | Total number merge worker updates (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CoordinatedMergesMergeWorkerUpdateCount.total**(gauge)                      | Total number merge worker updates (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.CoordinatedMergesMergeWorkerUpdateMicroseconds**(gauge)                     | Total time spend on updating local state of assigned merges on worker*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.CreatedLogEntryForMerge.count**(count)                                      | Successfully created log entry to merge parts in ReplicatedMergeTree. (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.CreatedLogEntryForMerge.total**(gauge)                                      | Successfully created log entry to merge parts in ReplicatedMergeTree. (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.CreatedLogEntryForMutation.count**(count)                                   | Successfully created log entry to mutate parts in ReplicatedMergeTree. (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.CreatedLogEntryForMutation.total**(gauge)                                   | Successfully created log entry to mutate parts in ReplicatedMergeTree. (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.CreatedReadBufferDirectIO.count**(count)                                    | Number of times a read buffer with O_DIRECT was created for reading data (while choosing among other read methods). (count)                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.CreatedReadBufferDirectIO.total**(gauge)                                    | Number of times a read buffer with O_DIRECT was created for reading data (while choosing among other read methods). (total)                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.CreatedReadBufferDirectIOFailed.count**(count)                              | Number of times a read buffer with O_DIRECT was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method. (count)                                                                                                                                             |
| **clickhouse.events.CreatedReadBufferDirectIOFailed.total**(gauge)                              | Number of times a read buffer with O_DIRECT was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method. (total)                                                                                                                                             |
| **clickhouse.events.CreatedReadBufferMMap.count**(count)                                        | Number of times a read buffer using 'mmap' was created for reading data (while choosing among other read methods). (count)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.CreatedReadBufferMMap.total**(gauge)                                        | Number of times a read buffer using 'mmap' was created for reading data (while choosing among other read methods). (total)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.CreatedReadBufferMMapFailed.count**(count)                                  | Number of times a read buffer with 'mmap' was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method. (count)                                                                                                                                               |
| **clickhouse.events.CreatedReadBufferMMapFailed.total**(gauge)                                  | Number of times a read buffer with 'mmap' was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method. (total)                                                                                                                                               |
| **clickhouse.events.CreatedReadBufferOrdinary.count**(count)                                    | Number of times ordinary read buffer was created for reading data (while choosing among other read methods). (count)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.CreatedReadBufferOrdinary.total**(gauge)                                    | Number of times ordinary read buffer was created for reading data (while choosing among other read methods). (total)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DNSError.count**(count)                                                     | Total count of errors in DNS resolution (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DNSError.total**(gauge)                                                     | Total count of errors in DNS resolution (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DataAfterMutationDiffersFromReplica.count**(count)                          | Number of times data after mutation is not byte-identical to the data on other replicas. In addition to the reasons described in 'DataAfterMergeDiffersFromReplica', it is also possible due to non-deterministic mutation. (count)                                                                                                                                                                                         |
| **clickhouse.events.DataAfterMutationDiffersFromReplica.total**(gauge)                          | Number of times data after mutation is not byte-identical to the data on other replicas. In addition to the reasons described in 'DataAfterMergeDiffersFromReplica', it is also possible due to non-deterministic mutation. (total)                                                                                                                                                                                         |
| **clickhouse.events.DefaultImplementationForNullsRows.count**(count)                            | Number of rows processed by default implementation for nulls in function execution (count)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DefaultImplementationForNullsRows.total**(gauge)                            | Number of rows processed by default implementation for nulls in function execution (total)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DefaultImplementationForNullsRowsWithNulls.count**(count)                   | Number of rows which contain null values processed by default implementation for nulls in function execution (count)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DefaultImplementationForNullsRowsWithNulls.total**(gauge)                   | Number of rows which contain null values processed by default implementation for nulls in function execution (total)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DelayedInserts.count**(count)                                               | Number of times the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition. (count)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DelayedInserts.total**(gauge)                                               | Number of times the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition. (total)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DelayedInsertsMilliseconds**(gauge)                                         | Total number of milliseconds spent while the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition.*Shown as millisecond*                                                                                                                                                                                                                                              |
| **clickhouse.events.DelayedMutations.count**(count)                                             | Number of times the mutation of a MergeTree table was throttled due to high number of unfinished mutations for table. (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DelayedMutations.total**(gauge)                                             | Number of times the mutation of a MergeTree table was throttled due to high number of unfinished mutations for table. (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DelayedMutationsMilliseconds**(gauge)                                       | Total number of milliseconds spent while the mutation of a MergeTree table was throttled due to high number of unfinished mutations for table.*Shown as millisecond*                                                                                                                                                                                                                                                        |
| **clickhouse.events.DeltaLakePartitionPrunedFiles.count**(count)                                | Number of skipped files during DeltaLake partition pruning (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DeltaLakePartitionPrunedFiles.total**(gauge)                                | Number of skipped files during DeltaLake partition pruning (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DictCacheKeysExpired.count**(count)                                         | Number of keys looked up in the dictionaries of 'cache' types and found in the cache but they were obsolete. (count)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DictCacheKeysExpired.total**(gauge)                                         | Number of keys looked up in the dictionaries of 'cache' types and found in the cache but they were obsolete. (total)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DictCacheKeysHit.count**(count)                                             | Number of keys looked up in the dictionaries of 'cache' types and found in the cache. (count)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DictCacheKeysHit.total**(gauge)                                             | Number of keys looked up in the dictionaries of 'cache' types and found in the cache. (total)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DictCacheKeysNotFound.count**(count)                                        | Number of keys looked up in the dictionaries of 'cache' types and not found. (count)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DictCacheKeysNotFound.total**(gauge)                                        | Number of keys looked up in the dictionaries of 'cache' types and not found. (total)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DictCacheKeysRequested.count**(count)                                       | Number of keys requested from the data source for the dictionaries of 'cache' types. (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DictCacheKeysRequested.total**(gauge)                                       | Number of keys requested from the data source for the dictionaries of 'cache' types. (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DictCacheKeysRequestedFound.count**(count)                                  | Number of keys requested from the data source for dictionaries of 'cache' types and found in the data source. (count)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DictCacheKeysRequestedFound.total**(gauge)                                  | Number of keys requested from the data source for dictionaries of 'cache' types and found in the data source. (total)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DictCacheKeysRequestedMiss.count**(count)                                   | Number of keys requested from the data source for dictionaries of 'cache' types but not found in the data source. (count)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DictCacheKeysRequestedMiss.total**(gauge)                                   | Number of keys requested from the data source for dictionaries of 'cache' types but not found in the data source. (total)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DictCacheLockReadNs**(gauge)                                                | Number of nanoseconds spend in waiting for read lock to lookup the data for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DictCacheLockWriteNs**(gauge)                                               | Number of nanoseconds spend in waiting for write lock to update the data for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DictCacheRequestTimeNs**(gauge)                                             | Number of nanoseconds spend in querying the external data sources for the dictionaries of 'cache' types.*Shown as nanosecond*                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DictCacheRequests.count**(count)                                            | Number of bulk requests to the external data sources for the dictionaries of 'cache' types. (count)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DictCacheRequests.total**(gauge)                                            | Number of bulk requests to the external data sources for the dictionaries of 'cache' types. (total)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DirectorySync.count**(count)                                                | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories. (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DirectorySync.total**(gauge)                                                | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories. (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DirectorySyncElapsedMicroseconds**(gauge)                                   | Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for directories.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskAzureCommitBlockList.count**(count)                                     | Number of Disk Azure blob storage API CommitBlockList calls (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureCommitBlockList.total**(gauge)                                     | Number of Disk Azure blob storage API CommitBlockList calls (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureCopyObject.count**(count)                                          | Number of Disk Azure blob storage API CopyObject calls (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskAzureCopyObject.total**(gauge)                                          | Number of Disk Azure blob storage API CopyObject calls (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskAzureCreateContainer.count**(count)                                     | Number of Disk Azure blob storage API CreateContainer calls. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskAzureCreateContainer.total**(gauge)                                     | Number of Disk Azure blob storage API CreateContainer calls. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskAzureDeleteObjects.count**(count)                                       | Number of Azure blob storage API DeleteObject(s) calls. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskAzureDeleteObjects.total**(gauge)                                       | Number of Azure blob storage API DeleteObject(s) calls. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskAzureGetObject.count**(count)                                           | Number of Disk Azure API GetObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DiskAzureGetObject.total**(gauge)                                           | Number of Disk Azure API GetObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DiskAzureGetProperties.count**(count)                                       | Number of Disk Azure blob storage API GetProperties calls. (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskAzureGetProperties.total**(gauge)                                       | Number of Disk Azure blob storage API GetProperties calls. (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskAzureGetRequestThrottlerCount.count**(count)                            | Number of Azure disk GET requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureGetRequestThrottlerCount.total**(gauge)                            | Number of Azure disk GET requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureGetRequestThrottlerSleepMicroseconds**(gauge)                      | Total time a query was sleeping to conform Azure disk GET request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureListObjects.count**(count)                                         | Number of Disk Azure blob storage API ListObjects calls. (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskAzureListObjects.total**(gauge)                                         | Number of Disk Azure blob storage API ListObjects calls. (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskAzurePutRequestThrottlerCount.count**(count)                            | Number of Azure disk PUT requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzurePutRequestThrottlerCount.total**(gauge)                            | Number of Azure disk PUT requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzurePutRequestThrottlerSleepMicroseconds**(gauge)                      | Total time a query was sleeping to conform Azure disk PUT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskAzureReadMicroseconds**(gauge)                                          | Total time spent waiting for Azure disk read requests.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DiskAzureReadRequestsCount.count**(count)                                   | Number of Azure disk read requests. (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskAzureReadRequestsCount.total**(gauge)                                   | Number of Azure disk read requests. (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskAzureReadRequestsErrors.count**(count)                                  | Number of Azure disk read request errors. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DiskAzureReadRequestsErrors.total**(gauge)                                  | Number of Azure disk read request errors. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DiskAzureReadRequestsRedirects.count**(count)                               | Number of Azure disk read request redirects. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskAzureReadRequestsRedirects.total**(gauge)                               | Number of Azure disk read request redirects. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskAzureReadRequestsThrottling.count**(count)                              | Number of Azure disk read requests throttled. (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskAzureReadRequestsThrottling.total**(gauge)                              | Number of Azure disk read requests throttled. (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskAzureStageBlock.count**(count)                                          | Number of Disk Azure blob storage API StageBlock calls (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskAzureStageBlock.total**(gauge)                                          | Number of Disk Azure blob storage API StageBlock calls (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskAzureUpload.count**(count)                                              | Number of Disk Azure blob storage API Upload calls (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskAzureUpload.total**(gauge)                                              | Number of Disk Azure blob storage API Upload calls (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskAzureWriteMicroseconds**(gauge)                                         | Total time spent waiting for Azure disk write requests.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskAzureWriteRequestsCount.count**(count)                                  | Number of Azure disk write requests. (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DiskAzureWriteRequestsCount.total**(gauge)                                  | Number of Azure disk write requests. (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DiskAzureWriteRequestsErrors.count**(count)                                 | Number of Azure disk write request errors. (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskAzureWriteRequestsErrors.total**(gauge)                                 | Number of Azure disk write request errors. (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskAzureWriteRequestsRedirects.count**(count)                              | Number of Azure disk write request redirects. (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskAzureWriteRequestsRedirects.total**(gauge)                              | Number of Azure disk write request redirects. (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskAzureWriteRequestsThrottling.count**(count)                             | Number of Azure disk write requests throttled. (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskAzureWriteRequestsThrottling.total**(gauge)                             | Number of Azure disk write requests throttled. (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskConnectionsCreated.count**(count)                                       | Number of created connections for disk (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskConnectionsCreated.total**(gauge)                                       | Number of created connections for disk (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskConnectionsElapsedMicroseconds**(gauge)                                 | Total time spend on creating connections for disk*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskConnectionsErrors.count**(count)                                        | Number of cases when creation of a connection for disk is failed (count)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskConnectionsErrors.total**(gauge)                                        | Number of cases when creation of a connection for disk is failed (total)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskConnectionsExpired.count**(count)                                       | Number of expired connections for disk (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskConnectionsExpired.total**(gauge)                                       | Number of expired connections for disk (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskConnectionsPreserved.count**(count)                                     | Number of preserved connections for disk (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskConnectionsPreserved.total**(gauge)                                     | Number of preserved connections for disk (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskConnectionsReset.count**(count)                                         | Number of reset connections for disk (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DiskConnectionsReset.total**(gauge)                                         | Number of reset connections for disk (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DiskConnectionsReused.count**(count)                                        | Number of reused connections for disk (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskConnectionsReused.total**(gauge)                                        | Number of reused connections for disk (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskPlainRewritableAzureDirectoryCreated.count**(count)                     | Number of directories created by the 'plain_rewritable' metadata storage for AzureObjectStorage. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableAzureDirectoryCreated.total**(gauge)                     | Number of directories created by the 'plain_rewritable' metadata storage for AzureObjectStorage. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableAzureDirectoryRemoved.count**(count)                     | Number of directories removed by the 'plain_rewritable' metadata storage for AzureObjectStorage. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableAzureDirectoryRemoved.total**(gauge)                     | Number of directories removed by the 'plain_rewritable' metadata storage for AzureObjectStorage. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableLegacyLayoutDiskCount.count**(count)                     | Number of the 'plain_rewritable' disks with legacy layout. (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskPlainRewritableLegacyLayoutDiskCount.total**(gauge)                     | Number of the 'plain_rewritable' disks with legacy layout. (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskPlainRewritableLocalDirectoryCreated.count**(count)                     | Number of directories created by the 'plain_rewritable' metadata storage for LocalObjectStorage. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableLocalDirectoryCreated.total**(gauge)                     | Number of directories created by the 'plain_rewritable' metadata storage for LocalObjectStorage. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableLocalDirectoryRemoved.count**(count)                     | Number of directories removed by the 'plain_rewritable' metadata storage for LocalObjectStorage. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableLocalDirectoryRemoved.total**(gauge)                     | Number of directories removed by the 'plain_rewritable' metadata storage for LocalObjectStorage. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskPlainRewritableS3DirectoryCreated.count**(count)                        | Number of directories created by the 'plain_rewritable' metadata storage for S3ObjectStorage. (count)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskPlainRewritableS3DirectoryCreated.total**(gauge)                        | Number of directories created by the 'plain_rewritable' metadata storage for S3ObjectStorage. (total)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskPlainRewritableS3DirectoryRemoved.count**(count)                        | Number of directories removed by the 'plain_rewritable' metadata storage for S3ObjectStorage. (count)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskPlainRewritableS3DirectoryRemoved.total**(gauge)                        | Number of directories removed by the 'plain_rewritable' metadata storage for S3ObjectStorage. (total)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskReadElapsedMicroseconds**(gauge)                                        | Total time spent waiting for read syscall. This include reads from page cache.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskS3AbortMultipartUpload.count**(count)                                   | Number of DiskS3 API AbortMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskS3AbortMultipartUpload.total**(gauge)                                   | Number of DiskS3 API AbortMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DiskS3CompleteMultipartUpload.count**(count)                                | Number of DiskS3 API CompleteMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskS3CompleteMultipartUpload.total**(gauge)                                | Number of DiskS3 API CompleteMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskS3CopyObject.count**(count)                                             | Number of DiskS3 API CopyObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3CopyObject.total**(gauge)                                             | Number of DiskS3 API CopyObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3CreateMultipartUpload.count**(count)                                  | Number of DiskS3 API CreateMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DiskS3CreateMultipartUpload.total**(gauge)                                  | Number of DiskS3 API CreateMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DiskS3DeleteObjects.count**(count)                                          | Number of DiskS3 API DeleteObject(s) calls. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskS3DeleteObjects.total**(gauge)                                          | Number of DiskS3 API DeleteObject(s) calls. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskS3GetObject.count**(count)                                              | Number of DiskS3 API GetObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskS3GetObject.total**(gauge)                                              | Number of DiskS3 API GetObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskS3GetObjectAttributes.count**(count)                                    | Number of DiskS3 API GetObjectAttributes calls. (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskS3GetObjectAttributes.total**(gauge)                                    | Number of DiskS3 API GetObjectAttributes calls. (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskS3GetRequestThrottlerCount.count**(count)                               | Number of DiskS3 GET and SELECT requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskS3GetRequestThrottlerCount.total**(gauge)                               | Number of DiskS3 GET and SELECT requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskS3GetRequestThrottlerSleepMicroseconds**(gauge)                         | Total time a query was sleeping to conform DiskS3 GET and SELECT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskS3HeadObject.count**(count)                                             | Number of DiskS3 API HeadObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3HeadObject.total**(gauge)                                             | Number of DiskS3 API HeadObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3ListObjects.count**(count)                                            | Number of DiskS3 API ListObjects calls. (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskS3ListObjects.total**(gauge)                                            | Number of DiskS3 API ListObjects calls. (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskS3PutObject.count**(count)                                              | Number of DiskS3 API PutObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskS3PutObject.total**(gauge)                                              | Number of DiskS3 API PutObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DiskS3PutRequestThrottlerCount.count**(count)                               | Number of DiskS3 PUT, COPY, POST and LIST requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskS3PutRequestThrottlerCount.total**(gauge)                               | Number of DiskS3 PUT, COPY, POST and LIST requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskS3PutRequestThrottlerSleepMicroseconds**(gauge)                         | Total time a query was sleeping to conform DiskS3 PUT, COPY, POST and LIST request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DiskS3ReadMicroseconds**(gauge)                                             | Time of GET and HEAD requests to DiskS3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskS3ReadRequestAttempts.count**(count)                                    | Number of attempts for GET and HEAD requests to DiskS3 storage, including the initial try and any retries, but excluding retries performed internally by the S3 retry strategy (count)                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskS3ReadRequestAttempts.total**(gauge)                                    | Number of attempts for GET and HEAD requests to DiskS3 storage, including the initial try and any retries, but excluding retries performed internally by the S3 retry strategy (total)                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskS3ReadRequestRetryableErrors.count**(count)                             | Number of retryable errors for GET and HEAD requests to DiskS3 storage, excluding retries performed internally by the S3 retry strategy (count)                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskS3ReadRequestRetryableErrors.total**(gauge)                             | Number of retryable errors for GET and HEAD requests to DiskS3 storage, excluding retries performed internally by the S3 retry strategy (total)                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskS3ReadRequestsCount.count**(count)                                      | Number of GET and HEAD requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskS3ReadRequestsCount.total**(gauge)                                      | Number of GET and HEAD requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.DiskS3ReadRequestsErrors.count**(count)                                     | Number of non-throttling errors in GET and HEAD requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskS3ReadRequestsErrors.total**(gauge)                                     | Number of non-throttling errors in GET and HEAD requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DiskS3ReadRequestsRedirects.count**(count)                                  | Number of redirects in GET and HEAD requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskS3ReadRequestsRedirects.total**(gauge)                                  | Number of redirects in GET and HEAD requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DiskS3ReadRequestsThrottling.count**(count)                                 | Number of 429 and 503 errors in GET and HEAD requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskS3ReadRequestsThrottling.total**(gauge)                                 | Number of 429 and 503 errors in GET and HEAD requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DiskS3UploadPart.count**(count)                                             | Number of DiskS3 API UploadPart calls. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3UploadPart.total**(gauge)                                             | Number of DiskS3 API UploadPart calls. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DiskS3UploadPartCopy.count**(count)                                         | Number of DiskS3 API UploadPartCopy calls. (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3UploadPartCopy.total**(gauge)                                         | Number of DiskS3 API UploadPartCopy calls. (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3WriteMicroseconds**(gauge)                                            | Time of POST, DELETE, PUT and PATCH requests to DiskS3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DiskS3WriteRequestAttempts.count**(count)                                   | Number of attempts for POST, DELETE, PUT and PATCH requests to DiskS3 storage, including the initial try and any retries, but excluding retries performed internally by the retry strategy (count)                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3WriteRequestAttempts.total**(gauge)                                   | Number of attempts for POST, DELETE, PUT and PATCH requests to DiskS3 storage, including the initial try and any retries, but excluding retries performed internally by the retry strategy (total)                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3WriteRequestRetryableErrors.count**(count)                            | Number of retryable errors for POST, DELETE, PUT and PATCH requests to DiskS3 storage, excluding retries performed internally by the retry strategy (count)                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskS3WriteRequestRetryableErrors.total**(gauge)                            | Number of retryable errors for POST, DELETE, PUT and PATCH requests to DiskS3 storage, excluding retries performed internally by the retry strategy (total)                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DiskS3WriteRequestsCount.count**(count)                                     | Number of POST, DELETE, PUT and PATCH requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DiskS3WriteRequestsCount.total**(gauge)                                     | Number of POST, DELETE, PUT and PATCH requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DiskS3WriteRequestsErrors.count**(count)                                    | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3WriteRequestsErrors.total**(gauge)                                    | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DiskS3WriteRequestsRedirects.count**(count)                                 | Number of redirects in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskS3WriteRequestsRedirects.total**(gauge)                                 | Number of redirects in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DiskS3WriteRequestsThrottling.count**(count)                                | Number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskS3WriteRequestsThrottling.total**(gauge)                                | Number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to DiskS3 storage. (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DiskWriteElapsedMicroseconds**(gauge)                                       | Total time spent waiting for write syscall. This include writes to page cache.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistrCacheConnectAttempts.count**(count)                                    | Distributed Cache connection event. The number of connection attempts to distributed cache (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheConnectAttempts.total**(gauge)                                    | Distributed Cache connection event. The number of connection attempts to distributed cache (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheConnectMicroseconds**(gauge)                                      | Distributed Cache connection event. The time spent to connect to distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheDataPacketsBytes.count**(count)                                   | Distributed Cache client event. The number of bytes in Data packets which were not ignored (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheDataPacketsBytes.total**(gauge)                                   | Distributed Cache client event. The number of bytes in Data packets which were not ignored (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheFallbackReadMicroseconds**(gauge)                                 | Distributed Cache read buffer event. Time spend reading from fallback buffer instead of distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheGetClient**(gauge)                                                | Number of client access times                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DistrCacheGetClientMicroseconds**(gauge)                                    | Distributed Cache connection event. Time spent getting client for distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DistrCacheGetResponseMicroseconds**(gauge)                                  | Distributed Cache client event. Time spend to wait for response from distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DistrCacheHashRingRebuilds.count**(count)                                   | Distributed Cache registry event. Number of distributed cache hash ring rebuilds (count)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheHashRingRebuilds.total**(gauge)                                   | Distributed Cache registry event. Number of distributed cache hash ring rebuilds (total)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheHoldConnections**(gauge)                                          | The number of used connections to distributed cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheIgnoredBytesWhileWaitingProfileEvents.count**(count)              | Distributed Cache read buffer event. Ignored bytes while waiting for profile events in distributed cache (count)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheIgnoredBytesWhileWaitingProfileEvents.total**(gauge)              | Distributed Cache read buffer event. Ignored bytes while waiting for profile events in distributed cache (total)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheLockRegistryMicroseconds**(gauge)                                 | Distributed Cache registry event. Time spent to take DistributedCacheRegistry lock*Shown as microsecond*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheMakeRequestErrors.count**(count)                                  | Distributed Cache client event. Number of distributed cache errors when making a request (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheMakeRequestErrors.total**(gauge)                                  | Distributed Cache client event. Number of distributed cache errors when making a request (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheNextImplMicroseconds**(gauge)                                     | Distributed Cache read buffer event. Time spend in ReadBufferFromDistributedCache::nextImpl*Shown as microsecond*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistrCacheOpenedConnections.count**(count)                                  | Distributed Cache connection event. The number of open connections to distributed cache (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheOpenedConnections.total**(gauge)                                  | Distributed Cache connection event. The number of open connections to distributed cache (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheOpenedConnectionsBypassingPool.count**(count)                     | Distributed Cache connection event. The number of open connections to distributed cache bypassing pool (count)                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheOpenedConnectionsBypassingPool.total**(gauge)                     | Distributed Cache connection event. The number of open connections to distributed cache bypassing pool (total)                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCachePackets.count**(count)                                            | Distributed Cache client event. Total number of packets received from distributed cache (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCachePackets.total**(gauge)                                            | Distributed Cache client event. Total number of packets received from distributed cache (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCachePacketsBytes.count**(count)                                       | Distributed Cache client event. The number of bytes in Data packets which were not ignored (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCachePacketsBytes.total**(gauge)                                       | Distributed Cache client event. The number of bytes in Data packets which were not ignored (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCachePrecomputeRangesMicroseconds**(gauge)                             | Distributed Cache read buffer event. Time spent to precompute read ranges*Shown as microsecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheRangeChange.count**(count)                                        | Distributed Cache read buffer event. Number of times we changed read range because of seek/last_position change (count)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistrCacheRangeChange.total**(gauge)                                        | Distributed Cache read buffer event. Number of times we changed read range because of seek/last_position change (total)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistrCacheRangeResetBackward.count**(count)                                 | Distributed Cache read buffer event. Number of times we reset read range because of seek/last_position change (count)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DistrCacheRangeResetBackward.total**(gauge)                                 | Distributed Cache read buffer event. Number of times we reset read range because of seek/last_position change (total)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DistrCacheRangeResetForward.count**(count)                                  | Distributed Cache read buffer event. Number of times we reset read range because of seek/last_position change (count)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DistrCacheRangeResetForward.total**(gauge)                                  | Distributed Cache read buffer event. Number of times we reset read range because of seek/last_position change (total)                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.DistrCacheReadBytesFromCache.count**(count)                                 | Distributed Cache read buffer event. Bytes read from distributed cache (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheReadBytesFromCache.total**(gauge)                                 | Distributed Cache read buffer event. Bytes read from distributed cache (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheReadBytesFromFallbackBuffer.count**(count)                        | Distributed Cache read buffer event. Bytes read from fallback buffer (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DistrCacheReadBytesFromFallbackBuffer.total**(gauge)                        | Distributed Cache read buffer event. Bytes read from fallback buffer (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DistrCacheReadErrors.count**(count)                                         | Distributed Cache client event. Number of distributed cache errors during read (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheReadErrors.total**(gauge)                                         | Distributed Cache client event. Number of distributed cache errors during read (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheReadMicroseconds**(gauge)                                         | Distributed Cache read buffer event. Time spent reading from distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistrCacheReceiveResponseErrors.count**(count)                              | Distributed Cache client event. Number of distributed cache errors when receiving response a request (count)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DistrCacheReceiveResponseErrors.total**(gauge)                              | Distributed Cache client event. Number of distributed cache errors when receiving response a request (total)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.DistrCacheReconnectsAfterTimeout.count**(count)                             | Distributed Cache read buffer event. The number of reconnects after timeout (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheReconnectsAfterTimeout.total**(gauge)                             | Distributed Cache read buffer event. The number of reconnects after timeout (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheRegistryUpdateMicroseconds**(gauge)                               | Distributed Cache registry event. Time spent updating distributed cache registry*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheRegistryUpdates.count**(count)                                    | Distributed Cache registry event. Number of distributed cache registry updates (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheRegistryUpdates.total**(gauge)                                    | Distributed Cache registry event. Number of distributed cache registry updates (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheReusedConnections.count**(count)                                  | Distributed Cache connection event. The number of reused connections to distributed cache (count)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistrCacheReusedConnections.total**(gauge)                                  | Distributed Cache connection event. The number of reused connections to distributed cache (total)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistrCacheServerAckRequestPackets.count**(count)                            | Distributed Cache server event. Number of AckRequest packets in DistributedCacheServer (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerAckRequestPackets.total**(gauge)                            | Distributed Cache server event. Number of AckRequest packets in DistributedCacheServer (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerCachedReadBufferCacheHits.count**(count)                    | Distributed Cache server event. The number of times distributed cache hit the cache while reading from filesystem cache (count)                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheServerCachedReadBufferCacheHits.total**(gauge)                    | Distributed Cache server event. The number of times distributed cache hit the cache while reading from filesystem cache (total)                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheServerCachedReadBufferCacheMisses.count**(count)                  | Distributed Cache server event. The number of times distributed cache missed the cache while reading from filesystem cache (count)                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheServerCachedReadBufferCacheMisses.total**(gauge)                  | Distributed Cache server event. The number of times distributed cache missed the cache while reading from filesystem cache (total)                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.DistrCacheServerContinueRequestPackets.count**(count)                       | Distributed Cache server event. Number of ContinueRequest packets in DistributedCacheServer (count)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheServerContinueRequestPackets.total**(gauge)                       | Distributed Cache server event. Number of ContinueRequest packets in DistributedCacheServer (total)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheServerCredentialsRefresh.count**(count)                           | Distributed Cache server event. The number of expired credentials were refreshed (count)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheServerCredentialsRefresh.total**(gauge)                           | Distributed Cache server event. The number of expired credentials were refreshed (total)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistrCacheServerEndRequestPackets.count**(count)                            | Distributed Cache server event. Number of EndRequest packets in DistributedCacheServer (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerEndRequestPackets.total**(gauge)                            | Distributed Cache server event. Number of EndRequest packets in DistributedCacheServer (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerNewS3CachedClients.count**(count)                           | Distributed Cache server event. The number of new cached s3 clients (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DistrCacheServerNewS3CachedClients.total**(gauge)                           | Distributed Cache server event. The number of new cached s3 clients (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DistrCacheServerProcessRequestMicroseconds**(gauge)                         | Distributed Cache server event. Time spent processing request on DistributedCache server side*Shown as microsecond*                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistrCacheServerReceivedCredentialsRefreshPackets.count**(count)            | Distributed Cache server event. Number of RefreshCredentials client packets in DistributedCacheServer (count)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DistrCacheServerReceivedCredentialsRefreshPackets.total**(gauge)            | Distributed Cache server event. Number of RefreshCredentials client packets in DistributedCacheServer (total)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.DistrCacheServerReusedS3CachedClients.count**(count)                        | Distributed Cache server event. The number of reused cached s3 clients (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerReusedS3CachedClients.total**(gauge)                        | Distributed Cache server event. The number of reused cached s3 clients (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheServerStartRequestPackets.count**(count)                          | Distributed Cache server event. Number of StartRequest packets in DistributedCacheServer (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheServerStartRequestPackets.total**(gauge)                          | Distributed Cache server event. Number of StartRequest packets in DistributedCacheServer (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistrCacheServerSwitches.count**(count)                                     | Distributed Cache read buffer event. Number of server switches between distributed cache servers in read/write-through cache (count)                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistrCacheServerSwitches.total**(gauge)                                     | Distributed Cache read buffer event. Number of server switches between distributed cache servers in read/write-through cache (total)                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistrCacheServerUpdates.count**(count)                                      | Distributed Cache read buffer event. The number of server updates because server is not longer registered in keeper (count)                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DistrCacheServerUpdates.total**(gauge)                                      | Distributed Cache read buffer event. The number of server updates because server is not longer registered in keeper (total)                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DistrCacheStartRangeMicroseconds**(gauge)                                   | Distributed Cache read buffer event. Time spent to start a new read range with distributed cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistrCacheUnusedDataPacketsBytes.count**(count)                             | Distributed Cache client event. The number of bytes in Data packets which were ignored (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheUnusedDataPacketsBytes.total**(gauge)                             | Distributed Cache client event. The number of bytes in Data packets which were ignored (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheUnusedPackets.count**(count)                                      | Distributed Cache client event. Number of skipped unused packets from distributed cache (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheUnusedPackets.total**(gauge)                                      | Distributed Cache client event. Number of skipped unused packets from distributed cache (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.DistrCacheUnusedPacketsBufferAllocations.count**(count)                     | Distributed Cache client event. The number of extra buffer allocations in case we could not reuse existing buffer (count)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DistrCacheUnusedPacketsBufferAllocations.total**(gauge)                     | Distributed Cache client event. The number of extra buffer allocations in case we could not reuse existing buffer (total)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DistrCacheUnusedPacketsBytes.count**(count)                                 | Distributed Cache client event. The number of bytes in Data packets which were ignored (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistrCacheUnusedPacketsBytes.total**(gauge)                                 | Distributed Cache client event. The number of bytes in Data packets which were ignored (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistributedAsyncInsertionFailures.count**(count)                            | Number of failures for asynchronous insertion into a Distributed table (with 'distributed_foreground_insert' = 0) (count)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DistributedAsyncInsertionFailures.total**(gauge)                            | Number of failures for asynchronous insertion into a Distributed table (with 'distributed_foreground_insert' = 0) (total)                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.DistributedConnectionFailAtAll.count**(count)                               | Total count when distributed connection fails after all retries finished. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistributedConnectionFailAtAll.total**(gauge)                               | Total count when distributed connection fails after all retries finished. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistributedConnectionFailTry.count**(count)                                 | Total count when distributed connection fails with retry. (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistributedConnectionFailTry.total**(gauge)                                 | Total count when distributed connection fails with retry. (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.DistributedConnectionMissingTable.count**(count)                            | Number of times we rejected a replica from a distributed query, because it did not contain a table needed for the query. (count)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistributedConnectionMissingTable.total**(gauge)                            | Number of times we rejected a replica from a distributed query, because it did not contain a table needed for the query. (total)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.DistributedConnectionReconnectCount.count**(count)                          | Number of reconnects to other servers done during distributed query execution. It can happen when a stale connection has been acquired from connection pool (count)                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistributedConnectionReconnectCount.total**(gauge)                          | Number of reconnects to other servers done during distributed query execution. It can happen when a stale connection has been acquired from connection pool (total)                                                                                                                                                                                                                                                         |
| **clickhouse.events.DistributedConnectionSkipReadOnlyReplica.count**(count)                     | Number of replicas skipped during INSERT into Distributed table due to replicas being read-only (count)                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionSkipReadOnlyReplica.total**(gauge)                     | Number of replicas skipped during INSERT into Distributed table due to replicas being read-only (total)                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionStaleReplica.count**(count)                            | Number of times we rejected a replica from a distributed query, because some table needed for a query had replication lag higher than the configured threshold. (count)                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionStaleReplica.total**(gauge)                            | Number of times we rejected a replica from a distributed query, because some table needed for a query had replication lag higher than the configured threshold. (total)                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionTries.count**(count)                                   | Total count of distributed connection attempts. (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionTries.total**(gauge)                                   | Total count of distributed connection attempts. (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedConnectionUsable.count**(count)                                  | Total count of successful distributed connections to a usable server (with required table, but maybe stale). (count)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistributedConnectionUsable.total**(gauge)                                  | Total count of successful distributed connections to a usable server (with required table, but maybe stale). (total)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.DistributedDelayedInserts.count**(count)                                    | Number of times the INSERT of a block to a Distributed table was throttled due to high number of pending bytes. (count)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedDelayedInserts.total**(gauge)                                    | Number of times the INSERT of a block to a Distributed table was throttled due to high number of pending bytes. (total)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.DistributedDelayedInsertsMilliseconds**(gauge)                              | Total number of milliseconds spent while the INSERT of a block to a Distributed table was throttled due to high number of pending bytes.*Shown as millisecond*                                                                                                                                                                                                                                                              |
| **clickhouse.events.DistributedRejectedInserts.count**(count)                                   | Number of times the INSERT of a block to a Distributed table was rejected with 'Too many bytes' exception due to high number of pending bytes. (count)                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistributedRejectedInserts.total**(gauge)                                   | Number of times the INSERT of a block to a Distributed table was rejected with 'Too many bytes' exception due to high number of pending bytes. (total)                                                                                                                                                                                                                                                                      |
| **clickhouse.events.DistributedSyncInsertionTimeoutExceeded.count**(count)                      | A timeout has exceeded while waiting for shards during synchronous insertion into a Distributed table (with 'distributed_foreground_insert' = 1) (count)                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DistributedSyncInsertionTimeoutExceeded.total**(gauge)                      | A timeout has exceeded while waiting for shards during synchronous insertion into a Distributed table (with 'distributed_foreground_insert' = 1) (total)                                                                                                                                                                                                                                                                    |
| **clickhouse.events.DuplicatedInsertedBlocks.count**(count)                                     | Number of times the INSERTed block to a ReplicatedMergeTree table was deduplicated. (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.DuplicatedInsertedBlocks.total**(gauge)                                     | Number of times the INSERTed block to a ReplicatedMergeTree table was deduplicated. (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.EngineFileLikeReadFiles.count**(count)                                      | Number of files read in table engines working with files (like File/S3/URL/HDFS). (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.EngineFileLikeReadFiles.total**(gauge)                                      | Number of files read in table engines working with files (like File/S3/URL/HDFS). (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ExecuteShellCommand.count**(count)                                          | Number of shell command executions. (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ExecuteShellCommand.total**(gauge)                                          | Number of shell command executions. (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ExternalAggregationCompressedBytes.count**(count)                           | Number of bytes written to disk for aggregation in external memory. (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ExternalAggregationCompressedBytes.total**(gauge)                           | Number of bytes written to disk for aggregation in external memory. (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ExternalAggregationMerge.count**(count)                                     | Number of times temporary files were merged for aggregation in external memory. (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ExternalAggregationMerge.total**(gauge)                                     | Number of times temporary files were merged for aggregation in external memory. (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ExternalAggregationUncompressedBytes.count**(count)                         | Amount of data (uncompressed, before compression) written to disk for aggregation in external memory. (count)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ExternalAggregationUncompressedBytes.total**(gauge)                         | Amount of data (uncompressed, before compression) written to disk for aggregation in external memory. (total)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ExternalAggregationWritePart.count**(count)                                 | Number of times a temporary file was written to disk for aggregation in external memory. (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ExternalAggregationWritePart.total**(gauge)                                 | Number of times a temporary file was written to disk for aggregation in external memory. (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ExternalDataSourceLocalCacheReadBytes.count**(count)                        | Bytes read from local cache buffer in RemoteReadBufferCache (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ExternalDataSourceLocalCacheReadBytes.total**(gauge)                        | Bytes read from local cache buffer in RemoteReadBufferCache (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ExternalJoinCompressedBytes.count**(count)                                  | Number of compressed bytes written for JOIN in external memory. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ExternalJoinCompressedBytes.total**(gauge)                                  | Number of compressed bytes written for JOIN in external memory. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ExternalJoinMerge.count**(count)                                            | Number of times temporary files were merged for JOIN in external memory. (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ExternalJoinMerge.total**(gauge)                                            | Number of times temporary files were merged for JOIN in external memory. (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ExternalJoinUncompressedBytes.count**(count)                                | Amount of data (uncompressed, before compression) written for JOIN in external memory. (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ExternalJoinUncompressedBytes.total**(gauge)                                | Amount of data (uncompressed, before compression) written for JOIN in external memory. (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ExternalJoinWritePart.count**(count)                                        | Number of times a temporary file was written to disk for JOIN in external memory. (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ExternalJoinWritePart.total**(gauge)                                        | Number of times a temporary file was written to disk for JOIN in external memory. (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ExternalProcessingCompressedBytesTotal.count**(count)                       | Number of compressed bytes written by external processing (sorting/aggragating/joining) (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ExternalProcessingCompressedBytesTotal.total**(gauge)                       | Number of compressed bytes written by external processing (sorting/aggragating/joining) (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ExternalProcessingFilesTotal.count**(count)                                 | Number of files used by external processing (sorting/aggragating/joining) (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ExternalProcessingFilesTotal.total**(gauge)                                 | Number of files used by external processing (sorting/aggragating/joining) (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ExternalProcessingUncompressedBytesTotal.count**(count)                     | Amount of data (uncompressed, before compression) written by external processing (sorting/aggragating/joining) (count)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ExternalProcessingUncompressedBytesTotal.total**(gauge)                     | Amount of data (uncompressed, before compression) written by external processing (sorting/aggragating/joining) (total)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ExternalSortCompressedBytes.count**(count)                                  | Number of compressed bytes written for sorting in external memory. (count)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ExternalSortCompressedBytes.total**(gauge)                                  | Number of compressed bytes written for sorting in external memory. (total)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ExternalSortMerge.count**(count)                                            | Number of times temporary files were merged for sorting in external memory. (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ExternalSortMerge.total**(gauge)                                            | Number of times temporary files were merged for sorting in external memory. (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ExternalSortUncompressedBytes.count**(count)                                | Amount of data (uncompressed, before compression) written for sorting in external memory. (count)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ExternalSortUncompressedBytes.total**(gauge)                                | Amount of data (uncompressed, before compression) written for sorting in external memory. (total)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ExternalSortWritePart.count**(count)                                        | Number of times a temporary file was written to disk for sorting in external memory. (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ExternalSortWritePart.total**(gauge)                                        | Number of times a temporary file was written to disk for sorting in external memory. (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FailedAsyncInsertQuery.count**(count)                                       | Number of failed ASYNC INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.FailedAsyncInsertQuery.total**(gauge)                                       | Number of failed ASYNC INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.FailedInsertQuery.count**(count)                                            | Same as FailedQuery, but only for INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FailedInsertQuery.total**(gauge)                                            | Same as FailedQuery, but only for INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FailedQuery.count**(count)                                                  | Number of failed queries. (count)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FailedQuery.total**(gauge)                                                  | Number of failed queries. (total)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FailedSelectQuery.count**(count)                                            | Same as FailedQuery, but only for SELECT queries. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FailedSelectQuery.total**(gauge)                                            | Same as FailedQuery, but only for SELECT queries. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FetchBackgroundExecutorTaskCancelMicroseconds**(gauge)                      | Time spent in cancel() for Fetch executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FetchBackgroundExecutorTaskExecuteStepMicroseconds**(gauge)                 | Time spent in executeStep() for Fetch executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FetchBackgroundExecutorTaskResetMicroseconds**(gauge)                       | Time spent resetting task for Fetch executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.FetchBackgroundExecutorWaitMicroseconds**(gauge)                            | Time spent waiting for completion in Fetch executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.FileOpen.count**(count)                                                     | Number of files opened. (count)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.FileOpen.total**(gauge)                                                     | Number of files opened. (total)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.FileSegmentCacheWriteMicroseconds**(gauge)                                  | Metric per file segment. Time spend writing data to cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.FileSegmentCompleteMicroseconds**(gauge)                                    | Duration of FileSegment::complete() in filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FileSegmentFailToIncreasePriority.count**(count)                            | Number of times the priority was not increased due to a high contention on the cache lock (count)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FileSegmentFailToIncreasePriority.total**(gauge)                            | Number of times the priority was not increased due to a high contention on the cache lock (total)                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FileSegmentHolderCompleteMicroseconds**(gauge)                              | File segments holder complete() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.FileSegmentLockMicroseconds**(gauge)                                        | Lock file segment time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FileSegmentPredownloadMicroseconds**(gauge)                                 | Metric per file segment. Time spent pre-downloading data to cache (pre-downloading - finishing file segment download (after someone who failed to do that) up to the point current thread was requested to do)*Shown as microsecond*                                                                                                                                                                                        |
| **clickhouse.events.FileSegmentReadMicroseconds**(gauge)                                        | Metric per file segment. Time spend reading from file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FileSegmentRemoveMicroseconds**(gauge)                                      | File segment remove() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FileSegmentUseMicroseconds**(gauge)                                         | File segment use() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FileSegmentUsedBytes.count**(count)                                         | Metric per file segment. How many bytes were actually used from current file segment (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FileSegmentUsedBytes.total**(gauge)                                         | Metric per file segment. How many bytes were actually used from current file segment (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FileSegmentWaitMicroseconds**(gauge)                                        | Wait on DOWNLOADING state*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.FileSegmentWaitReadBufferMicroseconds**(gauge)                              | Metric per file segment. Time spend waiting for internal read buffer (includes cache waiting)*Shown as microsecond*                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.FileSegmentWriteMicroseconds**(gauge)                                       | File segment write() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.FileSync.count**(count)                                                     | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files. (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FileSync.total**(gauge)                                                     | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files. (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FileSyncElapsedMicroseconds**(gauge)                                        | Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for files.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FilesystemCacheBackgroundDownloadQueuePush.count**(count)                   | Number of file segments sent for background download in filesystem cache (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheBackgroundDownloadQueuePush.total**(gauge)                   | Number of file segments sent for background download in filesystem cache (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheBackgroundEvictedBytes.count**(count)                        | Number of bytes evicted by background thread (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.FilesystemCacheBackgroundEvictedBytes.total**(gauge)                        | Number of bytes evicted by background thread (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.FilesystemCacheBackgroundEvictedFileSegments.count**(count)                 | Number of file segments evicted by background thread (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FilesystemCacheBackgroundEvictedFileSegments.total**(gauge)                 | Number of file segments evicted by background thread (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FilesystemCacheCreatedKeyDirectories.count**(count)                         | Number of created key directories (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheCreatedKeyDirectories.total**(gauge)                         | Number of created key directories (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheEvictMicroseconds**(gauge)                                   | Filesystem cache eviction time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.FilesystemCacheEvictedBytes.count**(count)                                  | Number of bytes evicted from filesystem cache (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.FilesystemCacheEvictedBytes.total**(gauge)                                  | Number of bytes evicted from filesystem cache (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.FilesystemCacheEvictedFileSegments.count**(count)                           | Number of file segments evicted from filesystem cache (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheEvictedFileSegments.total**(gauge)                           | Number of file segments evicted from filesystem cache (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheEvictedFileSegmentsDuringPriorityIncrease.count**(count)     | Number of file segments evicted from filesystem cache when increasing priority of file segments (Applies to SLRU cache policy) (count)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FilesystemCacheEvictedFileSegmentsDuringPriorityIncrease.total**(gauge)     | Number of file segments evicted from filesystem cache when increasing priority of file segments (Applies to SLRU cache policy) (total)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FilesystemCacheEvictionReusedIterator.count**(count)                        | Number of filesystem cache iterator reusing (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.FilesystemCacheEvictionReusedIterator.total**(gauge)                        | Number of filesystem cache iterator reusing (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.FilesystemCacheEvictionSkippedEvictingFileSegments.count**(count)           | Number of file segments skipped for eviction because of being in evicting state (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.FilesystemCacheEvictionSkippedEvictingFileSegments.total**(gauge)           | Number of file segments skipped for eviction because of being in evicting state (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.FilesystemCacheEvictionSkippedFileSegments.count**(count)                   | Number of file segments skipped for eviction because of being in unreleasable state (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FilesystemCacheEvictionSkippedFileSegments.total**(gauge)                   | Number of file segments skipped for eviction because of being in unreleasable state (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FilesystemCacheEvictionTries.count**(count)                                 | Number of filesystem cache eviction attempts (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.FilesystemCacheEvictionTries.total**(gauge)                                 | Number of filesystem cache eviction attempts (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.FilesystemCacheFailToReserveSpaceBecauseOfCacheResize.count**(count)        | Number of times space reservation was skipped due to the cache is being resized (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.FilesystemCacheFailToReserveSpaceBecauseOfCacheResize.total**(gauge)        | Number of times space reservation was skipped due to the cache is being resized (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.FilesystemCacheFailToReserveSpaceBecauseOfLockContention.count**(count)     | Number of times space reservation was skipped due to a high contention on the cache lock (count)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheFailToReserveSpaceBecauseOfLockContention.total**(gauge)     | Number of times space reservation was skipped due to a high contention on the cache lock (total)                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheFailedEvictionCandidates.count**(count)                      | Number of file segments which unexpectedly failed to be evicted during dynamic filesystem cache eviction (count)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheFailedEvictionCandidates.total**(gauge)                      | Number of file segments which unexpectedly failed to be evicted during dynamic filesystem cache eviction (total)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheFreeSpaceKeepingThreadRun.count**(count)                     | Number of times background thread executed free space keeping job (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheFreeSpaceKeepingThreadRun.total**(gauge)                     | Number of times background thread executed free space keeping job (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheFreeSpaceKeepingThreadWorkMilliseconds**(gauge)              | Time for which background thread executed free space keeping job*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FilesystemCacheGetMicroseconds**(gauge)                                     | Filesystem cache get() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FilesystemCacheGetOrSetMicroseconds**(gauge)                                | Filesystem cache getOrSet() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.FilesystemCacheHoldFileSegments.count**(count)                              | Filesystem cache file segments count, which were hold (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheHoldFileSegments.total**(gauge)                              | Filesystem cache file segments count, which were hold (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheLoadMetadataMicroseconds**(gauge)                            | Time spent loading filesystem cache metadata*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.FilesystemCacheLockCacheMicroseconds**(gauge)                               | Lock filesystem cache time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.FilesystemCacheLockKeyMicroseconds**(gauge)                                 | Lock cache key time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheLockMetadataMicroseconds**(gauge)                            | Lock filesystem cache metadata time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.FilesystemCacheReserveAttempts.count**(count)                               | Filesystem cache space reservation attempt (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.FilesystemCacheReserveAttempts.total**(gauge)                               | Filesystem cache space reservation attempt (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.FilesystemCacheReserveMicroseconds**(gauge)                                 | Filesystem cache space reservation time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheUnusedHoldFileSegments.count**(count)                        | Filesystem cache file segments count, which were hold, but not used (because of seek or LIMIT n, etc) (count)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilesystemCacheUnusedHoldFileSegments.total**(gauge)                        | Filesystem cache file segments count, which were hold, but not used (because of seek or LIMIT n, etc) (total)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.FilterTransformPassedBytes.count**(count)                                   | Number of bytes that passed the filter in the query (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FilterTransformPassedBytes.total**(gauge)                                   | Number of bytes that passed the filter in the query (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.FilterTransformPassedRows.count**(count)                                    | Number of rows that passed the filter in the query (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.FilterTransformPassedRows.total**(gauge)                                    | Number of rows that passed the filter in the query (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.FilteringMarksWithPrimaryKeyMicroseconds**(gauge)                           | Time spent filtering parts by PK.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.FilteringMarksWithSecondaryKeysMicroseconds**(gauge)                        | Time spent filtering parts by skip indexes.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.FunctionExecute.count**(count)                                              | Number of SQL ordinary function calls (SQL functions are called on per-block basis, so this number represents the number of blocks). (count)                                                                                                                                                                                                                                                                                |
| **clickhouse.events.FunctionExecute.total**(gauge)                                              | Number of SQL ordinary function calls (SQL functions are called on per-block basis, so this number represents the number of blocks). (total)                                                                                                                                                                                                                                                                                |
| **clickhouse.events.GWPAsanAllocateFailed.count**(count)                                        | Number of failed allocations done by GWPAsan (i.e. filled pool) (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.GWPAsanAllocateFailed.total**(gauge)                                        | Number of failed allocations done by GWPAsan (i.e. filled pool) (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.GWPAsanAllocateSuccess.count**(count)                                       | Number of successful allocations done by GWPAsan (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.GWPAsanAllocateSuccess.total**(gauge)                                       | Number of successful allocations done by GWPAsan (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.GWPAsanFree.count**(count)                                                  | Number of free operations done by GWPAsan (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.GWPAsanFree.total**(gauge)                                                  | Number of free operations done by GWPAsan (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.GatheredColumns.count**(count)                                              | Number of columns gathered during the vertical stage of merges. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.GatheredColumns.total**(gauge)                                              | Number of columns gathered during the vertical stage of merges. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.GatheringColumnMilliseconds**(gauge)                                        | Total time spent while gathering columns for vertical merge*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.GlobalThreadPoolExpansions.count**(count)                                   | Counts the total number of times new threads have been added to the global thread pool. This metric indicates the frequency of expansions in the global thread pool to accommodate increased processing demands. (count)                                                                                                                                                                                                    |
| **clickhouse.events.GlobalThreadPoolExpansions.total**(gauge)                                   | Counts the total number of times new threads have been added to the global thread pool. This metric indicates the frequency of expansions in the global thread pool to accommodate increased processing demands. (total)                                                                                                                                                                                                    |
| **clickhouse.events.GlobalThreadPoolJobWaitTimeMicroseconds**(gauge)                            | Measures the elapsed time from when a job is scheduled in the thread pool to when it is picked up for execution by a worker thread. This metric helps identify delays in job processing, indicating the responsiveness of the thread pool to new tasks.*Shown as microsecond*                                                                                                                                               |
| **clickhouse.events.GlobalThreadPoolJobs.count**(count)                                         | Counts the number of jobs that have been pushed to the global thread pool. (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.GlobalThreadPoolJobs.total**(gauge)                                         | Counts the number of jobs that have been pushed to the global thread pool. (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.GlobalThreadPoolLockWaitMicroseconds**(gauge)                               | Total time threads have spent waiting for locks in the global thread pool.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.GlobalThreadPoolShrinks.count**(count)                                      | Counts the total number of times the global thread pool has shrunk by removing threads. This occurs when the number of idle threads exceeds max_thread_pool_free_size, indicating adjustments in the global thread pool size in response to decreased thread utilization. (count)                                                                                                                                           |
| **clickhouse.events.GlobalThreadPoolShrinks.total**(gauge)                                      | Counts the total number of times the global thread pool has shrunk by removing threads. This occurs when the number of idle threads exceeds max_thread_pool_free_size, indicating adjustments in the global thread pool size in response to decreased thread utilization. (total)                                                                                                                                           |
| **clickhouse.events.GlobalThreadPoolThreadCreationMicroseconds**(gauge)                         | Total time spent waiting for new threads to start.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.HTTPConnectionsCreated.count**(count)                                       | Number of created client HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPConnectionsCreated.total**(gauge)                                       | Number of created client HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPConnectionsElapsedMicroseconds**(gauge)                                 | Total time spend on creating client HTTP connections*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.HTTPConnectionsErrors.count**(count)                                        | Number of cases when creation of a client HTTP connection failed (count)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.HTTPConnectionsErrors.total**(gauge)                                        | Number of cases when creation of a client HTTP connection failed (total)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.HTTPConnectionsExpired.count**(count)                                       | Number of expired client HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPConnectionsExpired.total**(gauge)                                       | Number of expired client HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPConnectionsPreserved.count**(count)                                     | Number of preserved client HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.HTTPConnectionsPreserved.total**(gauge)                                     | Number of preserved client HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.HTTPConnectionsReset.count**(count)                                         | Number of reset client HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.HTTPConnectionsReset.total**(gauge)                                         | Number of reset client HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.HTTPConnectionsReused.count**(count)                                        | Number of reused client HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.HTTPConnectionsReused.total**(gauge)                                        | Number of reused client HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.HTTPServerConnectionsClosed.count**(count)                                  | Number of closed server HTTP connections. Keep alive has not been negotiated (count)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.HTTPServerConnectionsClosed.total**(gauge)                                  | Number of closed server HTTP connections. Keep alive has not been negotiated (total)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.HTTPServerConnectionsCreated.count**(count)                                 | Number of created server HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPServerConnectionsCreated.total**(gauge)                                 | Number of created server HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HTTPServerConnectionsExpired.count**(count)                                 | Number of expired server HTTP connections. (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.HTTPServerConnectionsExpired.total**(gauge)                                 | Number of expired server HTTP connections. (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.HTTPServerConnectionsPreserved.count**(count)                               | Number of preserved server HTTP connections. Connection kept alive successfully (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.HTTPServerConnectionsPreserved.total**(gauge)                               | Number of preserved server HTTP connections. Connection kept alive successfully (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.HTTPServerConnectionsReset.count**(count)                                   | Number of reset server HTTP connections. Server closes connection (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.HTTPServerConnectionsReset.total**(gauge)                                   | Number of reset server HTTP connections. Server closes connection (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.HTTPServerConnectionsReused.count**(count)                                  | Number of reused server HTTP connections (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.HTTPServerConnectionsReused.total**(gauge)                                  | Number of reused server HTTP connections (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.HardPageFaults.count**(count)                                               | The number of hard page faults in query execution threads. High values indicate either that you forgot to turn off swap on your server, or eviction of memory pages of the ClickHouse binary during very high memory pressure, or successful usage of the 'mmap' read method for the tables data. (count)                                                                                                                   |
| **clickhouse.events.HardPageFaults.total**(gauge)                                               | The number of hard page faults in query execution threads. High values indicate either that you forgot to turn off swap on your server, or eviction of memory pages of the ClickHouse binary during very high memory pressure, or successful usage of the 'mmap' read method for the tables data. (total)                                                                                                                   |
| **clickhouse.events.HashJoinPreallocatedElementsInHashTables.count**(count)                     | How many elements were preallocated in hash tables for hash join. (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.HashJoinPreallocatedElementsInHashTables.total**(gauge)                     | How many elements were preallocated in hash tables for hash join. (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.HedgedRequestsChangeReplica.count**(count)                                  | Total count when timeout for changing replica expired in hedged requests. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.HedgedRequestsChangeReplica.total**(gauge)                                  | Total count when timeout for changing replica expired in hedged requests. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.IOBufferAllocBytes.count**(count)                                           | Number of bytes allocated for IO buffers (for ReadBuffer/WriteBuffer). (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.IOBufferAllocBytes.total**(gauge)                                           | Number of bytes allocated for IO buffers (for ReadBuffer/WriteBuffer). (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.IOBufferAllocs.count**(count)                                               | Number of allocations of IO buffers (for ReadBuffer/WriteBuffer). (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.IOBufferAllocs.total**(gauge)                                               | Number of allocations of IO buffers (for ReadBuffer/WriteBuffer). (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.IOUringCQEsCompleted.count**(count)                                         | Total number of successfully completed io_uring CQEs (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IOUringCQEsCompleted.total**(gauge)                                         | Total number of successfully completed io_uring CQEs (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IOUringCQEsFailed.count**(count)                                            | Total number of completed io_uring CQEs with failures (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.IOUringCQEsFailed.total**(gauge)                                            | Total number of completed io_uring CQEs with failures (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.IOUringSQEsResubmitsAsync.count**(count)                                    | Total number of asynchronous io_uring SQE resubmits performed (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IOUringSQEsResubmitsAsync.total**(gauge)                                    | Total number of asynchronous io_uring SQE resubmits performed (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IOUringSQEsResubmitsSync.count**(count)                                     | Total number of synchronous io_uring SQE resubmits performed (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.IOUringSQEsResubmitsSync.total**(gauge)                                     | Total number of synchronous io_uring SQE resubmits performed (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.IOUringSQEsSubmitted.count**(count)                                         | Total number of io_uring SQEs submitted (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.IOUringSQEsSubmitted.total**(gauge)                                         | Total number of io_uring SQEs submitted (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.IcebergIteratorInitializationMicroseconds**(gauge)                          | Total time spent on synchronous initialization of iceberg data iterators.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.IcebergMetadataFilesCacheHits.count**(count)                                | Number of times iceberg metadata files have been found in the cache. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IcebergMetadataFilesCacheHits.total**(gauge)                                | Number of times iceberg metadata files have been found in the cache. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IcebergMetadataFilesCacheMisses.count**(count)                              | Number of times iceberg metadata files have not been found in the iceberg metadata cache and had to be read from (remote) disk. (count)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.IcebergMetadataFilesCacheMisses.total**(gauge)                              | Number of times iceberg metadata files have not been found in the iceberg metadata cache and had to be read from (remote) disk. (total)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.IcebergMetadataFilesCacheWeightLost.count**(count)                          | Approximate number of bytes evicted from the iceberg metadata cache. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IcebergMetadataFilesCacheWeightLost.total**(gauge)                          | Approximate number of bytes evicted from the iceberg metadata cache. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.IcebergMetadataReadWaitTimeMicroseconds**(gauge)                            | Total time data readers spend waiting for iceberg metadata files to be read and parsed, summed across all reader threads.*Shown as microsecond*                                                                                                                                                                                                                                                                             |
| **clickhouse.events.IcebergMetadataReturnedObjectInfos.count**(count)                           | Total number of returned object infos from iceberg iterator. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.IcebergMetadataReturnedObjectInfos.total**(gauge)                           | Total number of returned object infos from iceberg iterator. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.IcebergMetadataUpdateMicroseconds**(gauge)                                  | Total time spent on synchronous initialization of iceberg data iterators.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.IcebergMinMaxIndexPrunedFiles.count**(count)                                | Number of skipped files by using MinMax index in Iceberg (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergMinMaxIndexPrunedFiles.total**(gauge)                                | Number of skipped files by using MinMax index in Iceberg (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergPartitionPrunedFiles.count**(count)                                  | Number of skipped files during Iceberg partition pruning (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergPartitionPrunedFiles.total**(gauge)                                  | Number of skipped files during Iceberg partition pruning (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergPartitionPrunnedFiles.count**(count)                                 | Number of skipped files during Iceberg partition pruning (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergPartitionPrunnedFiles.total**(gauge)                                 | Number of skipped files during Iceberg partition pruning (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IcebergTrivialCountOptimizationApplied.count**(count)                       | Trivial count optimization applied while reading from Iceberg (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IcebergTrivialCountOptimizationApplied.total**(gauge)                       | Trivial count optimization applied while reading from Iceberg (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IcebergVersionHintUsed.count**(count)                                       | Number of times version-hint.text has been used. (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.IcebergVersionHintUsed.total**(gauge)                                       | Number of times version-hint.text has been used. (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.IgnoredColdParts.count**(count)                                             | See setting ignore_cold_parts_seconds. Number of times read queries ignored very new parts that weren't pulled into cache by CacheWarmer yet. (count)                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IgnoredColdParts.total**(gauge)                                             | See setting ignore_cold_parts_seconds. Number of times read queries ignored very new parts that weren't pulled into cache by CacheWarmer yet. (total)                                                                                                                                                                                                                                                                       |
| **clickhouse.events.IndexBinarySearchAlgorithm.count**(count)                                   | Number of times the binary search algorithm is used over the index marks (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IndexBinarySearchAlgorithm.total**(gauge)                                   | Number of times the binary search algorithm is used over the index marks (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.IndexGenericExclusionSearchAlgorithm.count**(count)                         | Number of times the generic exclusion search algorithm is used over the index marks (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.IndexGenericExclusionSearchAlgorithm.total**(gauge)                         | Number of times the generic exclusion search algorithm is used over the index marks (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.InitialQuery.count**(count)                                                 | Same as Query, but only counts initial queries (see is_initial_query). (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InitialQuery.total**(gauge)                                                 | Same as Query, but only counts initial queries (see is_initial_query). (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InsertQueriesWithSubqueries.count**(count)                                  | Count INSERT queries with all subqueries (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.InsertQueriesWithSubqueries.total**(gauge)                                  | Count INSERT queries with all subqueries (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.InsertQuery.count**(count)                                                  | Same as Query, but only for INSERT queries. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.InsertQuery.total**(gauge)                                                  | Same as Query, but only for INSERT queries. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.InsertQueryTimeMicroseconds**(gauge)                                        | Total time of INSERT queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.InsertedBytes.count**(count)                                                | Number of bytes (uncompressed; for columns as they stored in memory) INSERTed to all tables. (count)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.InsertedBytes.total**(gauge)                                                | Number of bytes (uncompressed; for columns as they stored in memory) INSERTed to all tables. (total)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.InsertedCompactParts.count**(count)                                         | Number of parts inserted in Compact format. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.InsertedCompactParts.total**(gauge)                                         | Number of parts inserted in Compact format. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.InsertedRows.count**(count)                                                 | Number of rows INSERTed to all tables. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InsertedRows.total**(gauge)                                                 | Number of rows INSERTed to all tables. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InsertedWideParts.count**(count)                                            | Number of parts inserted in Wide format. (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.InsertedWideParts.total**(gauge)                                            | Number of parts inserted in Wide format. (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.InterfaceHTTPReceiveBytes.count**(count)                                    | Number of bytes received through HTTP interfaces (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.InterfaceHTTPReceiveBytes.total**(gauge)                                    | Number of bytes received through HTTP interfaces (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.InterfaceHTTPSendBytes.count**(count)                                       | Number of bytes sent through HTTP interfaces (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.InterfaceHTTPSendBytes.total**(gauge)                                       | Number of bytes sent through HTTP interfaces (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.InterfaceInterserverReceiveBytes.count**(count)                             | Number of bytes received through interserver interfaces (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.InterfaceInterserverReceiveBytes.total**(gauge)                             | Number of bytes received through interserver interfaces (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.InterfaceInterserverSendBytes.count**(count)                                | Number of bytes sent through interserver interfaces (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.InterfaceInterserverSendBytes.total**(gauge)                                | Number of bytes sent through interserver interfaces (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.InterfaceMySQLReceiveBytes.count**(count)                                   | Number of bytes received through MySQL interfaces (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.InterfaceMySQLReceiveBytes.total**(gauge)                                   | Number of bytes received through MySQL interfaces (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.InterfaceMySQLSendBytes.count**(count)                                      | Number of bytes sent through MySQL interfaces (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.InterfaceMySQLSendBytes.total**(gauge)                                      | Number of bytes sent through MySQL interfaces (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.InterfaceNativeReceiveBytes.count**(count)                                  | Number of bytes received through native interfaces (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.InterfaceNativeReceiveBytes.total**(gauge)                                  | Number of bytes received through native interfaces (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.InterfaceNativeSendBytes.count**(count)                                     | Number of bytes sent through native interfaces (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.InterfaceNativeSendBytes.total**(gauge)                                     | Number of bytes sent through native interfaces (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.InterfacePostgreSQLReceiveBytes.count**(count)                              | Number of bytes received through PostgreSQL interfaces (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InterfacePostgreSQLReceiveBytes.total**(gauge)                              | Number of bytes received through PostgreSQL interfaces (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InterfacePostgreSQLSendBytes.count**(count)                                 | Number of bytes sent through PostgreSQL interfaces (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.InterfacePostgreSQLSendBytes.total**(gauge)                                 | Number of bytes sent through PostgreSQL interfaces (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.InterfacePrometheusReceiveBytes.count**(count)                              | Number of bytes received through Prometheus interfaces (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InterfacePrometheusReceiveBytes.total**(gauge)                              | Number of bytes received through Prometheus interfaces (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.InterfacePrometheusSendBytes.count**(count)                                 | Number of bytes sent through Prometheus interfaces (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.InterfacePrometheusSendBytes.total**(gauge)                                 | Number of bytes sent through Prometheus interfaces (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.JoinBuildTableRowCount.count**(count)                                       | Total number of rows in the build table for a JOIN operation. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.JoinBuildTableRowCount.total**(gauge)                                       | Total number of rows in the build table for a JOIN operation. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.JoinProbeTableRowCount.count**(count)                                       | Total number of rows in the probe table for a JOIN operation. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.JoinProbeTableRowCount.total**(gauge)                                       | Total number of rows in the probe table for a JOIN operation. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.JoinResultRowCount.count**(count)                                           | Total number of rows in the result of a JOIN operation. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.JoinResultRowCount.total**(gauge)                                           | Total number of rows in the result of a JOIN operation. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KafkaBackgroundReads.count**(count)                                         | Number of background reads populating materialized views from Kafka since server start (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KafkaBackgroundReads.total**(gauge)                                         | Number of background reads populating materialized views from Kafka since server start (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KafkaCommitFailures.count**(count)                                          | Number of failed commits of consumed offsets to Kafka (usually is a sign of some data duplication) (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.KafkaCommitFailures.total**(gauge)                                          | Number of failed commits of consumed offsets to Kafka (usually is a sign of some data duplication) (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.KafkaCommits.count**(count)                                                 | Number of successful commits of consumed offsets to Kafka (normally should be the same as KafkaBackgroundReads) (count)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.KafkaCommits.total**(gauge)                                                 | Number of successful commits of consumed offsets to Kafka (normally should be the same as KafkaBackgroundReads) (total)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.KafkaConsumerErrors.count**(count)                                          | Number of errors reported by librdkafka during polls (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.KafkaConsumerErrors.total**(gauge)                                          | Number of errors reported by librdkafka during polls (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.KafkaDirectReads.count**(count)                                             | Number of direct selects from Kafka tables since server start (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaDirectReads.total**(gauge)                                             | Number of direct selects from Kafka tables since server start (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaMessagesFailed.count**(count)                                          | Number of Kafka messages ClickHouse failed to parse (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.KafkaMessagesFailed.total**(gauge)                                          | Number of Kafka messages ClickHouse failed to parse (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.KafkaMessagesPolled.count**(count)                                          | Number of Kafka messages polled from librdkafka to ClickHouse (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaMessagesPolled.total**(gauge)                                          | Number of Kafka messages polled from librdkafka to ClickHouse (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaMessagesProduced.count**(count)                                        | Number of messages produced to Kafka (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.KafkaMessagesProduced.total**(gauge)                                        | Number of messages produced to Kafka (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.KafkaMessagesRead.count**(count)                                            | Number of Kafka messages already processed by ClickHouse (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KafkaMessagesRead.total**(gauge)                                            | Number of Kafka messages already processed by ClickHouse (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KafkaProducerErrors.count**(count)                                          | Number of errors during producing the messages to Kafka (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KafkaProducerErrors.total**(gauge)                                          | Number of errors during producing the messages to Kafka (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KafkaProducerFlushes.count**(count)                                         | Number of explicit flushes to Kafka producer (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.KafkaProducerFlushes.total**(gauge)                                         | Number of explicit flushes to Kafka producer (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.KafkaRebalanceAssignments.count**(count)                                    | Number of partition assignments (the final stage of consumer group rebalance) (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaRebalanceAssignments.total**(gauge)                                    | Number of partition assignments (the final stage of consumer group rebalance) (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaRebalanceErrors.count**(count)                                         | Number of failed consumer group rebalances (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.KafkaRebalanceErrors.total**(gauge)                                         | Number of failed consumer group rebalances (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.KafkaRebalanceRevocations.count**(count)                                    | Number of partition revocations (the first stage of consumer group rebalance) (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaRebalanceRevocations.total**(gauge)                                    | Number of partition revocations (the first stage of consumer group rebalance) (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KafkaRowsRead.count**(count)                                                | Number of rows parsed from Kafka messages (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KafkaRowsRead.total**(gauge)                                                | Number of rows parsed from Kafka messages (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KafkaRowsRejected.count**(count)                                            | Number of parsed rows which were later rejected (due to rebalances / errors or similar reasons). Those rows will be consumed again after the rebalance. (count)                                                                                                                                                                                                                                                             |
| **clickhouse.events.KafkaRowsRejected.total**(gauge)                                            | Number of parsed rows which were later rejected (due to rebalances / errors or similar reasons). Those rows will be consumed again after the rebalance. (total)                                                                                                                                                                                                                                                             |
| **clickhouse.events.KafkaRowsWritten.count**(count)                                             | Number of rows inserted into Kafka tables (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KafkaRowsWritten.total**(gauge)                                             | Number of rows inserted into Kafka tables (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KafkaWrites.count**(count)                                                  | Number of writes (inserts) to Kafka tables (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.KafkaWrites.total**(gauge)                                                  | Number of writes (inserts) to Kafka tables (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.KeeperBatchMaxCount.count**(count)                                          | Number of times the size of batch was limited by the amount (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperBatchMaxCount.total**(gauge)                                          | Number of times the size of batch was limited by the amount (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperBatchMaxTotalSize.count**(count)                                      | Number of times the size of batch was limited by the total bytes size (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.KeeperBatchMaxTotalSize.total**(gauge)                                      | Number of times the size of batch was limited by the total bytes size (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.KeeperCheckRequest.count**(count)                                           | Number of check requests (count)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperCheckRequest.total**(gauge)                                           | Number of check requests (total)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperCommitWaitElapsedMicroseconds**(gauge)                                | Time spent waiting for certain log to be committed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.KeeperCommits.count**(count)                                                | Number of successful commits (count)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.KeeperCommits.total**(gauge)                                                | Number of successful commits (total)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.KeeperCommitsFailed.count**(count)                                          | Number of failed commits (count)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperCommitsFailed.total**(gauge)                                          | Number of failed commits (total)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperCreateRequest.count**(count)                                          | Number of create requests (count)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperCreateRequest.total**(gauge)                                          | Number of create requests (total)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperExistsRequest.count**(count)                                          | Number of exists requests (count)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperExistsRequest.total**(gauge)                                          | Number of exists requests (total)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperGetRequest.count**(count)                                             | Number of get requests (count)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperGetRequest.total**(gauge)                                             | Number of get requests (total)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperLatency**(gauge)                                                      | Keeper latency*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.KeeperListRequest.count**(count)                                            | Number of list requests (count)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KeeperListRequest.total**(gauge)                                            | Number of list requests (total)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KeeperLogsEntryReadFromCommitCache.count**(count)                           | Number of log entries in Keeper being read from commit logs cache (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperLogsEntryReadFromCommitCache.total**(gauge)                           | Number of log entries in Keeper being read from commit logs cache (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperLogsEntryReadFromFile.count**(count)                                  | Number of log entries in Keeper being read directly from the changelog file (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperLogsEntryReadFromFile.total**(gauge)                                  | Number of log entries in Keeper being read directly from the changelog file (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperLogsEntryReadFromLatestCache.count**(count)                           | Number of log entries in Keeper being read from latest logs cache (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperLogsEntryReadFromLatestCache.total**(gauge)                           | Number of log entries in Keeper being read from latest logs cache (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperLogsPrefetchedEntries.count**(count)                                  | Number of log entries in Keeper being prefetched from the changelog file (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperLogsPrefetchedEntries.total**(gauge)                                  | Number of log entries in Keeper being prefetched from the changelog file (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperMultiReadRequest.count**(count)                                       | Number of multi read requests (count)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperMultiReadRequest.total**(gauge)                                       | Number of multi read requests (total)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperMultiRequest.count**(count)                                           | Number of multi requests (count)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperMultiRequest.total**(gauge)                                           | Number of multi requests (total)                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperPacketsReceived.count**(count)                                        | Packets received by keeper server (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperPacketsReceived.total**(gauge)                                        | Packets received by keeper server (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.KeeperPacketsSent.count**(count)                                            | Packets sent by keeper server (count)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperPacketsSent.total**(gauge)                                            | Packets sent by keeper server (total)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperPreprocessElapsedMicroseconds**(gauge)                                | Keeper preprocessing latency for a single reuquest*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.KeeperProcessElapsedMicroseconds**(gauge)                                   | Keeper commit latency for a single request*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.KeeperReadSnapshot.count**(count)                                           | Number of snapshot read(serialization) (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperReadSnapshot.total**(gauge)                                           | Number of snapshot read(serialization) (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperReconfigRequest.count**(count)                                        | Number of reconfig requests (count)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperReconfigRequest.total**(gauge)                                        | Number of reconfig requests (total)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperRemoveRequest.count**(count)                                          | Number of remove requests (count)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperRemoveRequest.total**(gauge)                                          | Number of remove requests (total)                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperRequestRejectedDueToSoftMemoryLimitCount.count**(count)               | Number requests that have been rejected due to soft memory limit exceeded (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperRequestRejectedDueToSoftMemoryLimitCount.total**(gauge)               | Number requests that have been rejected due to soft memory limit exceeded (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.KeeperRequestTotal.count**(count)                                           | Total requests number on keeper server (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperRequestTotal.total**(gauge)                                           | Total requests number on keeper server (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperSaveSnapshot.count**(count)                                           | Number of snapshot save (count)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KeeperSaveSnapshot.total**(gauge)                                           | Number of snapshot save (total)                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.KeeperSetRequest.count**(count)                                             | Number of set requests (count)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperSetRequest.total**(gauge)                                             | Number of set requests (total)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.KeeperSnapshotApplys.count**(count)                                         | Number of snapshot applying (count)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperSnapshotApplys.total**(gauge)                                         | Number of snapshot applying (total)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.KeeperSnapshotApplysFailed.count**(count)                                   | Number of failed snapshot applying (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.KeeperSnapshotApplysFailed.total**(gauge)                                   | Number of failed snapshot applying (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.KeeperSnapshotCreations.count**(count)                                      | Number of snapshots creations (count)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperSnapshotCreations.total**(gauge)                                      | Number of snapshots creations (total)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.KeeperSnapshotCreationsFailed.count**(count)                                | Number of failed snapshot creations (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.KeeperSnapshotCreationsFailed.total**(gauge)                                | Number of failed snapshot creations (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.KeeperStorageLockWaitMicroseconds**(gauge)                                  | Time spent waiting for acquiring Keeper storage lock*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.KeeperTotalElapsedMicroseconds**(gauge)                                     | Keeper total latency for a single request*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LoadedDataParts.count**(count)                                              | Number of data parts loaded by MergeTree tables during initialization. (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LoadedDataParts.total**(gauge)                                              | Number of data parts loaded by MergeTree tables during initialization. (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LoadedDataPartsMicroseconds**(gauge)                                        | Microseconds spent by MergeTree tables for loading data parts during initialization.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.LoadedMarksCount.count**(count)                                             | Number of marks loaded (total across columns). (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.LoadedMarksCount.total**(gauge)                                             | Number of marks loaded (total across columns). (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.LoadedMarksFiles.count**(count)                                             | Number of mark files loaded. (count)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.LoadedMarksFiles.total**(gauge)                                             | Number of mark files loaded. (total)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.LoadedMarksMemoryBytes.count**(count)                                       | Size of in-memory representations of loaded marks. (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.LoadedMarksMemoryBytes.total**(gauge)                                       | Size of in-memory representations of loaded marks. (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.LoadedPrimaryIndexBytes.count**(count)                                      | Number of rows of primary key loaded. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadedPrimaryIndexBytes.total**(gauge)                                      | Number of rows of primary key loaded. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadedPrimaryIndexFiles.count**(count)                                      | Number of primary index files loaded. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadedPrimaryIndexFiles.total**(gauge)                                      | Number of primary index files loaded. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadedPrimaryIndexRows.count**(count)                                       | Number of rows of primary key loaded. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadedPrimaryIndexRows.total**(gauge)                                       | Number of rows of primary key loaded. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LoadingMarksTasksCanceled.count**(count)                                    | Number of times background tasks for loading marks were canceled (count)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.LoadingMarksTasksCanceled.total**(gauge)                                    | Number of times background tasks for loading marks were canceled (total)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.LocalReadThrottlerBytes.count**(count)                                      | Bytes passed through 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.LocalReadThrottlerBytes.total**(gauge)                                      | Bytes passed through 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.LocalReadThrottlerSleepMicroseconds**(gauge)                                | Total time a query was sleeping to conform 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LocalThreadPoolBusyMicroseconds**(gauge)                                    | Total time threads have spent executing the actual work.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LocalThreadPoolExpansions.count**(count)                                    | Counts the total number of times threads have been borrowed from the global thread pool to expand local thread pools. (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LocalThreadPoolExpansions.total**(gauge)                                    | Counts the total number of times threads have been borrowed from the global thread pool to expand local thread pools. (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.LocalThreadPoolJobWaitTimeMicroseconds**(gauge)                             | Measures the elapsed time from when a job is scheduled in the thread pool to when it is picked up for execution by a worker thread. This metric helps identify delays in job processing, indicating the responsiveness of the thread pool to new tasks.*Shown as microsecond*                                                                                                                                               |
| **clickhouse.events.LocalThreadPoolJobs**(gauge)                                                | Counts the number of jobs that have been pushed to the local thread pools.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.LocalThreadPoolLockWaitMicroseconds**(gauge)                                | Total time threads have spent waiting for locks in the local thread pools.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.LocalThreadPoolShrinks.count**(count)                                       | Counts the total number of times threads have been returned to the global thread pool from local thread pools. (count)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.LocalThreadPoolShrinks.total**(gauge)                                       | Counts the total number of times threads have been returned to the global thread pool from local thread pools. (total)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.LocalThreadPoolThreadCreationMicroseconds**(gauge)                          | Total time local thread pools have spent waiting to borrow a thread from the global pool.*Shown as microsecond*                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LocalWriteThrottlerBytes.count**(count)                                     | Bytes passed through 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.LocalWriteThrottlerBytes.total**(gauge)                                     | Bytes passed through 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.LocalWriteThrottlerSleepMicroseconds**(gauge)                               | Total time a query was sleeping to conform 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogDebug.count**(count)                                                     | Number of log messages with level Debug (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogDebug.total**(gauge)                                                     | Number of log messages with level Debug (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogError.count**(count)                                                     | Number of log messages with level Error (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogError.total**(gauge)                                                     | Number of log messages with level Error (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogFatal.count**(count)                                                     | Number of log messages with level Fatal (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogFatal.total**(gauge)                                                     | Number of log messages with level Fatal (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogInfo.count**(count)                                                      | Number of log messages with level Info (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LogInfo.total**(gauge)                                                      | Number of log messages with level Info (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LogTest.count**(count)                                                      | Number of log messages with level Test (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LogTest.total**(gauge)                                                      | Number of log messages with level Test (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.LogTrace.count**(count)                                                     | Number of log messages with level Trace (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogTrace.total**(gauge)                                                     | Number of log messages with level Trace (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.LogWarning.count**(count)                                                   | Number of log messages with level Warning (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.LogWarning.total**(gauge)                                                   | Number of log messages with level Warning (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.LoggerElapsedNanoseconds**(gauge)                                           | Cumulative time spend in logging*Shown as nanosecond*                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MMappedFileCacheHits.count**(count)                                         | Number of times a file has been found in the MMap cache (for the 'mmap' read_method), so we didn't have to mmap it again. (count)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MMappedFileCacheHits.total**(gauge)                                         | Number of times a file has been found in the MMap cache (for the 'mmap' read_method), so we didn't have to mmap it again. (total)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MMappedFileCacheMisses.count**(count)                                       | Number of times a file has not been found in the MMap cache (for the 'mmap' read_method), so we had to mmap it again. (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MMappedFileCacheMisses.total**(gauge)                                       | Number of times a file has not been found in the MMap cache (for the 'mmap' read_method), so we had to mmap it again. (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MainConfigLoads.count**(count)                                              | Number of times the main configuration was reloaded. (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MainConfigLoads.total**(gauge)                                              | Number of times the main configuration was reloaded. (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MarkCacheEvictedBytes.count**(count)                                        | Number of bytes evicted from the mark cache. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MarkCacheEvictedBytes.total**(gauge)                                        | Number of bytes evicted from the mark cache. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MarkCacheEvictedFiles.count**(count)                                        | Number of mark files evicted from the mark cache. (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MarkCacheEvictedFiles.total**(gauge)                                        | Number of mark files evicted from the mark cache. (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MarkCacheEvictedMarks.count**(count)                                        | Number of marks evicted from the mark cache. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MarkCacheEvictedMarks.total**(gauge)                                        | Number of marks evicted from the mark cache. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MarkCacheHits.count**(count)                                                | Number of times an entry has been found in the mark cache, so we didn't have to load a mark file. (count)                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MarkCacheHits.total**(gauge)                                                | Number of times an entry has been found in the mark cache, so we didn't have to load a mark file. (total)                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MarkCacheMisses.count**(count)                                              | Number of times an entry has not been found in the mark cache, so we had to load a mark file in memory, which is a costly operation, adding to query latency. (count)                                                                                                                                                                                                                                                       |
| **clickhouse.events.MarkCacheMisses.total**(gauge)                                              | Number of times an entry has not been found in the mark cache, so we had to load a mark file in memory, which is a costly operation, adding to query latency. (total)                                                                                                                                                                                                                                                       |
| **clickhouse.events.MemoryAllocatorPurge.count**(count)                                         | Total number of times memory allocator purge was requested (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MemoryAllocatorPurge.total**(gauge)                                         | Total number of times memory allocator purge was requested (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MemoryAllocatorPurgeTimeMicroseconds**(gauge)                               | Total time spent for memory allocator purge*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MemoryOvercommitWaitTimeMicroseconds**(gauge)                               | Total time spent in waiting for memory to be freed in OvercommitTracker.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.MemoryWorkerRun.count**(count)                                              | Number of runs done by MemoryWorker in background (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MemoryWorkerRun.total**(gauge)                                              | Number of runs done by MemoryWorker in background (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MemoryWorkerRunElapsedMicroseconds**(gauge)                                 | Total time spent by MemoryWorker for background work*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.Merge.count**(count)                                                        | Number of launched background merges. (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.Merge.total**(gauge)                                                        | Number of launched background merges. (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MergeExecuteMilliseconds**(gauge)                                           | Total busy time spent for execution of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.MergeHorizontalStageExecuteMilliseconds**(gauge)                            | Total busy time spent for execution of horizontal stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MergeHorizontalStageTotalMilliseconds**(gauge)                              | Total time spent for horizontal stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergeMutateBackgroundExecutorTaskCancelMicroseconds**(gauge)                | Time spent in cancel() for MergeMutate executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MergeMutateBackgroundExecutorTaskExecuteStepMicroseconds**(gauge)           | Time spent in executeStep() for MergeMutate executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MergeMutateBackgroundExecutorTaskResetMicroseconds**(gauge)                 | Time spent resetting task for MergeMutate executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergeMutateBackgroundExecutorWaitMicroseconds**(gauge)                      | Time spent waiting for completion in MergeMutate executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergePrewarmStageExecuteMilliseconds**(gauge)                               | Total busy time spent for execution of prewarm stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergePrewarmStageTotalMilliseconds**(gauge)                                 | Total time spent for prewarm stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MergeProjectionStageExecuteMilliseconds**(gauge)                            | Total busy time spent for execution of projection stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MergeProjectionStageTotalMilliseconds**(gauge)                              | Total time spent for projection stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergeSourceParts.count**(count)                                             | Number of source parts scheduled for merges. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeSourceParts.total**(gauge)                                             | Number of source parts scheduled for merges. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTotalMilliseconds**(gauge)                                             | Total time spent for background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MergeTreeAllRangesAnnouncementsSent.count**(count)                          | The number of announcements sent from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side. (count)                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeAllRangesAnnouncementsSent.total**(gauge)                          | The number of announcements sent from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side. (total)                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeAllRangesAnnouncementsSentElapsedMicroseconds**(gauge)             | Time spent in sending the announcement from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                                         |
| **clickhouse.events.MergeTreeDataProjectionWriterBlocks.count**(count)                          | Number of blocks INSERTed to MergeTree tables projection. Each block forms a data part of level zero. (count)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MergeTreeDataProjectionWriterBlocks.total**(gauge)                          | Number of blocks INSERTed to MergeTree tables projection. Each block forms a data part of level zero. (total)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MergeTreeDataProjectionWriterBlocksAlreadySorted.count**(count)             | Number of blocks INSERTed to MergeTree tables projection that appeared to be already sorted. (count)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeDataProjectionWriterBlocksAlreadySorted.total**(gauge)             | Number of blocks INSERTed to MergeTree tables projection that appeared to be already sorted. (total)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeDataProjectionWriterCompressedBytes.count**(count)                 | Bytes written to filesystem for data INSERTed to MergeTree tables projection. (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MergeTreeDataProjectionWriterCompressedBytes.total**(gauge)                 | Bytes written to filesystem for data INSERTed to MergeTree tables projection. (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MergeTreeDataProjectionWriterMergingBlocksMicroseconds**(gauge)             | Time spent merging blocks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeDataProjectionWriterRows.count**(count)                            | Number of rows INSERTed to MergeTree tables projection. (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeDataProjectionWriterRows.total**(gauge)                            | Number of rows INSERTed to MergeTree tables projection. (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeDataProjectionWriterSortingBlocksMicroseconds**(gauge)             | Time spent sorting blocks (for projection it might be a key different from table's sorting key)*Shown as microsecond*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MergeTreeDataProjectionWriterUncompressedBytes.count**(count)               | Uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables projection. (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MergeTreeDataProjectionWriterUncompressedBytes.total**(gauge)               | Uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables projection. (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MergeTreeDataWriterBlocks.count**(count)                                    | Number of blocks INSERTed to MergeTree tables. Each block forms a data part of level zero. (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MergeTreeDataWriterBlocks.total**(gauge)                                    | Number of blocks INSERTed to MergeTree tables. Each block forms a data part of level zero. (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MergeTreeDataWriterBlocksAlreadySorted.count**(count)                       | Number of blocks INSERTed to MergeTree tables that appeared to be already sorted. (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergeTreeDataWriterBlocksAlreadySorted.total**(gauge)                       | Number of blocks INSERTed to MergeTree tables that appeared to be already sorted. (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergeTreeDataWriterCompressedBytes.count**(count)                           | Bytes written to filesystem for data INSERTed to MergeTree tables. (count)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MergeTreeDataWriterCompressedBytes.total**(gauge)                           | Bytes written to filesystem for data INSERTed to MergeTree tables. (total)                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MergeTreeDataWriterMergingBlocksMicroseconds**(gauge)                       | Time spent merging input blocks (for special MergeTree engines)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MergeTreeDataWriterProjectionsCalculationMicroseconds**(gauge)              | Time spent calculating projections*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.MergeTreeDataWriterRows.count**(count)                                      | Number of rows INSERTed to MergeTree tables. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeDataWriterRows.total**(gauge)                                      | Number of rows INSERTed to MergeTree tables. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeDataWriterSkipIndicesCalculationMicroseconds**(gauge)              | Time spent calculating skip indices*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergeTreeDataWriterSortingBlocksMicroseconds**(gauge)                       | Time spent sorting blocks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeDataWriterStatisticsCalculationMicroseconds**(gauge)               | Time spent calculating statistics*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergeTreeDataWriterUncompressedBytes.count**(count)                         | Uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables. (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeDataWriterUncompressedBytes.total**(gauge)                         | Uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables. (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreePrefetchedReadPoolInit**(gauge)                                    | Time spent preparing tasks in MergeTreePrefetchedReadPool*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MergeTreeReadTaskRequestsReceived.count**(count)                            | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the initiator server side. (count)                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeReadTaskRequestsReceived.total**(gauge)                            | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the initiator server side. (total)                                                                                                                                                                                                                                        |
| **clickhouse.events.MergeTreeReadTaskRequestsSent.count**(count)                                | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side. (count)                                                                                                                                                                                                                                           |
| **clickhouse.events.MergeTreeReadTaskRequestsSent.total**(gauge)                                | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side. (total)                                                                                                                                                                                                                                           |
| **clickhouse.events.MergeTreeReadTaskRequestsSentElapsedMicroseconds**(gauge)                   | Time spent in callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                                             |
| **clickhouse.events.MergeVerticalStageExecuteMilliseconds**(gauge)                              | Total busy time spent for execution of vertical stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergeVerticalStageTotalMilliseconds**(gauge)                                | Total time spent for vertical stage of background merges*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.MergedColumns.count**(count)                                                | Number of columns merged during the horizontal stage of merges. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergedColumns.total**(gauge)                                                | Number of columns merged during the horizontal stage of merges. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergedIntoCompactParts.count**(count)                                       | Number of parts merged into Compact format. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MergedIntoCompactParts.total**(gauge)                                       | Number of parts merged into Compact format. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MergedIntoWideParts.count**(count)                                          | Number of parts merged into Wide format. (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergedIntoWideParts.total**(gauge)                                          | Number of parts merged into Wide format. (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.MergedRows.count**(count)                                                   | Rows read for background merges. This is the number of rows before merge. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MergedRows.total**(gauge)                                                   | Rows read for background merges. This is the number of rows before merge. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MergedUncompressedBytes.count**(count)                                      | Uncompressed bytes (for columns as they stored in memory) that was read for background merges. This is the number before merge. (count)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergedUncompressedBytes.total**(gauge)                                      | Uncompressed bytes (for columns as they stored in memory) that was read for background merges. This is the number before merge. (total)                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergerMutatorPartsInRangesForMergeCount.count**(count)                      | Amount of candidate parts for merge (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MergerMutatorPartsInRangesForMergeCount.total**(gauge)                      | Amount of candidate parts for merge (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MergerMutatorPrepareRangesForMergeElapsedMicroseconds**(gauge)              | Time spent to prepare parts ranges which can be merged according to merge predicate.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MergerMutatorRangesForMergeCount.count**(count)                             | Amount of candidate ranges for merge (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MergerMutatorRangesForMergeCount.total**(gauge)                             | Amount of candidate ranges for merge (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MergerMutatorSelectPartsForMergeElapsedMicroseconds**(gauge)                | Time spent to select parts from ranges which can be merged.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MergerMutatorSelectRangePartsCount.count**(count)                           | Amount of parts in selected range for merge (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MergerMutatorSelectRangePartsCount.total**(gauge)                           | Amount of parts in selected range for merge (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MergerMutatorsGetPartsForMergeElapsedMicroseconds**(gauge)                  | Time spent to take data parts snapshot to build ranges from them.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MergesThrottlerBytes.count**(count)                                         | Bytes passed through 'max_merges_bandwidth_for_server' throttler. (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergesThrottlerBytes.total**(gauge)                                         | Bytes passed through 'max_merges_bandwidth_for_server' throttler. (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MergesThrottlerSleepMicroseconds**(gauge)                                   | Total time a query was sleeping to conform 'max_merges_bandwidth_for_server' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.MergingSortedMilliseconds**(gauge)                                          | Total time spent while merging sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupErrors.count**(count)                    | Number of times an error was encountered in background cleanup task (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupErrors.total**(gauge)                    | Number of times an error was encountered in background cleanup task (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupObjects.count**(count)                   | Number of times a old deleted object clean up was performed by background task (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupObjects.total**(gauge)                   | Number of times a old deleted object clean up was performed by background task (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupTransactions.count**(count)              | Number of times old transaction idempotency token was cleaned up by background task (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperBackgroundCleanupTransactions.total**(gauge)              | Number of times old transaction idempotency token was cleaned up by background task (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperCacheHit.count**(count)                                   | Number of times an object storage metadata request was answered from cache without making request to Keeper (count)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MetadataFromKeeperCacheHit.total**(gauge)                                   | Number of times an object storage metadata request was answered from cache without making request to Keeper (total)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.MetadataFromKeeperCacheMiss.count**(count)                                  | Number of times an object storage metadata request had to be answered from Keeper (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MetadataFromKeeperCacheMiss.total**(gauge)                                  | Number of times an object storage metadata request had to be answered from Keeper (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MetadataFromKeeperCacheUpdateMicroseconds**(gauge)                          | Total time spent in updating the cache including waiting for responses from Keeper*Shown as microsecond*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.MetadataFromKeeperCleanupTransactionCommit.count**(count)                   | Number of times metadata transaction commit for deleted objects cleanup was attempted (count)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MetadataFromKeeperCleanupTransactionCommit.total**(gauge)                   | Number of times metadata transaction commit for deleted objects cleanup was attempted (total)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MetadataFromKeeperCleanupTransactionCommitRetry.count**(count)              | Number of times metadata transaction commit for deleted objects cleanup was retried (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperCleanupTransactionCommitRetry.total**(gauge)              | Number of times metadata transaction commit for deleted objects cleanup was retried (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MetadataFromKeeperIndividualOperations.count**(count)                       | Number of paths read or written by single or multi requests to Keeper (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MetadataFromKeeperIndividualOperations.total**(gauge)                       | Number of paths read or written by single or multi requests to Keeper (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MetadataFromKeeperIndividualOperationsMicroseconds**(gauge)                 | Time spend during single or multi requests to Keeper*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MetadataFromKeeperOperations.count**(count)                                 | Number of times a request was made to Keeper (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MetadataFromKeeperOperations.total**(gauge)                                 | Number of times a request was made to Keeper (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.MetadataFromKeeperReconnects.count**(count)                                 | Number of times a reconnect to Keeper was done (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.MetadataFromKeeperReconnects.total**(gauge)                                 | Number of times a reconnect to Keeper was done (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.MetadataFromKeeperTransactionCommit.count**(count)                          | Number of times metadata transaction commit was attempted (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MetadataFromKeeperTransactionCommit.total**(gauge)                          | Number of times metadata transaction commit was attempted (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.MetadataFromKeeperTransactionCommitRetry.count**(count)                     | Number of times metadata transaction commit was retried (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MetadataFromKeeperTransactionCommitRetry.total**(gauge)                     | Number of times metadata transaction commit was retried (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MetadataFromKeeperUpdateCacheOneLevel.count**(count)                        | Number of times a cache update for one level of directory tree was done (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MetadataFromKeeperUpdateCacheOneLevel.total**(gauge)                        | Number of times a cache update for one level of directory tree was done (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.MoveBackgroundExecutorTaskCancelMicroseconds**(gauge)                       | Time spent in cancel() for Move executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MoveBackgroundExecutorTaskExecuteStepMicroseconds**(gauge)                  | Time spent in executeStep() for Move executor tasks.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.MoveBackgroundExecutorTaskResetMicroseconds**(gauge)                        | Time spent resetting task for Move executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MoveBackgroundExecutorWaitMicroseconds**(gauge)                             | Time spent waiting for completion in Move executor.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.MutateTaskProjectionsCalculationMicroseconds**(gauge)                       | Time spent calculating projections in mutations*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutatedRows.count**(count)                                                  | Rows read for mutations. This is the number of rows before mutation (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MutatedRows.total**(gauge)                                                  | Rows read for mutations. This is the number of rows before mutation (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MutatedUncompressedBytes.count**(count)                                     | Uncompressed bytes (for columns as they stored in memory) that was read for mutations. This is the number before mutation. (count)                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MutatedUncompressedBytes.total**(gauge)                                     | Uncompressed bytes (for columns as they stored in memory) that was read for mutations. This is the number before mutation. (total)                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.MutationAffectedRowsUpperBound.count**(count)                               | The upper bound of number of rows that were affected by mutation (e.g. number of rows that satisfy the predicate of UPDATE or DELETE mutation). The actual number may be slightly less (count)                                                                                                                                                                                                                              |
| **clickhouse.events.MutationAffectedRowsUpperBound.total**(gauge)                               | The upper bound of number of rows that were affected by mutation (e.g. number of rows that satisfy the predicate of UPDATE or DELETE mutation). The actual number may be slightly less (total)                                                                                                                                                                                                                              |
| **clickhouse.events.MutationAllPartColumns.count**(count)                                       | Number of times when task to mutate all columns in part was created (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MutationAllPartColumns.total**(gauge)                                       | Number of times when task to mutate all columns in part was created (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MutationCreatedEmptyParts.count**(count)                                    | Number of total parts which were replaced to empty parts instead of running mutation (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationCreatedEmptyParts.total**(gauge)                                    | Number of total parts which were replaced to empty parts instead of running mutation (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationExecuteMilliseconds**(gauge)                                        | Total busy time spent for execution of mutations.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.MutationSomePartColumns.count**(count)                                      | Number of times when task to mutate some columns in part was created (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationSomePartColumns.total**(gauge)                                      | Number of times when task to mutate some columns in part was created (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationTotalMilliseconds**(gauge)                                          | Total time spent for mutations.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutationTotalParts.count**(count)                                           | Number of total parts for which mutations tried to be applied (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutationTotalParts.total**(gauge)                                           | Number of total parts for which mutations tried to be applied (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutationUntouchedParts.count**(count)                                       | Number of total parts for which mutations tried to be applied but which was completely skipped according to predicate (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MutationUntouchedParts.total**(gauge)                                       | Number of total parts for which mutations tried to be applied but which was completely skipped according to predicate (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.MutationsAppliedOnFlyInAllParts**(gauge)                                    | The sum of number of applied mutations on-fly for part among all read parts                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.MutationsAppliedOnFlyInAllReadTasks.count**(count)                          | Total number of applied mutations on-fly among all read tasks (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutationsAppliedOnFlyInAllReadTasks.total**(gauge)                          | Total number of applied mutations on-fly among all read tasks (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.MutationsThrottlerBytes.count**(count)                                      | Bytes passed through 'max_mutations_bandwidth_for_server' throttler. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationsThrottlerBytes.total**(gauge)                                      | Bytes passed through 'max_mutations_bandwidth_for_server' throttler. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.MutationsThrottlerSleepMicroseconds**(gauge)                                | Total time a query was sleeping to conform 'max_mutations_bandwidth_for_server' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.NetworkReceiveBytes.count**(count)                                          | Total number of bytes received from network. Only ClickHouse-related network interaction is included, not by 3rd party libraries. (count)                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.NetworkReceiveBytes.total**(gauge)                                          | Total number of bytes received from network. Only ClickHouse-related network interaction is included, not by 3rd party libraries. (total)                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.NetworkReceiveElapsedMicroseconds**(gauge)                                  | Total time spent waiting for data to receive or receiving data from network. Only ClickHouse-related network interaction is included, not by 3rd party libraries.*Shown as microsecond*                                                                                                                                                                                                                                     |
| **clickhouse.events.NetworkSendBytes.count**(count)                                             | Total number of bytes send to network. Only ClickHouse-related network interaction is included, not by 3rd party libraries. (count)                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.NetworkSendBytes.total**(gauge)                                             | Total number of bytes send to network. Only ClickHouse-related network interaction is included, not by 3rd party libraries. (total)                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.NetworkSendElapsedMicroseconds**(gauge)                                     | Total time spent waiting for data to send to network or sending data to network. Only ClickHouse-related network interaction is included, not by 3rd party libraries.*Shown as microsecond*                                                                                                                                                                                                                                 |
| **clickhouse.events.NotCreatedLogEntryForMerge.count**(count)                                   | Log entry to merge parts in ReplicatedMergeTree is not created due to concurrent log update by another replica. (count)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.NotCreatedLogEntryForMerge.total**(gauge)                                   | Log entry to merge parts in ReplicatedMergeTree is not created due to concurrent log update by another replica. (total)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.NotCreatedLogEntryForMutation.count**(count)                                | Log entry to mutate parts in ReplicatedMergeTree is not created due to concurrent log update by another replica. (count)                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.NotCreatedLogEntryForMutation.total**(gauge)                                | Log entry to mutate parts in ReplicatedMergeTree is not created due to concurrent log update by another replica. (total)                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.OSCPUVirtualTimeMicroseconds**(gauge)                                       | CPU time spent seen by OS. Does not include involuntary waits due to virtualization.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.OSCPUWaitMicroseconds**(gauge)                                              | Total time a thread was ready for execution but waiting to be scheduled by OS, from the OS point of view.*Shown as microsecond*                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.OSIOWaitMicroseconds**(gauge)                                               | Total time a thread spent waiting for a result of IO operation, from the OS point of view. This is real IO that doesn't include page cache.*Shown as microsecond*                                                                                                                                                                                                                                                           |
| **clickhouse.events.OSReadBytes.count**(count)                                                  | Number of bytes read from disks or block devices. Doesn't include bytes read from page cache. May include excessive data due to block size, readahead, etc. (count)                                                                                                                                                                                                                                                         |
| **clickhouse.events.OSReadBytes.total**(gauge)                                                  | Number of bytes read from disks or block devices. Doesn't include bytes read from page cache. May include excessive data due to block size, readahead, etc. (total)                                                                                                                                                                                                                                                         |
| **clickhouse.events.OSReadChars.count**(count)                                                  | Number of bytes read from filesystem, including page cache. (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.OSReadChars.total**(gauge)                                                  | Number of bytes read from filesystem, including page cache. (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.OSWriteBytes.count**(count)                                                 | Number of bytes written to disks or block devices. Doesn't include bytes that are in page cache dirty pages. May not include data that was written by OS asynchronously. (count)                                                                                                                                                                                                                                            |
| **clickhouse.events.OSWriteBytes.total**(gauge)                                                 | Number of bytes written to disks or block devices. Doesn't include bytes that are in page cache dirty pages. May not include data that was written by OS asynchronously. (total)                                                                                                                                                                                                                                            |
| **clickhouse.events.OSWriteChars.count**(count)                                                 | Number of bytes written to filesystem, including page cache. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.OSWriteChars.total**(gauge)                                                 | Number of bytes written to filesystem, including page cache. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ObjectStorageQueueCancelledFiles.count**(count)                             | Number cancelled files in StorageS3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ObjectStorageQueueCancelledFiles.total**(gauge)                             | Number cancelled files in StorageS3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ObjectStorageQueueCleanupMaxSetSizeOrTTLMicroseconds**(gauge)               | Time spent to set file as failed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ObjectStorageQueueCommitRequests.count**(count)                             | Number of keeper requests to commit files as either failed or processed (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ObjectStorageQueueCommitRequests.total**(gauge)                             | Number of keeper requests to commit files as either failed or processed (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ObjectStorageQueueExceptionsDuringInsert.count**(count)                     | Number of exceptions during insert in S3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ObjectStorageQueueExceptionsDuringInsert.total**(gauge)                     | Number of exceptions during insert in S3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ObjectStorageQueueExceptionsDuringRead.count**(count)                       | Number of exceptions during read in S3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ObjectStorageQueueExceptionsDuringRead.total**(gauge)                       | Number of exceptions during read in S3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ObjectStorageQueueFailedFiles.count**(count)                                | Number of files which failed to be processed (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ObjectStorageQueueFailedFiles.total**(gauge)                                | Number of files which failed to be processed (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ObjectStorageQueueFailedToBatchSetProcessing.count**(count)                 | Number of times batched set processing request failed (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ObjectStorageQueueFailedToBatchSetProcessing.total**(gauge)                 | Number of times batched set processing request failed (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ObjectStorageQueueFilteredFiles.count**(count)                              | Number of filtered files in StorageS3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ObjectStorageQueueFilteredFiles.total**(gauge)                              | Number of filtered files in StorageS3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ObjectStorageQueueInsertIterations.count**(count)                           | Number of insert iterations (count)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ObjectStorageQueueInsertIterations.total**(gauge)                           | Number of insert iterations (total)                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ObjectStorageQueueListedFiles.count**(count)                                | Number of listed files in StorageS3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ObjectStorageQueueListedFiles.total**(gauge)                                | Number of listed files in StorageS3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ObjectStorageQueueLockLocalFileStatusesMicroseconds**(gauge)                | Time spent to lock local file statuses*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ObjectStorageQueueProcessedFiles.count**(count)                             | Number of files which were processed (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ObjectStorageQueueProcessedFiles.total**(gauge)                             | Number of files which were processed (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ObjectStorageQueueProcessedRows.count**(count)                              | Number of processed rows in StorageS3(Azure)Queue (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ObjectStorageQueueProcessedRows.total**(gauge)                              | Number of processed rows in StorageS3(Azure)Queue (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ObjectStorageQueuePullMicroseconds**(gauge)                                 | Time spent to read file data*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ObjectStorageQueueReadBytes.count**(count)                                  | Number of read bytes (not equal to the number of actually inserted bytes) (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ObjectStorageQueueReadBytes.total**(gauge)                                  | Number of read bytes (not equal to the number of actually inserted bytes) (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ObjectStorageQueueReadFiles.count**(count)                                  | Number of read files (not equal to the number of actually inserted files) (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ObjectStorageQueueReadFiles.total**(gauge)                                  | Number of read files (not equal to the number of actually inserted files) (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ObjectStorageQueueReadRows.count**(count)                                   | Number of read rows (not equal to the number of actually inserted rows) (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ObjectStorageQueueReadRows.total**(gauge)                                   | Number of read rows (not equal to the number of actually inserted rows) (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ObjectStorageQueueRemovedObjects.count**(count)                             | Number of objects removed as part of after_processing = delete (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ObjectStorageQueueRemovedObjects.total**(gauge)                             | Number of objects removed as part of after_processing = delete (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ObjectStorageQueueSuccessfulCommits.count**(count)                          | Number of successful keeper commits (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ObjectStorageQueueSuccessfulCommits.total**(gauge)                          | Number of successful keeper commits (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingFailed.count**(count)                     | The number of times we unsuccessfully set file as processing (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingFailed.total**(gauge)                     | The number of times we unsuccessfully set file as processing (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingRequests.count**(count)                   | The number of times we tried to make set processing request (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingRequests.total**(gauge)                   | The number of times we tried to make set processing request (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingSucceeded.count**(count)                  | The number of times we successfully set file as processing (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ObjectStorageQueueTrySetProcessingSucceeded.total**(gauge)                  | The number of times we successfully set file as processing (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ObjectStorageQueueUnsuccessfulCommits.count**(count)                        | Number of unsuccessful keeper commits (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ObjectStorageQueueUnsuccessfulCommits.total**(gauge)                        | Number of unsuccessful keeper commits (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ObsoleteReplicatedParts.count**(count)                                      | Number of times a data part was covered by another data part that has been fetched from a replica (so, we have marked a covered data part as obsolete and no longer needed). (count)                                                                                                                                                                                                                                        |
| **clickhouse.events.ObsoleteReplicatedParts.total**(gauge)                                      | Number of times a data part was covered by another data part that has been fetched from a replica (so, we have marked a covered data part as obsolete and no longer needed). (total)                                                                                                                                                                                                                                        |
| **clickhouse.events.OpenedFileCacheHits.count**(count)                                          | Number of times a file has been found in the opened file cache, so we didn't have to open it again. (count)                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.OpenedFileCacheHits.total**(gauge)                                          | Number of times a file has been found in the opened file cache, so we didn't have to open it again. (total)                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.OpenedFileCacheMicroseconds**(gauge)                                        | Amount of time spent executing OpenedFileCache methods.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.OpenedFileCacheMisses.count**(count)                                        | Number of times a file has been found in the opened file cache, so we had to open it again. (count)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.OpenedFileCacheMisses.total**(gauge)                                        | Number of times a file has been found in the opened file cache, so we had to open it again. (total)                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.OtherQueryTimeMicroseconds**(gauge)                                         | Total time of queries that are not SELECT or INSERT.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.OverflowAny.count**(count)                                                  | Number of times approximate GROUP BY was in effect: when aggregation was performed only on top of first 'max_rows_to_group_by' unique keys and other keys were ignored due to 'group_by_overflow_mode' = 'any'. (count)                                                                                                                                                                                                     |
| **clickhouse.events.OverflowAny.total**(gauge)                                                  | Number of times approximate GROUP BY was in effect: when aggregation was performed only on top of first 'max_rows_to_group_by' unique keys and other keys were ignored due to 'group_by_overflow_mode' = 'any'. (total)                                                                                                                                                                                                     |
| **clickhouse.events.OverflowBreak.count**(count)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'break' and the result is incomplete. (count)                                                                                                                                                                                                                                                                |
| **clickhouse.events.OverflowBreak.total**(gauge)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'break' and the result is incomplete. (total)                                                                                                                                                                                                                                                                |
| **clickhouse.events.OverflowThrow.count**(count)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'throw' and exception was thrown. (count)                                                                                                                                                                                                                                                                    |
| **clickhouse.events.OverflowThrow.total**(gauge)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'throw' and exception was thrown. (total)                                                                                                                                                                                                                                                                    |
| **clickhouse.events.PageCacheBytesUnpinnedRoundedToHugePages**(gauge)                           | See PageCacheBytesUnpinnedRoundedToPages, but rounded to huge pages. Use the ratio between the two as a measure of memory waste from using huge pages.                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PageCacheBytesUnpinnedRoundedToPages**(gauge)                               | Total size of populated pages in chunks that became evictable in PageCache. Rounded up to whole pages.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PageCacheChunkDataHits**(gauge)                                             | Number of times a chunk has been found in the userspace page cache, not in use, with all pages intact.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PageCacheChunkDataMisses**(gauge)                                           | Number of times a chunk has been found in the userspace page cache, not in use, but all its pages were evicted by the OS.                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.PageCacheChunkDataPartialHits**(gauge)                                      | Number of times a chunk has been found in the userspace page cache, not in use, but some of its pages were evicted by the OS.                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PageCacheChunkMisses**(gauge)                                               | Number of times a chunk has not been found in the userspace page cache.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PageCacheChunkShared**(gauge)                                               | Number of times a chunk has been found in the userspace page cache, already in use by another thread.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.PageCacheHits.count**(count)                                                | Number of times a block of data has been found in the userspace page cache. (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.PageCacheHits.total**(gauge)                                                | Number of times a block of data has been found in the userspace page cache. (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.PageCacheMisses.count**(count)                                              | Number of times a block of data has not been found in the userspace page cache. (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PageCacheMisses.total**(gauge)                                              | Number of times a block of data has not been found in the userspace page cache. (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PageCacheOvercommitResize.count**(count)                                    | Number of times the userspace page cache was auto-resized to free memory during a memory allocation. (count)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PageCacheOvercommitResize.total**(gauge)                                    | Number of times the userspace page cache was auto-resized to free memory during a memory allocation. (total)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PageCacheReadBytes.count**(count)                                           | Number of bytes read from userspace page cache. (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PageCacheReadBytes.total**(gauge)                                           | Number of bytes read from userspace page cache. (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PageCacheResized.count**(count)                                             | Number of times the userspace page cache was auto-resized (typically happens a few times per second, controlled by memory_worker_period_ms). (count)                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PageCacheResized.total**(gauge)                                             | Number of times the userspace page cache was auto-resized (typically happens a few times per second, controlled by memory_worker_period_ms). (total)                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PageCacheWeightLost.count**(count)                                          | Number of bytes evicted from the userspace page cache (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PageCacheWeightLost.total**(gauge)                                          | Number of bytes evicted from the userspace page cache (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ParallelReplicasAnnouncementMicroseconds**(gauge)                           | Time spent to send an announcement*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ParallelReplicasAvailableCount.count**(count)                               | Number of replicas available to execute a query with task-based parallel replicas (count)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ParallelReplicasAvailableCount.total**(gauge)                               | Number of replicas available to execute a query with task-based parallel replicas (total)                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ParallelReplicasCollectingOwnedSegmentsMicroseconds**(gauge)                | Time spent collecting segments meant by hash*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ParallelReplicasDeniedRequests.count**(count)                               | Number of completely denied requests to the initiator (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ParallelReplicasDeniedRequests.total**(gauge)                               | Number of completely denied requests to the initiator (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ParallelReplicasHandleAnnouncementMicroseconds**(gauge)                     | Time spent processing replicas announcements*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ParallelReplicasHandleRequestMicroseconds**(gauge)                          | Time spent processing requests for marks from replicas*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ParallelReplicasNumRequests.count**(count)                                  | Number of requests to the initiator. (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ParallelReplicasNumRequests.total**(gauge)                                  | Number of requests to the initiator. (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ParallelReplicasProcessingPartsMicroseconds**(gauge)                        | Time spent processing data parts*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ParallelReplicasQueryCount.count**(count)                                   | Number of (sub)queries executed using parallel replicas during a query execution (count)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ParallelReplicasQueryCount.total**(gauge)                                   | Number of (sub)queries executed using parallel replicas during a query execution (total)                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ParallelReplicasReadAssignedForStealingMarks.count**(count)                 | Sum across all replicas of how many of scheduled marks were assigned for stealing by consistent hash (count)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ParallelReplicasReadAssignedForStealingMarks.total**(gauge)                 | Sum across all replicas of how many of scheduled marks were assigned for stealing by consistent hash (total)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ParallelReplicasReadAssignedMarks.count**(count)                            | Sum across all replicas of how many of scheduled marks were assigned by consistent hash (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ParallelReplicasReadAssignedMarks.total**(gauge)                            | Sum across all replicas of how many of scheduled marks were assigned by consistent hash (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ParallelReplicasReadMarks.count**(count)                                    | How many marks were read by the given replica (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ParallelReplicasReadMarks.total**(gauge)                                    | How many marks were read by the given replica (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ParallelReplicasReadRequestMicroseconds**(gauge)                            | Time spent for read requests*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ParallelReplicasReadUnassignedMarks.count**(count)                          | Sum across all replicas of how many unassigned marks were scheduled (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ParallelReplicasReadUnassignedMarks.total**(gauge)                          | Sum across all replicas of how many unassigned marks were scheduled (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ParallelReplicasStealingByHashMicroseconds**(gauge)                         | Time spent collecting segments meant for stealing by hash*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ParallelReplicasStealingLeftoversMicroseconds**(gauge)                      | Time spent collecting orphaned segments*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ParallelReplicasUnavailableCount.count**(count)                             | Number of replicas which was chosen, but found to be unavailable during query execution with task-based parallel replicas (count)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ParallelReplicasUnavailableCount.total**(gauge)                             | Number of replicas which was chosen, but found to be unavailable during query execution with task-based parallel replicas (total)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ParallelReplicasUsedCount.count**(count)                                    | Number of replicas used to execute a query with task-based parallel replicas (count)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ParallelReplicasUsedCount.total**(gauge)                                    | Number of replicas used to execute a query with task-based parallel replicas (total)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ParquetDecodingTaskBatches.count**(count)                                   | Task groups sent to a thread pool by parquet reader (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ParquetDecodingTaskBatches.total**(gauge)                                   | Task groups sent to a thread pool by parquet reader (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ParquetDecodingTasks.count**(count)                                         | Tasks issued by parquet reader (count)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ParquetDecodingTasks.total**(gauge)                                         | Tasks issued by parquet reader (total)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ParquetFetchWaitTimeMicroseconds**(gauge)                                   | Time of waiting fetching parquet data*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ParquetPrunedRowGroups.count**(count)                                       | The total number of row groups pruned from parquet data (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ParquetPrunedRowGroups.total**(gauge)                                       | The total number of row groups pruned from parquet data (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ParquetReadRowGroups.count**(count)                                         | The total number of row groups read from parquet data (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ParquetReadRowGroups.total**(gauge)                                         | The total number of row groups read from parquet data (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PartsLockHoldMicroseconds**(gauge)                                          | Total time spent holding data parts lock in MergeTree tables*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.PartsLockWaitMicroseconds**(gauge)                                          | Total time spent waiting for data parts lock in MergeTree tables*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PartsWithAppliedMutationsOnFly**(gauge)                                     | Total number of parts for which there was any mutation applied on fly                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.PatchesAcquireLockMicroseconds.count**(count)                               | Total number of microseconds spent to acquire lock for executing lightweight updates (count)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PatchesAcquireLockMicroseconds.total**(gauge)                               | Total number of microseconds spent to acquire lock for executing lightweight updates (total)                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PatchesAcquireLockTries.count**(count)                                      | Total number of tries to acquire lock for executing lightweight updates (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.PatchesAcquireLockTries.total**(gauge)                                      | Total number of tries to acquire lock for executing lightweight updates (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.PatchesAppliedInAllReadTasks.count**(count)                                 | Total number of applied patch parts among all read tasks (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PatchesAppliedInAllReadTasks.total**(gauge)                                 | Total number of applied patch parts among all read tasks (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PatchesJoinAppliedInAllReadTasks.count**(count)                             | Total number of applied patch parts with Join mode among all read tasks (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.PatchesJoinAppliedInAllReadTasks.total**(gauge)                             | Total number of applied patch parts with Join mode among all read tasks (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.PatchesMergeAppliedInAllReadTasks.count**(count)                            | Total number of applied patch parts with Merge mode among all read tasks (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PatchesMergeAppliedInAllReadTasks.total**(gauge)                            | Total number of applied patch parts with Merge mode among all read tasks (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PatchesReadUncompressedBytes.count**(count)                                 | Total number of uncompressed bytes read from patch parts (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PatchesReadUncompressedBytes.total**(gauge)                                 | Total number of uncompressed bytes read from patch parts (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.PerfAlignmentFaults.count**(count)                                          | Number of alignment faults. These happen when unaligned memory accesses happen; the kernel can handle these but it reduces performance. This happens only on some architectures (never on x86). (count)                                                                                                                                                                                                                     |
| **clickhouse.events.PerfAlignmentFaults.total**(gauge)                                          | Number of alignment faults. These happen when unaligned memory accesses happen; the kernel can handle these but it reduces performance. This happens only on some architectures (never on x86). (total)                                                                                                                                                                                                                     |
| **clickhouse.events.PerfBranchInstructions.count**(count)                                       | Retired branch instructions. Prior to Linux 2.6.35, this used the wrong event on AMD processors. (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.PerfBranchInstructions.total**(gauge)                                       | Retired branch instructions. Prior to Linux 2.6.35, this used the wrong event on AMD processors. (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.PerfBranchMisses.count**(count)                                             | Mispredicted branch instructions. (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfBranchMisses.total**(gauge)                                             | Mispredicted branch instructions. (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfBusCycles.count**(count)                                                | Bus cycles, which can be different from total cycles. (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PerfBusCycles.total**(gauge)                                                | Bus cycles, which can be different from total cycles. (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PerfCPUClock.count**(count)                                                 | The CPU clock, a high-resolution per-CPU timer (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PerfCPUClock.total**(gauge)                                                 | The CPU clock, a high-resolution per-CPU timer (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.PerfCPUCycles.count**(count)                                                | Total cycles. Be wary of what happens during CPU frequency scaling. (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.PerfCPUCycles.total**(gauge)                                                | Total cycles. Be wary of what happens during CPU frequency scaling. (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.PerfCPUMigrations.count**(count)                                            | Number of times the process has migrated to a new CPU (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PerfCPUMigrations.total**(gauge)                                            | Number of times the process has migrated to a new CPU (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.PerfCacheMisses.count**(count)                                              | Cache misses. Usually this indicates Last Level Cache misses; this is intended to be used in conjunction with the PERFCOUNTHWCACHEREFERENCES event to calculate cache miss rates. (count)                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfCacheMisses.total**(gauge)                                              | Cache misses. Usually this indicates Last Level Cache misses; this is intended to be used in conjunction with the PERFCOUNTHWCACHEREFERENCES event to calculate cache miss rates. (total)                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfCacheReferences.count**(count)                                          | Cache accesses. Usually, this indicates Last Level Cache accesses, but this may vary depending on your CPU. This may include prefetches and coherency messages; again this depends on the design of your CPU. (count)                                                                                                                                                                                                       |
| **clickhouse.events.PerfCacheReferences.total**(gauge)                                          | Cache accesses. Usually, this indicates Last Level Cache accesses, but this may vary depending on your CPU. This may include prefetches and coherency messages; again this depends on the design of your CPU. (total)                                                                                                                                                                                                       |
| **clickhouse.events.PerfContextSwitches.count**(count)                                          | Number of context switches (count)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.PerfContextSwitches.total**(gauge)                                          | Number of context switches (total)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.PerfDataTLBMisses.count**(count)                                            | Data TLB misses (count)                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PerfDataTLBMisses.total**(gauge)                                            | Data TLB misses (total)                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PerfDataTLBReferences.count**(count)                                        | Data TLB references (count)                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.PerfDataTLBReferences.total**(gauge)                                        | Data TLB references (total)                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.PerfEmulationFaults.count**(count)                                          | Number of emulation faults. The kernel sometimes traps on unimplemented instructions and emulates them for user space. This can negatively impact performance. (count)                                                                                                                                                                                                                                                      |
| **clickhouse.events.PerfEmulationFaults.total**(gauge)                                          | Number of emulation faults. The kernel sometimes traps on unimplemented instructions and emulates them for user space. This can negatively impact performance. (total)                                                                                                                                                                                                                                                      |
| **clickhouse.events.PerfInstructionTLBMisses.count**(count)                                     | Instruction TLB misses (count)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.PerfInstructionTLBMisses.total**(gauge)                                     | Instruction TLB misses (total)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.PerfInstructionTLBReferences.count**(count)                                 | Instruction TLB references (count)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.PerfInstructionTLBReferences.total**(gauge)                                 | Instruction TLB references (total)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.PerfInstructions.count**(count)                                             | Retired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts. (count)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfInstructions.total**(gauge)                                             | Retired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts. (total)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfLocalMemoryMisses.count**(count)                                        | Local NUMA node memory read misses (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfLocalMemoryMisses.total**(gauge)                                        | Local NUMA node memory read misses (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfLocalMemoryReferences.count**(count)                                    | Local NUMA node memory reads (count)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PerfLocalMemoryReferences.total**(gauge)                                    | Local NUMA node memory reads (total)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PerfMinEnabledRunningTime.count**(count)                                    | Running time for event with minimum enabled time. Used to track the amount of event multiplexing (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.PerfMinEnabledRunningTime.total**(gauge)                                    | Running time for event with minimum enabled time. Used to track the amount of event multiplexing (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.PerfMinEnabledTime.count**(count)                                           | For all events, minimum time that an event was enabled. Used to track event multiplexing influence (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfMinEnabledTime.total**(gauge)                                           | For all events, minimum time that an event was enabled. Used to track event multiplexing influence (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfRefCPUCycles.count**(count)                                             | Total cycles; not affected by CPU frequency scaling. (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PerfRefCPUCycles.total**(gauge)                                             | Total cycles; not affected by CPU frequency scaling. (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.PerfStalledCyclesBackend.count**(count)                                     | Stalled cycles during retirement. (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfStalledCyclesBackend.total**(gauge)                                     | Stalled cycles during retirement. (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.PerfStalledCyclesFrontend.count**(count)                                    | Stalled cycles during issue. (count)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PerfStalledCyclesFrontend.total**(gauge)                                    | Stalled cycles during issue. (total)                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.PerfTaskClock.count**(count)                                                | A clock count specific to the task that is running (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PerfTaskClock.total**(gauge)                                                | A clock count specific to the task that is running (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.PolygonsAddedToPool.count**(count)                                          | A polygon has been added to the cache (pool) for the 'pointInPolygon' function. (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PolygonsAddedToPool.total**(gauge)                                          | A polygon has been added to the cache (pool) for the 'pointInPolygon' function. (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.PolygonsInPoolAllocatedBytes.count**(count)                                 | The number of bytes for polygons added to the cache (pool) for the 'pointInPolygon' function. (count)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.PolygonsInPoolAllocatedBytes.total**(gauge)                                 | The number of bytes for polygons added to the cache (pool) for the 'pointInPolygon' function. (total)                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.PreferredWarmedUnmergedParts.count**(count)                                 | See setting prefer_warmed_unmerged_parts_seconds. Number of times read queries used outdated pre-merge parts that are in cache instead of merged part that wasn't pulled into cache by CacheWarmer yet. (count)                                                                                                                                                                                                             |
| **clickhouse.events.PreferredWarmedUnmergedParts.total**(gauge)                                 | See setting prefer_warmed_unmerged_parts_seconds. Number of times read queries used outdated pre-merge parts that are in cache instead of merged part that wasn't pulled into cache by CacheWarmer yet. (total)                                                                                                                                                                                                             |
| **clickhouse.events.PrimaryIndexCacheHits.count**(count)                                        | Number of times an entry has been found in the primary index cache, so we didn't have to load a index file. (count)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.PrimaryIndexCacheHits.total**(gauge)                                        | Number of times an entry has been found in the primary index cache, so we didn't have to load a index file. (total)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.PrimaryIndexCacheMisses.count**(count)                                      | Number of times an entry has not been found in the primary index cache, so we had to load a index file in memory, which is a costly operation, adding to query latency. (count)                                                                                                                                                                                                                                             |
| **clickhouse.events.PrimaryIndexCacheMisses.total**(gauge)                                      | Number of times an entry has not been found in the primary index cache, so we had to load a index file in memory, which is a costly operation, adding to query latency. (total)                                                                                                                                                                                                                                             |
| **clickhouse.events.QueriesWithSubqueries.count**(count)                                        | Count queries with all subqueries (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.QueriesWithSubqueries.total**(gauge)                                        | Count queries with all subqueries (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.Query.count**(count)                                                        | Number of queries to be interpreted and potentially executed. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries. (count)                                                                                                |
| **clickhouse.events.Query.total**(gauge)                                                        | Number of queries to be interpreted and potentially executed. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries. (total)                                                                                                |
| **clickhouse.events.QueryBackupThrottlerBytes.count**(count)                                    | Bytes passed through 'max_backup_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.QueryBackupThrottlerBytes.total**(gauge)                                    | Bytes passed through 'max_backup_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.QueryBackupThrottlerSleepMicroseconds**(gauge)                              | Total time a query was sleeping to conform 'max_backup_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.QueryCacheHits.count**(count)                                               | Number of times a query result has been found in the query cache (and query computation was avoided). Only updated for SELECT queries with SETTING use_query_cache = 1. (count)                                                                                                                                                                                                                                             |
| **clickhouse.events.QueryCacheHits.total**(gauge)                                               | Number of times a query result has been found in the query cache (and query computation was avoided). Only updated for SELECT queries with SETTING use_query_cache = 1. (total)                                                                                                                                                                                                                                             |
| **clickhouse.events.QueryCacheMisses.count**(count)                                             | Number of times a query result has not been found in the query cache (and required query computation). Only updated for SELECT queries with SETTING use_query_cache = 1. (count)                                                                                                                                                                                                                                            |
| **clickhouse.events.QueryCacheMisses.total**(gauge)                                             | Number of times a query result has not been found in the query cache (and required query computation). Only updated for SELECT queries with SETTING use_query_cache = 1. (total)                                                                                                                                                                                                                                            |
| **clickhouse.events.QueryConditionCacheHits.count**(count)                                      | Number of times an entry has been found in the query condition cache (and reading of marks can be skipped). Only updated for SELECT queries with SETTING use_query_condition_cache = 1. (count)                                                                                                                                                                                                                             |
| **clickhouse.events.QueryConditionCacheHits.total**(gauge)                                      | Number of times an entry has been found in the query condition cache (and reading of marks can be skipped). Only updated for SELECT queries with SETTING use_query_condition_cache = 1. (total)                                                                                                                                                                                                                             |
| **clickhouse.events.QueryConditionCacheMisses.count**(count)                                    | Number of times an entry has not been found in the query condition cache (and reading of mark cannot be skipped). Only updated for SELECT queries with SETTING use_query_condition_cache = 1. (count)                                                                                                                                                                                                                       |
| **clickhouse.events.QueryConditionCacheMisses.total**(gauge)                                    | Number of times an entry has not been found in the query condition cache (and reading of mark cannot be skipped). Only updated for SELECT queries with SETTING use_query_condition_cache = 1. (total)                                                                                                                                                                                                                       |
| **clickhouse.events.QueryLocalReadThrottlerBytes.count**(count)                                 | Bytes passed through 'max_local_read_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.QueryLocalReadThrottlerBytes.total**(gauge)                                 | Bytes passed through 'max_local_read_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.QueryLocalReadThrottlerSleepMicroseconds**(gauge)                           | Total time a query was sleeping to conform 'max_local_read_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.QueryLocalWriteThrottlerBytes.count**(count)                                | Bytes passed through 'max_local_write_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.QueryLocalWriteThrottlerBytes.total**(gauge)                                | Bytes passed through 'max_local_write_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.QueryLocalWriteThrottlerSleepMicroseconds**(gauge)                          | Total time a query was sleeping to conform 'max_local_write_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.QueryMaskingRulesMatch.count**(count)                                       | Number of times query masking rules was successfully matched. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.QueryMaskingRulesMatch.total**(gauge)                                       | Number of times query masking rules was successfully matched. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.QueryMemoryLimitExceeded.count**(count)                                     | Number of times when memory limit exceeded for query. (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.QueryMemoryLimitExceeded.total**(gauge)                                     | Number of times when memory limit exceeded for query. (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.QueryPreempted.count**(count)                                               | How many times tasks are paused and waiting due to 'priority' setting (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.QueryPreempted.total**(gauge)                                               | How many times tasks are paused and waiting due to 'priority' setting (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.QueryProfilerConcurrencyOverruns.count**(count)                             | Number of times we drop processing of a query profiler signal due to too many concurrent query profilers in other threads, which may indicate overload. (count)                                                                                                                                                                                                                                                             |
| **clickhouse.events.QueryProfilerConcurrencyOverruns.total**(gauge)                             | Number of times we drop processing of a query profiler signal due to too many concurrent query profilers in other threads, which may indicate overload. (total)                                                                                                                                                                                                                                                             |
| **clickhouse.events.QueryProfilerErrors.count**(count)                                          | Invalid memory accesses during asynchronous stack unwinding. (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.QueryProfilerErrors.total**(gauge)                                          | Invalid memory accesses during asynchronous stack unwinding. (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.QueryProfilerRuns.count**(count)                                            | Number of times QueryProfiler had been run. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.QueryProfilerRuns.total**(gauge)                                            | Number of times QueryProfiler had been run. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.QueryProfilerSignalOverruns.count**(count)                                  | Number of times we drop processing of a query profiler signal due to overrun plus the number of signals that OS has not delivered due to overrun. (count)                                                                                                                                                                                                                                                                   |
| **clickhouse.events.QueryProfilerSignalOverruns.total**(gauge)                                  | Number of times we drop processing of a query profiler signal due to overrun plus the number of signals that OS has not delivered due to overrun. (total)                                                                                                                                                                                                                                                                   |
| **clickhouse.events.QueryRemoteReadThrottlerBytes.count**(count)                                | Bytes passed through 'max_remote_read_network_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.QueryRemoteReadThrottlerBytes.total**(gauge)                                | Bytes passed through 'max_remote_read_network_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.QueryRemoteReadThrottlerSleepMicroseconds**(gauge)                          | Total time a query was sleeping to conform 'max_remote_read_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.QueryRemoteWriteThrottlerBytes.count**(count)                               | Bytes passed through 'max_remote_write_network_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.QueryRemoteWriteThrottlerBytes.total**(gauge)                               | Bytes passed through 'max_remote_write_network_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.QueryRemoteWriteThrottlerSleepMicroseconds**(gauge)                         | Total time a query was sleeping to conform 'max_remote_write_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.QueryTimeMicroseconds**(gauge)                                              | Total time of all queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RWLockAcquiredReadLocks.count**(count)                                      | Number of times a read lock was acquired (in a heavy RWLock). (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.RWLockAcquiredReadLocks.total**(gauge)                                      | Number of times a read lock was acquired (in a heavy RWLock). (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.RWLockAcquiredWriteLocks.count**(count)                                     | Number of times a write lock was acquired (in a heavy RWLock). (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.RWLockAcquiredWriteLocks.total**(gauge)                                     | Number of times a write lock was acquired (in a heavy RWLock). (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.RWLockReadersWaitMilliseconds**(gauge)                                      | Total time spent waiting for a read lock to be acquired (in a heavy RWLock).*Shown as millisecond*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.RWLockWritersWaitMilliseconds**(gauge)                                      | Total time spent waiting for a write lock to be acquired (in a heavy RWLock).*Shown as millisecond*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ReadBackoff.count**(count)                                                  | Number of times the number of query processing threads was lowered due to slow reads. (count)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ReadBackoff.total**(gauge)                                                  | Number of times the number of query processing threads was lowered due to slow reads. (total)                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ReadBufferFromAzureBytes.count**(count)                                     | Bytes read from Azure. (count)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ReadBufferFromAzureBytes.total**(gauge)                                     | Bytes read from Azure. (total)                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ReadBufferFromAzureInitMicroseconds**(gauge)                                | Time spent initializing connection to Azure.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ReadBufferFromAzureMicroseconds**(gauge)                                    | Time spent on reading from Azure.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ReadBufferFromAzureRequestsErrors.count**(count)                            | Number of exceptions while reading from Azure (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ReadBufferFromAzureRequestsErrors.total**(gauge)                            | Number of exceptions while reading from Azure (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ReadBufferFromFileDescriptorRead.count**(count)                             | Number of reads (read/pread) from a file descriptor. Does not include sockets. (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ReadBufferFromFileDescriptorRead.total**(gauge)                             | Number of reads (read/pread) from a file descriptor. Does not include sockets. (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ReadBufferFromFileDescriptorReadBytes.count**(count)                        | Number of bytes read from file descriptors. If the file is compressed, this will show the compressed data size. (count)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ReadBufferFromFileDescriptorReadBytes.total**(gauge)                        | Number of bytes read from file descriptors. If the file is compressed, this will show the compressed data size. (total)                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ReadBufferFromFileDescriptorReadFailed.count**(count)                       | Number of times the read (read/pread) from a file descriptor have failed. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ReadBufferFromFileDescriptorReadFailed.total**(gauge)                       | Number of times the read (read/pread) from a file descriptor have failed. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ReadBufferFromS3Bytes.count**(count)                                        | Bytes read from S3. (count)                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ReadBufferFromS3Bytes.total**(gauge)                                        | Bytes read from S3. (total)                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ReadBufferFromS3InitMicroseconds**(gauge)                                   | Time spent initializing connection to S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadBufferFromS3Microseconds**(gauge)                                       | Time spent on reading from S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ReadBufferFromS3RequestsErrors.count**(count)                               | Number of exceptions while reading from S3. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ReadBufferFromS3RequestsErrors.total**(gauge)                               | Number of exceptions while reading from S3. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ReadBufferSeekCancelConnection.count**(count)                               | Number of seeks which lead to new connection (s3, http) (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadBufferSeekCancelConnection.total**(gauge)                               | Number of seeks which lead to new connection (s3, http) (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadCompressedBytes.count**(count)                                          | Number of bytes (the number of bytes before decompression) read from compressed sources (files, network). (count)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ReadCompressedBytes.total**(gauge)                                          | Number of bytes (the number of bytes before decompression) read from compressed sources (files, network). (total)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ReadPatchesMicroseconds.count**(count)                                      | Total time spent reading patch parts (count)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ReadPatchesMicroseconds.total**(gauge)                                      | Total time spent reading patch parts (total)                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ReadTaskRequestsReceived.count**(count)                                     | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the initiator server side. (count)                                                                                                                                                                                                                    |
| **clickhouse.events.ReadTaskRequestsReceived.total**(gauge)                                     | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the initiator server side. (total)                                                                                                                                                                                                                    |
| **clickhouse.events.ReadTaskRequestsSent.count**(count)                                         | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side. (count)                                                                                                                                                                                                                       |
| **clickhouse.events.ReadTaskRequestsSent.total**(gauge)                                         | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side. (total)                                                                                                                                                                                                                       |
| **clickhouse.events.ReadTaskRequestsSentElapsedMicroseconds**(gauge)                            | Time spent in callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                         |
| **clickhouse.events.ReadTasksWithAppliedMutationsOnFly.count**(count)                           | Total number of read tasks for which there was any mutation applied on fly (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ReadTasksWithAppliedMutationsOnFly.total**(gauge)                           | Total number of read tasks for which there was any mutation applied on fly (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ReadTasksWithAppliedPatches.count**(count)                                  | Total number of read tasks for which there was any patch part applied (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ReadTasksWithAppliedPatches.total**(gauge)                                  | Total number of read tasks for which there was any patch part applied (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ReadWriteBufferFromHTTPBytes.count**(count)                                 | Total size of payload bytes received and sent by ReadWriteBufferFromHTTP. Doesn't include HTTP headers. (count)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadWriteBufferFromHTTPBytes.total**(gauge)                                 | Total size of payload bytes received and sent by ReadWriteBufferFromHTTP. Doesn't include HTTP headers. (total)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadWriteBufferFromHTTPRequestsSent.count**(count)                          | Number of HTTP requests sent by ReadWriteBufferFromHTTP (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReadWriteBufferFromHTTPRequestsSent.total**(gauge)                          | Number of HTTP requests sent by ReadWriteBufferFromHTTP (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.RealTimeMicroseconds**(gauge)                                               | Total (wall clock) time spent in processing (queries and other tasks) threads (note that this is a sum).*Shown as microsecond*                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RefreshableViewLockTableRetry.count**(count)                                | How many times a SELECT from refreshable materialized view had to switch to a new table because the old table was dropped (count)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.RefreshableViewLockTableRetry.total**(gauge)                                | How many times a SELECT from refreshable materialized view had to switch to a new table because the old table was dropped (total)                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.RefreshableViewRefreshFailed.count**(count)                                 | How many times refreshable materialized views failed to refresh (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.RefreshableViewRefreshFailed.total**(gauge)                                 | How many times refreshable materialized views failed to refresh (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.RefreshableViewRefreshSuccess.count**(count)                                | How many times refreshable materialized views refreshed (count)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.RefreshableViewRefreshSuccess.total**(gauge)                                | How many times refreshable materialized views refreshed (total)                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.RefreshableViewSyncReplicaRetry.count**(count)                              | How many times a SELECT from refreshable materialized view failed and retried an implicit SYNC REPLICA (count)                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RefreshableViewSyncReplicaRetry.total**(gauge)                              | How many times a SELECT from refreshable materialized view failed and retried an implicit SYNC REPLICA (total)                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RefreshableViewSyncReplicaSuccess.count**(count)                            | How many times a SELECT from refreshable materialized view did an implicit SYNC REPLICA (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.RefreshableViewSyncReplicaSuccess.total**(gauge)                            | How many times a SELECT from refreshable materialized view did an implicit SYNC REPLICA (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.RegexpLocalCacheHit.count**(count)                                          | Number of times we fetched compiled regular expression from a local cache. (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.RegexpLocalCacheHit.total**(gauge)                                          | Number of times we fetched compiled regular expression from a local cache. (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.RegexpLocalCacheMiss.count**(count)                                         | Number of times we failed to fetch compiled regular expression from a local cache. (count)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RegexpLocalCacheMiss.total**(gauge)                                         | Number of times we failed to fetch compiled regular expression from a local cache. (total)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RegexpWithMultipleNeedlesCreated.count**(count)                             | Regular expressions with multiple needles (VectorScan library) compiled. (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RegexpWithMultipleNeedlesCreated.total**(gauge)                             | Regular expressions with multiple needles (VectorScan library) compiled. (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RegexpWithMultipleNeedlesGlobalCacheHit.count**(count)                      | Number of times we fetched compiled regular expression with multiple needles (VectorScan library) from the global cache. (count)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RegexpWithMultipleNeedlesGlobalCacheHit.total**(gauge)                      | Number of times we fetched compiled regular expression with multiple needles (VectorScan library) from the global cache. (total)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RegexpWithMultipleNeedlesGlobalCacheMiss.count**(count)                     | Number of times we failed to fetch compiled regular expression with multiple needles (VectorScan library) from the global cache. (count)                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.RegexpWithMultipleNeedlesGlobalCacheMiss.total**(gauge)                     | Number of times we failed to fetch compiled regular expression with multiple needles (VectorScan library) from the global cache. (total)                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.RejectedInserts.count**(count)                                              | Number of times the INSERT of a block to a MergeTree table was rejected with 'Too many parts' exception due to high number of active data parts for partition. (count)                                                                                                                                                                                                                                                      |
| **clickhouse.events.RejectedInserts.total**(gauge)                                              | Number of times the INSERT of a block to a MergeTree table was rejected with 'Too many parts' exception due to high number of active data parts for partition. (total)                                                                                                                                                                                                                                                      |
| **clickhouse.events.RejectedLightweightUpdates.count**(count)                                   | Number of time the lightweight update was rejected due to too many uncompressed bytes in patches. (count)                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.RejectedLightweightUpdates.total**(gauge)                                   | Number of time the lightweight update was rejected due to too many uncompressed bytes in patches. (total)                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.RejectedMutations.count**(count)                                            | Number of times the mutation of a MergeTree table was rejected with 'Too many mutations' exception due to high number of unfinished mutations for table. (count)                                                                                                                                                                                                                                                            |
| **clickhouse.events.RejectedMutations.total**(gauge)                                            | Number of times the mutation of a MergeTree table was rejected with 'Too many mutations' exception due to high number of unfinished mutations for table. (total)                                                                                                                                                                                                                                                            |
| **clickhouse.events.RemoteFSBuffers.count**(count)                                              | Number of buffers created for asynchronous reading from remote filesystem (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.RemoteFSBuffers.total**(gauge)                                              | Number of buffers created for asynchronous reading from remote filesystem (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.RemoteFSCancelledPrefetches.count**(count)                                  | Number of cancelled prefecthes (because of seek) (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.RemoteFSCancelledPrefetches.total**(gauge)                                  | Number of cancelled prefecthes (because of seek) (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.RemoteFSLazySeeks.count**(count)                                            | Number of lazy seeks (count)                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.RemoteFSLazySeeks.total**(gauge)                                            | Number of lazy seeks (total)                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.RemoteFSPrefetchedBytes.count**(count)                                      | Number of bytes from prefecthed buffer (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSPrefetchedBytes.total**(gauge)                                      | Number of bytes from prefecthed buffer (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSPrefetchedReads.count**(count)                                      | Number of reads from prefecthed buffer (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSPrefetchedReads.total**(gauge)                                      | Number of reads from prefecthed buffer (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSPrefetches.count**(count)                                           | Number of prefetches made with asynchronous reading from remote filesystem (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.RemoteFSPrefetches.total**(gauge)                                           | Number of prefetches made with asynchronous reading from remote filesystem (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.RemoteFSSeeks.count**(count)                                                | Total number of seeks for async buffer (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSSeeks.total**(gauge)                                                | Total number of seeks for async buffer (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.RemoteFSSeeksWithReset.count**(count)                                       | Number of seeks which lead to a new connection (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.RemoteFSSeeksWithReset.total**(gauge)                                       | Number of seeks which lead to a new connection (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.RemoteFSUnprefetchedBytes.count**(count)                                    | Number of bytes from unprefetched buffer (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RemoteFSUnprefetchedBytes.total**(gauge)                                    | Number of bytes from unprefetched buffer (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RemoteFSUnprefetchedReads.count**(count)                                    | Number of reads from unprefetched buffer (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RemoteFSUnprefetchedReads.total**(gauge)                                    | Number of reads from unprefetched buffer (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.RemoteFSUnusedPrefetches.count**(count)                                     | Number of prefetches pending at buffer destruction (count)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RemoteFSUnusedPrefetches.total**(gauge)                                     | Number of prefetches pending at buffer destruction (total)                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RemoteReadThrottlerBytes.count**(count)                                     | Bytes passed through 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RemoteReadThrottlerBytes.total**(gauge)                                     | Bytes passed through 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.RemoteReadThrottlerSleepMicroseconds**(gauge)                               | Total time a query was sleeping to conform 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                             |
| **clickhouse.events.RemoteWriteThrottlerBytes.count**(count)                                    | Bytes passed through 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttler. (count)                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.RemoteWriteThrottlerBytes.total**(gauge)                                    | Bytes passed through 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttler. (total)                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.RemoteWriteThrottlerSleepMicroseconds**(gauge)                              | Total time a query was sleeping to conform 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                           |
| **clickhouse.events.ReplacingSortedMilliseconds**(gauge)                                        | Total time spent while replacing sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ReplicaPartialShutdown.count**(count)                                       | How many times Replicated table has to deinitialize its state due to session expiration in ZooKeeper. The state is reinitialized every time when ZooKeeper is available again. (count)                                                                                                                                                                                                                                      |
| **clickhouse.events.ReplicaPartialShutdown.total**(gauge)                                       | How many times Replicated table has to deinitialize its state due to session expiration in ZooKeeper. The state is reinitialized every time when ZooKeeper is available again. (total)                                                                                                                                                                                                                                      |
| **clickhouse.events.ReplicatedCoveredPartsInZooKeeperOnStart.count**(count)                     | For debugging purposes. Number of parts in ZooKeeper that have a covering part, but doesn't exist on disk. Checked on server start. (count)                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ReplicatedCoveredPartsInZooKeeperOnStart.total**(gauge)                     | For debugging purposes. Number of parts in ZooKeeper that have a covering part, but doesn't exist on disk. Checked on server start. (total)                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ReplicatedDataLoss.count**(count)                                           | Number of times a data part that we wanted doesn't exist on any replica (even on replicas that are offline right now). That data parts are definitely lost. This is normal due to asynchronous replication (if quorum inserts were not enabled), when the replica on which the data part was written was failed and when it became online after fail it doesn't contain that data part. (count)                             |
| **clickhouse.events.ReplicatedDataLoss.total**(gauge)                                           | Number of times a data part that we wanted doesn't exist on any replica (even on replicas that are offline right now). That data parts are definitely lost. This is normal due to asynchronous replication (if quorum inserts were not enabled), when the replica on which the data part was written was failed and when it became online after fail it doesn't contain that data part. (total)                             |
| **clickhouse.events.ReplicatedPartChecks.count**(count)                                         | Number of times we had to perform advanced search for a data part on replicas or to clarify the need of an existing data part. (count)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ReplicatedPartChecks.total**(gauge)                                         | Number of times we had to perform advanced search for a data part on replicas or to clarify the need of an existing data part. (total)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ReplicatedPartChecksFailed.count**(count)                                   | Number of times the advanced search for a data part on replicas did not give result or when unexpected part has been found and moved away. (count)                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ReplicatedPartChecksFailed.total**(gauge)                                   | Number of times the advanced search for a data part on replicas did not give result or when unexpected part has been found and moved away. (total)                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ReplicatedPartFailedFetches.count**(count)                                  | Number of times a data part was failed to download from replica of a ReplicatedMergeTree table. (count)                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ReplicatedPartFailedFetches.total**(gauge)                                  | Number of times a data part was failed to download from replica of a ReplicatedMergeTree table. (total)                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ReplicatedPartFetches.count**(count)                                        | Number of times a data part was downloaded from replica of a ReplicatedMergeTree table. (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReplicatedPartFetches.total**(gauge)                                        | Number of times a data part was downloaded from replica of a ReplicatedMergeTree table. (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.ReplicatedPartFetchesOfMerged.count**(count)                                | Number of times we prefer to download already merged part from replica of ReplicatedMergeTree table instead of performing a merge ourself (usually we prefer doing a merge ourself to save network traffic). This happens when we have not all source parts to perform a merge or when the data part is old enough. (count)                                                                                                 |
| **clickhouse.events.ReplicatedPartFetchesOfMerged.total**(gauge)                                | Number of times we prefer to download already merged part from replica of ReplicatedMergeTree table instead of performing a merge ourself (usually we prefer doing a merge ourself to save network traffic). This happens when we have not all source parts to perform a merge or when the data part is old enough. (total)                                                                                                 |
| **clickhouse.events.ReplicatedPartMerges.count**(count)                                         | Number of times data parts of ReplicatedMergeTree tables were successfully merged. (count)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ReplicatedPartMerges.total**(gauge)                                         | Number of times data parts of ReplicatedMergeTree tables were successfully merged. (total)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ReplicatedPartMutations.count**(count)                                      | Number of times data parts of ReplicatedMergeTree tables were successfully mutated. (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ReplicatedPartMutations.total**(gauge)                                      | Number of times data parts of ReplicatedMergeTree tables were successfully mutated. (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.RestorePartsSkippedBytes.count**(count)                                     | Total size of files skipped while restoring parts (count)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.RestorePartsSkippedBytes.total**(gauge)                                     | Total size of files skipped while restoring parts (total)                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.RestorePartsSkippedFiles.count**(count)                                     | Number of files skipped while restoring parts (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.RestorePartsSkippedFiles.total**(gauge)                                     | Number of files skipped while restoring parts (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.RowsReadByMainReader.count**(count)                                         | Number of rows read from MergeTree tables by the main reader (after PREWHERE step). (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.RowsReadByMainReader.total**(gauge)                                         | Number of rows read from MergeTree tables by the main reader (after PREWHERE step). (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.RowsReadByPrewhereReaders.count**(count)                                    | Number of rows read from MergeTree tables (in total) by prewhere readers. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.RowsReadByPrewhereReaders.total**(gauge)                                    | Number of rows read from MergeTree tables (in total) by prewhere readers. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.S3AbortMultipartUpload.count**(count)                                       | Number of S3 API AbortMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.S3AbortMultipartUpload.total**(gauge)                                       | Number of S3 API AbortMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.S3Clients.count**(count)                                                    | Number of created S3 clients. (count)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3Clients.total**(gauge)                                                    | Number of created S3 clients. (total)                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3CompleteMultipartUpload.count**(count)                                    | Number of S3 API CompleteMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.S3CompleteMultipartUpload.total**(gauge)                                    | Number of S3 API CompleteMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.S3CopyObject.count**(count)                                                 | Number of S3 API CopyObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3CopyObject.total**(gauge)                                                 | Number of S3 API CopyObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3CreateMultipartUpload.count**(count)                                      | Number of S3 API CreateMultipartUpload calls. (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3CreateMultipartUpload.total**(gauge)                                      | Number of S3 API CreateMultipartUpload calls. (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3DeleteObjects.count**(count)                                              | Number of S3 API DeleteObject(s) calls. (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.S3DeleteObjects.total**(gauge)                                              | Number of S3 API DeleteObject(s) calls. (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.S3GetObject.count**(count)                                                  | Number of S3 API GetObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3GetObject.total**(gauge)                                                  | Number of S3 API GetObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3GetObjectAttributes.count**(count)                                        | Number of S3 API GetObjectAttributes calls. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.S3GetObjectAttributes.total**(gauge)                                        | Number of S3 API GetObjectAttributes calls. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.S3GetRequestThrottlerCount.count**(count)                                   | Number of S3 GET and SELECT requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3GetRequestThrottlerCount.total**(gauge)                                   | Number of S3 GET and SELECT requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3GetRequestThrottlerSleepMicroseconds**(gauge)                             | Total time a query was sleeping to conform S3 GET and SELECT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3HeadObject.count**(count)                                                 | Number of S3 API HeadObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3HeadObject.total**(gauge)                                                 | Number of S3 API HeadObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3ListObjects.count**(count)                                                | Number of S3 API ListObjects calls. (count)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.S3ListObjects.total**(gauge)                                                | Number of S3 API ListObjects calls. (total)                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.S3PutObject.count**(count)                                                  | Number of S3 API PutObject calls. (count)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3PutObject.total**(gauge)                                                  | Number of S3 API PutObject calls. (total)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3PutRequestThrottlerCount.count**(count)                                   | Number of S3 PUT, COPY, POST and LIST requests passed through throttler. (count)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.S3PutRequestThrottlerCount.total**(gauge)                                   | Number of S3 PUT, COPY, POST and LIST requests passed through throttler. (total)                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.S3PutRequestThrottlerSleepMicroseconds**(gauge)                             | Total time a query was sleeping to conform S3 PUT, COPY, POST and LIST request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.S3QueueSetFileFailedMicroseconds**(gauge)                                   | Time spent to set file as failed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3QueueSetFileProcessedMicroseconds**(gauge)                                | Time spent to set file as processed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3QueueSetFileProcessingMicroseconds**(gauge)                               | Time spent to set file as processing*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3ReadMicroseconds**(gauge)                                                 | Time of GET and HEAD requests to S3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.S3ReadRequestAttempts.count**(count)                                        | Number of attempts for GET and HEAD requests, including the initial try and any retries, but excluding retries performed internally by the S3 retry strategy (count)                                                                                                                                                                                                                                                        |
| **clickhouse.events.S3ReadRequestAttempts.total**(gauge)                                        | Number of attempts for GET and HEAD requests, including the initial try and any retries, but excluding retries performed internally by the S3 retry strategy (total)                                                                                                                                                                                                                                                        |
| **clickhouse.events.S3ReadRequestRetryableErrors.count**(count)                                 | Number of retryable errors for GET and HEAD requests, excluding retries performed internally by the S3 retry strategy (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.S3ReadRequestRetryableErrors.total**(gauge)                                 | Number of retryable errors for GET and HEAD requests, excluding retries performed internally by the S3 retry strategy (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.S3ReadRequestsCount.count**(count)                                          | Number of GET and HEAD requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3ReadRequestsCount.total**(gauge)                                          | Number of GET and HEAD requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.S3ReadRequestsErrors.count**(count)                                         | Number of non-throttling errors in GET and HEAD requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.S3ReadRequestsErrors.total**(gauge)                                         | Number of non-throttling errors in GET and HEAD requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.S3ReadRequestsRedirects.count**(count)                                      | Number of redirects in GET and HEAD requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.S3ReadRequestsRedirects.total**(gauge)                                      | Number of redirects in GET and HEAD requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.S3ReadRequestsThrottling.count**(count)                                     | Number of 429 and 503 errors in GET and HEAD requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.S3ReadRequestsThrottling.total**(gauge)                                     | Number of 429 and 503 errors in GET and HEAD requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.S3UploadPart.count**(count)                                                 | Number of S3 API UploadPart calls. (count)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3UploadPart.total**(gauge)                                                 | Number of S3 API UploadPart calls. (total)                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.S3UploadPartCopy.count**(count)                                             | Number of S3 API UploadPartCopy calls. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.S3UploadPartCopy.total**(gauge)                                             | Number of S3 API UploadPartCopy calls. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.S3WriteMicroseconds**(gauge)                                                | Time of POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.S3WriteRequestAttempts.count**(count)                                       | Number of attempts for POST, DELETE, PUT and PATCH requests, including the initial try and any retries, but excluding retries performed internally by the retry strategy (count)                                                                                                                                                                                                                                            |
| **clickhouse.events.S3WriteRequestAttempts.total**(gauge)                                       | Number of attempts for POST, DELETE, PUT and PATCH requests, including the initial try and any retries, but excluding retries performed internally by the retry strategy (total)                                                                                                                                                                                                                                            |
| **clickhouse.events.S3WriteRequestRetryableErrors.count**(count)                                | Number of retryable errors for POST, DELETE, PUT and PATCH requests, excluding retries performed internally by the retry strategy (count)                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3WriteRequestRetryableErrors.total**(gauge)                                | Number of retryable errors for POST, DELETE, PUT and PATCH requests, excluding retries performed internally by the retry strategy (total)                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.S3WriteRequestsCount.count**(count)                                         | Number of POST, DELETE, PUT and PATCH requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3WriteRequestsCount.total**(gauge)                                         | Number of POST, DELETE, PUT and PATCH requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.S3WriteRequestsErrors.count**(count)                                        | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.S3WriteRequestsErrors.total**(gauge)                                        | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.S3WriteRequestsRedirects.count**(count)                                     | Number of redirects in POST, DELETE, PUT and PATCH requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.S3WriteRequestsRedirects.total**(gauge)                                     | Number of redirects in POST, DELETE, PUT and PATCH requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.S3WriteRequestsThrottling.count**(count)                                    | Number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to S3 storage. (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.S3WriteRequestsThrottling.total**(gauge)                                    | Number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to S3 storage. (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ScalarSubqueriesCacheMiss.count**(count)                                    | Number of times a read from a scalar subquery was not cached and had to be calculated completely (count)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ScalarSubqueriesCacheMiss.total**(gauge)                                    | Number of times a read from a scalar subquery was not cached and had to be calculated completely (total)                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ScalarSubqueriesGlobalCacheHit.count**(count)                               | Number of times a read from a scalar subquery was done using the global cache (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ScalarSubqueriesGlobalCacheHit.total**(gauge)                               | Number of times a read from a scalar subquery was done using the global cache (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.ScalarSubqueriesLocalCacheHit.count**(count)                                | Number of times a read from a scalar subquery was done using the local cache (count)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ScalarSubqueriesLocalCacheHit.total**(gauge)                                | Number of times a read from a scalar subquery was done using the local cache (total)                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SchedulerIOReadBytes.count**(count)                                         | Bytes passed through scheduler for IO reads. (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SchedulerIOReadBytes.total**(gauge)                                         | Bytes passed through scheduler for IO reads. (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SchedulerIOReadRequests.count**(count)                                      | Resource requests passed through scheduler for IO reads. (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SchedulerIOReadRequests.total**(gauge)                                      | Resource requests passed through scheduler for IO reads. (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SchedulerIOReadWaitMicroseconds**(gauge)                                    | Total time a query was waiting on resource requests for IO reads.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SchedulerIOWriteBytes.count**(count)                                        | Bytes passed through scheduler for IO writes. (count)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SchedulerIOWriteBytes.total**(gauge)                                        | Bytes passed through scheduler for IO writes. (total)                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SchedulerIOWriteRequests.count**(count)                                     | Resource requests passed through scheduler for IO writes. (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SchedulerIOWriteRequests.total**(gauge)                                     | Resource requests passed through scheduler for IO writes. (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SchedulerIOWriteWaitMicroseconds**(gauge)                                   | Total time a query was waiting on resource requests for IO writes.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SchemaInferenceCacheEvictions.count**(count)                                | Number of times a schema from cache was evicted due to overflow (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SchemaInferenceCacheEvictions.total**(gauge)                                | Number of times a schema from cache was evicted due to overflow (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SchemaInferenceCacheHits.count**(count)                                     | Number of times the requested source is found in schema cache (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SchemaInferenceCacheHits.total**(gauge)                                     | Number of times the requested source is found in schema cache (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SchemaInferenceCacheInvalidations.count**(count)                            | Number of times a schema in cache became invalid due to changes in data (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SchemaInferenceCacheInvalidations.total**(gauge)                            | Number of times a schema in cache became invalid due to changes in data (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SchemaInferenceCacheMisses.count**(count)                                   | Number of times the requested source is not in schema cache (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SchemaInferenceCacheMisses.total**(gauge)                                   | Number of times the requested source is not in schema cache (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SchemaInferenceCacheNumRowsHits.count**(count)                              | Number of times the number of rows is found in schema cache during count from files (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SchemaInferenceCacheNumRowsHits.total**(gauge)                              | Number of times the number of rows is found in schema cache during count from files (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SchemaInferenceCacheNumRowsMisses.count**(count)                            | Number of times the requested source is in cache but the number of rows is not in cache while count from files (count)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SchemaInferenceCacheNumRowsMisses.total**(gauge)                            | Number of times the requested source is in cache but the number of rows is not in cache while count from files (total)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SchemaInferenceCacheSchemaHits.count**(count)                               | Number of times the schema is found in schema cache during schema inference (count)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SchemaInferenceCacheSchemaHits.total**(gauge)                               | Number of times the schema is found in schema cache during schema inference (total)                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SchemaInferenceCacheSchemaMisses.count**(count)                             | Number of times the requested source is in cache but the schema is not in cache during schema inference (count)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SchemaInferenceCacheSchemaMisses.total**(gauge)                             | Number of times the requested source is in cache but the schema is not in cache during schema inference (total)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.Seek.count**(count)                                                         | Number of times the 'lseek' function was called. (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.Seek.total**(gauge)                                                         | Number of times the 'lseek' function was called. (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SelectQueriesWithPrimaryKeyUsage.count**(count)                             | Count SELECT queries which use the primary key to evaluate the WHERE condition (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SelectQueriesWithPrimaryKeyUsage.total**(gauge)                             | Count SELECT queries which use the primary key to evaluate the WHERE condition (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SelectQueriesWithSubqueries.count**(count)                                  | Count SELECT queries with all subqueries (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SelectQueriesWithSubqueries.total**(gauge)                                  | Count SELECT queries with all subqueries (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SelectQuery.count**(count)                                                  | Same as Query, but only for SELECT queries. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SelectQuery.total**(gauge)                                                  | Same as Query, but only for SELECT queries. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SelectQueryTimeMicroseconds**(gauge)                                        | Total time of SELECT queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SelectedBytes.count**(count)                                                | Number of bytes (uncompressed; for columns as they stored in memory) SELECTed from all tables. (count)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SelectedBytes.total**(gauge)                                                | Number of bytes (uncompressed; for columns as they stored in memory) SELECTed from all tables. (total)                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SelectedMarks.count**(count)                                                | Number of marks (index granules) selected to read from a MergeTree table. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SelectedMarks.total**(gauge)                                                | Number of marks (index granules) selected to read from a MergeTree table. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SelectedMarksTotal.count**(count)                                           | Number of total marks (index granules) before selecting which ones to read from a MergeTree table. (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.SelectedMarksTotal.total**(gauge)                                           | Number of total marks (index granules) before selecting which ones to read from a MergeTree table. (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.SelectedParts.count**(count)                                                | Number of data parts selected to read from a MergeTree table. (count)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SelectedParts.total**(gauge)                                                | Number of data parts selected to read from a MergeTree table. (total)                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.SelectedPartsTotal.count**(count)                                           | Number of total data parts before selecting which ones to read from a MergeTree table. (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SelectedPartsTotal.total**(gauge)                                           | Number of total data parts before selecting which ones to read from a MergeTree table. (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SelectedRanges.count**(count)                                               | Number of (non-adjacent) ranges in all data parts selected to read from a MergeTree table. (count)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SelectedRanges.total**(gauge)                                               | Number of (non-adjacent) ranges in all data parts selected to read from a MergeTree table. (total)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SelectedRows.count**(count)                                                 | Number of rows SELECTed from all tables. (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SelectedRows.total**(gauge)                                                 | Number of rows SELECTed from all tables. (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ServerStartupMilliseconds**(gauge)                                          | Time elapsed from starting server to listening to sockets in milliseconds*Shown as millisecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SharedDatabaseCatalogFailedToApplyState.count**(count)                      | Number of failures to apply new state in SharedDatabaseCatalog (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedDatabaseCatalogFailedToApplyState.total**(gauge)                      | Number of failures to apply new state in SharedDatabaseCatalog (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedDatabaseCatalogStateApplicationMicroseconds**(gauge)                  | Total time spend on application of new state in SharedDatabaseCatalog*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SharedMergeTreeCondemnedPartsKillRequest.count**(count)                     | How many ZooKeeper requests were used to remove condemned parts (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeCondemnedPartsKillRequest.total**(gauge)                     | How many ZooKeeper requests were used to remove condemned parts (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeCondemnedPartsLockConfict.count**(count)                     | How many times we failed to acquite lock because of conflict (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeCondemnedPartsLockConfict.total**(gauge)                     | How many times we failed to acquite lock because of conflict (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeCondemnedPartsRemoved.count**(count)                         | How many condemned parts were removed (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeCondemnedPartsRemoved.total**(gauge)                         | How many condemned parts were removed (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeDataPartsFetchAttempt.count**(count)                         | How many times we tried to fetch data parts (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeDataPartsFetchAttempt.total**(gauge)                         | How many times we tried to fetch data parts (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromPeer.count**(count)                        | How many times we fetch data parts from peer (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromPeer.total**(gauge)                        | How many times we fetch data parts from peer (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromPeerMicroseconds.count**(count)            | Data parts fetch from peer microseconds (count)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromPeerMicroseconds.total**(gauge)            | Data parts fetch from peer microseconds (total)                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromS3.count**(count)                          | How many times we fetch data parts from S3 (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeDataPartsFetchFromS3.total**(gauge)                          | How many times we fetch data parts from S3 (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeGetPartsBatchToLoadMicroseconds.count**(count)               | Time of getPartsBatchToLoad in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SharedMergeTreeGetPartsBatchToLoadMicroseconds.total**(gauge)               | Time of getPartsBatchToLoad in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SharedMergeTreeHandleBlockingParts.count**(count)                           | How many blocking parts to handle in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeHandleBlockingParts.total**(gauge)                           | How many blocking parts to handle in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeHandleBlockingPartsMicroseconds.count**(count)               | Time of handling blocking parts in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeHandleBlockingPartsMicroseconds.total**(gauge)               | Time of handling blocking parts in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeHandleFetchPartsMicroseconds.count**(count)                  | Time of handling fetched parts in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeHandleFetchPartsMicroseconds.total**(gauge)                  | Time of handling fetched parts in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeHandleOutdatedParts.count**(count)                           | How many outdated parts to handle in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeHandleOutdatedParts.total**(gauge)                           | How many outdated parts to handle in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeHandleOutdatedPartsMicroseconds.count**(count)               | Time of handling outdated parts in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeHandleOutdatedPartsMicroseconds.total**(gauge)               | Time of handling outdated parts in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeLoadChecksumAndIndexesMicroseconds.count**(count)            | Time of loadColumnsChecksumsIndexes only for SharedMergeTree (count)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeLoadChecksumAndIndexesMicroseconds.total**(gauge)            | Time of loadColumnsChecksumsIndexes only for SharedMergeTree (total)                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentAttempt.count**(count)                | How many times we tried to assign merge or mutation (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentAttempt.total**(gauge)                | How many times we tried to assign merge or mutation (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentFailedWithConflict.count**(count)     | How many times we tried to assign merge or mutation and failed because of conflict in Keeper (count)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentFailedWithConflict.total**(gauge)     | How many times we tried to assign merge or mutation and failed because of conflict in Keeper (total)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentFailedWithNothingToDo.count**(count)  | How many times we tried to assign merge or mutation and failed because nothing to merge (count)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentFailedWithNothingToDo.total**(gauge)  | How many times we tried to assign merge or mutation and failed because nothing to merge (total)                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentSuccessful.count**(count)             | How many times we tried to assign merge or mutation (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SharedMergeTreeMergeMutationAssignmentSuccessful.total**(gauge)             | How many times we tried to assign merge or mutation (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.SharedMergeTreeMergePartsMovedToCondemned.count**(count)                    | How many parts moved to condemned directory (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeMergePartsMovedToCondemned.total**(gauge)                    | How many parts moved to condemned directory (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeMergePartsMovedToOudated.count**(count)                      | How many parts moved to oudated directory (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SharedMergeTreeMergePartsMovedToOudated.total**(gauge)                      | How many parts moved to oudated directory (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SharedMergeTreeMergeSelectingTaskMicroseconds.count**(count)                | Merge selecting task microseconds for SMT (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SharedMergeTreeMergeSelectingTaskMicroseconds.total**(gauge)                | Merge selecting task microseconds for SMT (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SharedMergeTreeMetadataCacheHintLoadedFromCache.count**(count)              | Number of times metadata cache hint was found without going to Keeper (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeMetadataCacheHintLoadedFromCache.total**(gauge)              | Number of times metadata cache hint was found without going to Keeper (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeOptimizeAsync.count**(count)                                 | Asynchronous OPTIMIZE queries executed (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeOptimizeAsync.total**(gauge)                                 | Asynchronous OPTIMIZE queries executed (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeOptimizeSync.count**(count)                                  | Synchronous OPTIMIZE queries executed (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeOptimizeSync.total**(gauge)                                  | Synchronous OPTIMIZE queries executed (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeOutdatedPartsConfirmationInvocations.count**(count)          | How many invocations were made to confirm outdated parts (count)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SharedMergeTreeOutdatedPartsConfirmationInvocations.total**(gauge)          | How many invocations were made to confirm outdated parts (total)                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.SharedMergeTreeOutdatedPartsConfirmationRequest.count**(count)              | How many ZooKeeper requests were used to config outdated parts (count)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeOutdatedPartsConfirmationRequest.total**(gauge)              | How many ZooKeeper requests were used to config outdated parts (total)                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SharedMergeTreeOutdatedPartsHTTPRequest.count**(count)                      | How many HTTP requests were send to confirm outdated parts (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeOutdatedPartsHTTPRequest.total**(gauge)                      | How many HTTP requests were send to confirm outdated parts (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeOutdatedPartsHTTPResponse.count**(count)                     | How many HTTP responses were send to confirm outdated parts (count)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeOutdatedPartsHTTPResponse.total**(gauge)                     | How many HTTP responses were send to confirm outdated parts (total)                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJob.count**(count)                     | How many times scheduleDataProcessingJob called/ (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJob.total**(gauge)                     | How many times scheduleDataProcessingJob called/ (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJobMicroseconds.count**(count)         | scheduleDataProcessingJob execute time (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJobMicroseconds.total**(gauge)         | scheduleDataProcessingJob execute time (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJobNothingToScheduled.count**(count)   | How many times scheduleDataProcessingJob called but nothing to do (count)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.SharedMergeTreeScheduleDataProcessingJobNothingToScheduled.total**(gauge)   | How many times scheduleDataProcessingJob called but nothing to do (total)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.SharedMergeTreeTryUpdateDiskMetadataCacheForPartMicroseconds.count**(count) | Time of tryUpdateDiskMetadataCacheForPart in scheduleDataProcessingJob (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeTryUpdateDiskMetadataCacheForPartMicroseconds.total**(gauge) | Time of tryUpdateDiskMetadataCacheForPart in scheduleDataProcessingJob (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdateMicroseconds**(gauge)                      | Virtual parts update microseconds*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdates.count**(count)                           | Virtual parts update count (count)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdates.total**(gauge)                           | Virtual parts update count (total)                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesByLeader.count**(count)                   | Virtual parts updates by leader (count)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesByLeader.total**(gauge)                   | Virtual parts updates by leader (total)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesForMergesOrStatus.count**(count)          | Virtual parts updates from non-default background job (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesForMergesOrStatus.total**(gauge)          | Virtual parts updates from non-default background job (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromPeer.count**(count)                   | Virtual parts updates count from peer (count)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromPeer.total**(gauge)                   | Virtual parts updates count from peer (total)                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromPeerMicroseconds**(gauge)             | Virtual parts updates from peer microseconds*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromZooKeeper.count**(count)              | Virtual parts updates count from ZooKeeper (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromZooKeeper.total**(gauge)              | Virtual parts updates count from ZooKeeper (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesFromZooKeeperMicroseconds**(gauge)        | Virtual parts updates from ZooKeeper microseconds*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesLeaderFailedElection.count**(count)       | Virtual parts updates leader election failed (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesLeaderFailedElection.total**(gauge)       | Virtual parts updates leader election failed (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesLeaderSuccessfulElection.count**(count)   | Virtual parts updates leader election successful (count)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesLeaderSuccessfulElection.total**(gauge)   | Virtual parts updates leader election successful (total)                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesPeerNotFound.count**(count)               | Virtual updates from peer failed because no one found (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SharedMergeTreeVirtualPartsUpdatesPeerNotFound.total**(gauge)               | Virtual updates from peer failed because no one found (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SleepFunctionCalls.count**(count)                                           | Number of times a sleep function (sleep, sleepEachRow) has been called. (count)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SleepFunctionCalls.total**(gauge)                                           | Number of times a sleep function (sleep, sleepEachRow) has been called. (total)                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.events.SleepFunctionElapsedMicroseconds**(gauge)                                   | Time spent sleeping in a sleep function (sleep, sleepEachRow).*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.SleepFunctionMicroseconds**(gauge)                                          | Time set to sleep in a sleep function (sleep, sleepEachRow).*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.SlowRead.count**(count)                                                     | Number of reads from a file that were slow. This indicate system overload. Thresholds are controlled by read_backoff_* settings. (count)                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SlowRead.total**(gauge)                                                     | Number of reads from a file that were slow. This indicate system overload. Thresholds are controlled by read_backoff_* settings. (total)                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.SoftPageFaults.count**(count)                                               | The number of soft page faults in query execution threads. Soft page fault usually means a miss in the memory allocator cache, which requires a new memory mapping from the OS and subsequent allocation of a page of physical memory. (count)                                                                                                                                                                              |
| **clickhouse.events.SoftPageFaults.total**(gauge)                                               | The number of soft page faults in query execution threads. Soft page fault usually means a miss in the memory allocator cache, which requires a new memory mapping from the OS and subsequent allocation of a page of physical memory. (total)                                                                                                                                                                              |
| **clickhouse.events.StorageBufferErrorOnFlush.count**(count)                                    | Number of times a buffer in the 'Buffer' table has not been able to flush due to error writing in the destination table. (count)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageBufferErrorOnFlush.total**(gauge)                                    | Number of times a buffer in the 'Buffer' table has not been able to flush due to error writing in the destination table. (total)                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageBufferFlush.count**(count)                                           | Number of times a buffer in a 'Buffer' table was flushed. (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.StorageBufferFlush.total**(gauge)                                           | Number of times a buffer in a 'Buffer' table was flushed. (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.StorageBufferLayerLockReadersWaitMilliseconds**(gauge)                      | Time for waiting for Buffer layer during reading.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.StorageBufferLayerLockWritersWaitMilliseconds**(gauge)                      | Time for waiting free Buffer layer to write to (can be used to tune Buffer layers).*Shown as millisecond*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.StorageBufferPassedAllMinThresholds.count**(count)                          | Number of times a criteria on min thresholds has been reached to flush a buffer in a 'Buffer' table. (count)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.StorageBufferPassedAllMinThresholds.total**(gauge)                          | Number of times a criteria on min thresholds has been reached to flush a buffer in a 'Buffer' table. (total)                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.StorageBufferPassedBytesFlushThreshold.count**(count)                       | Number of times background-only flush threshold on bytes has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (count)                                                                                                                                                                                                              |
| **clickhouse.events.StorageBufferPassedBytesFlushThreshold.total**(gauge)                       | Number of times background-only flush threshold on bytes has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (total)                                                                                                                                                                                                              |
| **clickhouse.events.StorageBufferPassedBytesMaxThreshold.count**(count)                         | Number of times a criteria on max bytes threshold has been reached to flush a buffer in a 'Buffer' table. (count)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.StorageBufferPassedBytesMaxThreshold.total**(gauge)                         | Number of times a criteria on max bytes threshold has been reached to flush a buffer in a 'Buffer' table. (total)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.StorageBufferPassedRowsFlushThreshold.count**(count)                        | Number of times background-only flush threshold on rows has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (count)                                                                                                                                                                                                               |
| **clickhouse.events.StorageBufferPassedRowsFlushThreshold.total**(gauge)                        | Number of times background-only flush threshold on rows has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (total)                                                                                                                                                                                                               |
| **clickhouse.events.StorageBufferPassedRowsMaxThreshold.count**(count)                          | Number of times a criteria on max rows threshold has been reached to flush a buffer in a 'Buffer' table. (count)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageBufferPassedRowsMaxThreshold.total**(gauge)                          | Number of times a criteria on max rows threshold has been reached to flush a buffer in a 'Buffer' table. (total)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageBufferPassedTimeFlushThreshold.count**(count)                        | Number of times background-only flush threshold on time has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (count)                                                                                                                                                                                                               |
| **clickhouse.events.StorageBufferPassedTimeFlushThreshold.total**(gauge)                        | Number of times background-only flush threshold on time has been reached to flush a buffer in a 'Buffer' table. This is expert-only metric. If you read this and you are not an expert, stop reading. (total)                                                                                                                                                                                                               |
| **clickhouse.events.StorageBufferPassedTimeMaxThreshold.count**(count)                          | Number of times a criteria on max time threshold has been reached to flush a buffer in a 'Buffer' table. (count)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageBufferPassedTimeMaxThreshold.total**(gauge)                          | Number of times a criteria on max time threshold has been reached to flush a buffer in a 'Buffer' table. (total)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageConnectionsCreated.count**(count)                                    | Number of created connections for storages (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.StorageConnectionsCreated.total**(gauge)                                    | Number of created connections for storages (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.StorageConnectionsElapsedMicroseconds**(gauge)                              | Total time spend on creating connections for storages*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.StorageConnectionsErrors.count**(count)                                     | Number of cases when creation of a connection for storage is failed (count)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.StorageConnectionsErrors.total**(gauge)                                     | Number of cases when creation of a connection for storage is failed (total)                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.StorageConnectionsExpired.count**(count)                                    | Number of expired connections for storages (count)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.StorageConnectionsExpired.total**(gauge)                                    | Number of expired connections for storages (total)                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.StorageConnectionsPreserved.count**(count)                                  | Number of preserved connections for storages (count)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.StorageConnectionsPreserved.total**(gauge)                                  | Number of preserved connections for storages (total)                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.StorageConnectionsReset.count**(count)                                      | Number of reset connections for storages (count)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageConnectionsReset.total**(gauge)                                      | Number of reset connections for storages (total)                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.StorageConnectionsReused.count**(count)                                     | Number of reused connections for storages (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.StorageConnectionsReused.total**(gauge)                                     | Number of reused connections for storages (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.SummingSortedMilliseconds**(gauge)                                          | Total time spent while summing sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.SuspendSendingQueryToShard.count**(count)                                   | Total count when sending query to shard was suspended when async_query_sending_for_remote is enabled. (count)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SuspendSendingQueryToShard.total**(gauge)                                   | Total count when sending query to shard was suspended when async_query_sending_for_remote is enabled. (total)                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SynchronousReadWaitMicroseconds**(gauge)                                    | Time spent in waiting for synchronous reads in asynchronous local read.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.SynchronousRemoteReadWaitMicroseconds**(gauge)                              | Time spent in waiting for synchronous remote reads.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.SystemLogErrorOnFlush.count**(count)                                        | Number of times any of the system logs have failed to flush to the corresponding system table. Attempts to flush are repeated. (count)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SystemLogErrorOnFlush.total**(gauge)                                        | Number of times any of the system logs have failed to flush to the corresponding system table. Attempts to flush are repeated. (total)                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.SystemTimeMicroseconds**(gauge)                                             | Total time spent in processing (queries and other tasks) threads executing CPU instructions in OS kernel mode. This is time spent in syscalls, excluding waiting time during blocking syscalls.*Shown as microsecond*                                                                                                                                                                                                       |
| **clickhouse.events.TableFunctionExecute.count**(count)                                         | Number of table function calls. (count)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.TableFunctionExecute.total**(gauge)                                         | Number of table function calls. (total)                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ThreadPoolReaderPageCacheHit.count**(count)                                 | Number of times the read inside ThreadPoolReader was done from the page cache. (count)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ThreadPoolReaderPageCacheHit.total**(gauge)                                 | Number of times the read inside ThreadPoolReader was done from the page cache. (total)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ThreadPoolReaderPageCacheHitBytes.count**(count)                            | Number of bytes read inside ThreadPoolReader when it was done from the page cache. (count)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ThreadPoolReaderPageCacheHitBytes.total**(gauge)                            | Number of bytes read inside ThreadPoolReader when it was done from the page cache. (total)                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ThreadPoolReaderPageCacheHitElapsedMicroseconds**(gauge)                    | Time spent reading data from page cache in ThreadPoolReader.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ThreadPoolReaderPageCacheMiss.count**(count)                                | Number of times the read inside ThreadPoolReader was not done from page cache and was hand off to thread pool. (count)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ThreadPoolReaderPageCacheMiss.total**(gauge)                                | Number of times the read inside ThreadPoolReader was not done from page cache and was hand off to thread pool. (total)                                                                                                                                                                                                                                                                                                      |
| **clickhouse.events.ThreadPoolReaderPageCacheMissBytes.count**(count)                           | Number of bytes read inside ThreadPoolReader when read was not done from page cache and was hand off to thread pool. (count)                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ThreadPoolReaderPageCacheMissBytes.total**(gauge)                           | Number of bytes read inside ThreadPoolReader when read was not done from page cache and was hand off to thread pool. (total)                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ThreadPoolReaderPageCacheMissElapsedMicroseconds**(gauge)                   | Time spent reading data inside the asynchronous job in ThreadPoolReader - when read was not done from the page cache.*Shown as microsecond*                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ThreadpoolReaderPrepareMicroseconds**(gauge)                                | Time spent on preparation (e.g. call to reader seek() method)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ThreadpoolReaderReadBytes.count**(count)                                    | Bytes read from a threadpool task in asynchronous reading (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ThreadpoolReaderReadBytes.total**(gauge)                                    | Bytes read from a threadpool task in asynchronous reading (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ThreadpoolReaderSubmit.count**(count)                                       | Bytes read from a threadpool task in asynchronous reading (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ThreadpoolReaderSubmit.total**(gauge)                                       | Bytes read from a threadpool task in asynchronous reading (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ThreadpoolReaderSubmitLookupInCacheMicroseconds**(gauge)                    | How much time we spent checking if content is cached*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ThreadpoolReaderSubmitReadSynchronously.count**(count)                      | How many times we haven't scheduled a task on the thread pool and read synchronously instead (count)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ThreadpoolReaderSubmitReadSynchronously.total**(gauge)                      | How many times we haven't scheduled a task on the thread pool and read synchronously instead (total)                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.ThreadpoolReaderSubmitReadSynchronouslyBytes.count**(count)                 | How many bytes were read synchronously (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ThreadpoolReaderSubmitReadSynchronouslyBytes.total**(gauge)                 | How many bytes were read synchronously (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ThreadpoolReaderSubmitReadSynchronouslyMicroseconds**(gauge)                | How much time we spent reading synchronously*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.ThreadpoolReaderTaskMicroseconds**(gauge)                                   | Time spent getting the data in asynchronous reading*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.ThrottlerSleepMicroseconds**(gauge)                                         | Total time a query was sleeping to conform all throttling settings.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.events.TinyS3Clients.count**(count)                                                | Number of S3 clients copies which reuse an existing auth provider from another client. (count)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.TinyS3Clients.total**(gauge)                                                | Number of S3 clients copies which reuse an existing auth provider from another client. (total)                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.USearchAddComputedDistances.count**(count)                                  | Number of times distance was computed when adding vectors to usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.USearchAddComputedDistances.total**(gauge)                                  | Number of times distance was computed when adding vectors to usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.events.USearchAddCount.count**(count)                                              | Number of vectors added to usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.USearchAddCount.total**(gauge)                                              | Number of vectors added to usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.USearchAddVisitedMembers.count**(count)                                     | Number of nodes visited when adding vectors to usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.USearchAddVisitedMembers.total**(gauge)                                     | Number of nodes visited when adding vectors to usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.USearchSearchComputedDistances.count**(count)                               | Number of times distance was computed when searching usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.USearchSearchComputedDistances.total**(gauge)                               | Number of times distance was computed when searching usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.USearchSearchCount.count**(count)                                           | Number of search operations performed in usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.USearchSearchCount.total**(gauge)                                           | Number of search operations performed in usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.USearchSearchVisitedMembers.count**(count)                                  | Number of nodes visited when searching in usearch indexes. (count)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.USearchSearchVisitedMembers.total**(gauge)                                  | Number of nodes visited when searching in usearch indexes. (total)                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.UncompressedCacheHits.count**(count)                                        | Number of times a block of data has been found in the uncompressed cache (and decompression was avoided). (count)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.UncompressedCacheHits.total**(gauge)                                        | Number of times a block of data has been found in the uncompressed cache (and decompression was avoided). (total)                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.UncompressedCacheMisses.count**(count)                                      | Number of times a block of data has not been found in the uncompressed cache (and required decompression). (count)                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.UncompressedCacheMisses.total**(gauge)                                      | Number of times a block of data has not been found in the uncompressed cache (and required decompression). (total)                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.UncompressedCacheWeightLost.count**(count)                                  | Number of bytes evicted from the uncompressed cache. (count)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.UncompressedCacheWeightLost.total**(gauge)                                  | Number of bytes evicted from the uncompressed cache. (total)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.UserTimeMicroseconds**(gauge)                                               | Total time spent in processing (queries and other tasks) threads executing CPU instructions in user mode. This includes time CPU pipeline was stalled due to main memory access, cache misses, branch mispredictions, hyper-threading, etc.*Shown as microsecond*                                                                                                                                                           |
| **clickhouse.events.VectorSimilarityIndexCacheHits.count**(count)                               | Number of times an index granule has been found in the vector index cache. (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.VectorSimilarityIndexCacheHits.total**(gauge)                               | Number of times an index granule has been found in the vector index cache. (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.VectorSimilarityIndexCacheMisses.count**(count)                             | Number of times an index granule has not been found in the vector index cache and had to be read from disk. (count)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.VectorSimilarityIndexCacheMisses.total**(gauge)                             | Number of times an index granule has not been found in the vector index cache and had to be read from disk. (total)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.VectorSimilarityIndexCacheWeightLost.count**(count)                         | Approximate number of bytes evicted from the vector index cache. (count)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.VectorSimilarityIndexCacheWeightLost.total**(gauge)                         | Approximate number of bytes evicted from the vector index cache. (total)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.VersionedCollapsingSortedMilliseconds**(gauge)                              | Total time spent while version collapsing sorted columns*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.WaitMarksLoadMicroseconds**(gauge)                                          | Time spent loading marks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.WaitPrefetchTaskMicroseconds**(gauge)                                       | Time spend waiting for prefetched reader*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.WriteBufferFromFileDescriptorWrite.count**(count)                           | Number of writes (write/pwrite) to a file descriptor. Does not include sockets. (count)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.WriteBufferFromFileDescriptorWrite.total**(gauge)                           | Number of writes (write/pwrite) to a file descriptor. Does not include sockets. (total)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.WriteBufferFromFileDescriptorWriteBytes.count**(count)                      | Number of bytes written to file descriptors. If the file is compressed, this will show compressed data size. (count)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.WriteBufferFromFileDescriptorWriteBytes.total**(gauge)                      | Number of bytes written to file descriptors. If the file is compressed, this will show compressed data size. (total)                                                                                                                                                                                                                                                                                                        |
| **clickhouse.events.WriteBufferFromFileDescriptorWriteFailed.count**(count)                     | Number of times the write (write/pwrite) to a file descriptor have failed. (count)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.WriteBufferFromFileDescriptorWriteFailed.total**(gauge)                     | Number of times the write (write/pwrite) to a file descriptor have failed. (total)                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.WriteBufferFromHTTPBytes.count**(count)                                     | Total size of payload bytes received and sent by WriteBufferFromHTTP. Doesn't include HTTP headers. (count)                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.WriteBufferFromHTTPBytes.total**(gauge)                                     | Total size of payload bytes received and sent by WriteBufferFromHTTP. Doesn't include HTTP headers. (total)                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.WriteBufferFromHTTPRequestsSent.count**(count)                              | Number of HTTP requests sent by WriteBufferFromHTTP (count)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.WriteBufferFromHTTPRequestsSent.total**(gauge)                              | Number of HTTP requests sent by WriteBufferFromHTTP (total)                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.WriteBufferFromS3Bytes.count**(count)                                       | Bytes written to S3. (count)                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.WriteBufferFromS3Bytes.total**(gauge)                                       | Bytes written to S3. (total)                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.WriteBufferFromS3Microseconds**(gauge)                                      | Time spent on writing to S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.events.WriteBufferFromS3RequestsErrors.count**(count)                              | Number of exceptions while writing to S3. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.WriteBufferFromS3RequestsErrors.total**(gauge)                              | Number of exceptions while writing to S3. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.WriteBufferFromS3WaitInflightLimitMicroseconds**(gauge)                     | Time spent on waiting while some of the current requests are done when its number reached the limit defined by s3_max_inflight_parts_for_one_file.*Shown as microsecond*                                                                                                                                                                                                                                                    |
| **clickhouse.events.ZooKeeperBytesReceived.count**(count)                                       | Number of bytes received over network while communicating with ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperBytesReceived.total**(gauge)                                       | Number of bytes received over network while communicating with ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperBytesSent.count**(count)                                           | Number of bytes send over network while communicating with ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperBytesSent.total**(gauge)                                           | Number of bytes send over network while communicating with ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperCheck.count**(count)                                               | Number of 'check' requests to ZooKeeper. Usually they don't make sense in isolation, only as part of a complex transaction. (count)                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperCheck.total**(gauge)                                               | Number of 'check' requests to ZooKeeper. Usually they don't make sense in isolation, only as part of a complex transaction. (total)                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperClose.count**(count)                                               | Number of times connection with ZooKeeper has been closed voluntary. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ZooKeeperClose.total**(gauge)                                               | Number of times connection with ZooKeeper has been closed voluntary. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ZooKeeperCreate.count**(count)                                              | Number of 'create' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperCreate.total**(gauge)                                              | Number of 'create' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperExists.count**(count)                                              | Number of 'exists' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperExists.total**(gauge)                                              | Number of 'exists' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperGet.count**(count)                                                 | Number of 'get' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperGet.total**(gauge)                                                 | Number of 'get' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperGetACL.count**(count)                                              | Number of 'getACL' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperGetACL.total**(gauge)                                              | Number of 'getACL' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperHardwareExceptions.count**(count)                                  | Number of exceptions while working with ZooKeeper related to network (connection loss or similar). (count)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ZooKeeperHardwareExceptions.total**(gauge)                                  | Number of exceptions while working with ZooKeeper related to network (connection loss or similar). (total)                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.events.ZooKeeperInit.count**(count)                                                | Number of times connection with ZooKeeper has been established. (count)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ZooKeeperInit.total**(gauge)                                                | Number of times connection with ZooKeeper has been established. (total)                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.events.ZooKeeperList.count**(count)                                                | Number of 'list' (getChildren) requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperList.total**(gauge)                                                | Number of 'list' (getChildren) requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperMulti.count**(count)                                               | Number of 'multi' requests to ZooKeeper (compound transactions). (count)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ZooKeeperMulti.total**(gauge)                                               | Number of 'multi' requests to ZooKeeper (compound transactions). (total)                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.events.ZooKeeperMultiRead.count**(count)                                           | Number of read 'multi' requests to ZooKeeper (compound transactions). (count)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperMultiRead.total**(gauge)                                           | Number of read 'multi' requests to ZooKeeper (compound transactions). (total)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperMultiWrite.count**(count)                                          | Number of write 'multi' requests to ZooKeeper (compound transactions). (count)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperMultiWrite.total**(gauge)                                          | Number of write 'multi' requests to ZooKeeper (compound transactions). (total)                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperOtherExceptions.count**(count)                                     | Number of exceptions while working with ZooKeeper other than ZooKeeperUserExceptions and ZooKeeperHardwareExceptions. (count)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperOtherExceptions.total**(gauge)                                     | Number of exceptions while working with ZooKeeper other than ZooKeeperUserExceptions and ZooKeeperHardwareExceptions. (total)                                                                                                                                                                                                                                                                                               |
| **clickhouse.events.ZooKeeperReconfig.count**(count)                                            | Number of 'reconfig' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperReconfig.total**(gauge)                                            | Number of 'reconfig' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperRemove.count**(count)                                              | Number of 'remove' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperRemove.total**(gauge)                                              | Number of 'remove' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.events.ZooKeeperSet.count**(count)                                                 | Number of 'set' requests to ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperSet.total**(gauge)                                                 | Number of 'set' requests to ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.events.ZooKeeperSync.count**(count)                                                | Number of 'sync' requests to ZooKeeper. These requests are rarely needed or usable. (count)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ZooKeeperSync.total**(gauge)                                                | Number of 'sync' requests to ZooKeeper. These requests are rarely needed or usable. (total)                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ZooKeeperTransactions.count**(count)                                        | Number of ZooKeeper operations, which include both read and write operations as well as multi-transactions. (count)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperTransactions.total**(gauge)                                        | Number of ZooKeeper operations, which include both read and write operations as well as multi-transactions. (total)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.events.ZooKeeperUserExceptions.count**(count)                                      | Number of exceptions while working with ZooKeeper related to the data (no node, bad version or similar). (count)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ZooKeeperUserExceptions.total**(gauge)                                      | Number of exceptions while working with ZooKeeper related to the data (no node, bad version or similar). (total)                                                                                                                                                                                                                                                                                                            |
| **clickhouse.events.ZooKeeperWaitMicroseconds**(gauge)                                          | Number of microseconds spent waiting for responses from ZooKeeper after creating a request, summed across all the requesting threads.*Shown as microsecond*                                                                                                                                                                                                                                                                 |
| **clickhouse.events.ZooKeeperWatchResponse.count**(count)                                       | Number of times watch notification has been received from ZooKeeper. (count)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.events.ZooKeeperWatchResponse.total**(gauge)                                       | Number of times watch notification has been received from ZooKeeper. (total)                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.file.open.count**(count)                                                           | The number of files opened during the last interval.*Shown as file*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.file.open.read**(gauge)                                                            | The number of files open for reading*Shown as file*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.file.open.total**(gauge)                                                           | The total number of files opened.*Shown as file*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.file.open.write**(gauge)                                                           | The number of files open for writing*Shown as file*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.file.read.count**(count)                                                           | The number of reads (read/pread) from a file descriptor during the last interval. Does not include sockets.*Shown as read*                                                                                                                                                                                                                                                                                                  |
| **clickhouse.file.read.fail.count**(count)                                                      | The number of times the read (read/pread) from a file descriptor have failed during the last interval.*Shown as read*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.file.read.fail.total**(gauge)                                                      | The total number of times the read (read/pread) from a file descriptor have failed.*Shown as read*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.file.read.size.count**(count)                                                      | The number of bytes read from file descriptors during the last interval. If the file is compressed, this will show the compressed data size.*Shown as byte*                                                                                                                                                                                                                                                                 |
| **clickhouse.file.read.size.total**(gauge)                                                      | The total number of bytes read from file descriptors. If the file is compressed, this will show the compressed data size.*Shown as byte*                                                                                                                                                                                                                                                                                    |
| **clickhouse.file.read.slow.count**(count)                                                      | The number of reads from a file that were slow during the last interval. This indicates system overload. Thresholds are controlled by read_backoff_* settings.*Shown as read*                                                                                                                                                                                                                                               |
| **clickhouse.file.read.slow.total**(gauge)                                                      | The total number of reads from a file that were slow. This indicates system overload. Thresholds are controlled by read_backoff_* settings.*Shown as read*                                                                                                                                                                                                                                                                  |
| **clickhouse.file.read.total**(gauge)                                                           | The total number of reads (read/pread) from a file descriptor. Does not include sockets.*Shown as read*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.file.seek.count**(count)                                                           | The number of times the `lseek` function was called during the last interval.*Shown as operation*                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.file.seek.total**(gauge)                                                           | The total number of times the `lseek` function was called.*Shown as operation*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.file.write.count**(count)                                                          | The number of writes (write/pwrite) to a file descriptor during the last interval. Does not include sockets.*Shown as write*                                                                                                                                                                                                                                                                                                |
| **clickhouse.file.write.fail.count**(count)                                                     | The number of times the write (write/pwrite) to a file descriptor have failed during the last interval.*Shown as write*                                                                                                                                                                                                                                                                                                     |
| **clickhouse.file.write.fail.total**(gauge)                                                     | The total number of times the write (write/pwrite) to a file descriptor have failed.*Shown as write*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.file.write.size.count**(count)                                                     | The number of bytes written to file descriptors during the last interval. If the file is compressed, this will show compressed data size.*Shown as byte*                                                                                                                                                                                                                                                                    |
| **clickhouse.file.write.size.total**(gauge)                                                     | The total number of bytes written to file descriptors during the last interval. If the file is compressed, this will show compressed data size.*Shown as byte*                                                                                                                                                                                                                                                              |
| **clickhouse.file.write.total**(gauge)                                                          | The total number of writes (write/pwrite) to a file descriptor. Does not include sockets.*Shown as write*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.file\_segment.cache.complete.time**(gauge)                                         | Duration of FileSegment::complete() in filesystem cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.file\_segment.cache.predownload.time**(gauge)                                      | Metric per file segment. Time spent pre-downloading data to cache (pre-downloading - finishing file segment download (after someone who failed to do that) up to the point current thread was requested to do)*Shown as microsecond*                                                                                                                                                                                        |
| **clickhouse.file\_segment.cache.write.time**(gauge)                                            | Metric per file segment. Time spend writing data to cache*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.file\_segment.download.wait\_time.count**(count)                                   | Wait on DOWNLOADING state                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.file\_segment.download.wait\_time.total**(gauge)                                   | Wait on DOWNLOADING state                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.file\_segment.holder.complete.time**(gauge)                                        | File segments holder complete() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.file\_segment.lock.time**(gauge)                                                   | Lock file segment time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.file\_segment.read.time**(gauge)                                                   | Metric per file segment. Time spend reading from file*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.file\_segment.remove.time**(gauge)                                                 | File segment remove() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.file\_segment.use.bytes.count**(count)                                             | Metric per file segment. How many bytes were actually used from current file segment                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.file\_segment.use.bytes.total**(gauge)                                             | Metric per file segment. How many bytes were actually used from current file segment                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.file\_segment.use.time**(gauge)                                                    | File segment use() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.file\_segment.write.timex.count**(count)                                           | File segment write() time                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.file\_segment.write.timex.total**(gauge)                                           | File segment write() time                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.cache.buffers.active**(gauge)                                           | Number of active cache buffers*Shown as buffer*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.filesystem.cache.cleanup.queue**(gauge)                                            | Filesystem cache elements in background cleanup queue                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.filesystem.cache.download.queue**(gauge)                                           | Filesystem cache elements in download queue                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.filesystem.cache.elements**(gauge)                                                 | Filesystem cache elements (file segments)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.cache.eviction.bytes.count**(count)                                     | Number of bytes evicted from filesystem cache                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.filesystem.cache.eviction.bytes.total**(gauge)                                     | Number of bytes evicted from filesystem cache                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.filesystem.cache.eviction.time**(gauge)                                            | Filesystem cache eviction time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.filesystem.cache.filesegments.hold**(gauge)                                        | Filesystem cache file segments count, which were hold                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.filesystem.cache.get.time**(gauge)                                                 | Filesystem cache get() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.filesystem.cache.get\_set.time**(gauge)                                            | Filesystem cache getOrSet() time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.cache.limit**(gauge)                                                    | Filesystem cache size limit in bytes                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.filesystem.cache.lock.key.time**(gauge)                                            | Lock cache key time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.cache.lock.metadata.time**(gauge)                                       | Lock filesystem cache metadata time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.cache.lock.time**(gauge)                                                | Lock filesystem cache time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.filesystem.cache.metadata.load.time**(gauge)                                       | Time spent loading filesystem cache metadata*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.filesystem.cache.reserve.time**(gauge)                                             | Filesystem cache space reservation time*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.filesystem.cache.size**(gauge)                                                     | Filesystem cache size in bytes                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.filesystem.remote.aysnc.read.prefetches.count**(count)                             | Number of prefetches made with asynchronous reading from remote filesystem                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.filesystem.remote.aysnc.read.prefetches.total**(gauge)                             | Number of prefetches made with asynchronous reading from remote filesystem                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.filesystem.remote.buffer.seeks.count**(count)                                      | Total number of seeks for async buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.buffer.seeks.reset.count**(count)                                | Number of seeks which lead to a new connection                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.filesystem.remote.buffer.seeks.reset.total**(gauge)                                | Number of seeks which lead to a new connection                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.filesystem.remote.buffer.seeks.total**(gauge)                                      | Total number of seeks for async buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.buffers.count**(count)                                           | Number of buffers created for asynchronous reading from remote filesystem                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.remote.buffers.total**(gauge)                                           | Number of buffers created for asynchronous reading from remote filesystem                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.filesystem.remote.lazy\_seeks.count**(count)                                       | Number of lazy seeks                                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.filesystem.remote.lazy\_seeks.total**(gauge)                                       | Number of lazy seeks                                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.filesystem.remote.prefetched.reads.count**(count)                                  | Number of reads from prefecthed buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.prefetched.reads.total**(gauge)                                  | Number of reads from prefecthed buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.prefetched.size.count**(count)                                   | Number of bytes from prefecthed buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.prefetched.size.total**(gauge)                                   | Number of bytes from prefecthed buffer                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.filesystem.remote.prefetches.pending.count**(count)                                | Number of prefetches pending at buffer destruction                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.filesystem.remote.prefetches.pending.total**(gauge)                                | Number of prefetches pending at buffer destruction                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.filesystem.remote.unprefetched.size.count**(count)                                 | Number of bytes from unprefetched buffer                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.filesystem.remote.unprefetched.size.total**(gauge)                                 | Number of bytes from unprefetched buffer                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.fs.read.size.count**(count)                                                        | The number of bytes read from filesystem (including page cache) during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.fs.read.size.total**(gauge)                                                        | The total number of bytes read from filesystem (including page cache).*Shown as byte*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.fs.write.size.count**(count)                                                       | The number of bytes written to filesystem (including page cache) during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.fs.write.size.total**(gauge)                                                       | The total number of bytes written to filesystem (including page cache).*Shown as byte*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.function.filesync.count**(count)                                                   | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.function.filesync.time**(gauge)                                                    | Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for files.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.function.filesync.total**(gauge)                                                   | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.hash\_table.elements.allocated.aggregation.count**(count)                          | How many elements were preallocated in hash tables for aggregation.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.hash\_table.elements.allocated.aggregation.total**(gauge)                          | How many elements were preallocated in hash tables for aggregation.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.http\_connection.addresses.expired.count**(count)                                  | Total count of expired addresses which is no longer presented in dns resolve results for http connections                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.http\_connection.addresses.expired.total**(gauge)                                  | Total count of expired addresses which is no longer presented in dns resolve results for http connections                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.http\_connection.addresses.faulty.count**(count)                                   | Total count of addresses which has been marked as faulty due to connection errors for http connections                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.http\_connection.addresses.faulty.total**(gauge)                                   | Total count of addresses which has been marked as faulty due to connection errors for http connections                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.http\_connection.addresses.new.count**(count)                                      | Total count of new addresses in dns resolve results for http connections                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.http\_connection.addresses.new.total**(gauge)                                      | Total count of new addresses in dns resolve results for http connections                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.index.usearch.distance.compute.count**(count)                                      | Number of times distance was computed when adding vectors to usearch indexes.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.index.usearch.distance.compute.total**(gauge)                                      | Number of times distance was computed when adding vectors to usearch indexes.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.index.usearch.search.node.visit.count**(count)                                     | Number of nodes visited when searching in usearch indexes.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.index.usearch.search.node.visit.total**(gauge)                                     | Number of nodes visited when searching in usearch indexes.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.index.usearch.search.operation.count**(count)                                      | Number of search operations performed in usearch indexes.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.index.usearch.search.operation.total**(gauge)                                      | Number of search operations performed in usearch indexes.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.index.usearch.vector.add.count**(count)                                            | Number of vectors added to usearch indexes.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.index.usearch.vector.add.total**(gauge)                                            | Number of vectors added to usearch indexes.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.index.usearch.vector.node.visit.count**(count)                                     | Number of nodes visited when adding vectors to usearch indexes.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.index.usearch.vector.node.visit.total**(gauge)                                     | Number of nodes visited when adding vectors to usearch indexes.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.insert.query.time**(gauge)                                                         | Total time of INSERT queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.insert\_queue.async.size**(gauge)                                                  | Number of pending bytes in the AsynchronousInsert queue.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.insert\_queue.async.total**(gauge)                                                 | Number of pending tasks in the AsynchronousInsert queue.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.insert\_threads.async.active**(gauge)                                              | Number of threads in the AsynchronousInsert thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.insert\_threads.async.scheduled**(gauge)                                           | Number of queued or active jobs in the AsynchronousInsert thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.insert\_threads.async.total**(gauge)                                               | Number of threads in the AsynchronousInsert thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.inserts.async.flush.pending**(gauge)                                               | Number of asynchronous inserts that are waiting for flush.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.interface.http.received.bytes.count**(count)                                       | Number of bytes received through HTTP interfaces                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.interface.http.received.bytes.total**(gauge)                                       | Number of bytes received through HTTP interfaces                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.interface.http.sent.bytes.count**(count)                                           | Number of bytes sent through HTTP interfaces                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.interface.http.sent.bytes.total**(gauge)                                           | Number of bytes sent through HTTP interfaces                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.interface.mysql.received.bytes.count**(count)                                      | Number of bytes received through MySQL interfaces                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.interface.mysql.received.bytes.total**(gauge)                                      | Number of bytes received through MySQL interfaces                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.interface.mysql.sent.bytes.count**(count)                                          | Number of bytes sent through MySQL interfaces                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.interface.mysql.sent.bytes.total**(gauge)                                          | Number of bytes sent through MySQL interfaces                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.interface.native.received.bytes.count**(count)                                     | Number of bytes received through native interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.interface.native.received.bytes.total**(gauge)                                     | Number of bytes received through native interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.interface.native.sent.bytes.count**(count)                                         | Number of bytes sent through native interfaces                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.interface.native.sent.bytes.total**(gauge)                                         | Number of bytes sent through native interfaces                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.interface.postgresql.sent.bytes.count**(count)                                     | Number of bytes sent through PostgreSQL interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.interface.postgresql.sent.bytes.total**(gauge)                                     | Number of bytes sent through PostgreSQL interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.interface.prometheus.sent.bytes.count**(count)                                     | Number of bytes sent through Prometheus interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.interface.prometheus.sent.bytes.total**(gauge)                                     | Number of bytes sent through Prometheus interfaces                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.io\_buffer.allocated.bytes.count**(count)                                          | Number of bytes allocated for IO buffers (for ReadBuffer/WriteBuffer).*Shown as byte*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.io\_buffer.allocated.bytes.total**(gauge)                                          | Number of bytes allocated for IO buffers (for ReadBuffer/WriteBuffer).*Shown as byte*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.io\_buffer.allocated.count**(count)                                                | Number of allocations of IO buffers (for ReadBuffer/WriteBuffer).                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.io\_buffer.allocated.total**(gauge)                                                | Number of allocations of IO buffers (for ReadBuffer/WriteBuffer).                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.io\_uring.cqe.completed.count**(count)                                             | Total number of successfully completed io_uring CQEs                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.io\_uring.cqe.completed.total**(gauge)                                             | Total number of successfully completed io_uring CQEs                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.io\_uring.cqe.failed.count**(count)                                                | Total number of completed io_uring CQEs with failures                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.io\_uring.cqe.failed.total**(gauge)                                                | Total number of completed io_uring CQEs with failures                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.io\_uring.sqe.resubmitted.count**(count)                                           | Total number of io_uring SQE resubmits performed                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.io\_uring.sqe.resubmitted.total**(gauge)                                           | Total number of io_uring SQE resubmits performed                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.io\_uring.sqe.submitted.count**(count)                                             | Total number of io_uring SQEs submitted                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.io\_uring.sqe.submitted.total**(gauge)                                             | Total number of io_uring SQEs submitted                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.jemalloc.active**(gauge)                                                           | (EXPERIMENTAL)*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.jemalloc.allocated**(gauge)                                                        | The amount of memory allocated by ClickHouse.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.jemalloc.background\_thread.num\_runs**(gauge)                                     | (EXPERIMENTAL)*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.jemalloc.background\_thread.num\_threads**(gauge)                                  | (EXPERIMENTAL)*Shown as thread*                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.jemalloc.background\_thread.run\_interval**(gauge)                                 | (EXPERIMENTAL)*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.jemalloc.mapped**(gauge)                                                           | The amount of memory in active extents mapped by the allocator.*Shown as byte*                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.jemalloc.metadata**(gauge)                                                         | The amount of memory dedicated to metadata, which comprise base allocations used for bootstrap-sensitive allocator metadata structures and internal allocations.*Shown as byte*                                                                                                                                                                                                                                             |
| **clickhouse.jemalloc.metadata\_thp**(gauge)                                                    | (EXPERIMENTAL)*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.jemalloc.resident**(gauge)                                                         | The amount of memory in physically resident data pages mapped by the allocator, comprising all pages dedicated to allocator metadata, pages backing active allocations, and unused dirty pages.*Shown as byte*                                                                                                                                                                                                              |
| **clickhouse.jemalloc.retained**(gauge)                                                         | The amount of memory in virtual memory mappings that were retained rather than being returned to the operating system.*Shown as byte*                                                                                                                                                                                                                                                                                       |
| **clickhouse.kafka.background.reads**(gauge)                                                    | Number of background reads currently working (populating materialized views from Kafka)*Shown as read*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.kafka.background.reads.count**(count)                                              | Number of background reads currently working (populating materialized views from Kafka)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.background.reads.total**(gauge)                                              | Number of background reads currently working (populating materialized views from Kafka)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.commit.failed.count**(count)                                                 | Number of failed commits of consumed offsets to Kafka (usually is a sign of some data duplication)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.kafka.commit.failed.total**(gauge)                                                 | Number of failed commits of consumed offsets to Kafka (usually is a sign of some data duplication)                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.kafka.commit.success.count**(count)                                                | Number of successful commits of consumed offsets to Kafka (normally should be the same as KafkaBackgroundReads)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.kafka.commit.success.total**(gauge)                                                | Number of successful commits of consumed offsets to Kafka (normally should be the same as KafkaBackgroundReads)                                                                                                                                                                                                                                                                                                             |
| **clickhouse.kafka.consumer.errors.count**(count)                                               | Number of errors reported by librdkafka during polls                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.kafka.consumer.errors.total**(gauge)                                               | Number of errors reported by librdkafka during polls                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.kafka.consumers.active**(gauge)                                                    | Number of active Kafka consumers                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.kafka.consumers.assigned**(gauge)                                                  | Number of active Kafka consumers which have some partitions assigned.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.kafka.consumers.in\_use**(gauge)                                                   | Number of consumers which are currently used by direct or background reads                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.kafka.direct.read.count**(count)                                                   | Number of direct selects from Kafka tables since server start                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.direct.read.total**(gauge)                                                   | Number of direct selects from Kafka tables since server start                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.inserts.running**(gauge)                                                     | Number of writes (inserts) to Kafka tables*Shown as write*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.kafka.messages.failed.count**(count)                                               | Number of Kafka messages ClickHouse failed to parse                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.kafka.messages.failed.total**(gauge)                                               | Number of Kafka messages ClickHouse failed to parse                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.kafka.messages.polled.count**(count)                                               | Number of Kafka messages polled from librdkafka to ClickHouse                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.messages.polled.total**(gauge)                                               | Number of Kafka messages polled from librdkafka to ClickHouse                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.messages.produced.count**(count)                                             | Number of messages produced to Kafka                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.kafka.messages.produced.total**(gauge)                                             | Number of messages produced to Kafka                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.kafka.messages.read.count**(count)                                                 | Number of Kafka messages already processed by ClickHouse                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.kafka.messages.read.total**(gauge)                                                 | Number of Kafka messages already processed by ClickHouse                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.kafka.partitions.assigned**(gauge)                                                 | Number of partitions Kafka tables currently assigned to                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.producer.errors.count**(count)                                               | Number of errors during producing the messages to Kafka                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.producer.errors.total**(gauge)                                               | Number of errors during producing the messages to Kafka                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.producer.flushes.count**(count)                                              | Number of explicit flushes to Kafka producer                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.kafka.producer.flushes.total**(gauge)                                              | Number of explicit flushes to Kafka producer                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.kafka.producers.active**(gauge)                                                    | Number of active Kafka producer created                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.rebalance.assignments.count**(count)                                         | Number of partition assignments (the final stage of consumer group rebalance)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.rebalance.assignments.total**(gauge)                                         | Number of partition assignments (the final stage of consumer group rebalance)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.rebalance.errors.count**(count)                                              | Number of failed consumer group rebalances                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.kafka.rebalance.errors.total**(gauge)                                              | Number of failed consumer group rebalances                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.kafka.rebalance.revocations.count**(count)                                         | Number of partition revocations (the first stage of consumer group rebalance)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.rebalance.revocations.total**(gauge)                                         | Number of partition revocations (the first stage of consumer group rebalance)                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.kafka.rows.read.count**(count)                                                     | Number of rows parsed from Kafka messages                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.kafka.rows.read.total**(gauge)                                                     | Number of rows parsed from Kafka messages                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.kafka.rows.rejected.count**(count)                                                 | Number of parsed rows which were later rejected (due to rebalances / errors or similar reasons). Those rows will be consumed again after the rebalance.                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.rows.rejected.total**(gauge)                                                 | Number of parsed rows which were later rejected (due to rebalances / errors or similar reasons). Those rows will be consumed again after the rebalance.                                                                                                                                                                                                                                                                     |
| **clickhouse.kafka.rows.written.count**(count)                                                  | Number of rows inserted into Kafka tables                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.kafka.rows.written.total**(gauge)                                                  | Number of rows inserted into Kafka tables                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.kafkta.table.writes.count**(count)                                                 | Number of writes (inserts) to Kafka tables                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.kafkta.table.writes.total**(gauge)                                                 | Number of writes (inserts) to Kafka tables                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.keeper.cache.hit.count**(count)                                                    | Number of times an object storage metadata request was answered from cache without making request to Keeper                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.cache.hit.total**(gauge)                                                    | Number of times an object storage metadata request was answered from cache without making request to Keeper                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.cache.miss.count**(count)                                                   | Number of times an object storage metadata request had to be answered from Keeper                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.keeper.cache.miss.total**(gauge)                                                   | Number of times an object storage metadata request had to be answered from Keeper                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.keeper.cache.update.time**(gauge)                                                  | Total time spent in updating the cache including waiting for responses from Keeper*Shown as microsecond*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.check.requests.count**(count)                                               | Number of check requests                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.check.requests.total**(gauge)                                               | Number of check requests                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.commits.count**(count)                                                      | Number of successful commits                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.keeper.commits.failed.count**(count)                                               | Number of failed commits                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.commits.failed.total**(gauge)                                               | Number of failed commits                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.commits.total**(gauge)                                                      | Number of successful commits                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.keeper.create.requests.count**(count)                                              | Number of create requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.create.requests.total**(gauge)                                              | Number of create requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.exists.requests.count**(count)                                              | Number of exists requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.exists.requests.total**(gauge)                                              | Number of exists requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.get.requests.count**(count)                                                 | Number of get requests                                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.get.requests.total**(gauge)                                                 | Number of get requests                                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.latency.count**(count)                                                      | Keeper latency                                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.keeper.latency.total**(gauge)                                                      | Keeper latency                                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.keeper.list.requests.count**(count)                                                | Number of list requests                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.keeper.list.requests.total**(gauge)                                                | Number of list requests                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.keeper.log\_entry.file.prefetched.count**(count)                                   | Number of log entries in Keeper being prefetched from the changelog file                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.log\_entry.file.prefetched.total**(gauge)                                   | Number of log entries in Keeper being prefetched from the changelog file                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.log\_entry.file.read.count**(count)                                         | Number of log entries in Keeper being read directly from the changelog file                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.log\_entry.file.read.total**(gauge)                                         | Number of log entries in Keeper being read directly from the changelog file                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.multi.requests.count**(count)                                               | Number of multi requests                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.multi.requests.total**(gauge)                                               | Number of multi requests                                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.keeper.multi\_read.requests.count**(count)                                         | Number of multi read requests                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.multi\_read.requests.total**(gauge)                                         | Number of multi read requests                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.packets.received.count**(count)                                             | Packets received by keeper server                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.keeper.packets.received.total**(gauge)                                             | Packets received by keeper server                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.keeper.packets.sent.count**(count)                                                 | Packets sent by keeper server                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.packets.sent.total**(gauge)                                                 | Packets sent by keeper server                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.reconfig.requests.count**(count)                                            | Number of reconfig requests                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.reconfig.requests.total**(gauge)                                            | Number of reconfig requests                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.reconnects.count**(count)                                                   | Number of times a reconnect to Keeper was done                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.keeper.reconnects.total**(gauge)                                                   | Number of times a reconnect to Keeper was done                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.keeper.remove.requests.count**(count)                                              | Number of remove requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.remove.requests.total**(gauge)                                              | Number of remove requests                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.keeper.requests.count**(count)                                                     | Number of times a request was made to Keeper                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.keeper.requests.total**(gauge)                                                     | Number of times a request was made to Keeper                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.keeper.requests.total.count**(count)                                               | Total requests number on keeper server                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.requests.total.total**(gauge)                                               | Total requests number on keeper server                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.set.requests.count**(count)                                                 | Number of set requests                                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.set.requests.total**(gauge)                                                 | Number of set requests                                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.snapshot.apply.count**(count)                                               | Number of snapshot applying                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.snapshot.apply.failed.count**(count)                                        | Number of failed snapshot applying                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.keeper.snapshot.apply.failed.total**(gauge)                                        | Number of failed snapshot applying                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.keeper.snapshot.apply.total**(gauge)                                               | Number of snapshot applying                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.keeper.snapshot.create.count**(count)                                              | Number of snapshots creations                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.snapshot.create.failed.count**(count)                                       | Number of failed snapshot creations                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.keeper.snapshot.create.failed.total**(gauge)                                       | Number of failed snapshot creations                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.keeper.snapshot.create.total**(gauge)                                              | Number of snapshots creations                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.keeper.snapshot.read.count**(count)                                                | Number of snapshot read(serialization)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.snapshot.read.total**(gauge)                                                | Number of snapshot read(serialization)                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keeper.snapshot.save.count**(count)                                                | Number of snapshot save                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.keeper.snapshot.save.total**(gauge)                                                | Number of snapshot save                                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.keerper.snapshot.create.failed.count**(count)                                      | Number of failed snapshot creations - To be deprecated                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.keerper.snapshot.create.failed.total**(gauge)                                      | Number of failed snapshot creations - To be deprecated                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.lock.context.acquisition.count**(count)                                            | The number of times the lock of Context was acquired or tried to acquire during the last interval. This is global lock.*Shown as event*                                                                                                                                                                                                                                                                                     |
| **clickhouse.lock.context.acquisition.total**(gauge)                                            | The total number of times the lock of Context was acquired or tried to acquire. This is global lock.*Shown as event*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.lock.context.wait\_time.count**(count)                                             | Context lock wait time in microseconds                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.lock.context.wait\_time.total**(gauge)                                             | Context lock wait time in microseconds                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.lock.read.rwlock.acquired.count**(count)                                           | Number of times a read lock was acquired (in a heavy RWLock).                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.lock.read.rwlock.acquired.time**(gauge)                                            | Total time spent waiting for a read lock to be acquired (in a heavy RWLock).*Shown as microsecond*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.lock.read.rwlock.acquired.total**(gauge)                                           | Number of times a read lock was acquired (in a heavy RWLock).                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.lock.write.rwlock.acquired.count**(count)                                          | Number of times a write lock was acquired (in a heavy RWLock).                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.lock.write.rwlock.acquired.time**(gauge)                                           | Total time spent waiting for a write lock to be acquired (in a heavy RWLock).*Shown as microsecond*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.lock.write.rwlock.acquired.total**(gauge)                                          | Number of times a write lock was acquired (in a heavy RWLock).                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.log.entry.merge.created.count**(count)                                             | Successfully created log entry to merge parts in ReplicatedMergeTree.*Shown as event*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.log.entry.merge.created.total**(gauge)                                             | Total successfully created log entryies to merge parts in ReplicatedMergeTree.*Shown as event*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.log.entry.merge.not\_created.count**(count)                                        | Log entry to merge parts in ReplicatedMergeTree is not created due to concurrent log update by another replica.*Shown as event*                                                                                                                                                                                                                                                                                             |
| **clickhouse.log.entry.merge.not\_created.total**(gauge)                                        | Total log entries to merge parts in ReplicatedMergeTree not created due to concurrent log update by another replica.*Shown as event*                                                                                                                                                                                                                                                                                        |
| **clickhouse.log.entry.mutation.created.count**(count)                                          | Successfully created log entry to mutate parts in ReplicatedMergeTree.*Shown as event*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.log.entry.mutation.created.total**(gauge)                                          | Total successfully created log entry to mutate parts in ReplicatedMergeTree.*Shown as event*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.log.entry.mutation.not\_created.count**(count)                                     | Log entry to mutate parts in ReplicatedMergeTree is not created due to concurrent log update by another replica.*Shown as event*                                                                                                                                                                                                                                                                                            |
| **clickhouse.log.entry.mutation.not\_created.total**(gauge)                                     | Total log entries to mutate parts in ReplicatedMergeTree not created due to concurrent log update by another replica.*Shown as event*                                                                                                                                                                                                                                                                                       |
| **clickhouse.log.messages.debug.count**(count)                                                  | Number of log messages with level Debug                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.debug.total**(gauge)                                                  | Number of log messages with level Debug                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.error.count**(count)                                                  | Number of log messages with level Error                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.error.total**(gauge)                                                  | Number of log messages with level Error                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.fatal.count**(count)                                                  | Number of log messages with level Fatal                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.fatal.total**(gauge)                                                  | Number of log messages with level Fatal                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.info.count**(count)                                                   | Number of log messages with level Info                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.log.messages.info.total**(gauge)                                                   | Number of log messages with level Info                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.log.messages.test.count**(count)                                                   | Number of log messages with level Test                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.log.messages.test.total**(gauge)                                                   | Number of log messages with level Test                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.log.messages.trace.count**(count)                                                  | Number of log messages with level Trace                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.trace.total**(gauge)                                                  | Number of log messages with level Trace                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.log.messages.warning.count**(count)                                                | Number of log messages with level Warning                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.log.messages.warning.total**(gauge)                                                | Number of log messages with level Warning                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.marks.load.time**(gauge)                                                           | Time spent loading marks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.marks.loaded.bytes.count**(count)                                                  | Size of in-memory representations of loaded marks.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.marks.loaded.bytes.total**(gauge)                                                  | Size of in-memory representations of loaded marks.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.marks.loaded.count.count**(count)                                                  | Number of marks loaded (total across columns).                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.marks.loaded.count.total**(gauge)                                                  | Number of marks loaded (total across columns).                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.memory.allocator.purge.count**(count)                                              | Total number of times memory allocator purge was requested                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.memory.allocator.purge.time**(gauge)                                               | Total number of times memory allocator purge was requested*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.memory.allocator.purge.total**(gauge)                                              | Total number of times memory allocator purge was requested                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.memory.allocator.purge.wait.time**(gauge)                                          | Total time spent in waiting for memory to be freed in OvercommitTracker.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.memory.arena.bytes.count**(count)                                                  | Number of bytes allocated for memory Arena (used for GROUP BY and similar operations)*Shown as byte*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.memory.arena.bytes.total**(gauge)                                                  | Number of bytes allocated for memory Arena (used for GROUP BY and similar operations)*Shown as byte*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.memory.arena.chunks.count**(count)                                                 | Number of chunks allocated for memory Arena (used for GROUP BY and similar operations)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.memory.arena.chunks.total**(gauge)                                                 | Number of chunks allocated for memory Arena (used for GROUP BY and similar operations)                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.memory.external.join.files.merged.count**(count)                                   | Number of times temporary files were merged for JOIN in external memory.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.memory.external.join.files.merged.total**(gauge)                                   | Number of times temporary files were merged for JOIN in external memory.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.memory.external.join.files.num\_written.count**(count)                             | Number of times a temporary file was written to disk for JOIN in external memory.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.memory.external.join.files.num\_written.total**(gauge)                             | Number of times a temporary file was written to disk for JOIN in external memory.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.memory.external.sort.files.num\_written.count**(count)                             | Number of times a temporary file was written to disk for sorting in external memory.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.memory.external.sort.files.num\_written.total**(gauge)                             | Number of times a temporary file was written to disk for sorting in external memory.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.merge.active**(gauge)                                                              | The number of executing background merges*Shown as merge*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.merge.count**(count)                                                               | The number of launched background merges during the last interval.*Shown as merge*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.merge.disk.reserved**(gauge)                                                       | Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.*Shown as byte*                                                                                                                                                                                                                                                                             |
| **clickhouse.merge.memory**(gauge)                                                              | Total amount of memory allocated for background merges. Included in MemoryTrackingInBackgroundProcessingPool. Note that this value may include a drift when the memory was allocated in a context of background processing pool and freed in other context or vice-versa. This happens naturally due to caches for tables indexes and doesn't indicate memory leaks.*Shown as byte*                                         |
| **clickhouse.merge.parts.compact.count**(count)                                                 | Number of parts merged into Compact format.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.merge.parts.compact.total**(gauge)                                                 | Number of parts merged into Compact format.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.merge.parts.wide.count**(count)                                                    | Number of parts merged into Wide format.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.merge.parts.wide.total**(gauge)                                                    | Number of parts merged into Wide format.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.merge.read.size.uncompressed.count**(count)                                        | The number of uncompressed bytes (for columns as they are stored in memory) that was read for background merges during the last interval. This is the number before merge.*Shown as byte*                                                                                                                                                                                                                                   |
| **clickhouse.merge.read.size.uncompressed.total**(gauge)                                        | The total number of uncompressed bytes (for columns as they are stored in memory) that was read for background merges. This is the number before merge.*Shown as byte*                                                                                                                                                                                                                                                      |
| **clickhouse.merge.row.read.count**(count)                                                      | The number of rows read for background merges during the last interval. This is the number of rows before merge.*Shown as row*                                                                                                                                                                                                                                                                                              |
| **clickhouse.merge.row.read.total**(gauge)                                                      | The total number of rows read for background merges. This is the number of rows before merge.*Shown as row*                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.merge.time**(gauge)                                                                | The percentage of time spent for background merges during the last interval.*Shown as percent*                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.merge.total**(gauge)                                                               | The total number of launched background merges.*Shown as merge*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.merge\_tree.announcements.sent**(gauge)                                            | The number of announcements sent from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side.                                                                                                                                                                                                                                                     |
| **clickhouse.merge\_tree.read\_task.requests.sent**(gauge)                                      | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side.                                                                                                                                                                                                                                                   |
| **clickhouse.merges\_mutations.bytes.total**(gauge)                                             | Total amount of memory (bytes) allocated by background tasks (merges and mutations).                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.ActiveTimersInQueryProfiler**(gauge)                                       | Number of Active thread local timers in QueryProfiler                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.AddressesActive**(gauge)                                                   | Total count of addresses which are used for creation connections with connection pools                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.AddressesBanned**(gauge)                                                   | Total count of addresses which are banned as faulty for creation connections with connection pools                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.AggregatorThreads**(gauge)                                                 | Number of threads in the Aggregator thread pool.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.AggregatorThreadsActive**(gauge)                                           | Number of threads in the Aggregator thread pool running a task.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.AggregatorThreadsScheduled**(gauge)                                        | Number of queued or active jobs in the Aggregator thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.AsyncInsertCacheSize**(gauge)                                              | Number of async insert hash id in cache                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.AsynchronousInsertQueueBytes**(gauge)                                      | Number of pending bytes in the AsynchronousInsert queue.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.AsynchronousInsertQueueSize**(gauge)                                       | Number of pending tasks in the AsynchronousInsert queue.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.AsynchronousInsertThreads**(gauge)                                         | Number of threads in the AsynchronousInsert thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.AsynchronousInsertThreadsActive**(gauge)                                   | Number of threads in the AsynchronousInsert thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.AsynchronousInsertThreadsScheduled**(gauge)                                | Number of queued or active jobs in the AsynchronousInsert thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.AsynchronousReadWait**(gauge)                                              | Number of threads waiting for asynchronous read.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.AttachedDatabase**(gauge)                                                  | Active databases.                                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.AttachedDictionary**(gauge)                                                | Active dictionaries.                                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.AttachedReplicatedTable**(gauge)                                           | Active replicated tables.                                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.AttachedTable**(gauge)                                                     | Active tables.                                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.AttachedView**(gauge)                                                      | Active views.                                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.AvroSchemaCacheBytes**(gauge)                                              | Size of the Avro schema cache in bytes                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.AvroSchemaCacheCells**(gauge)                                              | Number of cached Avro schemas                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.AvroSchemaRegistryCacheBytes**(gauge)                                      | Size of the Avro schema registry cache in bytes                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.AvroSchemaRegistryCacheCells**(gauge)                                      | Number of entries in Avro schema registry cache                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.AzureRequests**(gauge)                                                     | Number of currently executing Azure requests                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.BackgroundBufferFlushSchedulePoolSize**(gauge)                             | Limit on number of tasks in BackgroundBufferFlushSchedulePool                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.BackgroundBufferFlushSchedulePoolTask**(gauge)                             | Number of active tasks in BackgroundBufferFlushSchedulePool. This pool is used for periodic Buffer flushes                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.BackgroundCommonPoolSize**(gauge)                                          | Limit on number of tasks in an associated background pool                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.BackgroundCommonPoolTask**(gauge)                                          | Number of active tasks in an associated background pool                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.BackgroundDistributedSchedulePoolSize**(gauge)                             | Limit on number of tasks in BackgroundDistributedSchedulePool                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.BackgroundDistributedSchedulePoolTask**(gauge)                             | Number of active tasks in BackgroundDistributedSchedulePool. This pool is used for distributed sends that is done in background.                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.BackgroundFetchesPoolSize**(gauge)                                         | Limit on number of simultaneous fetches in an associated background pool                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.BackgroundFetchesPoolTask**(gauge)                                         | Number of active fetches in an associated background pool                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.BackgroundMergesAndMutationsPoolSize**(gauge)                              | Limit on number of active merges and mutations in an associated background pool                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.BackgroundMergesAndMutationsPoolTask**(gauge)                              | Number of active merges and mutations in an associated background pool                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.BackgroundMessageBrokerSchedulePoolSize**(gauge)                           | Limit on number of tasks in BackgroundMessageBrokerSchedulePool for message streaming                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.BackgroundMessageBrokerSchedulePoolTask**(gauge)                           | Number of active tasks in BackgroundMessageBrokerSchedulePool for message streaming                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.BackgroundMovePoolSize**(gauge)                                            | Limit on number of tasks in BackgroundProcessingPool for moves                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.BackgroundMovePoolTask**(gauge)                                            | Number of active tasks in BackgroundProcessingPool for moves                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.BackgroundSchedulePoolSize**(gauge)                                        | Limit on number of tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.                                                                                                                                                                                                                            |
| **clickhouse.metrics.BackgroundSchedulePoolTask**(gauge)                                        | Number of active tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.                                                                                                                                                                                                                              |
| **clickhouse.metrics.BackupsIOThreads**(gauge)                                                  | Number of threads in the BackupsIO thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.BackupsIOThreadsActive**(gauge)                                            | Number of threads in the BackupsIO thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.BackupsIOThreadsScheduled**(gauge)                                         | Number of queued or active jobs in the BackupsIO thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.BackupsThreads**(gauge)                                                    | Number of threads in the thread pool for BACKUP.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.BackupsThreadsActive**(gauge)                                              | Number of threads in thread pool for BACKUP running a task.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.BackupsThreadsScheduled**(gauge)                                           | Number of queued or active jobs for BACKUP.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.BrokenDisks**(gauge)                                                       | Number of disks disks that were marked as broken during disk check.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.BrokenDistributedBytesToInsert**(gauge)                                    | Number of bytes for asynchronous insertion into Distributed tables that has been marked as broken. Number of bytes for every shard is summed.                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.BrokenDistributedFilesToInsert**(gauge)                                    | Number of files for asynchronous insertion into Distributed tables that has been marked as broken. Number of files for every shard is summed.                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.BuildVectorSimilarityIndexThreads**(gauge)                                 | Number of threads in the build vector similarity index thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.BuildVectorSimilarityIndexThreadsActive**(gauge)                           | Number of threads in the build vector similarity index thread pool running a task.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.BuildVectorSimilarityIndexThreadsScheduled**(gauge)                        | Number of queued or active jobs in the build vector similarity index thread pool.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.CacheDetachedFileSegments**(gauge)                                         | Number of existing detached cache file segments                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.CacheDictionaryThreads**(gauge)                                            | Number of threads in the CacheDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.CacheDictionaryThreadsActive**(gauge)                                      | Number of threads in the CacheDictionary thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.CacheDictionaryThreadsScheduled**(gauge)                                   | Number of queued or active jobs in the CacheDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.CacheDictionaryUpdateQueueBatches**(gauge)                                 | Number of 'batches' (a set of keys) in update queue in CacheDictionaries.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.CacheDictionaryUpdateQueueKeys**(gauge)                                    | Exact number of keys in update queue in CacheDictionaries.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.CacheFileSegments**(gauge)                                                 | Number of existing cache file segments                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.CacheWarmerBytesInProgress**(gauge)                                        | Total size of remote file segments waiting to be asynchronously loaded into filesystem cache.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.CompiledExpressionCacheBytes**(gauge)                                      | Total bytes used for the cache of JIT-compiled code                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.CompiledExpressionCacheCount**(gauge)                                      | Total entries in the cache of JIT-compiled code                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.Compressing**(gauge)                                                       | Number of compress operations using internal compression codecs                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.CompressionThread**(gauge)                                                 | Number of threads in compression thread pools.                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.CompressionThreadActive**(gauge)                                           | Number of threads in compression thread pools running a task.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.CompressionThreadScheduled**(gauge)                                        | Number of queued or active jobs in compression thread pools.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.ConcurrencyControlAcquired**(gauge)                                        | Total number of acquired CPU slots                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.ConcurrencyControlAcquiredNonCompeting**(gauge)                            | Total number of acquired CPU slots that are not considered competing (the first thread if fair_round_robin scheduler is in use)                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ConcurrencyControlPreempted**(gauge)                                       | Total number of preempted threads waiting for CPU slot                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.ConcurrencyControlScheduled**(gauge)                                       | Total number of CPU slot requests are being scheduled currently                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ConcurrencyControlSoftLimit**(gauge)                                       | Value of soft limit on number of CPU slots                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.ConcurrentHashJoinPoolThreads**(gauge)                                     | Number of threads in the thread pool for concurrent hash join.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.ConcurrentHashJoinPoolThreadsActive**(gauge)                               | Number of threads in the thread pool for concurrent hash join running a task.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.ConcurrentHashJoinPoolThreadsScheduled**(gauge)                            | Number of queued or active jobs in the thread pool for concurrent hash join.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.ConcurrentQueryAcquired**(gauge)                                           | Total number of acquired query slots                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.ConcurrentQueryScheduled**(gauge)                                          | Total number of query slot requests are being scheduled currently                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.ContextLockWait**(gauge)                                                   | Number of threads waiting for lock in Context. This is global lock.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.CoordinatedMergesCoordinatorAssignedMerges**(gauge)                        | Number of assigned merges in merge coordinator state.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.CoordinatedMergesCoordinatorRunningMerges**(gauge)                         | Number of running merges visible for merge coordinator.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.CoordinatedMergesWorkerAssignedMerges**(gauge)                             | Number of assigned merges in merge worker state.                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.CreatedTimersInQueryProfiler**(gauge)                                      | Number of Created thread local timers in QueryProfiler                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DDLWorkerThreads**(gauge)                                                  | Number of threads in the DDLWorker thread pool for ON CLUSTER queries.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DDLWorkerThreadsActive**(gauge)                                            | Number of threads in the DDLWORKER thread pool for ON CLUSTER queries running a task.                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.DDLWorkerThreadsScheduled**(gauge)                                         | Number of queued or active jobs in the DDLWORKER thread pool for ON CLUSTER queries.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DNSAddressesCacheBytes**(gauge)                                            | Size of the DNS addresses cache in bytes                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.DNSAddressesCacheSize**(gauge)                                             | Number of cached DNS addresses                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.DNSHostsCacheBytes**(gauge)                                                | Size of the DNS hosts cache in bytes                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DNSHostsCacheSize**(gauge)                                                 | Number of cached DNS hosts                                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.DWARFReaderThreads**(gauge)                                                | Number of threads in the DWARFBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.DWARFReaderThreadsActive**(gauge)                                          | Number of threads in the DWARFBlockInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.DWARFReaderThreadsScheduled**(gauge)                                       | Number of queued or active jobs in the DWARFBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.DatabaseBackupThreads**(gauge)                                             | Number of threads in the DatabaseBackup thread pool.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DatabaseBackupThreadsActive**(gauge)                                       | Number of threads in the DatabaseBackup thread pool running a task.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DatabaseBackupThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the DatabaseBackup thread pool.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DatabaseCatalogThreads**(gauge)                                            | Number of threads in the DatabaseCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.DatabaseCatalogThreadsActive**(gauge)                                      | Number of threads in the DatabaseCatalog thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DatabaseCatalogThreadsScheduled**(gauge)                                   | Number of queued or active jobs in the DatabaseCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DatabaseOnDiskThreads**(gauge)                                             | Number of threads in the DatabaseOnDisk thread pool.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DatabaseOnDiskThreadsActive**(gauge)                                       | Number of threads in the DatabaseOnDisk thread pool running a task.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DatabaseOnDiskThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the DatabaseOnDisk thread pool.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DatabaseReplicatedCreateTablesThreads**(gauge)                             | Number of threads in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.DatabaseReplicatedCreateTablesThreadsActive**(gauge)                       | Number of active threads in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.DatabaseReplicatedCreateTablesThreadsScheduled**(gauge)                    | Number of queued or active jobs in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.Decompressing**(gauge)                                                     | Number of decompress operations using internal compression codecs                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.DelayedInserts**(gauge)                                                    | Number of INSERT queries that are throttled due to high number of active data parts for partition in a MergeTree table.                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.DestroyAggregatesThreads**(gauge)                                          | Number of threads in the thread pool for destroy aggregate states.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DestroyAggregatesThreadsActive**(gauge)                                    | Number of threads in the thread pool for destroy aggregate states running a task.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.DestroyAggregatesThreadsScheduled**(gauge)                                 | Number of queued or active jobs in the thread pool for destroy aggregate states.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.DictCacheRequests**(gauge)                                                 | Number of requests in fly to data sources of dictionaries of cache type.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.DiskConnectionsStored**(gauge)                                             | Total count of sessions stored in the session pool for disks                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.DiskConnectionsTotal**(gauge)                                              | Total count of all sessions: stored in the pool and actively used right now for disks                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.DiskObjectStorageAsyncThreads**(gauge)                                     | Obsolete metric, shows nothing.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.DiskObjectStorageAsyncThreadsActive**(gauge)                               | Obsolete metric, shows nothing.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.DiskPlainRewritableAzureDirectoryMapSize**(gauge)                          | Number of local-to-remote path entries in the 'plain_rewritable' in-memory map for AzureObjectStorage.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DiskPlainRewritableAzureFileCount**(gauge)                                 | Number of file entries in the 'plain_rewritable' in-memory map for AzureObjectStorage.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DiskPlainRewritableAzureUniqueFileNamesCount**(gauge)                      | Number of unique file name entries in the 'plain_rewritable' in-memory map for AzureObjectStorage.                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DiskPlainRewritableLocalDirectoryMapSize**(gauge)                          | Number of local-to-remote path entries in the 'plain_rewritable' in-memory map for LocalObjectStorage.                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DiskPlainRewritableLocalFileCount**(gauge)                                 | Number of file entries in the 'plain_rewritable' in-memory map for LocalObjectStorage.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DiskPlainRewritableLocalUniqueFileNamesCount**(gauge)                      | Number of unique file name entries in the 'plain_rewritable' in-memory map for LocalObjectStorage.                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DiskPlainRewritableS3DirectoryMapSize**(gauge)                             | Number of local-to-remote path entries in the 'plain_rewritable' in-memory map for S3ObjectStorage.                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DiskPlainRewritableS3FileCount**(gauge)                                    | Number of file entries in the 'plain_rewritable' in-memory map for S3ObjectStorage.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DiskPlainRewritableS3UniqueFileNamesCount**(gauge)                         | Number of unique file name entries in the 'plain_rewritable' in-memory map for S3ObjectStorage.                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.DiskS3NoSuchKeyErrors**(gauge)                                             | The number of `NoSuchKey` errors that occur when reading data from S3 cloud storage through ClickHouse disks.                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.DiskSpaceReservedForMerge**(gauge)                                         | Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.DistrCacheAllocatedConnections**(gauge)                                    | Number of currently allocated connections to Distributed Cache connection pool                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.DistrCacheBorrowedConnections**(gauge)                                     | Number of currently borrowed connections to Distributed Cache connection pool                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.DistrCacheOpenedConnections**(gauge)                                       | Number of open connections to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.DistrCacheReadRequests**(gauge)                                            | Number of executed Read requests to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.DistrCacheRegisteredServers**(gauge)                                       | Number of distributed cache registered servers                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.DistrCacheRegisteredServersCurrentAZ**(gauge)                              | Number of distributed cache registered servers in current az                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.DistrCacheServerConnections**(gauge)                                       | Number of open connections to ClickHouse server from Distributed Cache                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DistrCacheServerRegistryConnections**(gauge)                               | Number of active connections to ClickHouse server from Distributed Cache (not marked as cancelled because of limit)                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DistrCacheServerS3CachedClients**(gauge)                                   | Number of distributed cache S3 cached clients                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.DistrCacheUsedConnections**(gauge)                                         | Number of currently used connections to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.DistrCacheWriteRequests**(gauge)                                           | Number of executed Write requests to Distributed Cache                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.DistributedBytesToInsert**(gauge)                                          | Number of pending bytes to process for asynchronous insertion into Distributed tables. Number of bytes for every shard is summed.                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.DistributedFilesToInsert**(gauge)                                          | Number of pending files to process for asynchronous insertion into Distributed tables. Number of files for every shard is summed.                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.DistributedInsertThreads**(gauge)                                          | Number of threads used for INSERT into Distributed.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.DistributedInsertThreadsActive**(gauge)                                    | Number of threads used for INSERT into Distributed running a task.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.DistributedInsertThreadsScheduled**(gauge)                                 | Number of queued or active jobs used for INSERT into Distributed.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.DistributedSend**(gauge)                                                   | Number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.DropDistributedCacheThreads**(gauge)                                       | Number of threads in the threadpool for drop distributed cache query.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.DropDistributedCacheThreadsActive**(gauge)                                 | Number of active threads in the threadpool for drop distributed cache query.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.DropDistributedCacheThreadsScheduled**(gauge)                              | Number of queued or active jobs in the threadpool for drop distributed cache.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.EphemeralNode**(gauge)                                                     | Number of ephemeral nodes hold in ZooKeeper.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.FilesystemCacheDelayedCleanupElements**(gauge)                             | Filesystem cache elements in background cleanup queue                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.FilesystemCacheDownloadQueueElements**(gauge)                              | Filesystem cache elements in download queue                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.FilesystemCacheElements**(gauge)                                           | Filesystem cache elements (file segments)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.FilesystemCacheHoldFileSegments**(gauge)                                   | Filesystem cache file segment which are currently hold as unreleasable                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.FilesystemCacheKeys**(gauge)                                               | Number of keys in filesystem cache                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.FilesystemCacheReadBuffers**(gauge)                                        | Number of active cache buffers                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.FilesystemCacheReserveThreads**(gauge)                                     | Threads number trying to reserve space in cache                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.FilesystemCacheSize**(gauge)                                               | Filesystem cache size in bytes                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.FilesystemCacheSizeLimit**(gauge)                                          | Filesystem cache size limit in bytes                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.FilteringMarksWithPrimaryKey**(gauge)                                      | Number of threads currently doing filtering of mark ranges by the primary key                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.FilteringMarksWithSecondaryKeys**(gauge)                                   | Number of threads currently doing filtering of mark ranges by secondary keys                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.FormatParsingThreads**(gauge)                                              | Number of threads in the thread pool used for parsing input.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.FormatParsingThreadsActive**(gauge)                                        | Number of threads in the thread pool used for parsing input running a task.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.FormatParsingThreadsScheduled**(gauge)                                     | Number of queued or active jobs in the thread pool used for parsing input.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.GlobalThread**(gauge)                                                      | Number of threads in global thread pool.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.GlobalThreadActive**(gauge)                                                | Number of threads in global thread pool running a task.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.GlobalThreadScheduled**(gauge)                                             | Number of queued or active jobs in global thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.HTTPConnection**(gauge)                                                    | Number of connections to HTTP server                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.HTTPConnectionsStored**(gauge)                                             | Total count of sessions stored in the session pool for http hosts                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.HTTPConnectionsTotal**(gauge)                                              | Total count of all sessions: stored in the pool and actively used right now for http hosts                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.HashedDictionaryThreads**(gauge)                                           | Number of threads in the HashedDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.HashedDictionaryThreadsActive**(gauge)                                     | Number of threads in the HashedDictionary thread pool running a task.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.HashedDictionaryThreadsScheduled**(gauge)                                  | Number of queued or active jobs in the HashedDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.HiveFilesCacheBytes**(gauge)                                               | Size of the hive cache in bytes                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.HiveFilesCacheFiles**(gauge)                                               | Number of cached files in the hive cache                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.HiveMetadataFilesCacheBytes**(gauge)                                       | Size of the hive metadata cache in bytes                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.HiveMetadataFilesCacheFiles**(gauge)                                       | Number of cached files in the hive metadata cache                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.IDiskCopierThreads**(gauge)                                                | Number of threads for copying data between disks of different types.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.IDiskCopierThreadsActive**(gauge)                                          | Number of threads for copying data between disks of different types running a task.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.IDiskCopierThreadsScheduled**(gauge)                                       | Number of queued or active jobs for copying data between disks of different types.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.IOPrefetchThreads**(gauge)                                                 | Number of threads in the IO prefetch thread pool.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.IOPrefetchThreadsActive**(gauge)                                           | Number of threads in the IO prefetch thread pool running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.IOPrefetchThreadsScheduled**(gauge)                                        | Number of queued or active jobs in the IO prefetch thread pool.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.IOThreads**(gauge)                                                         | Number of threads in the IO thread pool.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.IOThreadsActive**(gauge)                                                   | Number of threads in the IO thread pool running a task.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.IOThreadsScheduled**(gauge)                                                | Number of queued or active jobs in the IO thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.IOUringInFlightEvents**(gauge)                                             | Number of io_uring SQEs in flight                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.IOUringPendingEvents**(gauge)                                              | Number of io_uring SQEs waiting to be submitted                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.IOWriterThreads**(gauge)                                                   | Number of threads in the IO writer thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.IOWriterThreadsActive**(gauge)                                             | Number of threads in the IO writer thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.IOWriterThreadsScheduled**(gauge)                                          | Number of queued or active jobs in the IO writer thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.IcebergCatalogThreads**(gauge)                                             | Number of threads in the IcebergCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.IcebergCatalogThreadsActive**(gauge)                                       | Number of threads in the IcebergCatalog thread pool running a task.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.IcebergCatalogThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the IcebergCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.IcebergMetadataFilesCacheBytes**(gauge)                                    | Size of the iceberg metadata cache in bytes                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.IcebergMetadataFilesCacheFiles**(gauge)                                    | Number of cached files in the iceberg metadata cache                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.IndexMarkCacheBytes**(gauge)                                               | Total size of mark cache for secondary indices in bytes                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.IndexMarkCacheFiles**(gauge)                                               | Total number of mark files cached in the mark cache for secondary indices                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.IndexUncompressedCacheBytes**(gauge)                                       | Total size of uncompressed cache in bytes for secondary indices. Uncompressed cache does not usually improve the performance and should be mostly avoided                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.IndexUncompressedCacheCells**(gauge)                                       | Total number of entries in the uncompressed cache for secondary indices. Each entry represents a decompressed block of data. Uncompressed cache does not usually improve performance and should be mostly avoided                                                                                                                                                                                                           |
| **clickhouse.metrics.InterserverConnection**(gauge)                                             | Number of connections from other replicas to fetch parts                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.IsServerShuttingDown**(gauge)                                              | Indicates if the server is shutting down: 0 = no, 1 = yes                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.KafkaAssignedPartitions**(gauge)                                           | Number of partitions Kafka tables currently assigned to                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.KafkaBackgroundReads**(gauge)                                              | Number of background reads currently working (populating materialized views from Kafka)                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.KafkaConsumers**(gauge)                                                    | Number of active Kafka consumers                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.KafkaConsumersInUse**(gauge)                                               | Number of consumers which are currently used by direct or background reads                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.KafkaConsumersWithAssignment**(gauge)                                      | Number of active Kafka consumers which have some partitions assigned.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.KafkaLibrdkafkaThreads**(gauge)                                            | Number of active librdkafka threads                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.KafkaProducers**(gauge)                                                    | Number of active Kafka producer created                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.KafkaWrites**(gauge)                                                       | Number of currently running inserts to Kafka                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.KeeperAliveConnections**(gauge)                                            | Number of alive connections                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.KeeperOutstandingRequests**(gauge)                                         | Number of outstanding requests                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.LicenseRemainingSeconds**(gauge)                                           | Remaining seconds of the license validity period.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.LocalThread**(gauge)                                                       | Obsolete. Number of threads in local thread pools. The threads in local thread pools are taken from the global thread pool.                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.LocalThreadActive**(gauge)                                                 | Obsolete. Number of threads in local thread pools running a task.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.LocalThreadScheduled**(gauge)                                              | Obsolete. Number of queued or active jobs in local thread pools.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.MMapCacheCells**(gauge)                                                    | The number of files opened with `mmap` (mapped in memory). This is used for queries with the setting `local_filesystem_read_method` set to `mmap`. The files opened with `mmap` are kept in the cache to avoid costly TLB flushes.                                                                                                                                                                                          |
| **clickhouse.metrics.MMappedFileBytes**(gauge)                                                  | Sum size of mmapped file regions.                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MMappedFiles**(gauge)                                                      | Total number of mmapped files.                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.MarkCacheBytes**(gauge)                                                    | Total size of mark cache in bytes                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MarkCacheFiles**(gauge)                                                    | Total number of mark files cached in the mark cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.MarksLoaderThreads**(gauge)                                                | Number of threads in thread pool for loading marks.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.MarksLoaderThreadsActive**(gauge)                                          | Number of threads in the thread pool for loading marks running a task.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.MarksLoaderThreadsScheduled**(gauge)                                       | Number of queued or active jobs in the thread pool for loading marks.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.MaxDDLEntryID**(gauge)                                                     | Max processed DDL entry of DDLWorker.                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.MaxPushedDDLEntryID**(gauge)                                               | Max DDL entry of DDLWorker that pushed to zookeeper.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.MemoryTracking**(gauge)                                                    | Total amount of memory (bytes) allocated by the server.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.MemoryTrackingUncorrected**(gauge)                                         | Total amount of memory (bytes) allocated by the server not corrected by RSS.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.Merge**(gauge)                                                             | Number of executing background merges                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.MergeJoinBlocksCacheBytes**(gauge)                                         | Total bytes used for cached blocks in MergeJoin                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.MergeJoinBlocksCacheCount**(gauge)                                         | Total cached blocks in MergeJoin                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.MergeParts**(gauge)                                                        | Number of source parts participating in current background merges                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MergeTreeAllRangesAnnouncementsSent**(gauge)                               | The current number of announcement being sent in flight from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side.                                                                                                                                                                                                                              |
| **clickhouse.metrics.MergeTreeBackgroundExecutorThreads**(gauge)                                | Number of threads in the MergeTreeBackgroundExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MergeTreeBackgroundExecutorThreadsActive**(gauge)                          | Number of threads in the MergeTreeBackgroundExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.MergeTreeBackgroundExecutorThreadsScheduled**(gauge)                       | Number of queued or active jobs in the MergeTreeBackgroundExecutor thread pool.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.MergeTreeDataSelectExecutorThreads**(gauge)                                | Number of threads in the MergeTreeDataSelectExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MergeTreeDataSelectExecutorThreadsActive**(gauge)                          | Number of threads in the MergeTreeDataSelectExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.MergeTreeDataSelectExecutorThreadsScheduled**(gauge)                       | Number of queued or active jobs in the MergeTreeDataSelectExecutor thread pool.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.MergeTreeFetchPartitionThreads**(gauge)                                    | Number of threads for ALTER TABLE FETCH PARTITION                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.MergeTreeFetchPartitionThreadsActive**(gauge)                              | Number of threads for ALTER TABLE FETCH PARTITION fetching part                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.MergeTreeFetchPartitionThreadsScheduled**(gauge)                           | Number of queued or active part fetches in ALTER TABLE FETCH PARTITION                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.MergeTreeOutdatedPartsLoaderThreads**(gauge)                               | Number of threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.MergeTreeOutdatedPartsLoaderThreadsActive**(gauge)                         | Number of active threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.MergeTreeOutdatedPartsLoaderThreadsScheduled**(gauge)                      | Number of queued or active jobs in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.MergeTreePartsCleanerThreads**(gauge)                                      | Number of threads in the MergeTree parts cleaner thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.MergeTreePartsCleanerThreadsActive**(gauge)                                | Number of threads in the MergeTree parts cleaner thread pool running a task.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.MergeTreePartsCleanerThreadsScheduled**(gauge)                             | Number of queued or active jobs in the MergeTree parts cleaner thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.MergeTreePartsLoaderThreads**(gauge)                                       | Number of threads in the MergeTree parts loader thread pool.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.MergeTreePartsLoaderThreadsActive**(gauge)                                 | Number of threads in the MergeTree parts loader thread pool running a task.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.MergeTreePartsLoaderThreadsScheduled**(gauge)                              | Number of queued or active jobs in the MergeTree parts loader thread pool.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.MergeTreeReadTaskRequestsSent**(gauge)                                     | The current number of callback requests in flight from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side.                                                                                                                                                                                                                                   |
| **clickhouse.metrics.MergeTreeSubcolumnsReaderThreads**(gauge)                                  | Number of threads in the thread pool used for subcolumns reading in MergeTree.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.MergeTreeSubcolumnsReaderThreadsActive**(gauge)                            | Number of threads in the thread pool used for subcolumns reading in MergeTree running a task.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.MergeTreeSubcolumnsReaderThreadsScheduled**(gauge)                         | Number of queued or active jobs in the thread pool used for subcolumns reading in MergeTree.                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.MergeTreeUnexpectedPartsLoaderThreads**(gauge)                             | Number of threads in the threadpool for loading Unexpected data parts.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.MergeTreeUnexpectedPartsLoaderThreadsActive**(gauge)                       | Number of active threads in the threadpool for loading Unexpected data parts.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.MergeTreeUnexpectedPartsLoaderThreadsScheduled**(gauge)                    | Number of queued or active jobs in the threadpool for loading Unexpected data parts.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.MergesMutationsMemoryTracking**(gauge)                                     | Total amount of memory (bytes) allocated by background tasks (merges and mutations).                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.MetadataFromKeeperCacheObjects**(gauge)                                    | Number of objects in disk metadata cache.                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.Move**(gauge)                                                              | Number of currently executing moves                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.MySQLConnection**(gauge)                                                   | Number of client connections using MySQL protocol                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.NetworkReceive**(gauge)                                                    | Number of threads receiving data from network. Only ClickHouse-related network interaction is included, not by 3rd party libraries.                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.NetworkSend**(gauge)                                                       | Number of threads sending data to network. Only ClickHouse-related network interaction is included, not by 3rd party libraries.                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ObjectStorageAzureThreads**(gauge)                                         | Number of threads in the AzureObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.ObjectStorageAzureThreadsActive**(gauge)                                   | Number of threads in the AzureObjectStorage thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.ObjectStorageAzureThreadsScheduled**(gauge)                                | Number of queued or active jobs in the AzureObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.ObjectStorageQueueRegisteredServers**(gauge)                               | Number of registered servers in StorageS3(Azure)Queue                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.ObjectStorageQueueShutdownThreads**(gauge)                                 | Number of threads in object storage queue shutdown pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.ObjectStorageQueueShutdownThreadsActive**(gauge)                           | Number of threads in object storage queue shutdown pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.ObjectStorageQueueShutdownThreadsScheduled**(gauge)                        | Number of queued or active jobs in object storage queue shutdown pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.ObjectStorageS3Threads**(gauge)                                            | Number of threads in the S3ObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.ObjectStorageS3ThreadsActive**(gauge)                                      | Number of threads in the S3ObjectStorage thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.ObjectStorageS3ThreadsScheduled**(gauge)                                   | Number of queued or active jobs in the S3ObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.OpenFileForRead**(gauge)                                                   | Number of files open for reading                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.OpenFileForWrite**(gauge)                                                  | Number of files open for writing                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.OutdatedPartsLoadingThreads**(gauge)                                       | Number of threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.OutdatedPartsLoadingThreadsActive**(gauge)                                 | Number of active threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.OutdatedPartsLoadingThreadsScheduled**(gauge)                              | Number of queued or active jobs in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.PageCacheBytes**(gauge)                                                    | Total size of userspace page cache in bytes                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.PageCacheCells**(gauge)                                                    | Total number of entries in the userspace page cache                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.ParallelCompressedWriteBufferThreads**(gauge)                              | Number of threads in all instances of ParallelCompressedWriteBuffer - these threads are doing parallel compression and writing                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.ParallelCompressedWriteBufferWait**(gauge)                                 | Number of threads in all instances of ParallelCompressedWriteBuffer that are currently waiting for buffer to become available for writing                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.ParallelFormattingOutputFormatThreads**(gauge)                             | Number of threads in the ParallelFormattingOutputFormatThreads thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.ParallelFormattingOutputFormatThreadsActive**(gauge)                       | Number of threads in the ParallelFormattingOutputFormatThreads thread pool running a task.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.ParallelFormattingOutputFormatThreadsScheduled**(gauge)                    | Number of queued or active jobs in the ParallelFormattingOutputFormatThreads thread pool.                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.ParallelParsingInputFormatThreads**(gauge)                                 | Number of threads in the ParallelParsingInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ParallelParsingInputFormatThreadsActive**(gauge)                           | Number of threads in the ParallelParsingInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ParallelParsingInputFormatThreadsScheduled**(gauge)                        | Number of queued or active jobs in the ParallelParsingInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.ParallelWithQueryActiveThreads**(gauge)                                    | Number of active threads in the threadpool for processing PARALLEL WITH queries.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ParallelWithQueryScheduledThreads**(gauge)                                 | Number of queued or active jobs in the threadpool for processing PARALLEL WITH queries.                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.ParallelWithQueryThreads**(gauge)                                          | Number of threads in the threadpool for processing PARALLEL WITH queries.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.ParquetDecoderIOThreads**(gauge)                                           | Number of threads in the ParquetBlockInputFormat io thread pool.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ParquetDecoderIOThreadsActive**(gauge)                                     | Number of threads in the ParquetBlockInputFormat io thread pool running a task.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ParquetDecoderIOThreadsScheduled**(gauge)                                  | Number of queued or active jobs in the ParquetBlockInputFormat io thread pool.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.ParquetDecoderThreads**(gauge)                                             | Number of threads in the ParquetBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.ParquetDecoderThreadsActive**(gauge)                                       | Number of threads in the ParquetBlockInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.ParquetDecoderThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the ParquetBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.ParquetEncoderThreads**(gauge)                                             | Number of threads in ParquetBlockOutputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.ParquetEncoderThreadsActive**(gauge)                                       | Number of threads in ParquetBlockOutputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.ParquetEncoderThreadsScheduled**(gauge)                                    | Number of queued or active jobs in ParquetBlockOutputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.PartMutation**(gauge)                                                      | Number of mutations (ALTER DELETE/UPDATE)                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.PartsActive**(gauge)                                                       | Active data part, used by current and upcoming SELECTs.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.PartsCommitted**(gauge)                                                    | Deprecated. See PartsActive.                                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.PartsCompact**(gauge)                                                      | Compact parts.                                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.PartsDeleteOnDestroy**(gauge)                                              | Part was moved to another disk and should be deleted in own destructor.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.PartsDeleting**(gauge)                                                     | Not active data part with identity refcounter, it is deleting right now by a cleaner.                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.PartsOutdated**(gauge)                                                     | Not active data part, but could be used by only current SELECTs, could be deleted after SELECTs finishes.                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.PartsPreActive**(gauge)                                                    | The part is in data_parts, but not used for SELECTs.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.PartsPreCommitted**(gauge)                                                 | Deprecated. See PartsPreActive.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.PartsTemporary**(gauge)                                                    | The part is generating now, it is not in data_parts list.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.PartsWide**(gauge)                                                         | Wide parts.                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.PendingAsyncInsert**(gauge)                                                | Number of asynchronous inserts that are waiting for flush.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.PolygonDictionaryThreads**(gauge)                                          | Number of threads in the threadpool for polygon dictionaries.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.PolygonDictionaryThreadsActive**(gauge)                                    | Number of active threads in the threadpool for polygon dictionaries.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.PolygonDictionaryThreadsScheduled**(gauge)                                 | Number of queued or active jobs in the threadpool for polygon dictionaries.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.PostgreSQLConnection**(gauge)                                              | Number of client connections using PostgreSQL protocol                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.PrimaryIndexCacheBytes**(gauge)                                            | Total size of primary index cache in bytes                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.PrimaryIndexCacheFiles**(gauge)                                            | Total number of index files cached in the primary index cache                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.Query**(gauge)                                                             | Number of executing queries                                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.QueryCacheBytes**(gauge)                                                   | Total size of the query cache in bytes                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.QueryCacheEntries**(gauge)                                                 | Total number of entries in the query cache                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.QueryConditionCacheBytes**(gauge)                                          | Total size of the query condition cache in bytes                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.QueryConditionCacheEntries**(gauge)                                        | Total number of entries in the query condition cache                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.QueryPipelineExecutorThreads**(gauge)                                      | Number of threads in the PipelineExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.QueryPipelineExecutorThreadsActive**(gauge)                                | Number of threads in the PipelineExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.QueryPipelineExecutorThreadsScheduled**(gauge)                             | Number of queued or active jobs in the PipelineExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.QueryPreempted**(gauge)                                                    | Number of running tasks which are paused and waiting due to 'priority' setting.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.QueryThread**(gauge)                                                       | Number of query processing threads                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.RWLockActiveReaders**(gauge)                                               | Number of threads holding read lock in a table RWLock.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.RWLockActiveWriters**(gauge)                                               | Number of threads holding write lock in a table RWLock.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.RWLockWaitingReaders**(gauge)                                              | Number of threads waiting for read on a table RWLock.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.RWLockWaitingWriters**(gauge)                                              | Number of threads waiting for write on a table RWLock.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.Read**(gauge)                                                              | Number of read (read, pread, io_getevents, etc.) syscalls in fly                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ReadTaskRequestsSent**(gauge)                                              | The current number of callback requests in flight from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.                                                                                                                                                                                                               |
| **clickhouse.metrics.ReadonlyDisks**(gauge)                                                     | Number of disks that were marked as readonly during disk check.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ReadonlyReplica**(gauge)                                                   | Number of Replicated tables that are currently in readonly state due to re-initialization after ZooKeeper session loss or due to startup without ZooKeeper configured.                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.RefreshableViews**(gauge)                                                  | Number materialized views with periodic refreshing (REFRESH)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.RefreshingViews**(gauge)                                                   | Number of materialized views currently executing a refresh                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.RemoteRead**(gauge)                                                        | Number of read with remote reader in fly                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.ReplicatedChecks**(gauge)                                                  | Number of data parts checking for consistency                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.ReplicatedFetch**(gauge)                                                   | Number of data parts being fetched from replica                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ReplicatedSend**(gauge)                                                    | Number of data parts being sent to replicas                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.RestartReplicaThreads**(gauge)                                             | Number of threads in the RESTART REPLICA thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.RestartReplicaThreadsActive**(gauge)                                       | Number of threads in the RESTART REPLICA thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.RestartReplicaThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the RESTART REPLICA thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.RestoreThreads**(gauge)                                                    | Number of threads in the thread pool for RESTORE.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.RestoreThreadsActive**(gauge)                                              | Number of threads in the thread pool for RESTORE running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.RestoreThreadsScheduled**(gauge)                                           | Number of queued or active jobs for RESTORE.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.Revision**(gauge)                                                          | Revision of the server. It is a number incremented for every release or release candidate except patch releases.                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.S3Requests**(gauge)                                                        | S3 requests count                                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.SchedulerIOReadScheduled**(gauge)                                          | Number of IO reads are being scheduled currently                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.SchedulerIOWriteScheduled**(gauge)                                         | Number of IO writes are being scheduled currently                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.SendExternalTables**(gauge)                                                | Number of connections that are sending data for external tables to remote servers. External tables are used to implement GLOBAL IN and GLOBAL JOIN operators with distributed subqueries.                                                                                                                                                                                                                                   |
| **clickhouse.metrics.SendScalars**(gauge)                                                       | Number of connections that are sending data for scalars to remote servers.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.SharedCatalogDropDetachLocalTablesErrors**(gauge)                          | Number of errors that occurred when attempting to drop or detach local tables in Shared Catalog.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.SharedCatalogDropLocalThreads**(gauge)                                     | Number of threads in the threadpool for drop of local tables in Shared Catalog.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.SharedCatalogDropLocalThreadsActive**(gauge)                               | Number of active threads in the threadpool for drop of local tables in Shared Catalog.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.SharedCatalogDropLocalThreadsScheduled**(gauge)                            | Number of queued or active jobs in the threadpool for drop of local tables in Shared Catalog.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.SharedCatalogDropZooKeeperThreads**(gauge)                                 | Number of threads in the threadpool for drop of object in ZooKeeper in Shared Catalog.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.SharedCatalogDropZooKeeperThreadsActive**(gauge)                           | Number of active threads in the threadpool for drop of object in ZooKeeper in Shared Catalog.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.SharedCatalogDropZooKeeperThreadsScheduled**(gauge)                        | Number of queued or active jobs in the threadpool for drop of object in ZooKeeper in Shared Catalog.                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.SharedCatalogNumberOfObjectsInState**(gauge)                               | Number of objects in the current state of Shared Catalog.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.SharedCatalogStateApplicationThreads**(gauge)                              | Number of threads in the threadpool for state application in Shared Catalog.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.SharedCatalogStateApplicationThreadsActive**(gauge)                        | Number of active threads in the threadpool for state application in Shared Catalog.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.SharedCatalogStateApplicationThreadsScheduled**(gauge)                     | Number of queued or active jobs in the threadpool for state application in Shared Catalog.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.SharedDatabaseCatalogTablesInLocalDropDetachQueue**(gauge)                 | Number of tables in the queue for local drop or detach in Shared Catalog.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.SharedMergeTreeAssignedCurrentParts**(gauge)                               | Number of parts locked by merge or mutation                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.SharedMergeTreeCondemnedPartsInKeeper**(gauge)                             | How many condemned part records stored in keeper                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.SharedMergeTreeFetch**(gauge)                                              | Number of fetches in progress                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.SharedMergeTreeOutdatedPartsInKeeper**(gauge)                              | How many outdated part records stored in keeper                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.SharedMergeTreeThreads**(gauge)                                            | Number of threads in the thread pools in internals of SharedMergeTree                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.SharedMergeTreeThreadsActive**(gauge)                                      | Number of threads in the thread pools in internals of SharedMergeTree running a task                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.SharedMergeTreeThreadsScheduled**(gauge)                                   | Number of queued or active threads in the thread pools in internals of SharedMergeTree                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.StartupScriptsExecutionState**(gauge)                                      | State of startup scripts execution: 0 = not finished, 1 = success, 2 = failure.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.StartupSystemTablesThreads**(gauge)                                        | Number of threads in the StartupSystemTables thread pool.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.StartupSystemTablesThreadsActive**(gauge)                                  | Number of threads in the StartupSystemTables thread pool running a task.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.StartupSystemTablesThreadsScheduled**(gauge)                               | Number of queued or active jobs in the StartupSystemTables thread pool.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.StatelessWorkerThreads**(gauge)                                            | Number of threads in the stateless worker thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.StatelessWorkerThreadsActive**(gauge)                                      | Number of threads in the stateless worker thread pool running a task.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.StatelessWorkerThreadsScheduled**(gauge)                                   | Number of queued or active jobs in the stateless worker thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.StorageBufferBytes**(gauge)                                                | Number of bytes in buffers of Buffer tables                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.StorageBufferFlushThreads**(gauge)                                         | Number of threads for background flushes in StorageBuffer                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.StorageBufferFlushThreadsActive**(gauge)                                   | Number of threads for background flushes in StorageBuffer running a task                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.StorageBufferFlushThreadsScheduled**(gauge)                                | Number of queued or active threads for background flushes in StorageBuffer                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.StorageBufferRows**(gauge)                                                 | Number of rows in buffers of Buffer tables                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.StorageConnectionsStored**(gauge)                                          | Total count of sessions stored in the session pool for storages                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.StorageConnectionsTotal**(gauge)                                           | Total count of all sessions: stored in the pool and actively used right now for storages                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.StorageDistributedThreads**(gauge)                                         | Number of threads in the StorageDistributed thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.metrics.StorageDistributedThreadsActive**(gauge)                                   | Number of threads in the StorageDistributed thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.StorageDistributedThreadsScheduled**(gauge)                                | Number of queued or active jobs in the StorageDistributed thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.StorageHiveThreads**(gauge)                                                | Number of threads in the StorageHive thread pool.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.StorageHiveThreadsActive**(gauge)                                          | Number of threads in the StorageHive thread pool running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.StorageHiveThreadsScheduled**(gauge)                                       | Number of queued or active jobs in the StorageHive thread pool.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.StorageObjectStorageThreads**(gauge)                                       | Number of threads in the remote table engines thread pools.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.metrics.StorageObjectStorageThreadsActive**(gauge)                                 | Number of threads in the remote table engines thread pool running a task.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.StorageObjectStorageThreadsScheduled**(gauge)                              | Number of queued or active jobs in remote table engines thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.StorageS3Threads**(gauge)                                                  | Number of threads in the StorageS3 thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.StorageS3ThreadsActive**(gauge)                                            | Number of threads in the StorageS3 thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.StorageS3ThreadsScheduled**(gauge)                                         | Number of queued or active jobs in the StorageS3 thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.SystemReplicasThreads**(gauge)                                             | Number of threads in the system.replicas thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.SystemReplicasThreadsActive**(gauge)                                       | Number of threads in the system.replicas thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.SystemReplicasThreadsScheduled**(gauge)                                    | Number of queued or active jobs in the system.replicas thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.TCPConnection**(gauge)                                                     | Number of connections to TCP server (clients with native interface), also included server-server distributed query connections                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.TablesLoaderBackgroundThreads**(gauge)                                     | Number of threads in the tables loader background thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.TablesLoaderBackgroundThreadsActive**(gauge)                               | Number of threads in the tables loader background thread pool running a task.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.TablesLoaderBackgroundThreadsScheduled**(gauge)                            | Number of queued or active jobs in the tables loader background thread pool.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.TablesLoaderForegroundThreads**(gauge)                                     | Number of threads in the tables loader foreground thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.metrics.TablesLoaderForegroundThreadsActive**(gauge)                               | Number of threads in the tables loader foreground thread pool running a task.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.metrics.TablesLoaderForegroundThreadsScheduled**(gauge)                            | Number of queued or active jobs in the tables loader foreground thread pool.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.TablesToDropQueueSize**(gauge)                                             | Number of dropped tables, that are waiting for background data removal.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.TaskTrackerThreads**(gauge)                                                | Number of threads used by the distributed query remote task tracker.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.metrics.TaskTrackerThreadsActive**(gauge)                                          | Number of threads in the distributed query remote task tracker thread pool running a task.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.TaskTrackerThreadsScheduled**(gauge)                                       | Number of queued or active jobs in the distributed query remote task tracker thread pool.                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.metrics.TemporaryFilesForAggregation**(gauge)                                      | Number of temporary files created for external aggregation                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.TemporaryFilesForJoin**(gauge)                                             | Number of temporary files created for JOIN                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.metrics.TemporaryFilesForMerge**(gauge)                                            | Number of temporary files for vertical merge                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.metrics.TemporaryFilesForSort**(gauge)                                             | Number of temporary files created for external sorting                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.metrics.TemporaryFilesUnknown**(gauge)                                             | Number of temporary files created without known purpose                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.ThreadPoolFSReaderThreads**(gauge)                                         | Number of threads in the thread pool for local_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.ThreadPoolFSReaderThreadsActive**(gauge)                                   | Number of threads in the thread pool for local_filesystem_read_method=threadpool running a task.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ThreadPoolFSReaderThreadsScheduled**(gauge)                                | Number of queued or active jobs in the thread pool for local_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.metrics.ThreadPoolRemoteFSReaderThreads**(gauge)                                   | Number of threads in the thread pool for remote_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.ThreadPoolRemoteFSReaderThreadsActive**(gauge)                             | Number of threads in the thread pool for remote_filesystem_read_method=threadpool running a task.                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.ThreadPoolRemoteFSReaderThreadsScheduled**(gauge)                          | Number of queued or active jobs in the thread pool for remote_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.metrics.ThreadsInOvercommitTracker**(gauge)                                        | Number of waiting threads inside of OvercommitTracker                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.metrics.TotalTemporaryFiles**(gauge)                                               | Number of temporary files created                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.metrics.UncompressedCacheBytes**(gauge)                                            | Total size of uncompressed cache in bytes. Uncompressed cache does not usually improve the performance and should be mostly avoided                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.UncompressedCacheCells**(gauge)                                            | Total number of entries in the uncompressed cache. Each entry represents a decompressed block of data. Uncompressed cache does not usually improve performance and should be mostly avoided                                                                                                                                                                                                                                 |
| **clickhouse.metrics.VectorSimilarityIndexCacheBytes**(gauge)                                   | Size of the vector similarity index cache in bytes                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.VectorSimilarityIndexCacheCells**(gauge)                                   | Number of entries in vector similarity index cache                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.metrics.VersionInteger**(gauge)                                                    | Version of the server in a single integer number in base-1000. For example, version 11.22.33 is translated to 11022033.                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.Write**(gauge)                                                             | Number of write (write, pwrite, io_getevents, etc.) syscalls in fly                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.metrics.ZooKeeperRequest**(gauge)                                                  | Number of requests to ZooKeeper in fly.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.metrics.ZooKeeperSession**(gauge)                                                  | Number of sessions (connections) to ZooKeeper. Should be no more than one, because using more than one connection to ZooKeeper may lead to bugs due to lack of linearizability (stale reads) that ZooKeeper consistency model allows.                                                                                                                                                                                       |
| **clickhouse.metrics.ZooKeeperWatch**(gauge)                                                    | Number of watches (event subscriptions) in ZooKeeper.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.mmapped.file.current**(gauge)                                                      | Total number of mmapped files.*Shown as file*                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.mmapped.file.size**(gauge)                                                         | Sum size of mmapped file regions.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.moves.executing.currently**(gauge)                                                 | Number of currently executing moves                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.network.receive.elapsed.time**(gauge)                                              | Total time spent waiting for data to receive or receiving data from the network.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.network.receive.size.count**(count)                                                | The number of bytes received from network.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.network.receive.size.total**(gauge)                                                | The total number of bytes received from network.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.network.send.elapsed.time**(gauge)                                                 | Total time spent waiting for data to send to network or sending data to network.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.network.send.size.count**(count)                                                   | The number of bytes sent to the network.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.network.send.size.total**(gauge)                                                   | The total number of bytes sent to the network.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.network.threads.receive**(gauge)                                                   | Number of threads receiving data from the network.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.network.threads.send**(gauge)                                                      | Number of threads sending data to the network.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.node.remove.count**(count)                                                         | The number of times an error happened while trying to remove ephemeral node during the last interval. This is usually not an issue, because ClickHouse's implementation of ZooKeeper library guarantees that the session will expire and the node will be removed.*Shown as error*                                                                                                                                          |
| **clickhouse.node.remove.total**(gauge)                                                         | The total number of times an error happened while trying to remove ephemeral node. This is usually not an issue, because ClickHouse's implementation of ZooKeeper library guarantees that the session will expire and the node will be removed.*Shown as error*                                                                                                                                                             |
| **clickhouse.part.max**(gauge)                                                                  | The maximum number of active parts in partitions.*Shown as item*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.parts.active**(gauge)                                                              | [Only versions >= 22.7.1] Active data part used by current and upcoming SELECTs.*Shown as item*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.parts.committed**(gauge)                                                           | Active data part, used by current and upcoming SELECTs.*Shown as item*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.parts.compact**(gauge)                                                             | Compact parts.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.parts.compact.inserted.count**(count)                                              | Number of parts inserted in Compact format.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.parts.compact.inserted.total**(gauge)                                              | Number of parts inserted in Compact format.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.parts.delete\_on\_destroy**(gauge)                                                 | Part was moved to another disk and should be deleted in own destructor.*Shown as item*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.parts.deleting**(gauge)                                                            | Not active data part with identity refcounter, it is deleting right now by a cleaner.*Shown as item*                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.parts.inmemory**(gauge)                                                            | In-memory parts.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.parts.mutations.applied.fly.count**(count)                                         | Total number of parts for which there was any mutation applied on fly                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.parts.mutations.applied.fly.total**(gauge)                                         | Total number of parts for which there was any mutation applied on fly                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.parts.outdated**(gauge)                                                            | Not active data part, but could be used by only current SELECTs, could be deleted after SELECTs finishes.*Shown as item*                                                                                                                                                                                                                                                                                                    |
| **clickhouse.parts.pre\_active**(gauge)                                                         | [Only versions >= 22.7.1] The part is in data_parts but not used for SELECTs.*Shown as item*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.parts.precommitted**(gauge)                                                        | The part is in data_parts, but not used for SELECTs.*Shown as item*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.parts.temporary**(gauge)                                                           | The part is generating now, it is not in data_parts list.*Shown as item*                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.parts.wide**(gauge)                                                                | Wide parts.*Shown as item*                                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.parts.wide.inserted.count**(count)                                                 | Number of parts inserted in Wide format.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.parts.wide.inserted.total**(gauge)                                                 | Number of parts inserted in Wide format.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.perf.alignment.faults.count**(count)                                               | Number of alignment faults. These happen when unaligned memory accesses happen; the kernel can handle these but it reduces performance. This happens only on some architectures (never on x86).*Shown as event*                                                                                                                                                                                                             |
| **clickhouse.perf.alignment.faults.total**(gauge)                                               | Total number of alignment faults. These happen when unaligned memory accesses happen; the kernel can handle these but it reduces performance. This happens only on some architectures (never on x86).*Shown as event*                                                                                                                                                                                                       |
| **clickhouse.perf.branch.instructions.count**(count)                                            | Retired branch instructions. Prior to Linux 2.6.35, this used the wrong event on AMD processors.*Shown as unit*                                                                                                                                                                                                                                                                                                             |
| **clickhouse.perf.branch.instructions.total**(gauge)                                            | Total retired branch instructions. Prior to Linux 2.6.35, this used the wrong event on AMD processors.*Shown as unit*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.perf.branch.misses.count**(count)                                                  | Mispredicted branch instructions.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.perf.branch.misses.total**(gauge)                                                  | Total mispredicted branch instructions.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.perf.bus.cycles.count**(count)                                                     | Bus cycles, which can be different from total cycles.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.perf.bus.cycles.total**(gauge)                                                     | Total bus cycles, which can be different from total cycles.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.perf.cache.misses.count**(count)                                                   | Cache misses. Usually this indicates Last Level Cache misses; this is intended to be used in conjunction with the PERFCOUNTHWCACHEREFERENCES event to calculate cache miss rates.*Shown as miss*                                                                                                                                                                                                                            |
| **clickhouse.perf.cache.misses.total**(gauge)                                                   | Cache misses. Usually this indicates total Last Level Cache misses; this is intended to be used in conjunction with the PERFCOUNTHWCACHEREFERENCES event to calculate cache miss rates.*Shown as miss*                                                                                                                                                                                                                      |
| **clickhouse.perf.cache.references.count**(count)                                               | Cache accesses. Usually this indicates Last Level Cache accesses but this may vary depending on your CPU. This may include prefetches and coherency messages; again this depends on the design of your CPU.*Shown as unit*                                                                                                                                                                                                  |
| **clickhouse.perf.cache.references.total**(gauge)                                               | Cache accesses. Usually this indicates total Last Level Cache accesses but this may vary depending on your CPU. This may include prefetches and coherency messages; again this depends on the design of your CPU.*Shown as unit*                                                                                                                                                                                            |
| **clickhouse.perf.context.switches.count**(count)                                               | Number of context switches                                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.perf.context.switches.total**(gauge)                                               | Total number of context switches                                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.perf.cpu.clock**(gauge)                                                            | The CPU clock, a high-resolution per-CPU timer.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.perf.cpu.cycles.count**(count)                                                     | CPU cycles. Be wary of what happens during CPU frequency scaling.*Shown as unit*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.perf.cpu.cycles.total**(gauge)                                                     | Total CPU cycles. Be wary of what happens during CPU frequency scaling.*Shown as unit*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.perf.cpu.migrations.count**(count)                                                 | Number of times the process has migrated to a new CPU*Shown as unit*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.perf.cpu.migrations.total**(gauge)                                                 | Total number of times the process has migrated to a new CPU*Shown as unit*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.perf.cpu.ref\_cycles.count**(count)                                                | CPU cycles; not affected by CPU frequency scaling.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.perf.cpu.ref\_cycles.total**(gauge)                                                | Total cycles; not affected by CPU frequency scaling.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.perf.data.tlb.misses.count**(count)                                                | Data TLB misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.perf.data.tlb.misses.total**(gauge)                                                | Total data TLB misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.perf.data.tlb.references.count**(count)                                            | Data TLB references*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.perf.data.tlb.references.total**(gauge)                                            | Total data TLB references*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.perf.emulation.faults.count**(count)                                               | Number of emulation faults. The kernel sometimes traps on unimplemented instructions and emulates them for user space. This can negatively impact performance.*Shown as fault*                                                                                                                                                                                                                                              |
| **clickhouse.perf.emulation.faults.total**(gauge)                                               | Total number of emulation faults. The kernel sometimes traps on unimplemented instructions and emulates them for user space. This can negatively impact performance.*Shown as fault*                                                                                                                                                                                                                                        |
| **clickhouse.perf.instruction.tlb.misses.count**(count)                                         | Instruction TLB misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.perf.instruction.tlb.misses.total**(gauge)                                         | Total instruction TLB misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.perf.instruction.tlb.references.count**(count)                                     | Instruction TLB references*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.perf.instruction.tlb.references.total**(gauge)                                     | Total instruction TLB references*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.perf.instructions.count**(count)                                                   | Retired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts.*Shown as unit*                                                                                                                                                                                                                                                                                           |
| **clickhouse.perf.instructions.total**(gauge)                                                   | Total retired instructions. Be careful, these can be affected by various issues, most notably hardware interrupt counts.*Shown as unit*                                                                                                                                                                                                                                                                                     |
| **clickhouse.perf.local\_memory.misses.count**(count)                                           | Local NUMA node memory read misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.perf.local\_memory.misses.total**(gauge)                                           | Total local NUMA node memory read misses*Shown as miss*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.perf.local\_memory.references.count**(count)                                       | Local NUMA node memory reads*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.perf.local\_memory.references.total**(gauge)                                       | Total local NUMA node memory reads*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.perf.min\_enabled.min\_time**(gauge)                                               | For all events, minimum time that an event was enabled. Used to track event multiplexing influence.*Shown as microsecond*                                                                                                                                                                                                                                                                                                   |
| **clickhouse.perf.min\_enabled.running\_time**(gauge)                                           | Running time for event with minimum enabled time. Used to track the amount of event multiplexing*Shown as microsecond*                                                                                                                                                                                                                                                                                                      |
| **clickhouse.perf.stalled\_cycles.backend.count**(count)                                        | Stalled cycles during retirement.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.perf.stalled\_cycles.backend.total**(gauge)                                        | Total stalled cycles during retirement.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.perf.stalled\_cycles.frontend.count**(count)                                       | Stalled cycles during issue.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.perf.stalled\_cycles.frontend.total**(gauge)                                       | Total stalled cycles during issue.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.perf.task.clock**(gauge)                                                           | A clock count specific to the task that is running                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.pool.polygon.added.count**(count)                                                  | A polygon has been added to the cache (pool) for the 'pointInPolygon' function.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.pool.polygon.added.total**(gauge)                                                  | A polygon has been added to the cache (pool) for the 'pointInPolygon' function.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.pool.polygon.bytes.count**(count)                                                  | The number of bytes for polygons added to the cache (pool) for the 'pointInPolygon' function.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.pool.polygon.bytes.total**(gauge)                                                  | The number of bytes for polygons added to the cache (pool) for the 'pointInPolygon' function.                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.postgresql.connection**(gauge)                                                     | Number of client connections using PostgreSQL protocol*Shown as connection*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.processing.external.files.total.count**(count)                                     | Number of files used by external processing (sorting/aggragating/joining)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.processing.external.files.total.total**(gauge)                                     | Number of files used by external processing (sorting/aggragating/joining)                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.queries.read.new\_parts.ignored.count**(count)                                     | See setting ignore_cold_parts_seconds. Number of times read queries ignored very new parts that weren't pulled into cache by CacheWarmer yet.                                                                                                                                                                                                                                                                               |
| **clickhouse.queries.read.new\_parts.ignored.total**(gauge)                                     | See setting ignore_cold_parts_seconds. Number of times read queries ignored very new parts that weren't pulled into cache by CacheWarmer yet.                                                                                                                                                                                                                                                                               |
| **clickhouse.queries.read.outdated.parts.count**(count)                                         | See setting prefer_warmed_unmerged_parts_seconds. Number of times read queries used outdated pre-merge parts that are in cache instead of merged part that wasn't pulled into cache by CacheWarmer yet.                                                                                                                                                                                                                     |
| **clickhouse.queries.read.outdated.parts.total**(gauge)                                         | See setting prefer_warmed_unmerged_parts_seconds. Number of times read queries used outdated pre-merge parts that are in cache instead of merged part that wasn't pulled into cache by CacheWarmer yet.                                                                                                                                                                                                                     |
| **clickhouse.query.active**(gauge)                                                              | The number of executing queries*Shown as query*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.query.async.insert.bytes.count**(count)                                            | Data size in bytes of asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.query.async.insert.bytes.total**(gauge)                                            | Data size in bytes of asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.query.async.insert.count**(count)                                                  | Same as InsertQuery, but only for asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.query.async.insert.failed.count**(count)                                           | Number of failed ASYNC INSERT queries.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.query.async.insert.failed.total**(gauge)                                           | Number of failed ASYNC INSERT queries.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.query.async.insert.hash\_id.duplicate.count**(count)                               | Number of times a duplicate hash id has been found in asynchronous INSERT hash id cache.                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.async.insert.hash\_id.duplicate.total**(gauge)                               | Number of times a duplicate hash id has been found in asynchronous INSERT hash id cache.                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.async.insert.rows.count**(count)                                             | Number of rows inserted by asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.query.async.insert.rows.total**(gauge)                                             | Number of rows inserted by asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.query.async.insert.total**(gauge)                                                  | Same as InsertQuery, but only for asynchronous INSERT queries.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.query.async.loader.wait.time**(gauge)                                              | Total time a query was waiting for async loader jobs.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.query.count**(count)                                                               | The number of queries to be interpreted and potentially executed during the last interval. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                           |
| **clickhouse.query.failed.count**(count)                                                        | Number of failed queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.query.failed.total**(gauge)                                                        | Total number of failed queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.query.initial.count**(count)                                                       | Same as Query, but only counts initial queries (see is_initial_query).                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.query.initial.total**(gauge)                                                       | Same as Query, but only counts initial queries (see is_initial_query).                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.query.insert.count**(count)                                                        | The number of INSERT queries to be interpreted and potentially executed during the last interval. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                    |
| **clickhouse.query.insert.delayed**(gauge)                                                      | The number of INSERT queries that are throttled due to high number of active data parts for partition in a MergeTree table.*Shown as query*                                                                                                                                                                                                                                                                                 |
| **clickhouse.query.insert.failed.count**(count)                                                 | Same as FailedQuery, but only for INSERT queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.query.insert.failed.total**(gauge)                                                 | Same as FailedQuery, but only for INSERT queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.query.insert.subqueries.count**(count)                                             | Count INSERT queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.insert.subqueries.total**(gauge)                                             | Count INSERT queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.insert.total**(gauge)                                                        | The total number of INSERT queries to be interpreted and potentially executed. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                                       |
| **clickhouse.query.local\_timers.active**(gauge)                                                | Number of Created thread local timers in QueryProfiler                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.query.mask.match.count**(count)                                                    | The number of times query masking rules were successfully matched during the last interval.*Shown as occurrence*                                                                                                                                                                                                                                                                                                            |
| **clickhouse.query.mask.match.total**(gauge)                                                    | The total number of times query masking rules were successfully matched.*Shown as occurrence*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.query.memory**(gauge)                                                              | Total amount of memory allocated in currently executing queries. Note that some memory allocations may not be accounted.*Shown as byte*                                                                                                                                                                                                                                                                                     |
| **clickhouse.query.memory.limit\_exceeded.count**(count)                                        | Number of times when memory limit exceeded for query.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.query.memory.limit\_exceeded.total**(gauge)                                        | Total number of times when memory limit exceeded for query.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.query.mutation**(gauge)                                                            | The number of mutations (ALTER DELETE/UPDATE)*Shown as query*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.query.other.time**(gauge)                                                          | Total time of queries that are not SELECT or INSERT.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.query.overflow.any.count**(count)                                                  | Number of times approximate GROUP BY was in effect: when aggregation was performed only on top of first 'max_rows_to_group_by' unique keys and other keys were ignored due to 'group_by_overflow_mode' = 'any'.                                                                                                                                                                                                             |
| **clickhouse.query.overflow.any.total**(gauge)                                                  | Number of times approximate GROUP BY was in effect: when aggregation was performed only on top of first 'max_rows_to_group_by' unique keys and other keys were ignored due to 'group_by_overflow_mode' = 'any'.                                                                                                                                                                                                             |
| **clickhouse.query.overflow.break.count**(count)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'break' and the result is incomplete.                                                                                                                                                                                                                                                                        |
| **clickhouse.query.overflow.break.total**(gauge)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'break' and the result is incomplete.                                                                                                                                                                                                                                                                        |
| **clickhouse.query.overflow.throw.count**(count)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'throw' and exception was thrown.                                                                                                                                                                                                                                                                            |
| **clickhouse.query.overflow.throw.total**(gauge)                                                | Number of times, data processing was cancelled by query complexity limitation with setting '*_overflow_mode' = 'throw' and exception was thrown.                                                                                                                                                                                                                                                                            |
| **clickhouse.query.profiler.runs.count**(count)                                                 | Number of times QueryProfiler had been run.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.query.profiler.runs.total**(gauge)                                                 | Number of times QueryProfiler had been run.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.query.read.backoff.count**(count)                                                  | The number of times the number of query processing threads was lowered due to slow reads during the last interval.*Shown as occurrence*                                                                                                                                                                                                                                                                                     |
| **clickhouse.query.read.backoff.total**(gauge)                                                  | The total number of times the number of query processing threads was lowered due to slow reads.*Shown as occurrence*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.query.select.count**(count)                                                        | The number of SELECT queries to be interpreted and potentially executed during the last interval. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                    |
| **clickhouse.query.select.subqueries.count**(count)                                             | Count SELECT queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.select.subqueries.total**(gauge)                                             | Count SELECT queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.query.select.time**(gauge)                                                         | Total time of SELECT queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.query.select.total**(gauge)                                                        | The total number of SELECT queries to be interpreted and potentially executed. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                                       |
| **clickhouse.query.signal.dropped.count**(count)                                                | The number of times the processing of a signal was dropped due to overrun plus the number of signals that the OS has not delivered due to overrun during the last interval.*Shown as occurrence*                                                                                                                                                                                                                            |
| **clickhouse.query.signal.dropped.total**(gauge)                                                | The total number of times the processing of a signal was dropped due to overrun plus the number of signals that the OS has not delivered due to overrun.*Shown as occurrence*                                                                                                                                                                                                                                               |
| **clickhouse.query.sleep.time**(gauge)                                                          | The percentage of time a query was sleeping to conform to the `max_network_bandwidth` setting during the last interval.*Shown as percent*                                                                                                                                                                                                                                                                                   |
| **clickhouse.query.subqueries.count**(count)                                                    | Count queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.query.subqueries.total**(gauge)                                                    | Count queries with all subqueries                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.query.time**(gauge)                                                                | Total time of all queries.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.query.timers.active**(gauge)                                                       | Number of Active thread local timers in QueryProfiler                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.query.total**(gauge)                                                               | The total number of queries to be interpreted and potentially executed. Does not include queries that failed to parse or were rejected due to AST size limits, quota limits or limits on the number of simultaneously running queries. May include internal queries initiated by ClickHouse itself. Does not count subqueries.*Shown as query*                                                                              |
| **clickhouse.query.waiting**(gauge)                                                             | The number of queries that are stopped and waiting due to 'priority' setting.*Shown as query*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.read.buffer.mmap.created.count**(count)                                            | Number of times a read buffer using 'mmap' was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                          |
| **clickhouse.read.buffer.mmap.created.total**(gauge)                                            | Number of times a read buffer using 'mmap' was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                          |
| **clickhouse.read.buffer.mmap.failed.count**(count)                                             | Number of times a read buffer with 'mmap' was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method.                                                                                                                                                       |
| **clickhouse.read.buffer.mmap.failed.total**(gauge)                                             | Number of times a read buffer with 'mmap' was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method.                                                                                                                                                       |
| **clickhouse.read.buffer.o\_direct.created.count**(count)                                       | Number of times a read buffer with O_DIRECT was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                         |
| **clickhouse.read.buffer.o\_direct.created.total**(gauge)                                       | Number of times a read buffer with O_DIRECT was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                         |
| **clickhouse.read.buffer.o\_direct.failed.count**(count)                                        | Number of times a read buffer with O_DIRECT was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method.                                                                                                                                                     |
| **clickhouse.read.buffer.o\_direct.failed.total**(gauge)                                        | Number of times a read buffer with O_DIRECT was attempted to be created for reading data (while choosing among other read methods), but the OS did not allow it (due to lack of filesystem support or other reasons) and we fallen back to the ordinary reading method.                                                                                                                                                     |
| **clickhouse.read.buffer.ordinary.created.count**(count)                                        | Number of times ordinary read buffer was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                                |
| **clickhouse.read.buffer.ordinary.created.total**(gauge)                                        | Number of times ordinary read buffer was created for reading data (while choosing among other read methods).                                                                                                                                                                                                                                                                                                                |
| **clickhouse.read.compressed.block.count**(count)                                               | The number of compressed blocks (the blocks of data that are compressed independent of each other) read from compressed sources (files, network) during the last interval.*Shown as block*                                                                                                                                                                                                                                  |
| **clickhouse.read.compressed.block.total**(gauge)                                               | The total number of compressed blocks (the blocks of data that are compressed independent of each other) read from compressed sources (files, network).*Shown as block*                                                                                                                                                                                                                                                     |
| **clickhouse.read.compressed.raw.size.count**(count)                                            | The number of uncompressed bytes (the number of bytes after decompression) read from compressed sources (files, network) during the last interval.*Shown as byte*                                                                                                                                                                                                                                                           |
| **clickhouse.read.compressed.raw.size.total**(gauge)                                            | The total number of uncompressed bytes (the number of bytes after decompression) read from compressed sources (files, network).*Shown as byte*                                                                                                                                                                                                                                                                              |
| **clickhouse.read.compressed.size.count**(count)                                                | The number of bytes (the number of bytes before decompression) read from compressed sources (files, network) during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                       |
| **clickhouse.read.compressed.size.total**(gauge)                                                | The total number of bytes (the number of bytes before decompression) read from compressed sources (files, network).*Shown as byte*                                                                                                                                                                                                                                                                                          |
| **clickhouse.read.connections.new.count**(count)                                                | Number of seeks which lead to new connection (s3, http)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.read.connections.new.total**(gauge)                                                | Number of seeks which lead to new connection (s3, http)                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.read.synchronous.wait.time**(gauge)                                                | Time spent in waiting for synchronous reads in asynchronous local read.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.remote.query.read\_throttler.sleep.time**(gauge)                                   | Total time a query was sleeping to conform 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                             |
| **clickhouse.remote.query.write\_throttler.sleep.time**(gauge)                                  | Total time a query was sleeping to conform 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                           |
| **clickhouse.remote.read.synchronous.wait.time**(gauge)                                         | Time spent in waiting for synchronous remote reads.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.remote.read\_throttler.bytes.count**(count)                                        | Bytes passed through 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttler.                                                                                                                                                                                                                                                                                                          |
| **clickhouse.remote.read\_throttler.bytes.total**(gauge)                                        | Bytes passed through 'max_remote_read_network_bandwidth_for_server'/'max_remote_read_network_bandwidth' throttler.                                                                                                                                                                                                                                                                                                          |
| **clickhouse.remote.write\_throttler.bytes.count**(count)                                       | Bytes passed through 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttler.                                                                                                                                                                                                                                                                                                        |
| **clickhouse.remote.write\_throttler.bytes.total**(gauge)                                       | Bytes passed through 'max_remote_write_network_bandwidth_for_server'/'max_remote_write_network_bandwidth' throttler.                                                                                                                                                                                                                                                                                                        |
| **clickhouse.remote\_reader.total**(gauge)                                                      | Number of read with remote reader in fly                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.replica.delay.absolute**(gauge)                                                    | The maximum replica queue delay relative to current time.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.replica.delay.relative**(gauge)                                                    | The maximum difference of absolute delay from any other replica.*Shown as millisecond*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.replica.leader.election**(gauge)                                                   | The number of Replicas participating in leader election. Equals to total number of replicas in usual cases.*Shown as shard*                                                                                                                                                                                                                                                                                                 |
| **clickhouse.replica.queue.size**(gauge)                                                        | The number of replication tasks in queue.*Shown as task*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.replicas.parralel.announcement.handle.time**(gauge)                                | Time spent processing replicas announcements*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.replicas.parralel.available.count**(count)                                         | Number of replicas available to execute a query with task-based parallel replicas                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.replicas.parralel.available.total**(gauge)                                         | Number of replicas available to execute a query with task-based parallel replicas                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.replicas.parralel.collect\_segment.time**(gauge)                                   | Time spent collecting segments meant by hash*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.replicas.parralel.hash.stealing.time**(gauge)                                      | Time spent collecting segments meant for stealing by hash*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.replicas.parralel.leftover\_segment.stealing.time**(gauge)                         | Time spent collecting orphaned segments*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.replicas.parralel.processing.time**(gauge)                                         | Time spent processing data parts*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.replicas.parralel.request.handle.time**(gauge)                                     | Time spent processing requests for marks from replicas*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.replicas.parralel.requests.count**(count)                                          | Number of requests to the initiator.                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.replicas.parralel.requests.total**(gauge)                                          | Number of requests to the initiator.                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.replicas.parralel.used.count**(count)                                              | Number of replicas used to execute a query with task-based parallel replicas                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.replicas.parralel.used.total**(gauge)                                              | Number of replicas used to execute a query with task-based parallel replicas                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.abort\_multipart\_upload.count**(count)                                         | Number of S3 API AbortMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.abort\_multipart\_upload.total**(gauge)                                         | Number of S3 API AbortMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.client.copy.reuse.count**(count)                                                | Number of S3 clients copies which reuse an existing auth provider from another client.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.client.copy.reuse.total**(gauge)                                                | Number of S3 clients copies which reuse an existing auth provider from another client.                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.clients.created.count**(count)                                                  | Number of created S3 clients.                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.s3.clients.created.total**(gauge)                                                  | Number of created S3 clients.                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.s3.complete\_multipart\_upload.count**(count)                                      | Number of S3 API CompleteMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.s3.complete\_multipart\_upload.total**(gauge)                                      | Number of S3 API CompleteMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.s3.connect.time**(gauge)                                                           | Time spent initializing connection to S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.s3.copy\_object.count**(count)                                                     | Number of S3 API CopyObject calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.copy\_object.total**(gauge)                                                     | Number of S3 API CopyObject calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.create\_multipart\_upload.count**(count)                                        | Number of S3 API CreateMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.s3.create\_multipart\_upload.total**(gauge)                                        | Number of S3 API CreateMultipartUpload calls.                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.s3.delete\_obkect.count**(count)                                                   | Number of S3 API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.s3.delete\_obkect.total**(gauge)                                                   | Number of S3 API DeleteObject(s) calls.                                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.s3.get\_object.count**(count)                                                      | Number of S3 API GetObject calls.                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.s3.get\_object.total**(gauge)                                                      | Number of S3 API GetObject calls.                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.s3.get\_object\_attribute.count**(count)                                           | Number of S3 API GetObjectAttributes calls.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.s3.get\_object\_attribute.total**(gauge)                                           | Number of S3 API GetObjectAttributes calls.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.s3.get\_request.throttled.count**(count)                                           | Number of S3 GET and SELECT requests passed through throttler.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.s3.get\_request.throttled.time**(gauge)                                            | Total time a query was sleeping to conform S3 GET and SELECT request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.get\_request.throttled.total**(gauge)                                           | Number of S3 GET and SELECT requests passed through throttler.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.s3.head\_object.count**(count)                                                     | Number of S3 API HeadObject calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.head\_object.total**(gauge)                                                     | Number of S3 API HeadObject calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.list\_object.count**(count)                                                     | Number of S3 API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.s3.list\_object.total**(gauge)                                                     | Number of S3 API ListObjects calls.                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.s3.lock\_localfile\_status.time**(gauge)                                           | Time spent to lock local file statuses*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.put\_object.count**(count)                                                      | Number of S3 API PutObject calls.                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.s3.put\_object.total**(gauge)                                                      | Number of S3 API PutObject calls.                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.s3.put\_request.throttled.count**(count)                                           | Number of S3 PUT, COPY, POST and LIST requests passed through throttler.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.s3.put\_request.throttled.time**(gauge)                                            | Total time a query was sleeping to conform S3 PUT, COPY, POST and LIST request throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                                                            |
| **clickhouse.s3.put\_request.throttled.total**(gauge)                                           | Number of S3 PUT, COPY, POST and LIST requests passed through throttler.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.s3.read.bytes.count**(count)                                                       | Read bytes (incoming) in GET and HEAD requests to S3 storage.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.read.bytes.total**(gauge)                                                       | Total read bytes (incoming) in GET and HEAD requests to S3 storage.*Shown as byte*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.read.errors.count**(count)                                                      | Number of exceptions while reading from S3.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.s3.read.errors.total**(gauge)                                                      | Number of exceptions while reading from S3.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.s3.read.file.time**(gauge)                                                         | Time spent to read file data*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.read.requests.count**(count)                                                    | Number of GET and HEAD requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.s3.read.requests.errors.count**(count)                                             | Number of non-throttling errors in GET and HEAD requests to S3 storage.*Shown as error*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.s3.read.requests.errors.total**(gauge)                                             | Total number of non-throttling errors in GET and HEAD requests to S3 storage.*Shown as error*                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.s3.read.requests.redirects.count**(count)                                          | Number of redirects in GET and HEAD requests to S3 storage.*Shown as unit*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.s3.read.requests.redirects.total**(gauge)                                          | Total number of redirects in GET and HEAD requests to S3 storage.*Shown as unit*                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.s3.read.requests.throttling.count**(count)                                         | Number of 429 and 503 errors in GET and HEAD requests to S3 storage.*Shown as error*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.s3.read.requests.throttling.total**(gauge)                                         | Total number of 429 and 503 errors in GET and HEAD requests to S3 storage.*Shown as error*                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.s3.read.requests.total**(gauge)                                                    | Total number of GET and HEAD requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.read.reset.count**(count)                                                       | Number of HTTP sessions that were reset in ReadBufferFromS3.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.read.reset.total**(gauge)                                                       | Number of HTTP sessions that were reset in ReadBufferFromS3.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.read.sessions.preserved..count**(count)                                         | Number of HTTP sessions that were preserved in ReadBufferFromS3.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.s3.read.sessions.preserved..total**(gauge)                                         | Number of HTTP sessions that were preserved in ReadBufferFromS3.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.s3.read.size.count**(count)                                                        | Bytes read from S3.                                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.s3.read.size.total**(gauge)                                                        | Bytes read from S3.                                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.s3.read.time**(gauge)                                                              | Time spent on reading from S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.s3.requests.count**(gauge)                                                         | S3 requests count*Shown as request*                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.s3.set.file.failed.time**(gauge)                                                   | Time spent to set file as failed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.set.file.processed.time**(gauge)                                                | Time spent to set file as processed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.s3.set.file.processing.time**(gauge)                                               | Time spent to set file as processing*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.s3.set\_file.failed.time**(gauge)                                                  | Time spent to set file as failed*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.upload\_part.count**(count)                                                     | Number of S3 API UploadPart calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.upload\_part.total**(gauge)                                                     | Number of S3 API UploadPart calls.                                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.upload\_part\_copy.count**(count)                                               | Number of S3 API UploadPartCopy calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.upload\_part\_copy.total**(gauge)                                               | Number of S3 API UploadPartCopy calls.                                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.s3.write.bytes.count**(count)                                                      | Write bytes (outgoing) in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as byte*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.write.bytes.total**(gauge)                                                      | Total write bytes (outgoing) in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as byte*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.write.errors.count**(count)                                                     | Number of exceptions while writing to S3.                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.s3.write.errors.total**(gauge)                                                     | Number of exceptions while writing to S3.                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.s3.write.requests.count**(count)                                                   | Number of POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.s3.write.requests.errors.count**(count)                                            | Number of non-throttling errors in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.s3.write.requests.errors.total**(gauge)                                            | Total number of non-throttling errors in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                              |
| **clickhouse.s3.write.requests.redirects.count**(count)                                         | Number of redirects in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.s3.write.requests.redirects.total**(gauge)                                         | Total number of redirects in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.write.requests.throttling.count**(count)                                        | Number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.s3.write.requests.throttling.total**(gauge)                                        | Total number of 429 and 503 errors in POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.s3.write.requests.total**(gauge)                                                   | Total number of POST, DELETE, PUT and PATCH requests to S3 storage.*Shown as request*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.s3.write.size.count**(count)                                                       | Bytes written to S3.                                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.s3.write.size.total**(gauge)                                                       | Bytes written to S3.                                                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.s3.write.time**(gauge)                                                             | Time spent on writing to S3.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.s3.write.wait.time**(gauge)                                                        | Time spent on waiting while some of the current requests are done when its number reached the limit defined by s3_max_inflight_parts_for_one_file.*Shown as microsecond*                                                                                                                                                                                                                                                    |
| **clickhouse.select.query.select.failed.count**(count)                                          | Same as FailedQuery, but only for SELECT queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.select.query.select.failed.total**(gauge)                                          | Same as FailedQuery, but only for SELECT queries.*Shown as query*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.selected.bytes.count**(count)                                                      | Number of bytes (uncompressed; for columns as they stored in memory) SELECTed from all tables.*Shown as byte*                                                                                                                                                                                                                                                                                                               |
| **clickhouse.selected.bytes.total**(gauge)                                                      | Total number of bytes (uncompressed; for columns as they stored in memory) SELECTed from all tables.*Shown as byte*                                                                                                                                                                                                                                                                                                         |
| **clickhouse.selected.rows.count**(count)                                                       | Total number of rows SELECTed from all tables.*Shown as row*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.selected.rows.total**(gauge)                                                       | Number of rows SELECTed from all tables.*Shown as row*                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.server.startup.time**(gauge)                                                       | Time elapsed from starting server to listening to sockets in milliseconds*Shown as microsecond*                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.sessions\_pool.storage.active**(gauge)                                             | Total count of all sessions: stored in the pool and actively used right now for storages                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.sessions\_pool.storage.total**(gauge)                                              | Total count of sessions stored in the session pool for storages                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.shard.send\_query.suspend.count**(count)                                           | Total count when sending query to shard was suspended when async_query_sending_for_remote is enabled.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.shard.send\_query.suspend.total**(gauge)                                           | Total count when sending query to shard was suspended when async_query_sending_for_remote is enabled.                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.shared\_merge\_tree.fetches.total**(gauge)                                         | Number of fetches in progress                                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.shell\_command.executions.count**(count)                                           | Number of shell command executions.                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.shell\_command.executions.total**(gauge)                                           | Number of shell command executions.                                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.sleep\_function.sleep.time**(gauge)                                                | Time spent sleeping in a sleep function (sleep, sleepEachRow).*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.sqe.io\_uring.inflight**(gauge)                                                    | Number of io_uring SQEs in flight                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.sqe.io\_uring.waiting**(gauge)                                                     | Number of io_uring SQEs waiting to be submitted                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.sql.ordinary.function.calls.count**(count)                                         | Number of SQL ordinary function calls (SQL functions are called on per-block basis, so this number represents the number of blocks).*Shown as block*                                                                                                                                                                                                                                                                        |
| **clickhouse.sql.ordinary.function.calls.total**(gauge)                                         | Number of SQL ordinary function calls (SQL functions are called on per-block basis, so this number represents the number of blocks).*Shown as block*                                                                                                                                                                                                                                                                        |
| **clickhouse.storage.buffer.flush.count**(count)                                                | Number of times a buffer in a 'Buffer' table was flushed.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.storage.buffer.flush.total**(gauge)                                                | Number of times a buffer in a 'Buffer' table was flushed.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.storage.buffer.flush\_error.count**(count)                                         | Number of times a buffer in the 'Buffer' table has not been able to flush due to error writing in the destination table.                                                                                                                                                                                                                                                                                                    |
| **clickhouse.storage.buffer.flush\_error.total**(gauge)                                         | Number of times a buffer in the 'Buffer' table has not been able to flush due to error writing in the destination table.                                                                                                                                                                                                                                                                                                    |
| **clickhouse.storage.connection.create.error.count**(count)                                     | Number of cases when creation of a connection for storage is failed                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.storage.connection.create.error.total**(gauge)                                     | Number of cases when creation of a connection for storage is failed                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.storage.connection.create.expired.count**(count)                                   | Number of expired connections for storages                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.storage.connection.create.expired.total**(gauge)                                   | Number of expired connections for storages                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.storage.connection.created.count**(count)                                          | Number of created connections for storages                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.storage.connection.created.time**(gauge)                                           | Total time spend on creating connections for storages*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.storage.connection.created.total**(gauge)                                          | Number of created connections for storages                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.storage.connection.preserved.count**(count)                                        | Number of preserved connections for storages                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.storage.connection.preserved.total**(gauge)                                        | Number of preserved connections for storages                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.storage.connection.reused.count**(count)                                           | Number of reused connections for storages                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.storage.connection.reused.total**(gauge)                                           | Number of reused connections for storages                                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.storeage.connection.reset.count**(count)                                           | Number of reset connections for storages                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.storeage.connection.reset.total**(gauge)                                           | Number of reset connections for storages                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.subquery.scalar.read.cache.miss.count**(count)                                     | Number of times a read from a scalar subquery was not cached and had to be calculated completely                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.subquery.scalar.read.cache.miss.total**(gauge)                                     | Number of times a read from a scalar subquery was not cached and had to be calculated completely                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.syscall.directory.sync.count**(count)                                              | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.syscall.directory.sync.time**(gauge)                                               | Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for directories.*Shown as microsecond*                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.syscall.directory.sync.total**(gauge)                                              | Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.syscall.read**(gauge)                                                              | The number of read (read, pread, io_getevents, etc.) syscalls in fly.*Shown as read*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.syscall.read.wait**(gauge)                                                         | The percentage of time spent waiting for read syscall during the last interval. This includes reads from page cache.*Shown as percent*                                                                                                                                                                                                                                                                                      |
| **clickhouse.syscall.write**(gauge)                                                             | The number of write (write, pwrite, io_getevents, etc.) syscalls in fly.*Shown as write*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.syscall.write.wait**(gauge)                                                        | The percentage of time spent waiting for write syscall during the last interval. This include writes to page cache.*Shown as percent*                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.buffer.row**(gauge)                                                          | The number of rows in buffers of Buffer tables.*Shown as row*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.table.buffer.size**(gauge)                                                         | Size of buffers of Buffer tables.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.table.distributed.bytes.insert.broken**(gauge)                                     | Number of bytes for asynchronous insertion into Distributed tables that has been marked as broken. Number of bytes for every shard is summed.                                                                                                                                                                                                                                                                               |
| **clickhouse.table.distributed.bytes.insert.pending**(gauge)                                    | Number of pending bytes to process for asynchronous insertion into Distributed tables. Number of bytes for every shard is summed.                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.distributed.connection.inserted**(gauge)                                     | The number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.*Shown as connection*                                                                                                                                                                                                                                                            |
| **clickhouse.table.distributed.file.insert.broken**(gauge)                                      | Number of files for asynchronous insertion into Distributed tables that has been marked as broken. This metric will starts from 0 on start. Number of files for every shard is summed.*Shown as file*                                                                                                                                                                                                                       |
| **clickhouse.table.distributed.file.insert.pending**(gauge)                                     | The number of pending files to process for asynchronous insertion into Distributed tables. Number of files for every shard is summed.*Shown as file*                                                                                                                                                                                                                                                                        |
| **clickhouse.table.function.count**(count)                                                      | Number of table function calls.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.table.function.total**(gauge)                                                      | Number of table function calls.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.table.insert.row.count**(count)                                                    | The number of rows INSERTed to all tables during the last interval.*Shown as row*                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.insert.row.total**(gauge)                                                    | The total number of rows INSERTed to all tables.*Shown as row*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.table.insert.size.count**(count)                                                   | The number of bytes (uncompressed; for columns as they stored in memory) INSERTed to all tables during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                    |
| **clickhouse.table.insert.size.total**(gauge)                                                   | The total number of bytes (uncompressed; for columns as they stored in memory) INSERTed to all tables.*Shown as byte*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.announcements.sent.time**(gauge)                                   | Time spent in sending the announcement from the remote server to the initiator server about the set of data parts (for MergeTree tables). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                                         |
| **clickhouse.table.mergetree.calculating.projections.time**(gauge)                              | Time spent calculating projections*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.calculating.skip\_indices.time**(gauge)                            | Time spent calculating skip indices*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.table.mergetree.calculating.sorting.time**(gauge)                                  | Time spent sorting blocks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.table.mergetree.calculating.statistics.time**(gauge)                               | Time spent calculating statistics*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.table.mergetree.insert.block.already\_sorted.count**(count)                        | The number of blocks INSERTed to MergeTree tables that appeared to be already sorted during the last interval.*Shown as block*                                                                                                                                                                                                                                                                                              |
| **clickhouse.table.mergetree.insert.block.already\_sorted.projection.total**(gauge)             | Total number of blocks INSERTed to MergeTree tables projection that appeared to be already sorted.*Shown as block*                                                                                                                                                                                                                                                                                                          |
| **clickhouse.table.mergetree.insert.block.already\_sorted.total**(gauge)                        | The total number of blocks INSERTed to MergeTree tables that appeared to be already sorted.*Shown as block*                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.insert.block.count**(count)                                        | The number of blocks INSERTed to MergeTree tables during the last interval. Each block forms a data part of level zero.*Shown as block*                                                                                                                                                                                                                                                                                     |
| **clickhouse.table.mergetree.insert.block.projection.count**(count)                             | Number of blocks INSERTed to MergeTree tables projection. Each block forms a data part of level zero.*Shown as block*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.insert.block.projection.total**(gauge)                             | Total number of blocks INSERTed to MergeTree tables projection. Each block forms a data part of level zero.*Shown as block*                                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.insert.block.rejected.count**(count)                               | The number of times the INSERT of a block to a MergeTree table was rejected with `Too many parts` exception due to high number of active data parts for partition during the last interval.*Shown as block*                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.insert.block.rejected.total**(gauge)                               | The total number of times the INSERT of a block to a MergeTree table was rejected with `Too many parts` exception due to high number of active data parts for partition.*Shown as block*                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.insert.block.size.compressed.projection.count**(count)             | Number of blocks INSERTed to MergeTree tables projection that appeared to be already sorted.*Shown as block*                                                                                                                                                                                                                                                                                                                |
| **clickhouse.table.mergetree.insert.block.total**(gauge)                                        | The total number of blocks INSERTed to MergeTree tables. Each block forms a data part of level zero.*Shown as block*                                                                                                                                                                                                                                                                                                        |
| **clickhouse.table.mergetree.insert.delayed.count**(count)                                      | The number of times the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition during the last interval.*Shown as throttle*                                                                                                                                                                                                                                             |
| **clickhouse.table.mergetree.insert.delayed.time**(gauge)                                       | The percentage of time spent while the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition during the last interval.*Shown as percent*                                                                                                                                                                                                                               |
| **clickhouse.table.mergetree.insert.delayed.total**(gauge)                                      | The total number of times the INSERT of a block to a MergeTree table was throttled due to high number of active data parts for partition.*Shown as throttle*                                                                                                                                                                                                                                                                |
| **clickhouse.table.mergetree.insert.row.count**(count)                                          | The number of rows INSERTed to MergeTree tables during the last interval.*Shown as row*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.table.mergetree.insert.row.total**(gauge)                                          | The total number of rows INSERTed to MergeTree tables.*Shown as row*                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.table.mergetree.insert.write.row.projection.count**(count)                         | Number of rows INSERTed to MergeTree tables projection.*Shown as row*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.insert.write.row.projection.total**(gauge)                         | Total number of rows INSERTed to MergeTree tables projection.*Shown as row*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.insert.write.size.compressed.count**(count)                        | The number of bytes written to filesystem for data INSERTed to MergeTree tables during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.insert.write.size.compressed.total**(gauge)                        | The total number of bytes written to filesystem for data INSERTed to MergeTree tables.*Shown as byte*                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.insert.write.size.uncompressed.count**(count)                      | The number of uncompressed bytes (for columns as they are stored in memory) INSERTed to MergeTree tables during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                           |
| **clickhouse.table.mergetree.insert.write.size.uncompressed.projection.count**(count)           | Uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables projection.*Shown as byte*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.mergetree.insert.write.size.uncompressed.projection.total**(gauge)           | Total uncompressed bytes (for columns as they stored in memory) INSERTed to MergeTree tables projection.*Shown as byte*                                                                                                                                                                                                                                                                                                     |
| **clickhouse.table.mergetree.insert.write.size.uncompressed.total**(gauge)                      | The total number of uncompressed bytes (for columns as they are stored in memory) INSERTed to MergeTree tables.*Shown as byte*                                                                                                                                                                                                                                                                                              |
| **clickhouse.table.mergetree.mark.selected.count**(count)                                       | The number of marks (index granules) selected to read from a MergeTree table during the last interval.*Shown as index*                                                                                                                                                                                                                                                                                                      |
| **clickhouse.table.mergetree.mark.selected.total**(gauge)                                       | The total number of marks (index granules) selected to read from a MergeTree table.*Shown as index*                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.table.mergetree.merging.blocks.time**(gauge)                                       | Time spent merging input blocks (for special MergeTree engines)*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.merging.projection.time**(gauge)                                   | Time spent merging blocks*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.table.mergetree.mutation.delayed.count**(count)                                    | Number of times the mutation of a MergeTree table was throttled due to high number of unfinished mutations for table.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.mutation.delayed.total**(gauge)                                    | Number of times the mutation of a MergeTree table was throttled due to high number of unfinished mutations for table.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.mutation.rejected.count**(count)                                   | Number of times the mutation of a MergeTree table was rejected with 'Too many mutations' exception due to high number of unfinished mutations for table.                                                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.mutation.rejected.total**(gauge)                                   | Number of times the mutation of a MergeTree table was rejected with 'Too many mutations' exception due to high number of unfinished mutations for table.                                                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.part.current**(gauge)                                              | The total number of data parts of a MergeTree table.*Shown as object*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.part.selected.count**(count)                                       | The number of data parts selected to read from a MergeTree table during the last interval.*Shown as item*                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.table.mergetree.part.selected.total**(gauge)                                       | The total number of data parts selected to read from a MergeTree table.*Shown as item*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.table.mergetree.partslock.hold.time**(gauge)                                       | Total time spent holding data parts lock in MergeTree tables*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.table.mergetree.partslock.wait.time**(gauge)                                       | Total time spent waiting for data parts lock in MergeTree tables*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.table.mergetree.prefetched\_read\_pool.tasks.time**(gauge)                         | Time spent preparing tasks in MergeTreePrefetchedReadPool*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.table.mergetree.range.selected.count**(count)                                      | The number of non-adjacent ranges in all data parts selected to read from a MergeTree table during the last interval.*Shown as item*                                                                                                                                                                                                                                                                                        |
| **clickhouse.table.mergetree.range.selected.total**(gauge)                                      | The total number of non-adjacent ranges in all data parts selected to read from a MergeTree table.*Shown as item*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.mergetree.read\_task\_requests.sent.time**(gauge)                            | Time spent in callbacks requested from the remote server back to the initiator server to choose the read task (for MergeTree tables). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                                             |
| **clickhouse.table.mergetree.replicated.fetch.merged.count**(count)                             | The number of times ClickHouse prefers to download already merged part from replica of ReplicatedMergeTree table instead of performing a merge itself (usually it prefers doing a merge itself to save network traffic) during the last interval. This happens when ClickHouse does not have all source parts to perform a merge or when the data part is old enough.*Shown as fetch*                                       |
| **clickhouse.table.mergetree.replicated.fetch.merged.total**(gauge)                             | The total number of times ClickHouse prefers to download already merged part from replica of ReplicatedMergeTree table instead of performing a merge itself (usually it prefers doing a merge itself to save network traffic). This happens when ClickHouse does not have all source parts to perform a merge or when the data part is old enough.*Shown as fetch*                                                          |
| **clickhouse.table.mergetree.replicated.fetch.replica.count**(count)                            | The number of times a data part was downloaded from replica of a ReplicatedMergeTree table during the last interval.*Shown as fetch*                                                                                                                                                                                                                                                                                        |
| **clickhouse.table.mergetree.replicated.fetch.replica.fail.count**(count)                       | The number of times a data part was failed to download from replica of a ReplicatedMergeTree table during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.replicated.fetch.replica.fail.total**(gauge)                       | The total number of times a data part was failed to download from replica of a ReplicatedMergeTree table.*Shown as byte*                                                                                                                                                                                                                                                                                                    |
| **clickhouse.table.mergetree.replicated.fetch.replica.total**(gauge)                            | The total number of times a data part was downloaded from replica of a ReplicatedMergeTree table.*Shown as fetch*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.mergetree.replicated.insert.deduplicate.count**(count)                       | The number of times the INSERTed block to a ReplicatedMergeTree table was deduplicated during the last interval.*Shown as operation*                                                                                                                                                                                                                                                                                        |
| **clickhouse.table.mergetree.replicated.insert.deduplicate.total**(gauge)                       | The total number of times the INSERTed block to a ReplicatedMergeTree table was deduplicated.*Shown as operation*                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.mergetree.replicated.leader.elected.count**(count)                           | The number of times a ReplicatedMergeTree table became a leader during the last interval. Leader replica is responsible for assigning merges, cleaning old blocks for deduplications and a few more bookkeeping tasks.*Shown as event*                                                                                                                                                                                      |
| **clickhouse.table.mergetree.replicated.leader.elected.total**(gauge)                           | The total number of times a ReplicatedMergeTree table became a leader. Leader replica is responsible for assigning merges, cleaning old blocks for deduplications and a few more bookkeeping tasks.*Shown as event*                                                                                                                                                                                                         |
| **clickhouse.table.mergetree.replicated.merge.count**(count)                                    | The number of times data parts of ReplicatedMergeTree tables were successfully merged during the last interval.*Shown as byte*                                                                                                                                                                                                                                                                                              |
| **clickhouse.table.mergetree.replicated.merge.total**(gauge)                                    | The total number of times data parts of ReplicatedMergeTree tables were successfully merged.*Shown as byte*                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.mergetree.replicated.mutated.count**(count)                                  | Number of times data parts of ReplicatedMergeTree tables were successfully mutated.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.table.mergetree.replicated.mutated.total**(gauge)                                  | Number of times data parts of ReplicatedMergeTree tables were successfully mutated.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.table.mergetree.row.current**(gauge)                                               | The total number of rows in a MergeTree table.*Shown as row*                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.table.mergetree.size**(gauge)                                                      | The total size of all data part files of a MergeTree table.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.table.mergetree.sorting.projection.time**(gauge)                                   | Time spent sorting blocks (for projection it might be a key different from table's sorting key)*Shown as microsecond*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.mergetree.storage.mark.cache**(gauge)                                        | The size of the cache of `marks` for StorageMergeTree.*Shown as byte*                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.replica.change.hedged\_requests.count**(gauge)                               | Count when timeout for changing replica expired in hedged requests.*Shown as timeout*                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.table.replica.change.hedged\_requests.total**(gauge)                               | Total count when timeout for changing replica expired in hedged requests.*Shown as timeout*                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.table.replica.partial.shutdown.count**(count)                                      | How many times Replicated table has to deinitialize its state due to session expiration in ZooKeeper. The state is reinitialized every time when ZooKeeper is available again.                                                                                                                                                                                                                                              |
| **clickhouse.table.replica.partial.shutdown.total**(gauge)                                      | Total times Replicated table has to deinitialize its state due to session expiration in ZooKeeper. The state is reinitialized every time when ZooKeeper is available again.                                                                                                                                                                                                                                                 |
| **clickhouse.table.replicated.active**(gauge)                                                   | The number of replicas of this table that have a session in ZooKeeper (i.e., the number of functioning replicas).*Shown as table*                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.replicated.leader**(gauge)                                                   | The number of Replicated tables that are leaders. Leader replica is responsible for assigning merges, cleaning old blocks for deduplications and a few more bookkeeping tasks. There may be no more than one leader across all replicas at one moment of time. If there is no leader it will be elected soon or it indicate an issue.*Shown as table*                                                                       |
| **clickhouse.table.replicated.leader.yield.count**(count)                                       | The number of times Replicated table yielded its leadership due to large replication lag relative to other replicas during the last interval.*Shown as event*                                                                                                                                                                                                                                                               |
| **clickhouse.table.replicated.leader.yield.total**(gauge)                                       | The total number of times Replicated table yielded its leadership due to large replication lag relative to other replicas.*Shown as event*                                                                                                                                                                                                                                                                                  |
| **clickhouse.table.replicated.log.max**(gauge)                                                  | Maximum entry number in the log of general activity.*Shown as item*                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.table.replicated.log.pointer**(gauge)                                              | Maximum entry number in the log of general activity that the replica copied to its execution queue, plus one. If this is much smaller than `clickhouse.table.replicated.log.max`, something is wrong.*Shown as item*                                                                                                                                                                                                        |
| **clickhouse.table.replicated.part.check**(gauge)                                               | The number of data parts checking for consistency*Shown as item*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.table.replicated.part.check.count**(count)                                         | The number of data parts checking for consistency*Shown as item*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.table.replicated.part.check.failed.count**(count)                                  | Number of times the advanced search for a data part on replicas did not give result or when unexpected part has been found and moved away.                                                                                                                                                                                                                                                                                  |
| **clickhouse.table.replicated.part.check.failed.total**(gauge)                                  | Number of times the advanced search for a data part on replicas did not give result or when unexpected part has been found and moved away.                                                                                                                                                                                                                                                                                  |
| **clickhouse.table.replicated.part.check.total**(gauge)                                         | The number of data parts checking for consistency*Shown as item*                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.table.replicated.part.fetch**(gauge)                                               | The number of data parts being fetched from replica*Shown as item*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.table.replicated.part.future**(gauge)                                              | The number of data parts that will appear as the result of INSERTs or merges that haven't been done yet.*Shown as item*                                                                                                                                                                                                                                                                                                     |
| **clickhouse.table.replicated.part.loss.count**(count)                                          | The number of times a data part we wanted doesn't exist on any replica (even on replicas that are offline right now) during the last interval. Those data parts are definitely lost. This is normal due to asynchronous replication (if quorum inserts were not enabled), when the replica on which the data part was written failed and when it became online after fail it doesn't contain that data part.*Shown as item* |
| **clickhouse.table.replicated.part.loss.total**(gauge)                                          | The total number of times a data part that we wanted doesn't exist on any replica (even on replicas that are offline right now). That data parts are definitely lost. This is normal due to asynchronous replication (if quorum inserts were not enabled), when the replica on which the data part was written failed and when it became online after fail it doesn't contain that data part.*Shown as item*                |
| **clickhouse.table.replicated.part.send**(gauge)                                                | The number of data parts being sent to replicas*Shown as item*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.table.replicated.part.suspect**(gauge)                                             | The number of data parts in the queue for verification. A part is put in the verification queue if there is suspicion that it might be damaged.*Shown as item*                                                                                                                                                                                                                                                              |
| **clickhouse.table.replicated.queue.insert**(gauge)                                             | The number of inserts of blocks of data that need to be made. Insertions are usually replicated fairly quickly. If this number is large, it means something is wrong.*Shown as operation*                                                                                                                                                                                                                                   |
| **clickhouse.table.replicated.queue.merge**(gauge)                                              | The number of merges waiting to be made. Sometimes merges are lengthy, so this value may be greater than zero for a long time.*Shown as merge*                                                                                                                                                                                                                                                                              |
| **clickhouse.table.replicated.queue.size**(gauge)                                               | Size of the queue for operations waiting to be performed. Operations include inserting blocks of data, merges, and certain other actions. It usually coincides with `clickhouse.table.replicated.part.future`.*Shown as operation*                                                                                                                                                                                          |
| **clickhouse.table.replicated.readonly**(gauge)                                                 | The number of Replicated tables that are currently in readonly state due to re-initialization after ZooKeeper session loss or due to startup without ZooKeeper configured.*Shown as table*                                                                                                                                                                                                                                  |
| **clickhouse.table.replicated.total**(gauge)                                                    | The total number of known replicas of this table.*Shown as table*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table.replicated.version**(gauge)                                                  | Version number of the table structure indicating how many times ALTER was performed. If replicas have different versions, it means some replicas haven't made all of the ALTERs yet.*Shown as operation*                                                                                                                                                                                                                    |
| **clickhouse.table.total**(gauge)                                                               | The current number of tables.*Shown as table*                                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.table\_engines.files.read.count**(count)                                           | Number of files read in table engines working with files (like File/S3/URL/HDFS).                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.table\_engines.files.read.total**(gauge)                                           | Number of files read in table engines working with files (like File/S3/URL/HDFS).                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.tables\_to\_drop.queue.total**(gauge)                                              | Number of dropped tables, that are waiting for background data removal.*Shown as table*                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.task.mutate.calculate.projections.time**(gauge)                                    | Time spent calculating projections*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.task.prefetch.reader.wait.time**(gauge)                                            | Time spend waiting for prefetched reader*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.task.read.requests.received.count**(count)                                         | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the initiator server side.                                                                                                                                                                                                                            |
| **clickhouse.task.read.requests.received.total**(gauge)                                         | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the initiator server side.                                                                                                                                                                                                                            |
| **clickhouse.task.read.requests.sent.count**(count)                                             | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.                                                                                                                                                                                                                               |
| **clickhouse.task.read.requests.sent.time**(gauge)                                              | Time spent in callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.*Shown as microsecond*                                                                                                                                                                                                         |
| **clickhouse.task.read.requests.sent.total**(gauge)                                             | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.                                                                                                                                                                                                                               |
| **clickhouse.task.requests.callback**(gauge)                                                    | The number of callbacks requested from the remote server back to the initiator server to choose the read task (for s3Cluster table function and similar). Measured on the remote server side.                                                                                                                                                                                                                               |
| **clickhouse.task.thread\_pool\_reader.cache.time**(gauge)                                      | How much time we spent checking if content is cached*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.task.thread\_pool\_reader.read.count**(count)                                      | Bytes read from a threadpool task in asynchronous reading                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.task.thread\_pool\_reader.read.size.count**(count)                                 | Bytes read from a threadpool task in asynchronous reading                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.task.thread\_pool\_reader.read.size.total**(gauge)                                 | Bytes read from a threadpool task in asynchronous reading                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.task.thread\_pool\_reader.read.sync.time**(gauge)                                  | How much time we spent reading synchronously*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.task.thread\_pool\_reader.read.time**(gauge)                                       | Time spent getting the data in asynchronous reading*Shown as microsecond*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.task.thread\_pool\_reader.read.total**(gauge)                                      | Bytes read from a threadpool task in asynchronous reading                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.tasks.background.loading\_marks.count**(count)                                     | Number of background tasks for loading marks                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.tasks.background.loading\_marks.total**(gauge)                                     | Number of background tasks for loading marks                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.temporary\_files.aggregation.total**(gauge)                                        | Number of temporary files created for external aggregation                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.temporary\_files.join.total**(gauge)                                               | Number of temporary files created for JOIN                                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.temporary\_files.sort.total**(gauge)                                               | Number of temporary files created for external sorting                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.temporary\_files.total**(gauge)                                                    | Number of temporary files created                                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.temporary\_files.unknown.total**(gauge)                                            | Number of temporary files created without known purpose                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.thread.cpu.wait**(gauge)                                                           | The percentage of time a thread was ready for execution but waiting to be scheduled by OS (from the OS point of view) during the last interval.*Shown as percent*                                                                                                                                                                                                                                                           |
| **clickhouse.thread.global.active**(gauge)                                                      | The number of threads in global thread pool running a task.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.thread.global.scheduled**(gauge)                                                   | Number of queued or active jobs in global thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.thread.global.total**(gauge)                                                       | The number of threads in global thread pool.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.thread.io.wait**(gauge)                                                            | The percentage of time a thread spent waiting for a result of IO operation (from the OS point of view) during the last interval. This is real IO that doesn't include page cache.*Shown as percent*                                                                                                                                                                                                                         |
| **clickhouse.thread.local.active**(gauge)                                                       | The number of threads in local thread pools running a task.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.thread.local.scheduled**(gauge)                                                    | Number of queued or active jobs in local thread pools.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.thread.local.total**(gauge)                                                        | The number of threads in local thread pools. Should be similar to GlobalThreadActive.*Shown as thread*                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.thread.lock.context.waiting**(gauge)                                               | The number of threads waiting for lock in Context. This is global lock.*Shown as thread*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.thread.lock.rw.active.read**(gauge)                                                | The number of threads holding read lock in a table RWLock.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.thread.lock.rw.active.write**(gauge)                                               | The number of threads holding write lock in a table RWLock.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.thread.lock.rw.waiting.read**(gauge)                                               | The number of threads waiting for read on a table RWLock.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.thread.lock.rw.waiting.write**(gauge)                                              | The number of threads waiting for write on a table RWLock.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.thread.process\_time**(gauge)                                                      | The percentage of time spent processing (queries and other tasks) threads during the last interval.*Shown as percent*                                                                                                                                                                                                                                                                                                       |
| **clickhouse.thread.query**(gauge)                                                              | The number of query processing threads*Shown as thread*                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.thread.system.process\_time**(gauge)                                               | The percentage of time spent processing (queries and other tasks) threads executing CPU instructions in OS kernel space during the last interval. This includes time CPU pipeline was stalled due to cache misses, branch mispredictions, hyper-threading, etc.*Shown as percent*                                                                                                                                           |
| **clickhouse.thread.user.process\_time**(gauge)                                                 | The percentage of time spent processing (queries and other tasks) threads executing CPU instructions in user space during the last interval. This includes time CPU pipeline was stalled due to cache misses, branch mispredictions, hyper-threading, etc.*Shown as percent*                                                                                                                                                |
| **clickhouse.threads.async.disk\_object\_storage.active**(gauge)                                | Obsolete metric, shows nothing.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.async.disk\_object\_storage.total**(gauge)                                 | Obsolete metric, shows nothing.                                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.async.read**(gauge)                                                        | Number of threads waiting for asynchronous read.*Shown as thread*                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.azure\_object\_storage.active**(gauge)                                     | Number of threads in the AzureObjectStorage thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.threads.azure\_object\_storage.scheduled**(gauge)                                  | Number of queued or active jobs in the AzureObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.azure\_object\_storage.total**(gauge)                                      | Number of threads in the AzureObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.database\_catalog.active**(gauge)                                          | Number of threads in the DatabaseCatalog thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.database\_catalog.scheduled**(gauge)                                       | Number of queued or active jobs in the DatabaseCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.database\_catalog.total**(gauge)                                           | Number of threads in the DatabaseCatalog thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.database\_ondisk.active**(gauge)                                           | Number of threads in the DatabaseOnDisk thread pool running a task.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.database\_ondisk.scheduled**(gauge)                                        | Number of queued or active jobs in the DatabaseOnDisk thread pool.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.database\_ondisk.total**(gauge)                                            | Number of threads in the DatabaseOnDisk thread pool.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.database\_replicated.active**(gauge)                                       | Number of active threads in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.database\_replicated.scheduled**(gauge)                                    | Number of queued or active jobs in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.database\_replicated.total**(gauge)                                        | Number of threads in the threadpool for table creation in DatabaseReplicated.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.ddl\_worker.active**(gauge)                                                | Number of threads in the DDLWORKER thread pool for ON CLUSTER queries running a task.                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.ddl\_worker.scheduled**(gauge)                                             | Number of queued or active jobs in the DDLWORKER thread pool for ON CLUSTER queries.                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.ddl\_worker.total**(gauge)                                                 | Number of threads in the DDLWorker thread pool for ON CLUSTER queries.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.destroy\_aggregates.active**(gauge)                                        | Number of threads in the thread pool for destroy aggregate states running a task.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.destroy\_aggregates.scheduled**(gauge)                                     | Number of queued or active jobs in the thread pool for destroy aggregate states.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.destroy\_aggregates.total**(gauge)                                         | Number of threads in the thread pool for destroy aggregate states.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.distribured.insert.active**(gauge)                                         | Number of threads used for INSERT into Distributed running a task.                                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.distribured.insert.scheduled**(gauge)                                      | Number of queued or active jobs used for INSERT into Distributed.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.distribured.insert.total**(gauge)                                          | Number of threads used for INSERT into Distributed.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.dwarf.active**(gauge)                                                      | Number of threads in the DWARFBlockInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.threads.dwarf.scheduled**(gauge)                                                   | Number of queued or active jobs in the DWARFBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.threads.dwarf.total**(gauge)                                                       | Number of threads in the DWARFBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.hashed\_dictionary.active**(gauge)                                         | Number of threads in the HashedDictionary thread pool running a task.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.hashed\_dictionary.scheduled**(gauge)                                      | Number of queued or active jobs in the HashedDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.hashed\_dictionary.total**(gauge)                                          | Number of threads in the HashedDictionary thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.idisk.copier.active**(gauge)                                               | Number of threads for copying data between disks of different types running a task.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.idisk.copier.scheduled**(gauge)                                            | Number of queued or active jobs for copying data between disks of different types.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.idisk.copier.total**(gauge)                                                | Number of threads for copying data between disks of different types.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.in\_overcommit\_tracker.total**(gauge)                                     | Number of waiting threads inside of OvercommitTracker                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.io.active**(gauge)                                                         | Number of threads in the IO thread pool running a task.                                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.threads.io.scheduled**(gauge)                                                      | Number of queued or active jobs in the IO thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.io.total**(gauge)                                                          | Number of threads in the IO thread pool.                                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.io\_prefetch.active**(gauge)                                               | Number of threads in the IO prefetch thread pool running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.io\_prefetch.scheduled**(gauge)                                            | Number of queued or active jobs in the IO prefetch thread pool.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.io\_prefetch.total**(gauge)                                                | Number of threads in the IO prefetch thread pool.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.io\_writer.active**(gauge)                                                 | Number of threads in the IO writer thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.threads.io\_writer.scheduled**(gauge)                                              | Number of queued or active jobs in the IO writer thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.io\_writer.total**(gauge)                                                  | Number of threads in the IO writer thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.librdkafka.active**(gauge)                                                 | Number of active librdkafka threads*Shown as thread*                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.marks\_loader.active**(gauge)                                              | Number of threads in the thread pool for loading marks running a task.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.marks\_loader.scheduled**(gauge)                                           | Number of queued or active jobs in the thread pool for loading marks.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.marks\_loader.total**(gauge)                                               | Number of threads in thread pool for loading marks.                                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.merge\_tree\_background\_executor.active**(gauge)                          | Number of threads in the MergeTreeBackgroundExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.merge\_tree\_background\_executor.scheduled**(gauge)                       | Number of queued or active jobs in the MergeTreeBackgroundExecutor thread pool.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.merge\_tree\_background\_executor.total**(gauge)                           | Number of threads in the MergeTreeBackgroundExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.merge\_tree\_data\_selector\_executor.active**(gauge)                      | Number of threads in the MergeTreeDataSelectExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.merge\_tree\_data\_selector\_executor.scheduled**(gauge)                   | Number of queued or active jobs in the MergeTreeDataSelectExecutor thread pool.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.merge\_tree\_data\_selector\_executor.total**(gauge)                       | Number of threads in the MergeTreeDataSelectExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.merge\_tree\_outdated\_parts\_loader.active**(gauge)                       | Number of active threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.merge\_tree\_outdated\_parts\_loader.scheduled**(gauge)                    | Number of queued or active jobs in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.merge\_tree\_outdated\_parts\_loader.total**(gauge)                        | Number of threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.merge\_tree\_parts\_cleaner.active**(gauge)                                | Number of threads in the MergeTree parts cleaner thread pool running a task.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.merge\_tree\_parts\_cleaner.scheduled**(gauge)                             | Number of queued or active jobs in the MergeTree parts cleaner thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.merge\_tree\_parts\_cleaner.total**(gauge)                                 | Number of threads in the MergeTree parts cleaner thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.merge\_tree\_parts\_loader.active**(gauge)                                 | Number of threads in the MergeTree parts loader thread pool running a task.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.merge\_tree\_parts\_loader.scheduled**(gauge)                              | Number of queued or active jobs in the MergeTree parts loader thread pool.                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.threads.merge\_tree\_parts\_loader.total**(gauge)                                  | Number of threads in the MergeTree parts loader thread pool.                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.outdated\_parts\_loading.active**(gauge)                                   | Number of active threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.outdated\_parts\_loading.scheduled**(gauge)                                | Number of queued or active jobs in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.outdated\_parts\_loading.total**(gauge)                                    | Number of threads in the threadpool for loading Outdated data parts.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.parallel\_formatting\_output.active**(gauge)                               | Number of threads in the ParallelFormattingOutputFormatThreads thread pool running a task.                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.threads.parallel\_formatting\_output.scheduled**(gauge)                            | Number of queued or active jobs in the ParallelFormattingOutputFormatThreads thread pool.                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.threads.parallel\_formatting\_output.total**(gauge)                                | Number of threads in the ParallelFormattingOutputFormatThreads thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.parallel\_parsing\_input.active**(gauge)                                   | Number of threads in the ParallelParsingInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.parallel\_parsing\_input.scheduled**(gauge)                                | Number of queued or active jobs in the ParallelParsingInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.threads.parallel\_parsing\_input.total**(gauge)                                    | Number of threads in the ParallelParsingInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.parquet\_decoder.active**(gauge)                                           | Number of threads in the ParquetBlockInputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.parquet\_decoder.scheduled**(gauge)                                        | Number of queued or active jobs in the ParquetBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.threads.parquet\_decoder.total**(gauge)                                            | Number of threads in the ParquetBlockInputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.parquet\_encoder.active**(gauge)                                           | Number of threads in ParquetBlockOutputFormat thread pool running a task.                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.threads.parquet\_encoder.scheduled**(gauge)                                        | Number of queued or active jobs in ParquetBlockOutputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.parquet\_encoder.total**(gauge)                                            | Number of threads in ParquetBlockOutputFormat thread pool.                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.threads.pool.fs\_reader.active**(gauge)                                            | Number of threads in the thread pool for local_filesystem_read_method=threadpool running a task.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.pool.fs\_reader.scheduled**(gauge)                                         | Number of queued or active jobs in the thread pool for local_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.pool.fs\_reader.total**(gauge)                                             | Number of threads in the thread pool for local_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.pool.remote\_fs\_reader.active**(gauge)                                    | Number of threads in the thread pool for remote_filesystem_read_method=threadpool running a task.                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.pool.remote\_fs\_reader.scheduled**(gauge)                                 | Number of queued or active jobs in the thread pool for remote_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.pool.remote\_fs\_reader.total**(gauge)                                     | Number of threads in the thread pool for remote_filesystem_read_method=threadpool.                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.threads.query.execution.hard\_page\_faults.count**(count)                          | The number of hard page faults in query execution threads. High values indicate either that you forgot to turn off swap on your server, or eviction of memory pages of the ClickHouse binary during very high memory pressure, or successful usage of the 'mmap' read method for the tables data.*Shown as thread*                                                                                                          |
| **clickhouse.threads.query.execution.hard\_page\_faults.total**(gauge)                          | The number of hard page faults in query execution threads. High values indicate either that you forgot to turn off swap on your server, or eviction of memory pages of the ClickHouse binary during very high memory pressure, or successful usage of the 'mmap' read method for the tables data.*Shown as thread*                                                                                                          |
| **clickhouse.threads.query.soft\_page\_faults.count**(count)                                    | The number of soft page faults in query execution threads. Soft page fault usually means a miss in the memory allocator cache, which requires a new memory mapping from the OS and subsequent allocation of a page of physical memory.                                                                                                                                                                                      |
| **clickhouse.threads.query.soft\_page\_faults.total**(gauge)                                    | The number of soft page faults in query execution threads. Soft page fault usually means a miss in the memory allocator cache, which requires a new memory mapping from the OS and subsequent allocation of a page of physical memory.                                                                                                                                                                                      |
| **clickhouse.threads.query\_pipeline\_executor.active**(gauge)                                  | Number of threads in the PipelineExecutor thread pool running a task.                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.query\_pipeline\_executor.scheduled**(gauge)                               | Number of queued or active jobs in the PipelineExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.query\_pipeline\_executor.total**(gauge)                                   | Number of threads in the PipelineExecutor thread pool.                                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.restart\_replica.active**(gauge)                                           | Number of threads in the RESTART REPLICA thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.restart\_replica.scheduled**(gauge)                                        | Number of queued or active jobs in the RESTART REPLICA thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.restore.active**(gauge)                                                    | Number of threads in the thread pool for RESTORE running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.restore.scheduled**(gauge)                                                 | Number of queued or active jobs for RESTORE.                                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.restore.total**(gauge)                                                     | Number of threads in the thread pool for RESTORE.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.s3\_object\_storage.active**(gauge)                                        | Number of threads in the S3ObjectStorage thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.s3\_object\_storage.scheduled**(gauge)                                     | Number of queued or active jobs in the S3ObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.s3\_object\_storage.total**(gauge)                                         | Number of threads in the S3ObjectStorage thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.shared\_merge\_tree.active**(gauge)                                        | Number of threads in the thread pools in internals of SharedMergeTree running a task                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.shared\_merge\_tree.scheduled**(gauge)                                     | Number of queued or active threads in the thread pools in internals of SharedMergeTree                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.shared\_merge\_tree.total**(gauge)                                         | Number of threads in the thread pools in internals of SharedMergeTree                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.startup\_system\_tables.active**(gauge)                                    | Number of threads in the StartupSystemTables thread pool running a task.                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.startup\_system\_tables.scheduled**(gauge)                                 | Number of queued or active jobs in the StartupSystemTables thread pool.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.threads.startup\_system\_tables.total**(gauge)                                     | Number of threads in the StartupSystemTables thread pool.                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.threads.storage\_buffer\_flush.active**(gauge)                                     | Number of threads for background flushes in StorageBuffer running a task                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.storage\_buffer\_flush.scheduled**(gauge)                                  | Number of queued or active threads for background flushes in StorageBuffer                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.threads.storage\_buffer\_flush.total**(gauge)                                      | Number of threads for background flushes in StorageBuffer                                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.threads.storage\_distributed.active**(gauge)                                       | Number of threads in the StorageDistributed thread pool running a task.                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.threads.storage\_distributed.scheduled**(gauge)                                    | Number of queued or active jobs in the StorageDistributed thread pool.                                                                                                                                                                                                                                                                                                                                                      |
| **clickhouse.threads.storage\_distributed.total**(gauge)                                        | Number of threads in the StorageDistributed thread pool.                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.threads.storage\_hive.active**(gauge)                                              | Number of threads in the StorageHive thread pool running a task.                                                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.threads.storage\_hive.scheduled**(gauge)                                           | Number of queued or active jobs in the StorageHive thread pool.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.storage\_hive.total**(gauge)                                               | Number of threads in the StorageHive thread pool.                                                                                                                                                                                                                                                                                                                                                                           |
| **clickhouse.threads.storage\_s3.active**(gauge)                                                | Number of threads in the StorageS3 thread pool running a task.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.threads.storage\_s3.scheduled**(gauge)                                             | Number of queued or active jobs in the StorageS3 thread pool.                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.storage\_s3.total**(gauge)                                                 | Number of threads in the StorageS3 thread pool.                                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.threads.system\_replicas.active**(gauge)                                           | Number of threads in the system.replicas thread pool running a task.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.threads.system\_replicas.scheduled**(gauge)                                        | Number of queued or active jobs in the system.replicas thread pool.                                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.threads.system\_replicas.total**(gauge)                                            | Number of threads in the system.replicas thread pool.                                                                                                                                                                                                                                                                                                                                                                       |
| **clickhouse.threads.tables\_loader\_background.active**(gauge)                                 | Number of threads in the tables loader background thread pool running a task.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.tables\_loader\_background.scheduled**(gauge)                              | Number of queued or active jobs in the tables loader background thread pool.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.tables\_loader\_background.total**(gauge)                                  | Number of threads in the tables loader background thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.threads.tables\_loader\_foreground.active**(gauge)                                 | Number of threads in the tables loader foreground thread pool running a task.                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.threads.tables\_loader\_foreground.scheduled**(gauge)                              | Number of queued or active jobs in the tables loader foreground thread pool.                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.threads.tables\_loader\_foreground.total**(gauge)                                  | Number of threads in the tables loader foreground thread pool.                                                                                                                                                                                                                                                                                                                                                              |
| **clickhouse.throttler.local\_read.bytes.count**(count)                                         | Bytes passed through 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttler.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.throttler.local\_read.bytes.total**(gauge)                                         | Bytes passed through 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttler.                                                                                                                                                                                                                                                                                                                            |
| **clickhouse.throttler.local\_read.sleep.time**(gauge)                                          | Total time a query was sleeping to conform 'max_local_read_bandwidth_for_server'/'max_local_read_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                               |
| **clickhouse.throttler.local\_write.bytes.count**(count)                                        | Bytes passed through 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttler.                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.throttler.local\_write.bytes.total**(gauge)                                        | Bytes passed through 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttler.                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.throttler.local\_write.sleep.time**(gauge)                                         | Total time a query was sleeping to conform 'max_local_write_bandwidth_for_server'/'max_local_write_bandwidth' throttling.*Shown as microsecond*                                                                                                                                                                                                                                                                             |
| **clickhouse.uptime**(gauge)                                                                    | The amount of time ClickHouse has been active.*Shown as second*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.views.refreshing.current**(gauge)                                                  | Number of materialized views currently executing a refresh                                                                                                                                                                                                                                                                                                                                                                  |
| **clickhouse.views.refreshing.total**(gauge)                                                    | Number materialized views with periodic refreshing (REFRESH)                                                                                                                                                                                                                                                                                                                                                                |
| **clickhouse.zk.check.count**(count)                                                            | Number of 'check' requests to ZooKeeper. Usually they don't make sense in isolation, only as part of a complex transaction.                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.check.total**(gauge)                                                            | Number of 'check' requests to ZooKeeper. Usually they don't make sense in isolation, only as part of a complex transaction.                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.close.count**(count)                                                            | Number of times connection with ZooKeeper has been closed voluntary.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.zk.close.total**(gauge)                                                            | Number of times connection with ZooKeeper has been closed voluntary.                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.zk.connection**(gauge)                                                             | The number of sessions (connections) to ZooKeeper. Should be no more than one, because using more than one connection to ZooKeeper may lead to bugs due to lack of linearizability (stale reads) that ZooKeeper consistency model allows.*Shown as connection*                                                                                                                                                              |
| **clickhouse.zk.connection.established.count**(count)                                           | Number of times connection with ZooKeeper has been established.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.zk.connection.established.total**(gauge)                                           | Number of times connection with ZooKeeper has been established.                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.zk.create.count**(count)                                                           | Number of 'create' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.create.total**(gauge)                                                           | Number of 'create' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.data.exception.count**(count)                                                   | Number of exceptions while working with ZooKeeper related to the data (no node, bad version or similar).                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.data.exception.total**(gauge)                                                   | Number of exceptions while working with ZooKeeper related to the data (no node, bad version or similar).                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.ddl\_entry.max**(gauge)                                                         | Max DDL entry of DDLWorker that pushed to zookeeper.                                                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.zk.exist.count**(count)                                                            | Number of 'exists' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.exist.total**(gauge)                                                            | Number of 'exists' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.get.count**(count)                                                              | Number of 'get' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.get.total**(gauge)                                                              | Number of 'get' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.list.count**(count)                                                             | Number of 'list' (getChildren) requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.zk.list.total**(gauge)                                                             | Number of 'list' (getChildren) requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                     |
| **clickhouse.zk.multi.count**(count)                                                            | Number of 'multi' requests to ZooKeeper (compound transactions).*Shown as request*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.zk.multi.total**(gauge)                                                            | Number of 'multi' requests to ZooKeeper (compound transactions).*Shown as request*                                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.zk.network.exception.count**(count)                                                | Number of exceptions while working with ZooKeeper related to network (connection loss or similar).                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.zk.network.exception.total**(gauge)                                                | Number of exceptions while working with ZooKeeper related to network (connection loss or similar).                                                                                                                                                                                                                                                                                                                          |
| **clickhouse.zk.node.ephemeral**(gauge)                                                         | The number of ephemeral nodes hold in ZooKeeper.*Shown as node*                                                                                                                                                                                                                                                                                                                                                             |
| **clickhouse.zk.operation.count**(count)                                                        | Number of ZooKeeper operations, which include both read and write operations as well as multi-transactions.*Shown as operation*                                                                                                                                                                                                                                                                                             |
| **clickhouse.zk.operation.total**(gauge)                                                        | Number of ZooKeeper operations, which include both read and write operations as well as multi-transactions.*Shown as operation*                                                                                                                                                                                                                                                                                             |
| **clickhouse.zk.other.exception.count**(count)                                                  | Number of exceptions while working with ZooKeeper other than ZooKeeperUserExceptions and ZooKeeperHardwareExceptions.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.zk.other.exception.total**(gauge)                                                  | Number of exceptions while working with ZooKeeper other than ZooKeeperUserExceptions and ZooKeeperHardwareExceptions.                                                                                                                                                                                                                                                                                                       |
| **clickhouse.zk.parts.covered.count**(count)                                                    | For debugging purposes. Number of parts in ZooKeeper that have a covering part, but doesn't exist on disk. Checked on server start.                                                                                                                                                                                                                                                                                         |
| **clickhouse.zk.parts.covered.total**(gauge)                                                    | For debugging purposes. Number of parts in ZooKeeper that have a covering part, but doesn't exist on disk. Checked on server start.                                                                                                                                                                                                                                                                                         |
| **clickhouse.zk.received.size.count**(count)                                                    | Number of bytes received over network while communicating with ZooKeeper.*Shown as byte*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.received.size.total**(gauge)                                                    | Number of bytes received over network while communicating with ZooKeeper.*Shown as byte*                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.reconfig.count**(count)                                                         | Number of 'reconfig' requests to ZooKeeper.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.reconfig.total**(gauge)                                                         | Number of 'reconfig' requests to ZooKeeper.                                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.remove.count**(count)                                                           | Number of 'remove' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.remove.total**(gauge)                                                           | Number of 'remove' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.request**(gauge)                                                                | The number of requests to ZooKeeper in fly.*Shown as request*                                                                                                                                                                                                                                                                                                                                                               |
| **clickhouse.zk.sent.size.count**(count)                                                        | Number of bytes send over network while communicating with ZooKeeper.*Shown as byte*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.zk.sent.size.total**(gauge)                                                        | Number of bytes send over network while communicating with ZooKeeper.*Shown as byte*                                                                                                                                                                                                                                                                                                                                        |
| **clickhouse.zk.set.count**(count)                                                              | Number of 'set' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.set.total**(gauge)                                                              | Number of 'set' requests to ZooKeeper.*Shown as request*                                                                                                                                                                                                                                                                                                                                                                    |
| **clickhouse.zk.sync.count**(count)                                                             | Number of 'sync' requests to ZooKeeper. These requests are rarely needed or usable.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.zk.sync.total**(gauge)                                                             | Number of 'sync' requests to ZooKeeper. These requests are rarely needed or usable.                                                                                                                                                                                                                                                                                                                                         |
| **clickhouse.zk.wait.time**(gauge)                                                              | Number of microseconds spent waiting for responses from ZooKeeper after creating a request, summed across all the requesting threads.*Shown as microsecond*                                                                                                                                                                                                                                                                 |
| **clickhouse.zk.watch**(gauge)                                                                  | The number of watches (event subscriptions) in ZooKeeper.*Shown as event*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.zk.watch.count**(count)                                                            | The number of watches (event subscriptions) in ZooKeeper.*Shown as event*                                                                                                                                                                                                                                                                                                                                                   |
| **clickhouse.zk.watch.total**(gauge)                                                            | The number of watches (event subscriptions) in ZooKeeper.*Shown as event*                                                                                                                                                                                                                                                                                                                                                   |

### Events{% #events %}

The ClickHouse check does not include any events.

### Service Checks{% #service-checks %}

**clickhouse.can\_connect**

Returns `CRITICAL` if the Agent is unable to connect to the monitored ClickHouse database, otherwise returns `OK`.

*Statuses: ok, critical*

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
