TraceContext interface
用于启用分布式跟踪方案的 TraceContext 信息
属性
| attributes | 保存作为请求遥测的一部分发送的其他属性 |
| trace |
描述传入请求在其跟踪图中的位置,采用可移植的固定长度格式 |
| trace |
使用特定于供应商的数据扩展跟踪父级 |
属性详细信息
attributes
保存作为请求遥测的一部分发送的其他属性
attributes?: Record<string, string>
属性值
Record<string, string>
traceParent
描述传入请求在其跟踪图中的位置,采用可移植的固定长度格式
traceParent?: string
属性值
string
traceState
使用特定于供应商的数据扩展跟踪父级
traceState?: string
属性值
string