跳转到主要内容
在 ClickHouse Cloud 中查询此系统表中的数据分别保存在 ClickHouse Cloud 各节点的本地。因此,如需查看所有数据的完整情况,需要使用 clusterAllReplicas 函数。更多详情请参见此处

描述

包含有关已执行查询的 trace spans 信息。

别名:
  • attribute.namesmapKeys(attribute) 的别名。
  • attribute.valuesmapValues(attribute) 的别名。

示例

Query
SELECT * FROM system.opentelemetry_span_log LIMIT 1 FORMAT Vertical;
Response
Row 1:
──────
trace_id:         cdab0847-0d62-61d5-4d38-dd65b19a1914
span_id:          701487461015578150
parent_span_id:   2991972114672045096
operation_name:   DB::Block DB::InterpreterSelectQuery::getSampleBlockImpl()
kind:             INTERNAL
start_time_us:    1612374594529090
finish_time_us:   1612374594529108
finish_date:      2021-02-03
attribute.names:  []
attribute.values: []

另请参见

最后修改于 2026年6月10日