参数 | 类型 | 示例值 | 描述 |
Msg | String | No data was found in the query | 提示信息,根据实际情况返回。 |
Trace | - | 待查询的 Trace 详情,此配置为核心返回数据。 | |
Summary | - | Trace 的摘要统计信息。 |
参数 | 类型 | 示例值 | 描述 |
Status | Integer | 0 | Trace 状态码。
|
ApiName | String | DemoMethod | Trace 的起始接口。 |
TraceId | String | b7d963c267c30e7c5ddexxxx | 待查询的 Trace ID。 |
SpanList | - | Span 列表的摘要信息。 | |
ServiceName | String | test-grpc-server | Trace 的起始服务。 |
ServiceType | String | rpc | Trace 的起始服务类型。 |
DurationMicroseconds | Long | 1873 | 整体耗时,单位:微秒。 |
StartTimeMillisecond | Long | 1767196800000 | 开始时间。 |
参数 | 类型 | 示例值 | 描述 |
Env | String | prod | 当前 Span 所属的环境。 |
SpanId | String | 4374f05fb9axxxxx | Span ID 信息。 |
Status | Integer | 0 | Span 状态码。
|
ApiName | String | DemoMethod | 接口名。 |
ApiTime | Long | 1767196800 | 服务端接收时间。 |
Hostname | String | demo-grpc-server-7f89c4677c-xxxxx | 主机名。 |
SpanType | String | server | Span 类型。 |
EventList | - | 事件列表。 | |
InputTokens | Long | 16 | 生成 AI Span 的 input token 数。 |
ServiceName | String | test-grpc-server | 服务名称。 |
ServiceType | String | rpc | 服务类型。 |
TotalTokens | Long | 166 | 生成 AI Span 的总 token 数。 |
OutputTokens | Long | 150 | 生成 AI Span 的 output token 数。 |
ParentSpanId | String | 4ce724e472axxxx | 父 Span ID。 |
ErrorInfoList | - | 错误信息列表,支持在一个 Span 中查看多个错误。 | |
GenAISpanKind | String | llm | 生成 AI Span 的类型。 |
OperationName | String | redis.command | 操作名。 |
CacheReadTokens | Long | 100 | 生成 AI Span 的 cache read token 数。 |
CallServiceType | String | rpc | 下游服务类型。 |
DurationMicroseconds | Long | 1096 | 耗时,单位:微秒。 |
StartTimeMicrosecond | Long | 1767196800000000 | 开始时间,单位:微秒。 |
StartTimeMillisecond | Long | 1767196800000 | 开始时间,单位:毫秒。 |
RelativeStartTimeMillisecond | Long | 100 | 从请求调用开始到当前 Span 开始的相对时间,单位:毫秒。 |
参数 | 类型 | 示例值 | 描述 |
Tags | JSON Map | {'message.id':'1.0','message.type':'RECEIVED'} | 事件标签。 |
TraceId | String | 58f56847851be99ea0ff3cxxxxxxxxxx | 事件所属 TraceID。 |
EventName | String | message | 事件名。 |
ServiceName | String | demo-service | 事件所属服务。 |
OperationName | String | Get | 事件操作名。 |
EventTimeMillisecond | Long | 1767196800000 | 事件发生时间,单位:毫秒。 |
参数 | 类型 | 示例值 | 描述 |
IssueId | String | b7d963c267c30e7c5ddexxxx | 错误 ID。 |
ErrorKind | String | UncaughtException | 错误类型。 |
ErrorTags | JSON Map | {'error_tag_key':'error_tag_value'} | 错误标签。 |
ErrorStack | String | java.lang.RuntimeException: Node not found\n\tat com.example.grpcserver.xxx.demoMethod(xxx.java:34).... | 错误堆栈。 |
ErrorMessage | String | Node not found | 错误消息。 |
ErrorOccurTime | Long | 1767196800 | 错误发生时间。 |
参数 | 类型 | 示例值 | 描述 |
SpanNums | Integer | 10 | Span 总数。 |
ServiceNums | Integer | 5 | 涉及的服务总数。 |
ErrorSpanIds | Array of String | ['4374f05fb9axxxxx','4ce724e472axxxx'] | 错误 Span ID 列表。 |
ComponentSpanIds | JSON Map | {'kitex':['4374f05fb9axxxxx','4ce724e472axxxx'],'redis':['4374f05fb9axxxxx']} | 组件和组件 Span ID 列表。其中,key 为组件包含中间件、服务调用,value 为 Span ID 列表。 说明 不同组件可能包含重复 Span。 |
LLMComponentSpanIds | JSON Map | {'OpenAI':['4374f05fb9axxxxx','4ce724e472axxxx']} | 大模型组件的统计。其中,key 为大模型组件的 span.kind、gen_ai.system,value 为 Span ID 列表。 说明 不同组件可能包含重复 Span。 |