|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TraceContextInfo
Provides information about a PurePath node using the TraceContext (Trace-Id, Span-Id) model as defined in
| Field Summary | |
|---|---|
static java.lang.String |
INVALID_SPAN_ID
All-zero (invalid) W3C span ID. |
static java.lang.String |
INVALID_TRACE_ID
All-zero (invalid) W3C trace ID. |
| Method Summary | |
|---|---|
java.lang.String |
getSpanId()
The W3C span ID hex string (never empty or null, but might be all-zero if isValid()) is false) |
java.lang.String |
getTraceId()
The W3C trace ID hex string (never empty or null, but might be all-zero if isValid()) is false) |
boolean |
isValid()
If true, the trace & span ID are both valid (i.e., non-zero). |
| Field Detail |
|---|
static final java.lang.String INVALID_TRACE_ID
static final java.lang.String INVALID_SPAN_ID
| Method Detail |
|---|
boolean isValid()
These are a few common reasons for why you may be unable to get a valid trace context:
OneAgentSDK.getCurrentState())OneAgentSDK.setLoggingCallback(com.dynatrace.oneagent.sdk.api.LoggingCallback)
java.lang.String getTraceId()
isValid()) is false)
java.lang.String getSpanId()
isValid()) is false)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||