public interface WavefrontTracingSpanSender
| Modifier and Type | Method and Description |
|---|---|
void |
sendSpan(java.lang.String name,
long startMillis,
long durationMillis,
java.lang.String source,
java.util.UUID traceId,
java.util.UUID spanId,
java.util.List<java.util.UUID> parents,
java.util.List<java.util.UUID> followsFrom,
java.util.List<Pair<java.lang.String,java.lang.String>> tags,
java.util.List<SpanLog> spanLogs)
Send a trace span to Wavefront.
|
void sendSpan(java.lang.String name,
long startMillis,
long durationMillis,
@Nullable
java.lang.String source,
java.util.UUID traceId,
java.util.UUID spanId,
@Nullable
java.util.List<java.util.UUID> parents,
@Nullable
java.util.List<java.util.UUID> followsFrom,
@Nullable
java.util.List<Pair<java.lang.String,java.lang.String>> tags,
@Nullable
java.util.List<SpanLog> spanLogs)
throws java.io.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.java.io.IOException - If there was an error sending the span.Copyright © 2023. All rights reserved.