Indicates that the span covers the client-side wrapper around an RPC or
other remote request.
Consumer
Indicates that the span describes consumer receiving a message from a
broker. Unlike client and server, there is no direct critical path
latency relationship between producer and consumer spans (e.g. receiving
a message from a pubsub service subscription).
Internal
Indicates that the span is used internally. Default value.
Producer
Indicates that the span describes producer sending a message to a broker.
Unlike client and server, there is no direct critical path latency
relationship between producer and consumer spans (e.g. publishing a
message to a pubsub service).
Server
Indicates that the span covers server-side handling of an RPC or other
remote network request.
Unspecified
Unspecified. Do NOT use as default.
Implementations MAY assume SpanKind.INTERNAL to be default.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-02 UTC."],[[["This documentation provides reference information for the `Span.Types.SpanKind` enum within the Google Cloud Trace v2 API."],["The `SpanKind` enum categorizes the type of span, aiding in understanding relationships between spans beyond parent-child connections."],["Available versions of this documentation range from version 2.2.0 to the latest version 3.6.0, which is the most up-to-date version."],["The `SpanKind` enum includes fields like `Client`, `Consumer`, `Internal`, `Producer`, `Server`, and `Unspecified`, each with specific descriptions related to RPCs, messages, or internal processes."],["The `Internal` SpanKind is specified as the default value, and `Unspecified` should not be used as a default value, according to the documentation."]]],[]]