| Package | Description |
|---|---|
| zipkin |
| 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) |
int |
BinaryAnnotation.compareTo(BinaryAnnotation that)
Provides consistent iteration by
key |
| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
Span.Builder.binaryAnnotations(Collection<BinaryAnnotation> binaryAnnotations)
Replaces currently collected binary annotations.
|
Copyright © 2015–2018 OpenZipkin. All rights reserved.