AbstractSpanCollector, EmptySpanCollector, FlushingSpanCollector, LoggingSpanCollectorReporter@Deprecated
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 | Description |
|---|---|---|
void |
addDefaultAnnotation(java.lang.String key,
java.lang.String value) |
Deprecated.
decorate
collect(Span), if you want to customize spans before they are sent. |
void |
collect(Span span) |
Deprecated.
Collect span.
|
void collect(Span span)
span - Span, should not be null.@Deprecated
void addDefaultAnnotation(java.lang.String key,
java.lang.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 © 2018 OpenZipkin. All rights reserved.