public static interface TraceContextOuterClass.TraceContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.UInt64Value |
getParentSpanId()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree.
|
com.google.protobuf.UInt64ValueOrBuilder |
getParentSpanIdOrBuilder()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree.
|
boolean |
getSampled()
When the sampled decision is accept, report this span to the tracing system.
|
long |
getSpanId()
The SpanId is 64-bit in length and indicates the position of the current operation in the trace tree.
|
long |
getTraceId()
The TraceId is 64 or 128-bit in length and indicates the overall ID of the trace.
|
long |
getTraceIdHigh()
If present, this is the high 64 bits of the 128-bit identifier.
|
boolean |
hasParentSpanId()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getTraceIdHigh()
If present, this is the high 64 bits of the 128-bit identifier. Otherwise the trace ID is 64 bits long.
uint64 trace_id_high = 1 [json_name = "traceIdHigh", jstype = JS_STRING];
long getTraceId()
The TraceId is 64 or 128-bit in length and indicates the overall ID of the trace. Every span in a trace shares this ID.
uint64 trace_id = 2 [json_name = "traceId", jstype = JS_STRING];
long getSpanId()
The SpanId is 64-bit in length and indicates the position of the current operation in the trace tree. The value should not be interpreted: it may or may not be derived from the value of the TraceId.
uint64 span_id = 3 [json_name = "spanId", jstype = JS_STRING];
boolean hasParentSpanId()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree. When the span is the root of the trace tree, the ParentSpanId is absent.
.google.protobuf.UInt64Value parent_span_id = 4 [json_name = "parentSpanId"];
com.google.protobuf.UInt64Value getParentSpanId()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree. When the span is the root of the trace tree, the ParentSpanId is absent.
.google.protobuf.UInt64Value parent_span_id = 4 [json_name = "parentSpanId"];
com.google.protobuf.UInt64ValueOrBuilder getParentSpanIdOrBuilder()
The ParentSpanId is 64-bit in length and indicates the position of the parent operation in the trace tree. When the span is the root of the trace tree, the ParentSpanId is absent.
.google.protobuf.UInt64Value parent_span_id = 4 [json_name = "parentSpanId"];
boolean getSampled()
When the sampled decision is accept, report this span to the tracing system. When it is reject, do not. When B3 attributes are sent without a sampled decision, the receiver should make one. Once the sampling decision is made, the same value should be consistently sent downstream.
bool sampled = 5 [json_name = "sampled"];