SpanKind : string
Describes the relationship between a span and its parent/children.
SpanKind defines the type of operation represented by a span according to OpenTelemetry specification. It helps in understanding the role of the span within a distributed system.
Tags
Cases
- CLIENT = 'client'
- Client-side of a synchronous RPC or HTTP request.
- CONSUMER = 'consumer'
- Consumer of an asynchronous message (e.g., message queue).
- INTERNAL = 'internal'
- Default kind for internal operations that don't cross process boundaries.
- PRODUCER = 'producer'
- Producer of an asynchronous message (e.g., message queue).
- SERVER = 'server'
- Server-side handling of a synchronous RPC or HTTP request.
Cases
CLIENT
Client-side of a synchronous RPC or HTTP request.
CONSUMER
Consumer of an asynchronous message (e.g., message queue).
INTERNAL
Default kind for internal operations that don't cross process boundaries.
PRODUCER
Producer of an asynchronous message (e.g., message queue).
SERVER
Server-side handling of a synchronous RPC or HTTP request.