Table of Contents

Enum SpanKind

Namespace
OpenTelemetry.Trace
Assembly
OpenTelemetry.Api.dll

Span kind.

public enum SpanKind

Fields

Client = 3

Client span represents outgoing request to the external component.

Consumer = 5

Consumer span represents output received from an external component. Unlike client and server, there is no direct critical path latency relationship between producer and consumer spans.

Internal = 1

Span kind was not specified.

Producer = 4

Producer span represents output provided to external components. Unlike client and server, there is no direct critical path latency relationship between producer and consumer spans.

Server = 2

Server span represents request incoming from external component.