Span. Can be used to specify additional relationships between spans in addition
to a parent/child relationship.
| Modifier and Type | Field and Description |
|---|---|
| public static final SpanKind | CLIENT
Indicates that the span covers the client-side wrapper around an RPC or other remote request. |
| public static final SpanKind | CONSUMER
Indicates that the span describes consumer receiving a message from a broker. |
| public static final SpanKind | INTERNAL
Default value. |
| public static final SpanKind | PRODUCER
Indicates that the span describes producer sending a message to a broker. |
| public static final SpanKind | SERVER
Indicates that the span covers server-side handling of an RPC or other remote request. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpanKind | |
| public static SpanKind[] |
| CLIENT | back to summary |
|---|---|
| public static final SpanKind CLIENT Indicates that the span covers the client-side wrapper around an RPC or other remote request. | |
| CONSUMER | back to summary |
|---|---|
| public static final SpanKind 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. | |
| INTERNAL | back to summary |
|---|---|
| public static final SpanKind INTERNAL Default value. Indicates that the span is used internally. | |
| PRODUCER | back to summary |
|---|---|
| public static final SpanKind 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. | |
| SERVER | back to summary |
|---|---|
| public static final SpanKind SERVER Indicates that the span covers server-side handling of an RPC or other remote request. | |
| SpanKind | back to summary |
|---|---|
| private SpanKind() | |
| valueOf | back to summary |
|---|---|
| public static SpanKind valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SpanKind[] values() | |