public abstract class AnnotationSubmitter extends Object
| Modifier and Type | Method and Description |
|---|---|
static AnnotationSubmitter |
create(SpanAndEndpoint spanAndEndpoint) |
void |
submitAnnotation(String annotationName)
Submits custom annotation for current span.
|
void |
submitBinaryAnnotation(String key,
int value)
Submits a binary (key/value) annotation with int value.
|
void |
submitBinaryAnnotation(String key,
String value)
Submits a binary (key/value) annotation with String value.
|
public static AnnotationSubmitter create(SpanAndEndpoint spanAndEndpoint)
public void submitAnnotation(String annotationName)
annotationName - Custom annotation for current span.public void submitBinaryAnnotation(String key, String value)
key - Key, should not be blank.value - String value, should not be null.public void submitBinaryAnnotation(String key, int value)
key - Key, should not be blank.value - Integer value.Copyright © 2015. All Rights Reserved.