你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TraceContext interface

用于启用分布式跟踪方案的 TraceContext 信息

属性

attributes

保存作为请求遥测的一部分发送的其他属性

traceParent

描述传入请求在其跟踪图中的位置,采用可移植的固定长度格式

traceState

使用特定于供应商的数据扩展跟踪父级

属性详细信息

attributes

保存作为请求遥测的一部分发送的其他属性

attributes?: Record<string, string>

属性值

Record<string, string>

traceParent

描述传入请求在其跟踪图中的位置,采用可移植的固定长度格式

traceParent?: string

属性值

string

traceState

使用特定于供应商的数据扩展跟踪父级

traceState?: string

属性值

string