Stackdriver Trace V1 Client - Class SpanKind (2.0.0)

Reference documentation and code samples for the Stackdriver Trace V1 Client class SpanKind.

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

Protobuf type google.devtools.cloudtrace.v1.TraceSpan.SpanKind

Namespace

Google \ Cloud \ Trace \ V1 \ TraceSpan

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SPAN_KIND_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum SPAN_KIND_UNSPECIFIED = 0;

RPC_SERVER

Value: 1

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

Generated from protobuf enum RPC_SERVER = 1;

RPC_CLIENT

Value: 2

Indicates that the span covers the client-side wrapper around an RPC or other remote request.

Generated from protobuf enum RPC_CLIENT = 2;