Package io.micrometer.tracing
Enum Class Span.Kind
- All Implemented Interfaces:
Serializable
,Comparable<Span.Kind>
,Constable
- Enclosing interface:
Span
Type of span. Can be used to specify additional relationships between spans in
addition to a parent/child relationship.
Documentation of the enum taken from OpenTelemetry.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the span covers the client-side wrapper around an RPC or other remote request.Indicates that the span describes consumer receiving a message from a broker.Indicates that the span describes producer sending a message to a broker.Indicates that the span covers server-side handling of an RPC or other remote request. -
Method Summary
-
Enum Constant Details
-
SERVER
Indicates that the span covers server-side handling of an RPC or other remote request. -
CLIENT
Indicates that the span covers the client-side wrapper around an RPC or other remote request. -
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. -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-