Interface JsonLogConverter.LogSpan
- Enclosing interface:
JsonLogConverter
public static interface JsonLogConverter.LogSpan
Information describing a specific span.
-
Method Summary
Modifier and TypeMethodDescriptionReturns attributes assigned to the span.longReturns the end time in nanoseconds of the span.intkind()Returns the span kind.name()Returns the span name.Returns the span's parent span ID or an empty string if there is no parent span.spanId()Returns the span's span ID.longReturns the start time in nanoseconds of the span.traceId()Returns the span's trace ID.
-
Method Details
-
traceId
-
spanId
-
parentSpanId
String parentSpanId()Returns the span's parent span ID or an empty string if there is no parent span.- Returns:
- parent span ID
-
name
-
kind
int kind()Returns the span kind.- Returns:
- span kind
-
startTimeUnixNanos
long startTimeUnixNanos()Returns the start time in nanoseconds of the span.- Returns:
- span start time
-
endTimeUnixNanos
long endTimeUnixNanos()Returns the end time in nanoseconds of the span.- Returns:
- span end time
-
attributes
-