- Metrics for asynchronous materialized view metrics
- Metrics for Shared-data Dashboard metrics, and Starlet Dashboard metrics
iceberg_delete_bytes
- Unit: Bytes
- Type: Cumulative
- Labels:
delete_type(positionormetadata) - Description: Total deleted bytes from Iceberg
DELETEtasks. Formetadatadelete, this represents the size of deleted data files. Forpositiondelete, this represents the size of position delete files created.
iceberg_delete_duration_ms_total
- Unit: Millisecond
- Type: Cumulative
- Labels:
delete_type(positionormetadata) - Description: Total execution time of Iceberg
DELETEtasks in milliseconds. The duration of each task is added after it ends.delete_typedistinguishes between two delete methods.
iceberg_delete_rows
- Unit: Rows
- Type: Cumulative
- Labels:
delete_type(positionormetadata) - Description: Total deleted rows from Iceberg
DELETEtasks. Formetadatadelete, this represents the number of rows in deleted data files. Forpositiondelete, this represents the number of position deletes created.
iceberg_delete_total
- Unit: Count
- Type: Cumulative
- Labels:
status(successorfailed)reason(none,timeout,oom,access_denied,unknown)delete_type(positionormetadata)
- Description: Total number of
DELETEtasks that target Iceberg tables. The metric is incremented by 1 after each task ends, regardless of success or failure.delete_typedistinguishes between two delete methods:position(generates position delete files) andmetadata(metadata-level delete).
iceberg_compaction_duration_ms_total
- Unit: Millisecond
- Type: Cumulative
- Labels:
compaction_type(manualorauto) - Description: Total time spent running Iceberg compaction tasks.
iceberg_compaction_input_files_total
- Unit: Count
- Type: Cumulative
- Labels:
compaction_type(manualorauto) - Description: Total number of data files read by Iceberg compaction tasks.
iceberg_compaction_output_files_total
- Unit: Count
- Type: Cumulative
- Labels:
compaction_type(manualorauto) - Description: Total number of data files produced by Iceberg compaction tasks.
iceberg_compaction_removed_delete_files_total
- Unit: Count
- Type: Cumulative
- Labels:
compaction_type(manualorauto) - Description: Total number of delete files removed by Iceberg manual compaction tasks.
iceberg_compaction_total
- Unit: Count
- Type: Cumulative
- Labels:
compaction_type(manualorauto) - Description: Total number of Iceberg compaction (
rewrite_data_files) tasks.
iceberg_merge_bytes
- Unit: Bytes
- Type: Cumulative
- Labels:
file_type(dataorposition_delete) - Description: Total bytes written by Iceberg
MERGE INTOtasks, split by file type.datais the size of new data files (updated rows and inserts);position_deleteis the size of position-delete files marking the matched old rows.
iceberg_merge_duration_ms_total
- Unit: Millisecond
- Type: Cumulative
- Description: Total execution time of Iceberg
MERGE INTOtasks in milliseconds. The duration of each task is added after it ends.
iceberg_merge_files
- Unit: Count
- Type: Cumulative
- Labels:
file_type(dataorposition_delete) - Description: Total number of files written by Iceberg
MERGE INTOtasks, split by file type.datacounts new data files;position_deletecounts position-delete files.
iceberg_merge_rows
- Unit: Rows
- Type: Cumulative
- Labels:
file_type(dataorposition_delete) - Description: Total number of rows processed by Iceberg
MERGE INTOtasks, split by file type.position_deletecounts target rows hit by UPDATE or DELETE (added as position deletes);datacounts data rows written (updated rows plus inserts).
iceberg_merge_total
- Unit: Count
- Type: Cumulative
- Labels:
status(successorfailed)reason(none,timeout,oom,access_denied,unknown)
- Description: Total number of
MERGE INTOtasks that target Iceberg tables. The metric is incremented by 1 after each task ends, regardless of success or failure. Iceberg MERGE INTO uses the V2 Merge-On-Read model and atomically writes both data files and position-delete files in a single snapshot.
iceberg_metadata_table_query_total
- Unit: Count
- Type: Cumulative
- Labels:
metadata_table(refs,history,metadata_log_entries,snapshots,manifests,files,partitions, orproperties) - Description: Total number of SQL queries that access Iceberg metadata tables. Each query is counted under the
metadata_tablelabel that identifies the metadata table being accessed.
iceberg_time_travel_query_total
- Unit: Count
- Type: Cumulative
- Labels:
time_travel_type(branch,tag,snapshot, ortimestamp) for the categorized series. - Description: Total number of Iceberg time travel queries. The unlabeled series counts each time travel query once. The labeled series count each distinct time travel type used by the query.
snapshotmeansFOR VERSION AS OF <snapshot_id>,branchandtagmeanFOR VERSION AS OF <reference_name>, andtimestampmeansFOR TIMESTAMP AS OF ....
iceberg_update_bytes
- Unit: Bytes
- Type: Cumulative
- Labels:
file_type(dataorposition_delete) - Description: Total bytes written by Iceberg
UPDATEtasks, split by file type.datais the size of new data files containing the updated rows;position_deleteis the size of position-delete files marking the old rows.
iceberg_update_duration_ms_total
- Unit: Millisecond
- Type: Cumulative
- Description: Total execution time of Iceberg
UPDATEtasks in milliseconds. The duration of each task is added after it ends.
iceberg_update_files
- Unit: Count
- Type: Cumulative
- Labels:
file_type(dataorposition_delete) - Description: Total number of files written by Iceberg
UPDATEtasks, split by file type.datacounts new data files;position_deletecounts position-delete files.
iceberg_update_rows
- Unit: Rows
- Type: Cumulative
- Description: Total number of rows affected by Iceberg
UPDATEtasks. Each updated row is counted once, not once per emitted file.
iceberg_update_total
- Unit: Count
- Type: Cumulative
- Labels:
status(successorfailed)reason(none,timeout,oom,access_denied,unknown)
- Description: Total number of
UPDATEtasks that target Iceberg tables. The metric is incremented by 1 after each task ends, regardless of success or failure. Iceberg UPDATE uses the V2 Merge-On-Read model and atomically writes both data files and position-delete files in a single snapshot.
iceberg_write_bytes
- Unit: Bytes
- Type: Cumulative
- Labels:
write_type(insert,overwrite, orctas) - Description: Total written bytes from Iceberg write tasks (
INSERT,INSERT OVERWRITE,CTAS). This represents the total size of data files written to the Iceberg table.write_typedistinguishes between the operation types.
iceberg_write_duration_ms_total
- Unit: Millisecond
- Type: Cumulative
- Labels:
write_type(insert,overwrite, orctas) - Description: Total execution time of Iceberg write tasks (
INSERT,INSERT OVERWRITE,CTAS) in milliseconds. The duration of each task is added after it ends.write_typedistinguishes between the operation types.
iceberg_write_files
- Unit: Count
- Type: Cumulative
- Labels:
write_type(insert,overwrite, orctas) - Description: Total number of data files written to Iceberg from write tasks (
INSERT,INSERT OVERWRITE,CTAS). This represents the count of data files written to the Iceberg table.write_typedistinguishes between the operation types.
iceberg_write_rows
- Unit: Rows
- Type: Cumulative
- Labels:
write_type(insert,overwrite, orctas) - Description: Total written rows from Iceberg write tasks (
INSERT,INSERT OVERWRITE,CTAS). This represents the number of rows written to the Iceberg table.write_typedistinguishes between the operation types.
iceberg_write_total
- Unit: Count
- Type: Cumulative
- Labels:
status(successorfailed)reason(none,timeout,oom,access_denied,unknown)write_type(insert,overwrite, orctas)
- Description: Total number of
INSERT,INSERT OVERWRITE, orCTAStasks that target Iceberg tables. The metric is incremented by 1 after each task ends, regardless of success or failure.write_typedistinguishes between the operation types.
int128_column_pool_bytes
- Unit: Bytes
- Description: Memory used by the INT128 column pool.
int16_column_pool_bytes
- Unit: Bytes
- Description: Memory used by the INT16 column pool.
int32_column_pool_bytes
- Unit: Bytes
- Description: Memory used by the INT32 column pool.
int64_column_pool_bytes
- Unit: Bytes
- Description: Memory used by the INT64 column pool.
int8_column_pool_bytes
- Unit: Bytes
- Description: Memory used by the INT8 column pool.
jwks_fetch_latency_ms
- Unit: ms
- Type: Histogram
- Description: Latency of each JWKS (JSON Web Key Set) fetch from the identity provider, whatever triggered it: the first load of a
jwks_url, a background refresh ahead of the cache TTL, a refresh forced by a token with an unknownkid, or a retry. Failed fetches are timed as well. A JWT verification itself is a stable CPU cost; when Bearer authentication gets slow, this fetch is where the time goes. - Introduced in: v4.2
jwks_refresh_total
- Unit: Count
- Type: Counter
- Description: Total number of JWKS fetches from the identity provider, labeled by
result(successorfailure). One increment per HTTP fetch, counted at the fetch itself, so a background refresh counts once and a fetch that failed but was answered from cached keys (seejwks_cache_outage_ttl_seconds) counts as a failure. A risingfailurerate means the identity provider’s JWKS endpoint is unhealthy; authentication keeps working from the cached keys until the outage window runs out. - Introduced in: v4.2
jemalloc_active_bytes
- Unit: Bytes
- Description: Total bytes in active pages allocated by the application.
jemalloc_allocated_bytes
- Unit: Bytes
- Description: Total number of bytes allocated by the application.
jemalloc_dirty_bytes
- Unit: Bytes
- Description: Total number of bytes in unused dirty pages, which have not yet been
madvised back to the operating system and can be reused for new allocations without a page fault.
jemalloc_mapped_bytes
- Unit: Bytes
- Description: Total number of bytes in active extents mapped by the allocator.
jemalloc_metadata_bytes
- Unit: Bytes
- Description: Total number of bytes dedicated to metadata, comprising base allocations used for bootstrap-sensitive allocator metadata structures and internal allocations. The usage of transparent huge pages is not included in this item.
jemalloc_metadata_thp
- Unit: Count
- Description: Number of Transparent Huge Pages used for metadata.
jemalloc_muzzy_bytes
- Unit: Bytes
- Description: Total number of bytes in unused muzzy pages, an intermediate decay state between dirty and retained where the pages have been
madvised (for example withMADV_FREE) but the mapping is still retained.
jemalloc_resident_bytes
- Unit: Bytes
- Description: Maximum number of bytes in physically resident data pages mapped by the allocator, comprising all pages dedicated to allocator metadata, pages backing active allocations, and unused dirty pages.
jemalloc_retained_bytes
- Unit: Bytes
- Description: Total bytes of virtual memory mappings that were retained rather than returned to the operating system via operations like munmap(2).
jit_cache_mem_bytes
- Unit: Bytes
- Description: Memory used by jit compiled function cache.
jvm_heap_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(used,committed, ormax) - Description: Heap memory of the JVM embedded in the BE process.
usedis the memory occupied by objects,committedis the memory the JVM has reserved from the operating system, andmaxis the maximum heap size. FE nodes export metrics with the same name for their own JVM; this entry describes the BE metric.- The BE JVM metrics (all
jvm_*_size_bytesmetrics in this section) are exported only when the BE configuration itemenable_jvm_metricsistrue(default) and the environment variableJAVA_HOMEis set when BE starts. - The BE does not start a JVM to collect these metrics. All values stay
0until a JVM is created in the BE process, for example by HDFS access, a JNI-based scanner, or a Java UDF. - The values are refreshed every 15 seconds when the BE configuration item
enable_metric_calculatoristrue(default), and when the metrics are scraped otherwise. - The committed heap and non-heap memory is also counted in the
jvmmemory tracker of the BE whenenable_jvm_memory_trackeristrue(default).
- The BE JVM metrics (all
jvm_non_heap_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(usedorcommitted) - Description: Non-heap memory of the JVM embedded in the BE process, such as Metaspace and the code cache. No
maxvalue is exported. Seejvm_heap_size_bytesfor when the BE JVM metrics are exported.
jvm_old_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(used,committed,max,peak_used, orpeak_max) - Description: Old generation memory pool of the JVM embedded in the BE process. See
jvm_young_size_bytesfor the meaning of eachtypeand the supported garbage collectors.
jvm_perm_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(used,committed,max,peak_used, orpeak_max) - Description: Metaspace (permanent generation on Java 7 and earlier) of the JVM embedded in the BE process. Metaspace has no defined maximum unless the JVM option
-XX:MaxMetaspaceSizeis set, somaxandpeak_maxare usually-1. Seejvm_young_size_bytesfor the meaning of eachtype.
jvm_survivor_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(used,committed,max,peak_used, orpeak_max) - Description: Survivor space memory pool of the JVM embedded in the BE process. With the default G1 collector,
maxandpeak_maxare-1. Seejvm_young_size_bytesfor the meaning of eachtypeand the supported garbage collectors.
jvm_young_size_bytes
- Unit: Bytes
- Type: Instantaneous
- Labels:
type(used,committed,max,peak_used, orpeak_max) - Description: Young generation (Eden space) memory pool of the JVM embedded in the BE process. With the default G1 collector,
maxandpeak_maxare-1. Seejvm_heap_size_bytesfor when the BE JVM metrics are exported.used,committed, andmaxare the current usage of the pool.peak_usedandpeak_maxcome from the peak usage that the JVM records for the pool (MemoryPoolMXBean.getPeakUsage()):peak_usedis the highestusedvalue, andpeak_maxis themaxfield of that peak usage record.peak_maxis not a separately tracked high-water mark ofmax, so usemax, notpeak_max, to monitor the capacity of the pool. The peak usage is recorded since the JVM started or since it was last reset. The BE never resets it, so it is reset only when the BE restarts.- A
maxorpeak_maxof-1means that the pool has no defined maximum size. It does not indicate an error. jvm_young_size_bytes,jvm_survivor_size_bytes, andjvm_old_size_bytesare populated only when the JVM uses the Serial, Parallel, CMS, or G1 garbage collector, because they are matched by the memory pool names of these collectors. Under ZGC or Shenandoah, they stay0.jvm_heap_size_bytesandjvm_non_heap_size_bytesare not affected.
lake_compaction_held_segment_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Segment metadata currently pinned by running lake compaction tasks that hold their input segments (
lake_compaction_hold_input_segments). Unlike the metadata cache, this memory is not managed by an LRU and is released when the holding task ends, so a persistently high value indicates long-running compactions rather than a cache that needs resizing.
lake_compaction_failed
- Unit: Count
- Description: Counter of failed lake compaction jobs.
lake_compaction_partial_success
- Unit: Count
- Description: Counter of partially successful lake compaction jobs.
lake_compaction_running
- Unit: Count
- Description: Number of currently running lake compaction jobs.
lake_compaction_running_tasks
- Unit: Count
- Description: Number of tablets currently being compacted across all running shared-data (lake) compaction jobs. This is the same unit the scheduler caps with the
lake_compaction_max_tasksconfig, and is finer-grained thanlake_compaction_running, which counts compaction jobs (one per partition) — a single job fans out into one tablet-level task per tablet. Carries anis_leaderlabel; follower FEs export the metric withis_leader="false"and value 0, so dashboards should filter onis_leader="true".
lake_compaction_score_at_trigger
- Unit: Score
- Type: Gauge
- Description: Compaction score of the most recent partition that triggered a lake compaction job, rounded to the nearest integer. The value is the partition’s max tablet-level score (
Quantiles.getMax()), matching the criterion the scheduler uses to pick partitions for compaction. Updated once per partition per trigger; the gauge holds the value of the most recent update. This gauge does not decay: on the leader FE, when no compactions are running it retains the last trigger’s value (it is not reset to 0). The value is process-local (an in-memory counter on the leader, not persisted), so after an FE leader failover the newly promoted leader starts at 0 and reports 0 until its first compaction trigger — it does not inherit the previous leader’s value. Alert on it together withlake_compaction_running > 0rather than reading it in isolation. Carries anis_leaderlabel; follower FEs exportis_leader="false"and return 0, so dashboards should filter onis_leader="true".
lake_compaction_success
- Unit: Count
- Description: Counter of successful lake compaction jobs.
lake_idg_files_missing_total
- Unit: Operations
- Type: Counter
- Description: In shared-data mode, counts missing-file fallbacks during Index Delta Group (IDG)
.idxinitialization and the first missing lazy page read per bitmap-index iterator. Lazy bloom-filter page failures are excluded. Reopening the same missing file can increment the counter again; this is not a distinct-file count. An increase indicates reduced index pruning, for example after vacuum races with a query or after a downgrade and re-upgrade.
lake_pk_index_cache_delvec_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Shared-data only. Memory used by the delete vectors attached to the Primary Key index SST files of the tablets whose Primary Key index is cached on this BE. Only SST files ingested together with a delete vector, such as compaction output, carry one. This memory is not charged to the Primary Key index cache, so
INDEX_MEMininformation_schema.be_tabletsdoes not include it.
lake_pk_index_cache_filter_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Shared-data only. Memory used by the Bloom filters of the Primary Key index SST files of the tablets whose Primary Key index is cached on this BE.
lake_pk_index_cache_memtable_bytes,lake_pk_index_cache_index_block_bytes, and this metric add up to the memory charged to the Primary Key index cache, whichINDEX_MEMininformation_schema.be_tabletsreports per tablet.
lake_pk_index_cache_hit_total
- Unit: Count
- Type: Cumulative
- Description: Shared-data only. Number of times a publish on a Primary Key table found the tablet’s Primary Key index already loaded in the Primary Key index cache. Together with
lake_pk_index_load_total, the hit ratio of the cache ishit / (hit + load).
lake_pk_index_cache_index_block_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Shared-data only. Memory used by the index blocks of the Primary Key index SST files of the tablets whose Primary Key index is cached on this BE.
lake_pk_index_cache_memtable_bytes,lake_pk_index_cache_filter_bytes, and this metric add up to the memory charged to the Primary Key index cache, whichINDEX_MEMininformation_schema.be_tabletsreports per tablet.
lake_pk_index_cache_memtable_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Shared-data only. Memory used by the MemTables, both active and being flushed, of the Primary Key indexes cached on this BE.
lake_pk_index_cache_index_block_bytes,lake_pk_index_cache_filter_bytes, and this metric add up to the memory charged to the Primary Key index cache, whichINDEX_MEMininformation_schema.be_tabletsreports per tablet.
lake_pk_index_load_duration_us
- Unit: us
- Type: Cumulative
- Description: Shared-data only. Total time spent on the Primary Key index loads counted by
lake_pk_index_load_total. Divide it bylake_pk_index_load_totalto get the average time to load the index of one tablet.
lake_pk_index_load_total
- Unit: Count
- Type: Cumulative
- Description: Shared-data only. Number of times a publish on a Primary Key table had to load the whole Primary Key index of a tablet because the index was not in the Primary Key index cache, either because it had not been loaded since the BE started or because it had been evicted. A load opens all Primary Key index SST files of the tablet and replays the rowsets those files do not cover yet. Failed loads are also counted. If this value keeps rising while the set of tablets being loaded into does not change, indexes are being evicted and loaded again.
lake_publish_batch_retry_total
- Unit: Count
- Type: Cumulative
- Description: Total number of batch publishes in shared-data clusters that retry an attempt that did not finish, that is, whose first transaction was already sent by an earlier attempt. When
lake_enable_batch_publish_retry_freezeistrue, such a retry contains only the transactions of the earlier attempt. Only the Leader FE increments this counter.
lake_publish_partial_meta_written
- Unit: Count
- Type: Gauge
- Description: Cumulative number of times since this BE/CN started that it wrote a tablet’s publish result to its local data cache. Counted only when the BE configuration item
lake_enable_publish_partial_metaistrue, and only for tables with file bundling. A result is written when the tablet’s publish finished more than the publish RPC timeout plus 3 seconds after the request arrived, or when the publish is a retry; a retry answered from the kept result writes it again. A later retry on the same node reads it back instead of applying again, seelake_publish_skipped_by_partial_meta. Shared-data clusters only. Exported through/metricswhendump_metrics_with_bvaris enabled.
lake_publish_skipped_by_partial_meta
- Unit: Count
- Type: Gauge
- Description: Cumulative number of tablet publishes since this BE/CN started that a retried publish answered from the tablet’s publish result kept in this node’s local data cache (see
lake_publish_partial_meta_written), instead of applying the transactions again. Counted only when the BE configuration itemlake_enable_publish_partial_metaistrue, and only for tables with file bundling. Shared-data clusters only. Exported through/metricswhendump_metrics_with_bvaris enabled.
lake_publish_version_skipped_durable
- Unit: Count
- Type: Gauge
- Description: Cumulative number of tablet publishes since this BE/CN started that a retried publish answered from the new version’s tablet metadata already written in storage, instead of applying the transactions again. Only a retry (a publish of a partition whose earlier request was sent and did not finish) whose new version is not in the metadata cache is counted; tablets answered from the metadata cache and first attempts are not. Shared-data clusters only. Exported through
/metricswhendump_metrics_with_bvaris enabled.
lake_scan_read_ahead_blocks
- Unit: Count
- Type: Instantaneous
- Description: Shared-data only. Cache blocks that the query scans on this BE/CN have asked to fetch ahead of their reads and have not read yet, all scans together. This covers the read-ahead window of each segment (
remote_prefetch_window_blocks) and the segments started early (lake_scan_read_ahead_segments).lake_scan_read_ahead_max_blockslimits it.
lake_scan_read_ahead_capped_total
- Unit: Count
- Type: Cumulative
- Description: Shared-data only. Number of times a query scan on this BE/CN asked for fewer blocks ahead, or did not start the next segment early, because the node already held
lake_scan_read_ahead_max_blocksblocks ahead, or the segment already held its share of them. A steadily growing value means the limit is holding read-ahead back; those reads fetch their data when they reach it.
lake_scan_read_ahead_windows
- Unit: Count
- Type: Instantaneous
- Description: Shared-data only. Segments of the query scans on this BE/CN that are reading ahead. While
lake_scan_read_ahead_max_blocksis set, each of them keeps at most that limit divided by this number of blocks ahead.
lake_segment_cache_hit_minute
- Unit: Count
- Type: Gauge
- Description: Number of segment metadata cache lookup hits in the last 60 seconds on shared-data clusters. A hit returns a cached candidate, which can subsequently be rejected if its schema is incompatible with the request. Exported through
/metricswhendump_metrics_with_bvaris enabled.
lake_segment_cache_miss_minute
- Unit: Count
- Type: Gauge
- Description: Number of segment metadata cache lookups that find no cache entry in the last 60 seconds on shared-data clusters. Exported through
/metricswhendump_metrics_with_bvaris enabled.
lake_segment_cache_schema_reject_total
- Unit: Count
- Type: Gauge
- Description: Cumulative number of cached segment candidates rejected since this BE/CN started because their schema is missing or incompatible with the requested schema. When cache filling is enabled, a rejected entry is atomically replaced only if it still refers to the same segment; existing readers keep their segment. Otherwise, the request opens a private segment. Includes incompatible candidates returned by concurrent cache insertion after a lookup miss, so this value cannot be subtracted directly from lookup hits. Exported through
/metricswhendump_metrics_with_bvaris enabled.
lake_tablet_location_handoff_entries
- Unit: Count
- Type: Instantaneous
- Description: Shared-data only. Number of tablet storage locations this BE holds for tablets it does not own, as handed over by their owners for writing combined transaction logs (see the BE configuration item
lake_shard_info_cache_ttl_sec). They are kept in an LRU cache of 16 MiB, shared with the locations counted instaros_shard_info_fallback_cache_entries: an entry is used forlake_shard_info_cache_ttl_secafter its last refresh and is evicted when the cache needs room, so the value reflects cache occupancy rather than whether the handoff is in use.
lake_tablet_location_handoff_hits_total
- Unit: Count
- Type: Cumulative
- Description: Shared-data only. Number of times this BE resolved the storage location of a tablet it does not own from a location handed over by the tablet’s owner instead of requesting it from StarMgr. Each increment is one StarMgr GetShard RPC avoided. It rises on the nodes that coordinate loads into tables with
file_bundlingenabled. Together withstaros_shard_info_fallback_total, the share answered by the handoff ishits / (hits + fallback).
lake_vacuum_del_file_batch_size_minute
- Unit: Count (files per batch)
- Type: Gauge
- Description: Recent (60s) mean of files per
DeleteObjectsbatch sent by Vacuum on shared-data clusters.
lake_vacuum_del_file_retries_minute
- Unit: Count
- Type: Gauge
- Description: Number of Vacuum delete retries triggered in the last 60s on shared-data clusters. Surfaces transient object-storage throttling (SlowDown / try-again).
load_bytes
- Unit: Bytes
- Description: Total loaded bytes.
load_channel_count
- Unit: Count
- Description: Total number of loading channels.
load_mem_bytes
- Unit: Bytes
- Description: Memory cost of data loading.
load_rows
- Unit: Count
- Description: Total loaded rows.
load_rpc_threadpool_size
- Unit: Count
- Description: The current size of the RPC thread pool, which is used for handling Routine Load and loading via table functions. The default value is 10, with a maximum value of 1000. This value is dynamically adjusted based on the usage of the thread pool.
load_sink_close_active_threads
- Unit: Count
- Type: Instantaneous
- Description: The number of load sink closes that are running in the load sink close thread pool. In a shared-data cluster, each close writes the combined transaction log of a load to object storage.
load_sink_close_execute_time_ns_total
- Unit: Nanoseconds
- Type: Cumulative
- Description: The total execution time of completed load sink close tasks, including waits and object-storage writes performed during close. Updated when each task finishes.
load_sink_close_executed_tasks_total
- Unit: Count
- Type: Cumulative
- Description: The number of load sink close tasks completed by the thread pool, including closes that return an error.
load_sink_close_pending_time_ns_total
- Unit: Nanoseconds
- Type: Cumulative
- Description: The total time completed load sink close tasks spent waiting in the thread pool queue. Updated when each task finishes; currently queued tasks are not yet included.
load_sink_close_queue_count
- Unit: Count
- Type: Instantaneous
- Description: The number of load sink closes waiting in the queue of the load sink close thread pool. A value that keeps growing means object-storage writes are slower than loads finish.
load_sink_close_running_threads
- Unit: Count
- Type: Instantaneous
- Description: The number of threads in the load sink close thread pool.
load_sink_close_threadpool_size
- Unit: Count
- Type: Instantaneous
- Description: The maximum number of threads in the load sink close thread pool, set by
load_sink_close_thread_pool_num_max.
local_column_pool_bytes (Deprecated)
low_cardinality_dict_cache_bytes
- Unit: Bytes
- Type: Gauge
- Description: Total byte size of cached dictionary data in the low-cardinality global dictionary cache (
CacheDictManager) on this FE. Tracked exactly by the cache (not sampled); it counts serialized dictionary data, which is a lower bound on the actual heap footprint. The cache is bounded by this size via thelow_cardinality_dict_cache_max_bytesconfiguration.
max_disk_io_util_percent
- Unit: -
- Description: Maximum disk I/O utilization percentage.
max_network_receive_bytes_rate
- Unit: Bytes
- Description: Total bytes received over the network (maximum value among all network interfaces).
max_network_send_bytes_rate
- Unit: Bytes
- Description: Total bytes sent over the network (maximum value among all network interfaces).
memory_pool_bytes_total
- Unit: Bytes
- Description: Memory used by the memory pool.
memtable_flush_duration_us
- Unit: us
- Description: Total time spent on memtable flush.
memtable_flush_queue_count
- Unit: Count
- Description: Queued task count in the memtable flush thread pool.
memtable_flush_total
- Unit: Count
- Description: Total number of memtable flushes.
merge_commit_append_pipe
- Unit: microsecond
- Type: Summary
- Description: Time spent appending data to the stream load pipe during merge commit.
merge_commit_fail_total
- Unit: Count
- Type: Cumulative
- Description: Merge commit requests that failed.
merge_commit_pending
- Unit: microsecond
- Type: Summary
- Description: Time merge commit tasks spend waiting in the pending queue before execution.
merge_commit_pending_bytes
- Unit: Bytes
- Type: Instantaneous
- Description: Total bytes of data held by pending merge commit tasks.
merge_commit_pending_total
- Unit: Count
- Type: Instantaneous
- Description: Merge commit tasks currently waiting in the execution queue.
merge_commit_register_pipe_total
- Unit: Count
- Type: Cumulative
- Description: Stream load pipes registered for merge commit operations.
merge_commit_request
- Unit: microsecond
- Type: Summary
- Description: End-to-end processing latency for merge commit requests.
merge_commit_request_bytes
- Unit: Bytes
- Type: Cumulative
- Description: Total bytes of data received across merge commit requests.
merge_commit_request_total
- Unit: Count
- Type: Cumulative
- Description: Total number of merge commit requests received by BE.
merge_commit_send_rpc_total
- Unit: Count
- Type: Cumulative
- Description: RPC requests sent to FE for starting merge commit operations.
merge_commit_success_total
- Unit: Count
- Type: Cumulative
- Description: Merge commit requests that finished successfully.
merge_commit_unregister_pipe_total
- Unit: Count
- Type: Cumulative
- Description: Stream load pipes unregistered from merge commit operations.
merge_commit_request_latency_99 and merge_commit_request_latency_90, reported in microseconds. The end-to-end latency obeys:
merge_commit_request = merge_commit_pending + merge_commit_wait_plan + merge_commit_append_pipe + merge_commit_wait_finish
Note: Before v3.4.11, v3.5.12, and v4.0.4, these latency metrics were reported in nanoseconds.
merge_commit_wait_finish
- Unit: microsecond
- Type: Summary
- Description: Time spent waiting for merge commit load operations to finish.
merge_commit_wait_plan
- Unit: microsecond
- Type: Summary
- Description: Combined latency for the RPC request and waiting for the stream load pipe to become available.
meta_background_error_total
- Unit: Count
- Type: Cumulative
- Description: Total number of times the metadata RocksDB of a storage directory reported a background error. RocksDB resumes from most of them on its own. An unrecoverable one instead leaves that directory rejecting writes and scheduling no further flush or compaction until the BE restarts, and for as long as that lasts the BE also stops deleting obsolete files of that RocksDB. Each increment is accompanied by a BE WARNING log naming the directory and the error. Alert on
meta_background_error_unrecoverable_totalrather than on this counter, which also covers the errors RocksDB recovers from on its own.
meta_background_error_unrecoverable_total
- Unit: Count
- Type: Cumulative
- Description: Of the background errors counted by
meta_background_error_total, the number RocksDB reported as unrecoverable. This is the subset that needs an operator: the affected storage directory rejects writes and schedules no further flush or compaction until the BE restarts, and for as long as that lasts the BE also stops deleting that RocksDB’s obsolete files, so the directory’s disk usage stops falling but does not grow. Subtracting this counter frommeta_background_error_totalleaves the errors RocksDB recovers from by itself, which need no action. Any non-zero value needs investigation, and the accompanying BE WARNING log names the directory.
meta_file_check_error_total
- Unit: Count
- Description: Cumulative number of files the metadata file check could not examine (the existence check failed with an error other than “not found”, such as EIO or EACCES), plus one for every round in which the check could not run at all. Such files are not counted in meta_missing_file_total. A rising value while meta_missing_file_total stays flat means the check is running against a directory it cannot read, which needs the same attention as a missing file. The accompanying WARNING log records the first affected path.
meta_missing_file_total
- Unit: Count
- Description: Cumulative number of times a check found a file that the metadata RocksDB instance still references (an SST, CURRENT, MANIFEST, or OPTIONS file) but that is missing from disk. This is an occurrence count, not the number of files currently missing: the same file is counted again on every round, so one file that stays missing adds 1 every meta_file_check_interval_seconds. Alert on the increase over a time window rather than on the absolute value, and identify the affected files from the accompanying WARNING log, which records path= and file=. If a missing SST or MANIFEST file is not addressed before the next restart, that data directory’s metadata cannot be opened and the BE will fail to start. A missing CURRENT file is worse: with the default create_if_missing=true, RocksDB treats the directory as a new database and opens it empty, so the existing metadata of that data directory is silently lost. A missing OPTIONS file does not block startup, but it points to the same disk losing files. WAL files are not checked.
meta_replay_lag_second
- Unit: Seconds
- Type: Gauge
- Description: How far the metadata replayed by this FE lags behind the Leader’s clock. The Leader FE writes a timestamp into the journal every 10 seconds, and this metric is the age of the most recent timestamp that this node has replayed. Unlike
max_journal_replay_lag, which only the Leader reports, this metric is reported by the lagging node itself, and it keeps growing while a single journal entry is stuck in replay. The Leader FE always reports0, because it writes the timestamps instead of replaying them. Once this value exceedsmeta_delay_toleration_second, the node stops serving reads from its own metadata and forwards its queries to the Leader. Two cases are exempt: reads continue whileignore_meta_checkistrue, and a node that has replayed nothing since the previous check keeps whatever read availability it already had, unless it has also lost contact with the Leader, because falling behind a Leader that is writing nothing says nothing about this node. This second case only stops a node from being taken out of service; it never returns one that has already stopped serving.
meta_request_duration
- Unit: us
- Description: Total meta read/write duration.
meta_request_total
- Unit: Count
- Description: Total number of meta read/write requests.
metadata_mem_bytes (Deprecated)
network_receive_bytes
- Unit: Bytes
- Description: Total bytes received via network.
network_receive_packets
- Unit: Count
- Description: Total number of packets received through the network.
network_send_bytes
- Unit: Bytes
- Description: Number of bytes sent over the network.
network_send_packets
- Unit: Count
- Description: Total number of packets sent through the network.
object_storage_fast_retry_total
- Unit: Count
- Type: Cumulative
- Labels:
request(put_object,head_object, orget_object),result(expired,resend_fast,resend_slow,resend_error, orno_budget) - Description: Events of the fast retry for small requests to shared-data object storage (
enable_object_storage_fast_retry).expired: a send that carried the short timeout got no response in time and was aborted; forget_object, a send that went longer than the idle limit without receiving a byte.resend_fast: a resend got a response within the short timeout.resend_slow: a resend got a response but took longer than the short timeout.resend_error: a resend ended with a network error, and the SDK retries the request as usual.no_budget: a send went without the short timeout because the budget (object_storage_fast_retry_budget_percent) had run out; forget_object, a send that went past the idle limit was not aborted because the budget had run out. Registered whenenable_poco_client_for_aws_sdkisfalse.
ordinal_index_mem_bytes
- Unit: Bytes
- Description: Memory used by ordinal indexes.
page_cache_capacity
- Description: Capacity of the storage page cache.
page_cache_hit_count
- Unit: Count
- Description: Total number of hits in the storage page cache.
page_cache_insert_count
- Unit: Count
- Description: Total number of insert operations in the storage page cache.
page_cache_insert_evict_count
- Unit: Count
- Description: Total number of cache entries evicted during insert operations due to capacity constraints.
page_cache_lookup_count
- Unit: Count
- Description: Total number of storage page cache lookups.
page_cache_release_evict_count
- Unit: Count
- Description: Total number of cache entries evicted during release operations when cache usage exceeds capacity.
pip_query_ctx_cnt
- Unit: Count
- Description: Total number of currently running queries in the BE.
pipe_driver_execution_time
- Description: Cumulative time spent by PipelineDriver executors on processing PipelineDrivers.
pipe_driver_queue_len
- Unit: Count
- Description: Current number of ready drivers in the ready queue waiting for scheduling in BE.
pipe_driver_schedule_count
- Unit: Count
- Description: Cumulative number of driver scheduling times for pipeline executors in the BE.
pipe_drivers
- Unit: Count
- Description: Current logical driver capacity reserved by BE admission control. Includes reservations held while a fragment instantiates drivers and operators, as well as reservations retained after instantiation until they are released. The value follows logical DOP accounting, including colocate execution groups, and is not a count of instantiated driver objects or running threads. Releasing a reservation, including on preparation failure or fragment completion, decreases the value.
pipe_poller_block_queue_len
- Unit: Count
- Description: Current length of the block queue of PipelineDriverPoller in the pipeline engine.
pipe_poller_max_driver_check
- Unit: microsecond
- Type: Summary
- Description: Time taken by the slowest single driver check in one pass of PipelineDriverPoller. A large value means that checking one blocked driver held up the whole pass.
pipe_poller_pass
- Unit: microsecond
- Type: Summary
- Description: Time taken by one pass of PipelineDriverPoller over its blocked drivers. Each executor set has a single poller thread, so a long pass delays every driver that waits on it. The maximum in the recent window is exposed as
pipe_poller_pass_max_latency.
pipe_prepare_pool_queue_len
- Unit: Count
- Description: Queued task count in the pipeline PREPARE thread pool. This is an instantaneous value.
pipe_scan_executor_queuing
- Unit: Count
- Description: Current number of pending asynchronous I/O tasks launched by Scan Operators.
pk_index_compaction_queue_count
- Unit: Count
- Description: Queued task count in the Primary Key index compaction thread pool.
pk_index_sst_read_error_total
- Type: Counter
- Unit: Count
- Description: Total number of SST file read failures in the lake Primary Key persistent index. Incremented when SST multi-get (read) operations fail, or when compaction detects data corruption while reading input SST files.
pk_index_sst_write_error_total
- Type: Counter
- Unit: Count
- Description: Total number of SST file write failures in the lake Primary Key persistent index. Incremented when SST file build fails.
plan_advisor_guide_applied_total
- Unit: Count
- Type: Cumulative
- Labels:
operator_type(joinoragg) - Description: Total number of Plan Advisor guides applied during query optimization. The metric is incremented once for each guide that successfully rewrites a plan node.
joincovers join estimation error guides, andaggcovers streaming aggregation guides.
plan_advisor_guide_generated_total
- Unit: Count
- Type: Cumulative
- Labels:
operator_type(joinoragg) - Description: Total number of Plan Advisor guides generated and inserted into the local FE cache. The metric is incremented only when the analyzed guides are non-empty and stored as a new cache entry.
joincovers join estimation error guides, andaggcovers streaming aggregation guides.
plan_advisor_optimization_duration_ms_total
- Unit: Milliseconds
- Type: Cumulative
- Description: Total execution time saved by Plan Advisor, in milliseconds. When a query that used a cached guide finishes faster than the original query that produced the guide, the saved time is added to this counter.
plan_fragment_count
- Unit: Count
- Description: Number of currently running query plan fragments.
prepared_plan_cache_hit
- Unit: Count
- Description: Number of prepared statement executions served from a cached execution plan. Counted only once the plan has been produced, so an execution that fails while building the plan is counted in neither metric.
prepared_plan_cache_miss
- Unit: Count
- Description: Number of prepared statement executions that were eligible for the plan cache but had to plan the query in full. Executions the cache cannot serve at all (the vector cache switch is off, the statement shape is out of scope, or a point query whose parameters cannot be rebound) are counted in neither this metric nor
prepared_plan_cache_hit, so the two together describe cache health rather than workload shape. Counted only once full planning returns a plan, so this is the number of successful full plannings, not the number of attempts.
process_fd_num_limit_hard
- Unit: Count
- Description: Hard limit on the maximum number of file descriptors.
process_fd_num_limit_soft
- Unit: Count
- Description: Soft limit on the maximum number of file descriptors. Please note that this item indicates the soft limit. You can set the hard limit using the
ulimitcommand.
process_fd_num_used
- Unit: Count
- Description: Number of file descriptors currently in use in this BE process.
process_mem_bytes
- Unit: Bytes
- Description: Memory used by this process.
passthrough_mem_bytes. The pass-through metric is a component of the process total, not additional memory; do not add the two metrics when calculating total usage. This accounting metric is not container RSS.
process_thread_num
- Unit: Count
- Description: Total number of threads in this process.
publish_version_queue_count
- Unit: Count
- Description: Queued task count in the Publish Version thread pool.
push_request_duration_us
- Unit: us
- Description: Total time spent on Spark Load.
push_request_write_bytes
- Unit: Bytes
- Description: Total bytes written via Spark Load.
push_request_write_bytes_per_second
- Unit: Bytes/s
- Description: Data writing rate of Spark Load.
push_request_write_rows
- Unit: Count
- Description: Total rows written via Spark Load.
push_requests_total
- Unit: Count
- Description: Total number of successful and failed Spark Load requests.