public interface SpanOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Span.Attributes |
getAttributes()
A set of attributes on the span.
|
Span.AttributesOrBuilder |
getAttributesOrBuilder()
A set of attributes on the span.
|
com.google.protobuf.UInt32Value |
getChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
com.google.protobuf.UInt32ValueOrBuilder |
getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span
was active.
|
com.google.protobuf.Timestamp |
getEndTime()
The end time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the span.
|
Span.SpanKind |
getKind()
Distinguishes between spans generated in a particular context.
|
int |
getKindValue()
Distinguishes between spans generated in a particular context.
|
Span.Links |
getLinks()
The inclued links.
|
Span.LinksOrBuilder |
getLinksOrBuilder()
The inclued links.
|
TruncatableString |
getName()
A description of the span's operation.
|
TruncatableStringOrBuilder |
getNameOrBuilder()
A description of the span's operation.
|
com.google.protobuf.ByteString |
getParentSpanId()
The `span_id` of this span's parent span.
|
com.google.protobuf.BoolValue |
getSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
com.google.protobuf.BoolValueOrBuilder |
getSameProcessAsParentSpanOrBuilder()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
com.google.protobuf.ByteString |
getSpanId()
A unique identifier for a span within a trace, assigned when the span
is created.
|
StackTrace |
getStackTrace()
A stack trace captured at the start of the span.
|
StackTraceOrBuilder |
getStackTraceOrBuilder()
A stack trace captured at the start of the span.
|
com.google.protobuf.Timestamp |
getStartTime()
The start time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start time of the span.
|
Status |
getStatus()
An optional final status for this span.
|
StatusOrBuilder |
getStatusOrBuilder()
An optional final status for this span.
|
Span.TimeEvents |
getTimeEvents()
The included time events.
|
Span.TimeEventsOrBuilder |
getTimeEventsOrBuilder()
The included time events.
|
com.google.protobuf.ByteString |
getTraceId()
A unique identifier for a trace.
|
boolean |
hasAttributes()
A set of attributes on the span.
|
boolean |
hasChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
boolean |
hasEndTime()
The end time of the span.
|
boolean |
hasLinks()
The inclued links.
|
boolean |
hasName()
A description of the span's operation.
|
boolean |
hasSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
boolean |
hasStackTrace()
A stack trace captured at the start of the span.
|
boolean |
hasStartTime()
The start time of the span.
|
boolean |
hasStatus()
An optional final status for this span.
|
boolean |
hasTimeEvents()
The included time events.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getTraceId()
A unique identifier for a trace. All spans from the same trace share the same `trace_id`. The ID is a 16-byte array. This field is required.
bytes trace_id = 1;com.google.protobuf.ByteString getSpanId()
A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.
bytes span_id = 2;com.google.protobuf.ByteString getParentSpanId()
The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
bytes parent_span_id = 3;boolean hasName()
A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;TruncatableString getName()
A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;TruncatableStringOrBuilder getNameOrBuilder()
A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;int getKindValue()
Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` and `SERVER` to identify queueing latency associated with the span.
.opencensus.proto.trace.Span.SpanKind kind = 14;Span.SpanKind getKind()
Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` and `SERVER` to identify queueing latency associated with the span.
.opencensus.proto.trace.Span.SpanKind kind = 14;boolean hasStartTime()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;com.google.protobuf.Timestamp getStartTime()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;boolean hasEndTime()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;com.google.protobuf.Timestamp getEndTime()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;boolean hasAttributes()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;Span.Attributes getAttributes()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;boolean hasStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;StackTrace getStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;StackTraceOrBuilder getStackTraceOrBuilder()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;boolean hasTimeEvents()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;Span.TimeEvents getTimeEvents()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;Span.TimeEventsOrBuilder getTimeEventsOrBuilder()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;boolean hasLinks()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;Span.Links getLinks()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;Span.LinksOrBuilder getLinksOrBuilder()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;boolean hasStatus()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;Status getStatus()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;StatusOrBuilder getStatusOrBuilder()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;boolean hasSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;com.google.protobuf.BoolValue getSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilder()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;boolean hasChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;com.google.protobuf.UInt32Value getChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;com.google.protobuf.UInt32ValueOrBuilder getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;Copyright © 2018 The Envoy Project. All rights reserved.