Fetch one whole trace
Every span of one trace, parent links included, so a caller can rebuild the tree. Trace IDs come from any SQL query over sigiro_spans.
GET
/v1/traces/{trace_id}路径参数
trace_idstring必填Trace ID
响应
200
Trace detail
critical_pathstring[]必填error_countinteger<int64>必填root_spanSpanDetail必填Individual span detail in trace detail response.
显示属性隐藏属性
duration_usinteger<int64>必填events_jsonstring | nulllinks_jsonstring | nullparent_span_idstring | nullresource_attributesstring | nullscope_namestring | nullscope_versionstring | nullservice_namestring必填span_attributesstring | nullspan_idstring必填span_kindinteger<int32> | nullspan_namestring必填status_codeinteger<int32>必填timestampstring必填trace_idstring必填trace_statestring | nullservice_breakdownServiceBreakdownEntry[]必填显示属性隐藏属性
ServiceBreakdownEntry 数组duration_usinteger<int64>必填Cumulative inclusive duration of the service's spans, in microseconds.
percentagenumber<double>必填Percentage of cumulative inclusive span duration across all services.
servicestring必填servicesstring[]必填span_countinteger<int64>必填spansSpanDetail[]必填显示属性隐藏属性
SpanDetail 数组duration_usinteger<int64>必填events_jsonstring | nulllinks_jsonstring | nullparent_span_idstring | nullresource_attributesstring | nullscope_namestring | nullscope_versionstring | nullservice_namestring必填span_attributesstring | nullspan_idstring必填span_kindinteger<int32> | nullspan_namestring必填status_codeinteger<int32>必填timestampstring必填trace_idstring必填trace_statestring | nulltotal_duration_usinteger<int64>必填Elapsed wall-clock time from the earliest span start to the latest span end, in microseconds.
trace_idstring必填