public static class GetTraceResponseBody.GetTraceResponseBodySpans
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<Map<String,?>> |
children
The child spans of the current span.
|
Long |
duration
The amount of time consumed by the trace.
|
Boolean |
haveStack
Indicates whether a method stack was provided.
|
List<GetTraceResponseBody.GetTraceResponseBodySpansLogEventList> |
logEventList
The log events in the trace.
|
String |
operationName
The name of the traced span.
|
String |
parentSpanId
The ID of the parent span.
|
String |
resultCode
The status code.
|
String |
rpcId
The ID of the RPC mode.
|
Integer |
rpcType
The type of the remote procedure call (RPC) mode.
|
String |
serviceIp
The IP address of the host where the application resides.
|
String |
serviceName
The name of the application.
|
String |
spanId
The span ID.
|
List<GetTraceResponseBody.GetTraceResponseBodySpansTagEntryList> |
tagEntryList
The tags of the trace.
|
Long |
timestamp
The timestamp generated when the span was generated.
|
String |
traceID
The trace ID.
|
| 构造器和说明 |
|---|
GetTraceResponseBodySpans() |
@NameInMap(value="Children") public List<Map<String,?>> children
The child spans of the current span.
@NameInMap(value="Duration") public Long duration
The amount of time consumed by the trace. Unit: milliseconds.
example:1000
@NameInMap(value="HaveStack") public Boolean haveStack
Indicates whether a method stack was provided.
true: A method stack was provided.false: No method stack was provided.false
@NameInMap(value="LogEventList") public List<GetTraceResponseBody.GetTraceResponseBodySpansLogEventList> logEventList
The log events in the trace.
@NameInMap(value="OperationName") public String operationName
The name of the traced span.
example:/api/demo
@NameInMap(value="ParentSpanId") public String parentSpanId
The ID of the parent span.
example:18
@NameInMap(value="ResultCode") public String resultCode
The status code.
example:222
@NameInMap(value="RpcId") public String rpcId
The ID of the RPC mode.
example:0
@NameInMap(value="RpcType") public Integer rpcType
The type of the remote procedure call (RPC) mode.
1
@NameInMap(value="ServiceIp") public String serviceIp
The IP address of the host where the application resides.
example:172.20.XX.XX
@NameInMap(value="ServiceName") public String serviceName
The name of the application.
example:arms-demo
@NameInMap(value="SpanId") public String spanId
The span ID.
example:1234
@NameInMap(value="TagEntryList") public List<GetTraceResponseBody.GetTraceResponseBodySpansTagEntryList> tagEntryList
The tags of the trace.
@NameInMap(value="Timestamp") public Long timestamp
The timestamp generated when the span was generated.
example:1590388651
@NameInMap(value="TraceID") public String traceID
The trace ID.
example:ac14001a15954493811405707d****
public static GetTraceResponseBody.GetTraceResponseBodySpans build(Map<String,?> map) throws Exception
Exceptionpublic GetTraceResponseBody.GetTraceResponseBodySpans setChildren(List<Map<String,?>> children)
public GetTraceResponseBody.GetTraceResponseBodySpans setDuration(Long duration)
public Long getDuration()
public GetTraceResponseBody.GetTraceResponseBodySpans setHaveStack(Boolean haveStack)
public Boolean getHaveStack()
public GetTraceResponseBody.GetTraceResponseBodySpans setLogEventList(List<GetTraceResponseBody.GetTraceResponseBodySpansLogEventList> logEventList)
public List<GetTraceResponseBody.GetTraceResponseBodySpansLogEventList> getLogEventList()
public GetTraceResponseBody.GetTraceResponseBodySpans setOperationName(String operationName)
public String getOperationName()
public GetTraceResponseBody.GetTraceResponseBodySpans setParentSpanId(String parentSpanId)
public String getParentSpanId()
public GetTraceResponseBody.GetTraceResponseBodySpans setResultCode(String resultCode)
public String getResultCode()
public GetTraceResponseBody.GetTraceResponseBodySpans setRpcId(String rpcId)
public String getRpcId()
public GetTraceResponseBody.GetTraceResponseBodySpans setRpcType(Integer rpcType)
public Integer getRpcType()
public GetTraceResponseBody.GetTraceResponseBodySpans setServiceIp(String serviceIp)
public String getServiceIp()
public GetTraceResponseBody.GetTraceResponseBodySpans setServiceName(String serviceName)
public String getServiceName()
public GetTraceResponseBody.GetTraceResponseBodySpans setSpanId(String spanId)
public String getSpanId()
public GetTraceResponseBody.GetTraceResponseBodySpans setTagEntryList(List<GetTraceResponseBody.GetTraceResponseBodySpansTagEntryList> tagEntryList)
public List<GetTraceResponseBody.GetTraceResponseBodySpansTagEntryList> getTagEntryList()
public GetTraceResponseBody.GetTraceResponseBodySpans setTimestamp(Long timestamp)
public Long getTimestamp()
public GetTraceResponseBody.GetTraceResponseBodySpans setTraceID(String traceID)
public String getTraceID()
Copyright © 2024. All rights reserved.