Modifier and Type | Method and Description |
---|---|
Span.Builder |
addAnnotation(Annotation annotation) |
Span.Builder |
addBinaryAnnotation(BinaryAnnotation binaryAnnotation) |
Span.Builder |
annotations(Collection<Annotation> annotations)
Replaces currently collected annotations.
|
Span.Builder |
binaryAnnotations(Collection<BinaryAnnotation> binaryAnnotations)
Replaces currently collected binary annotations.
|
Span |
build() |
Span.Builder |
clear() |
Span.Builder |
debug(Boolean debug) |
Span.Builder |
duration(Long duration) |
Span.Builder |
id(long id) |
Span.Builder |
merge(Span that) |
Span.Builder |
name(String name) |
Span.Builder |
parentId(Long parentId) |
Span.Builder |
timestamp(Long timestamp) |
Span.Builder |
traceId(long traceId) |
Span.Builder |
traceIdHigh(long traceIdHigh) |
public Span.Builder clear()
public Span.Builder merge(Span that)
public Span.Builder name(String name)
Span.name
public Span.Builder traceId(long traceId)
Span.traceId
public Span.Builder traceIdHigh(long traceIdHigh)
Span.traceIdHigh
public Span.Builder id(long id)
Span.id
public Span.Builder parentId(@Nullable Long parentId)
Span.parentId
public Span.Builder timestamp(@Nullable Long timestamp)
Span.timestamp
public Span.Builder duration(@Nullable Long duration)
Span.duration
public Span.Builder annotations(Collection<Annotation> annotations)
Span.annotations
public Span.Builder addAnnotation(Annotation annotation)
Span.annotations
public Span.Builder binaryAnnotations(Collection<BinaryAnnotation> binaryAnnotations)
Span.binaryAnnotations
public Span.Builder addBinaryAnnotation(BinaryAnnotation binaryAnnotation)
Span.binaryAnnotations
public Span.Builder debug(@Nullable Boolean debug)
Span.debug
public Span build()
Copyright © 2015–2018 OpenZipkin. All rights reserved.