> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# Metrics d through h

> Alphabetical d - h

**Note**

Metrics for materialized views and shared-data clusters are detailed in the corresponding sections:

* [Metrics for asynchronous materialized view metrics](/documents/4.2/administration/management/monitoring/metrics-materialized_view.md)
* [Metrics for Shared-data Dashboard metrics, and Starlet Dashboard metrics](/documents/4.2/administration/management/monitoring/metrics-shared-data.md)

For more information on how to build a monitoring service for your cluster, see [Monitor and Alert](/documents/4.2/administration/management/monitoring/prometheus_grafana.md).

## `data_stream_receiver_count`

* Unit: Count
* Description: Cumulative number of instances serving as Exchange receivers in BE.

## `datacache_corruption_removed_files`

* Unit: Count
* Type: Cumulative
* Description: Cumulative number of external table files whose corrupted data cache blocks are removed after a scan fails to decode the content read from the data cache. Controlled by `external_table_clear_corrupted_cache_data`.

## `datacache_corruption_retried_files`

* Unit: Count
* Type: Cumulative
* Description: Cumulative number of external table files read again bypassing the data cache to verify whether their cached copy is corrupted. Only Parquet files are read again.

## `datacache_disk_quota_bytes`

* Unit: Bytes
* Type: Gauge
* Description: The configured disk quota for datacache.

## `datacache_disk_used_bytes`

* Unit: Bytes
* Type: Gauge
* Description: The current disk usage of datacache.

## `datacache_mem_quota_bytes`

* Unit: Bytes
* Type: Gauge
* Description: The configured memory quota for datacache.

## `datacache_mem_used_bytes`

* Unit: Bytes
* Type: Gauge
* Description: The current memory usage of datacache.

## `datacache_meta_used_bytes`

* Unit: Bytes
* Type: Gauge
* Description: The memory usage for datacache metadata.

## `date_column_pool_bytes`

* Unit: Bytes
* Description: Memory used by the DATE column pool.

## `datetime_column_pool_bytes`

* Unit: Bytes
* Description: Memory used by the DATETIME column pool.

## `decimal_column_pool_bytes`

* Unit: Bytes
* Description: Memory used by the DECIMAL column pool.

## `default_cache_hit_bytes`

* Unit: Bytes
* Type: Cumulative
* Description: Cumulative bytes read from the Data Cache instance `default_cache` on cache hits. In a shared-data cluster where [`datacache_unified_instance_enable`](/documents/4.2/administration/configuration/BE_parameters/shared_lake_other#datacache_unified_instance_enable) is `true` (default), this instance also caches the data of cloud-native tables, and for cloud-native tables this metric counts the same reads as `fslib_open_cache_hits`. Data Cache reads of external tables on the same node are also counted. If `datacache_unified_instance_enable` is `false`, cloud-native tables use a separate cache instance, whose metrics are exported as `cloud_cache_hit_bytes`, `cloud_cache_miss_bytes`, `cloud_cache_hit_count`, and `cloud_cache_miss_count`. This metric is exported only when the BE configuration item `dump_metrics_with_bvar` is `true` (default). It is exported with the Prometheus type `gauge`, but its value only increases until the BE or CN restarts, so use `rate()` on it. The byte-based cache hit ratio is `sum(rate(default_cache_hit_bytes[5m])) / (sum(rate(default_cache_hit_bytes[5m])) + sum(rate(default_cache_miss_bytes[5m])))`. Unlike the count-based hit ratio calculated from `fslib_open_cache_hits` and `fslib_open_cache_misses`, it is not lowered much by many small misses.

## `default_cache_hit_count`

* Unit: Count
* Type: Cumulative
* Description: Cumulative number of cache hits of the Data Cache instance `default_cache`. For cloud-native tables, it counts the same reads as `fslib_open_cache_hits`. For the scope and export conditions, see `default_cache_hit_bytes`.

## `default_cache_miss_bytes`

* Unit: Bytes
* Type: Cumulative
* Description: Cumulative bytes requested from the Data Cache instance `default_cache` on cache misses. It is the size that the read requested, not the size then read from object storage, which is aligned to cache blocks. A miss on a cached file size entry adds 0. For the scope and export conditions, see `default_cache_hit_bytes`.

## `default_cache_miss_count`

* Unit: Count
* Type: Cumulative
* Description: Cumulative number of cache misses of the Data Cache instance `default_cache`. For cloud-native tables, it counts the same reads as `fslib_open_cache_misses`. For the scope and export conditions, see `default_cache_hit_bytes`.

## `delta_column_group_get_hit_cache`

* Unit: Count
* Description: Total number of delta column group cache hits (for Primary Key tables only).

## `delta_column_group_get_non_pk_hit_cache`

* Unit: Count
* Description: Total number of hits in the delta column group cache (for non-Primary Key tables).

## `delta_column_group_get_non_pk_total`

* Unit: Count
* Description: Total number of times to get delta column group (for non-Primary Key tables only).

## `delta_column_group_get_total`

* Unit: Count
* Description: Total number of times to get delta column groups (for Primary Key tables).

## `direct_read_credential_cache_hit_total`

* Unit: Count
* Type: Counter
* Description: FE metric. The number of direct-read (`direct_lake`) credential requests served from the credential cache. Together with `direct_read_credential_cache_miss_total` this makes the cache's effectiveness observable: a hit rate pinned at zero indicates a reuse window that never opens, not traffic.

## `direct_read_credential_cache_miss_total`

* Unit: Count
* Type: Counter
* Description: FE metric. The number of direct-read credential requests that had to mint a new scoped credential via STS instead of reusing a cached one.

## `direct_read_credential_mint_fail_total`

* Unit: Count
* Type: Counter
* Description: FE metric. The number of direct-read credential mints that failed, foreground and background refresh alike.

## `direct_read_refused_no_scoped_credential_total`

* Unit: Count
* Type: Counter
* Description: Cumulative number of StarRocks-catalog direct reads (`direct_lake`) refused because no credential could be narrowed to the scanned prefixes. A direct read is never served without such a credential, so this counts queries that failed. Causes include an STS outage, a revoked `sts:GetFederationToken` permission, a storage volume re-pointed at an identity that cannot narrow itself (an instance profile or web identity with no role to assume), or a requested lifetime longer than that identity can mint. The reason for each occurrence is in this cluster's FE log, while the failing query belongs to whoever runs the initiating cluster — which is why this is worth alerting on.

## `direct_read_stale_metadata_total`

* Unit: Count
* Type: Counter
* Description: FE metric. The number of direct-read prepare requests refused because the initiator planned on metadata this cluster has since moved past, labeled by `reason` (`table_identity`, `schema_version`, or `partition_set`). The initiator refreshes its metadata and replans once, so this counts churn on directly read tables, not failed queries.

## `direct_read_unscoped_grant_total`

* Unit: Count
* Type: Counter
* Description: FE metric. The number of HDFS direct reads served without a path or read-only credential boundary after `hdfs.direct_read.allow_unscoped` is enabled. Effective HDFS permissions may allow access outside the volume and writes/deletes. The accompanying FE warning identifies the volume and principal.

## `disk_bytes_read`

* Unit: Bytes
* Description: Total bytes read from the disk(sectors read \* 512).

## `disk_bytes_written`

* Unit: Bytes
* Description: Total bytes written to disk.

## `disk_free`

* Unit: Bytes
* Type: Average
* Description: Free disk capacity.

## `disk_io_svctm`

* Unit: ms
* Type: Average
* Description: Disk IO service time.

## `disk_io_time_ms`

* Unit: ms
* Description: Time spent on I/Os.

## `disk_io_time_weigthed`

* Unit: ms
* Description: Weighted time spent on I/Os.

## `disk_io_util`

* Unit: -
* Type: Average
* Description: Disk usage.

## `disk_read_time_ms`

* Unit: ms
* Description: Time spent on reading from disk. Unit: ms.

## `disk_reads_completed`

* Unit: Count
* Description: Number of successfully completed disk reads.

## `disk_sync_total (Deprecated)`

## `disk_used`

* Unit: Bytes
* Type: Average
* Description: Used disk capacity.

## `disk_write_time_ms`

* Unit: ms
* Description: Time spent on disk writing. Unit: ms.

## `disk_writes_completed`

* Unit: Count
* Description: Total number of successfully completed disk writes.

## `disks_avail_capacity`

* Description: Available capacity of a specific disk.

## `disks_data_used_capacity`

* Description: Used capacity of each disk (represented by a storage path).

## `disks_state`

* Unit: -
* Description: State of each disk. `1` indicates that the disk is in use, and `0` indicates that it is not in use.

## `disks_total_capacity`

* Description: Total capacity of the disk.

## `double_column_pool_bytes`

* Unit: Bytes
* Description: Memory used by the DOUBLE column pool.

## `encryption_keys_created`

* Unit: Count
* Type: Cumulative
* Description: number of file encryption keys created for file encryption

## `encryption_keys_in_cache`

* Unit: Count
* Type: Instantaneous
* Description: number of encryption keys currently in key cache

## `encryption_keys_unwrapped`

* Unit: Count
* Type: Cumulative
* Description: number of encryption meta unwrapped for file decryption

## `engine_requests_total`

* Unit: Count
* Description: Total count of all types of requests between BE and FE, including CREATE TABLE, Publish Version, and tablet clone.

## `fd_num_limit`

* Unit: Count
* Description: Maximum number of file descriptors.

## `fd_num_used`

* Unit: Count
* Description: Number of file descriptors currently in use.

## `fe_cancelled_broker_load_job`

* Unit: Count
* Type: Average
* Description: Number of cancelled broker jobs.

## `fe_cancelled_delete_load_job`

* Unit: Count
* Type: Average
* Description: Number of cancelled delete jobs.

## `fe_cancelled_hadoop_load_job`

* Unit: Count
* Type: Average
* Description: Number of cancelled hadoop jobs.

## `fe_cancelled_insert_load_job`

* Unit: Count
* Type: Average
* Description: Number of cancelled insert jobs.

## `fe_checkpoint_push_per_second`

* Unit: Count/s
* Type: Average
* Description: Number of FE checkpoints.

## `fe_committed_broker_load_job`

* Unit: Count
* Type: Average
* Description: Number of committed broker jobs.

## `fe_committed_delete_load_job`

* Unit: Count
* Type: Average
* Description: Number of committed delete jobs.

## `fe_committed_hadoop_load_job`

* Unit: Count
* Type: Average
* Description: Number of committed hadoop jobs.

## `fe_committed_insert_load_job`

* Unit: Count
* Type: Average
* Description: Number of committed insert jobs.

## `fe_connection_total`

* Unit: Count
* Type: Cumulative
* Description: Total number of FE connections.

## `fe_connections_per_second`

* Unit: Count/s
* Type: Average
* Description: New connection rate of FE.

## `fe_edit_log_read`

* Unit: Count/s
* Type: Average
* Description: Read speed of FE edit log.

## `fe_edit_log_size_bytes`

* Unit: Bytes/s
* Type: Average
* Description: Size of FE edit log.

## `fe_edit_log_write`

* Unit: Bytes/s
* Type: Average
* Description: Write speed of FE edit log.

## `fe_finished_broker_load_job`

* Unit: Count
* Type: Average
* Description: Number of finished broker jobs.

## `fe_finished_delete_load_job`

* Unit: Count
* Type: Average
* Description: Number of finished delete jobs.

## `fe_finished_hadoop_load_job`

* Unit: Count
* Type: Average
* Description: Number of completedhadoop jobs.

## `fe_finished_insert_load_job`

* Unit: Count
* Type: Average
* Description: Number of completed insert jobs.

## `fe_loading_broker_load_job`

* Unit: Count
* Type: Average
* Description: Number of loading broker jobs.

## `fe_loading_delete_load_job`

* Unit: Count
* Type: Average
* Description: Number of loading delete jobs.

## `fe_loading_hadoop_load_job`

* Unit: Count
* Type: Average
* Description: Number of loading hadoop jobs.

## `fe_loading_insert_load_job`

* Unit: Count
* Type: Average
* Description: Number of loading insert jobs.

## `fe_pending_broker_load_job`

* Unit: Count
* Type: Average
* Description: Number of pending broker jobs.

## `fe_pending_delete_load_job`

* Unit: Count
* Type: Average
* Description: Number of pending delete jobs.

## `fe_pending_hadoop_load_job`

* Unit: Count
* Type: Average
* Description: Number of pending hadoop jobs.

## `fe_pending_insert_load_job`

* Unit: Count
* Type: Average
* Description: Number of pending insert jobs.

## `fe_rollup_running_alter_job`

* Unit: Count
* Type: Average
* Description: Number of jobs created in rollup.

## `fe_schema_change_running_job`

* Unit: Count
* Type: Average
* Description: Number of jobs in schema change.

## `float_column_pool_bytes`

* Unit: Bytes
* Description: Memory used by the FLOAT column pool.

## `fragment_endpoint_count`

* Unit: Count
* Description: Cumulative number of instances serving as Exchange senders in BE.

## `fragment_request_duration_us`

* Unit: us
* Description: Cumulative execution time of fragment instances (for non-pipeline engine).

## `fragment_requests_total`

* Unit: Count
* Description: Total fragment instances executing on a BE (for non-pipeline engine).

## `fslib_open_cache_hits`

* Unit: Count
* Type: Counter
* Labels: `fstype` (`cachefs`)
* Description: Cumulative number of Data Cache hits when reading the files of cloud-native tables in a shared-data cluster. Each read covers at most one cache block. Because every read counts as one regardless of its size, many small misses, such as metadata reads, can lower the hit ratio calculated from this metric and `fslib_open_cache_misses` even when most bytes are still read from the cache. For the byte-based metrics, see `default_cache_hit_bytes`.

## `fslib_open_cache_misses`

* Unit: Count
* Type: Counter
* Labels: `fstype` (`cachefs`)
* Description: Cumulative number of Data Cache misses when reading the files of cloud-native tables in a shared-data cluster. Each read covers at most one cache block. For the byte-based metrics, see `default_cache_miss_bytes`.

## `gtid_timestamp_ahead_of_clock_ms`

* Unit: Milliseconds
* Type: Instantaneous
* Labels: `is_leader`
* Description: How far the gtid generator's last timestamp is ahead of the local wall clock on the Leader FE (`max(0, lastTimestamp - now)`). A positive value means the generator is ahead of this FE's clock. After failover this is normally at most `gtid_batch_window_ms` and falls back to `0` as wall-clock time catches up. A value that stays much larger than the window means a previously issued timestamp was far ahead of this FE's clock and has been persisted. Reported only by the Leader FE (`is_leader="true"`). Returns `0` before any gtid has been issued, and when the wall clock has caught up.

## `hive_write_bytes`

* Unit: Bytes
* Type: Cumulative
* Labels: `write_type` (`insert` or `overwrite`)
* Description: Total written bytes from Hive write tasks (`INSERT`, `INSERT OVERWRITE`). This represents the total size of data files written to the Hive table. `write_type` distinguishes between the operation types.

## `hive_write_duration_ms_total`

* Unit: Millisecond
* Type: Cumulative
* Labels: `write_type` (`insert` or `overwrite`)
* Description: Total execution time of Hive write tasks (`INSERT`, `INSERT OVERWRITE`) in milliseconds. The duration of each task is added after it ends. `write_type` distinguishes between the operation types.

## `hive_write_files`

* Unit: Count
* Type: Cumulative
* Labels: `write_type` (`insert` or `overwrite`)
* Description: Total number of data files written to Hive from write tasks (`INSERT`, `INSERT OVERWRITE`). This represents the count of data files written to the Hive table. `write_type` distinguishes between the operation types.

## `hive_write_rows`

* Unit: Rows
* Type: Cumulative
* Labels: `write_type` (`insert` or `overwrite`)
* Description: Total written rows from Hive write tasks (`INSERT`, `INSERT OVERWRITE`). This represents the number of rows written to the Hive table. `write_type` distinguishes between the operation types.

## `hive_write_total`

* Unit: Count
* Type: Cumulative
* Labels:
  * `status` (`success` or `failed`)
  * `reason` (`none`, `timeout`, `oom`, `access_denied`, `unknown`)
  * `write_type` (`insert` or `overwrite`)
* Description: Total number of `INSERT` or `INSERT OVERWRITE` tasks that target Hive tables. The metric is incremented by 1 after each task ends, regardless of success or failure. `write_type` distinguishes between the operation types.

## `http_request_send_bytes (Deprecated)`

## `http_requests_total (Deprecated)`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.