在 ClickHouse Cloud 中查询此系统表中的数据分别保存在 ClickHouse Cloud 各节点的本地。因此,如需查看所有数据的完整情况,需要使用
clusterAllReplicas 函数。更多详情请参见此处。描述
列
metric(String) — 指标名称。value(Float64) — 指标值。description(String) — 指标说明。labels(Map(String, String)) — 指标标记。
name—metric的别名。
示例
指标说明
merge_failures
startup_scripts_failure_reason
merge_tree_parts
filesystem_cache_evictions_total
expose_prometheus_eviction_metrics 启用。
filesystem_cache_evicted_bytes_total
expose_prometheus_eviction_metrics 启用。
filesystem_cache_evictions_by_user_total
expose_prometheus_eviction_metrics 和 expose_prometheus_eviction_metrics_per_user 启用。
filesystem_cache_evicted_bytes_by_user_total
expose_prometheus_eviction_metrics 和 expose_prometheus_eviction_metrics_per_user 启用。
object_storage_queue_failures_total
read、set_processing、insert、commit) 和错误代码标记的 ObjectStorageQueue (S3Queue/AzureQueue) 失败次数。
object_storage_queue_permanently_failed_files_total
ObjectStorageQueue (S3Queue/AzureQueue) 在耗尽重试次数后 (或禁用重试时) 永久放弃处理的文件数量,按数据库和表标记。每个此类文件的数据都将永远不会被处理。
object_storage_queue_newest_seen_object_timestamp_seconds
ObjectStorageQueue (S3Queue/AzureQueue) 表截至目前已发现的最新对象的最后修改时间的 Unix 时间戳,按数据库和表标记。
object_storage_queue_newest_committed_object_timestamp_seconds
ObjectStorageQueue (S3Queue/AzureQueue) 表完全处理的最新对象的最后修改时间的 Unix 时间戳,按数据库和表标记。
另请参阅
- system.asynchronous_metrics — 包含定期计算的指标。
- system.events — 包含已发生的一系列事件。
- system.metric_log — 包含来自表
system.metrics和system.events的指标值历史记录。 - 监控 — ClickHouse 监控的基本概念。