SpanCollectorReporter.NOOP.@Deprecated public class EmptySpanCollector extends java.lang.Object implements SpanCollector
SpanCollector implementation that does nothing with collected spans.| Constructor | Description |
|---|---|
EmptySpanCollector() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDefaultAnnotation(java.lang.String key,
java.lang.String value) |
Deprecated.
Adds a fixed annotation that will be added to every span that is submitted to this collector.
|
void |
collect(Span span) |
Deprecated.
Collect span.
|
public void collect(Span span)
collect in interface SpanCollectorspan - Span, should not be null.public void addDefaultAnnotation(java.lang.String key,
java.lang.String value)
addDefaultAnnotation in interface SpanCollectorkey - Annotation name/key. Should not be empty or null.value - Annotation value. Should not be null.Copyright © 2018 OpenZipkin. All rights reserved.