public interface WavefrontTracingSpanSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendSpan(String name,
long startMillis,
long durationMillis,
String source,
UUID traceId,
UUID spanId,
List<UUID> parents,
List<UUID> followsFrom,
List<Pair<String,String>> tags,
List<SpanLog> spanLogs)
Send a trace span to Wavefront.
|
void sendSpan(String name, long startMillis, long durationMillis, @Nullable String source, UUID traceId, UUID spanId, @Nullable List<UUID> parents, @Nullable List<UUID> followsFrom, @Nullable List<Pair<String,String>> tags, @Nullable List<SpanLog> spanLogs) throws IOException
name - The operation name of the span.startMillis - The start time in milliseconds for this span.durationMillis - The duration of the span in milliseconds.source - The source (or host) that's sending the span. If null, then
assigned by Wavefront.traceId - The unique trace ID for the span.spanId - The unique span ID for the span.parents - The list of parent span IDs, can be null if this is a root span.followsFrom - The list of preceding span IDs, can be null if this is a root span.tags - The span tags associated with this span. Supports repeated tags.spanLogs - The span logs associated with this span.IOException - If there was an error sending the span.Copyright © 2018. All rights reserved.