@ThreadSafe
public final class JaegerGrpcSpanExporter
extends java.lang.Object
implements io.opentelemetry.sdk.trace.export.SpanExporter
Modifier and Type | Class and Description |
---|---|
static class |
JaegerGrpcSpanExporter.Builder
Builder utility for this exporter.
|
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_DEADLINE_MS |
static java.lang.String |
DEFAULT_ENDPOINT |
static java.lang.String |
DEFAULT_HOST_NAME |
static java.lang.String |
DEFAULT_SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
io.opentelemetry.sdk.common.CompletableResultCode |
export(java.util.Collection<io.opentelemetry.sdk.trace.data.SpanData> spans)
Submits all the given spans in a single batch to the Jaeger collector.
|
io.opentelemetry.sdk.common.CompletableResultCode |
flush()
The Jaeger exporter does not batch spans, so this method will immediately return with success.
|
static JaegerGrpcSpanExporter.Builder |
newBuilder()
Returns a new builder instance for this exporter.
|
io.opentelemetry.sdk.common.CompletableResultCode |
shutdown()
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately
cancelled.
|
public static final java.lang.String DEFAULT_HOST_NAME
public static final java.lang.String DEFAULT_ENDPOINT
public static final java.lang.String DEFAULT_SERVICE_NAME
public static final long DEFAULT_DEADLINE_MS
public io.opentelemetry.sdk.common.CompletableResultCode export(java.util.Collection<io.opentelemetry.sdk.trace.data.SpanData> spans)
export
in interface io.opentelemetry.sdk.trace.export.SpanExporter
spans
- the list of sampled Spans to be exported.public io.opentelemetry.sdk.common.CompletableResultCode flush()
flush
in interface io.opentelemetry.sdk.trace.export.SpanExporter
public static JaegerGrpcSpanExporter.Builder newBuilder()
public io.opentelemetry.sdk.common.CompletableResultCode shutdown()
shutdown
in interface io.opentelemetry.sdk.trace.export.SpanExporter