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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe page provides documentation for the \u003ccode\u003eSpanKind\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Trace.V2\u003c/code\u003e namespace, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpanKind\u003c/code\u003e is used to define the type of a span, helping to establish relationships between spans beyond just parent/child.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpanKind\u003c/code\u003e enum includes six distinct fields: \u003ccode\u003eClient\u003c/code\u003e, \u003ccode\u003eConsumer\u003c/code\u003e, \u003ccode\u003eInternal\u003c/code\u003e, \u003ccode\u003eProducer\u003c/code\u003e, \u003ccode\u003eServer\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, each representing a different type of span.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInternal\u003c/code\u003e span type is the default and indicates internal usage, while \u003ccode\u003eUnspecified\u003c/code\u003e should not be used as a default.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the available versions of \u003ccode\u003eSpanKind\u003c/code\u003e, starting from version 2.2.0 up to the latest version 3.6.0, each with their own documentation link.\u003c/p\u003e\n"]]],[],null,[]]