| Modifier and Type | Field and Description |
|---|---|
List<BinaryAnnotation> |
Span.binaryAnnotations
Tags a span with context, usually to support query or aggregation.
|
| Modifier and Type | Method and Description |
|---|---|
static BinaryAnnotation |
BinaryAnnotation.address(String key,
Endpoint endpoint)
Special-cased form supporting
Constants.CLIENT_ADDR and
Constants.SERVER_ADDR. |
BinaryAnnotation |
BinaryAnnotation.Builder.build() |
static BinaryAnnotation |
BinaryAnnotation.create(String key,
byte[] value,
BinaryAnnotation.Type type,
Endpoint endpoint) |
static BinaryAnnotation |
BinaryAnnotation.create(String key,
String value,
Endpoint endpoint)
String values are the only queryable type of binary annotation.
|
| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
Span.Builder.addBinaryAnnotation(BinaryAnnotation binaryAnnotation) |
Span.Builder |
Span.Builder.binaryAnnotations(BinaryAnnotation... binaryAnnotations)
Replaces currently collected binary annotations.
|
| Constructor and Description |
|---|
Builder(BinaryAnnotation source) |
Copyright © 2015–2016 OpenZipkin. All rights reserved.