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 \ TraceSpanMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SPAN_KIND_UNSPECIFIED
Value: 0Unspecified.
Generated from protobuf enum SPAN_KIND_UNSPECIFIED = 0;
RPC_SERVER
Value: 1Indicates 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: 2Indicates that the span covers the client-side wrapper around an RPC or other remote request.
Generated from protobuf enum RPC_CLIENT = 2;