span.kind had producer and consumer now
This commit is contained in:
parent
4124fdacc8
commit
341bbd5ff2
|
|
@ -173,6 +173,24 @@ public abstract class Span {
|
|||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
CLIENT
|
||||
CLIENT,
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
PRODUCER,
|
||||
|
||||
/**
|
||||
* Indicates that the span describes consumer recieving a message from a broker. Unlike client
|
||||
* and server, there is no direct critical path latency relationship between producer and
|
||||
* consumer spans.
|
||||
*
|
||||
* @since 0.1.0
|
||||
*/
|
||||
CONSUMER
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue