public interface SpanCollector
ServerTracer and ClientTracer. We can have implementations that
simply log the collected spans or implementations that persist the spans to a database, submit them to a service,...| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultAnnotation(String key,
String value)
Deprecated.
decorate
collect(Span), if you want to customize spans before they are sent. |
void |
collect(Span span)
Collect span.
|
void collect(Span span)
span - Span, should not be null.@Deprecated void addDefaultAnnotation(String key, String value)
collect(Span), if you want to customize spans before they are sent.key - Annotation name/key. Should not be empty or null.value - Annotation value. Should not be null.Copyright © 2016. All rights reserved.