span.kind had producer and consumer now

This commit is contained in:
Sergey Kanzhelev 2019-04-01 22:56:13 -07:00
parent 4124fdacc8
commit 341bbd5ff2
1 changed files with 19 additions and 1 deletions

View File

@ -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
}
}