public interface AnnotationSubmitter
| Modifier and Type | Method and Description |
|---|---|
void |
submitAnnotation(String annotationName)
Submits custom annotation for current span.
|
void |
submitAnnotation(String annotationName,
long startTime,
long endTime)
Submits custom annotation that represents an event with duration.
|
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.
|
void submitAnnotation(String annotationName, long startTime, long endTime)
annotationName - Custom annotation.startTime - Start time, Unix time in milliseconds. eg
System.currentTimeMillis().endTime - End time, Unix time in milliseconds. eg System.currentTimeMillis().void submitAnnotation(String annotationName)
annotationName - Custom annotation for current span.void submitBinaryAnnotation(String key, String value)
key - Key, should not be blank.value - String value, should not be null.void submitBinaryAnnotation(String key, int value)
key - Key, should not be blank.value - Integer value.Copyright © 2014. All Rights Reserved.