SpanKind Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.core.util.tracing.SpanKind

public enum SpanKind
extends Enum<SpanKind>

Represents the tracing span type.

Fields

CLIENT

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.

INTERNAL

Indicates that the span is used internally.

PRODUCER

Indicates that the span describes producer sending a message to a broker.

SERVER

Indicates that the span covers server-side handling of an RPC or other remote request.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static SpanKind valueOf(String name)

Parameters

name
String

Returns

values()

public static SpanKind[] values()

Returns

Applies to