ClientTracer, LocalTracer, ServerTracerbrave.Span@Deprecated
public abstract class AnnotationSubmitter
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
AnnotationSubmitter.Clock |
Deprecated.
This interface is used to make the implementation to AnnotationSubmitter.currentTimeMicroseconds() contextual.
|
| Modifier and Type | Method | Description |
|---|---|---|
static AnnotationSubmitter |
create(SpanAndEndpoint spanAndEndpoint,
AnnotationSubmitter.Clock clock) |
Deprecated.
Please use
Brave.serverTracer() instead. |
void |
submitAnnotation(java.lang.String value) |
Deprecated.
Associates an event that explains latency with the current system time.
|
void |
submitAnnotation(java.lang.String value,
long timestamp) |
Deprecated.
Associates an event that explains latency with a timestamp.
|
void |
submitBinaryAnnotation(java.lang.String key,
int value) |
Deprecated.
|
void |
submitBinaryAnnotation(java.lang.String key,
java.lang.String value) |
Deprecated.
Binary annotations are tags applied to a Span to give it context.
|
public void submitAnnotation(java.lang.String value)
value - A short tag indicating the event, like "finagle.retry"public void submitAnnotation(java.lang.String value,
long timestamp)
submitAnnotation(String), when
you have a timestamp more precise or accurate than System.currentTimeMillis().value - A short tag indicating the event, like "finagle.retry"timestamp - microseconds from epochpublic void submitBinaryAnnotation(java.lang.String key,
java.lang.String value)
key - Name used to lookup spans, such as "your_app.version"value - String value, should not be null.@Deprecated
public final void submitBinaryAnnotation(java.lang.String key,
int value)
submitBinaryAnnotation(String, String)@Deprecated public static AnnotationSubmitter create(SpanAndEndpoint spanAndEndpoint, AnnotationSubmitter.Clock clock)
Brave.serverTracer() instead.Copyright © 2018 OpenZipkin. All rights reserved.