SpanKind enum

Type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

Inheritance
Available extensions

Values

internal → const SpanKind

Default value. Indicates that the span represents an internal operation within an application.

server → const SpanKind

Indicates that the span covers server-side handling of a synchronous RPC or other remote request.

client → const SpanKind

Indicates that the span describes a request to some remote service.

producer → const SpanKind

Indicates that the span describes a producer sending a message to a broker.

consumer → const SpanKind

Indicates that the span describes a consumer receiving a message from a broker.

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.