Added comment with the difference between OpenTracing Span and Sleuth's Span

This commit is contained in:
Marcin Grzejszczak
2016-01-20 14:53:16 +01:00
parent f48fc04049
commit 72574f31ed

View File

@@ -41,6 +41,11 @@ import java.util.Map;
* @author Spencer Gibb
* @author Marcin Grzejszczak
*/
/*
OpenTracing spans can affect the trace tree by creating children. In this way,
they are like scoped tracers. Sleuth spans are DTOs, whose sole responsibility
is the current span in the trace tree.
*/
@Builder(toBuilder = true)
@ToString
@EqualsAndHashCode