public enum SpanKind extends Enum<SpanKind>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static SpanKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpanKind INTERNAL
public static final SpanKind CLIENT
public static final SpanKind SERVER
public static final SpanKind PRODUCER
public static final SpanKind CONSUMER
public static SpanKind[] values()
public static SpanKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Microsoft Corporation. All rights reserved.