Span_SpanKind class
SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → Span_SpanKind?
Constants
- SPAN_KIND_CLIENT → const Span_SpanKind
- Indicates that the span describes a request to some remote service.
- SPAN_KIND_CONSUMER → const Span_SpanKind
- Indicates that the span describes consumer receiving a message from a broker. Like the PRODUCER kind, there is often no direct critical path latency relationship between producer and consumer spans.
- SPAN_KIND_INTERNAL → const Span_SpanKind
- Indicates that the span represents an internal operation within an application, as opposed to an operation happening at the boundaries. Default value.
- SPAN_KIND_PRODUCER → const Span_SpanKind
- Indicates that the span describes a producer sending a message to a broker. Unlike CLIENT and SERVER, there is often no direct critical path latency relationship between producer and consumer spans. A PRODUCER span ends when the message was accepted by the broker while the logical processing of the message might span a much longer time.
- SPAN_KIND_SERVER → const Span_SpanKind
- Indicates that the span covers server-side handling of an RPC or other remote network request.
- SPAN_KIND_UNSPECIFIED → const Span_SpanKind
- Unspecified. Do NOT use as default. Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
-
values
→ const List<
Span_SpanKind>