SpanKind enum

The kind of the span.

Inheritance
Available extensions

Values

internal → const SpanKind

Default value. Indicates that the span represents an internal operation within an application, as opposed to an operations with remote parents or children.

client → const SpanKind

Indicates that the span describes a request to a remote service where the client awaits a response.

server → const SpanKind

Indicates that the span covers server-side handling of a remote request while the client awaits a response.

producer → const SpanKind

Indicates that the span describes the initiation or scheduling of a local or remote operation.

consumer → const SpanKind

Indicates that the span represents the processing of an operation initiated by a producer, where the producer does not wait for the outcome.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<SpanKind>
A constant List of the values in this enum, in order of their declaration.