Class JaegerGrpcSpanExporter

java.lang.Object
io.helidon.tracing.exporter.jaeger.JaegerGrpcSpanExporter
All Implemented Interfaces:
io.opentelemetry.sdk.trace.export.SpanExporter, Closeable, AutoCloseable

@Deprecated(since="4.5.0", forRemoval=true) public final class JaegerGrpcSpanExporter extends Object implements io.opentelemetry.sdk.trace.export.SpanExporter
Deprecated, for removal: This API element is subject to removal in a future version.
Use OtlpGrpcSpanExporter or OtlpHttpSpanExporter from opentelemetry-exporter-otlp instead.
Exports spans to Jaeger via gRPC, using Jaeger's protobuf model.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a new builder instance for this exporter.
    io.opentelemetry.sdk.common.CompletableResultCode
    export(Collection<io.opentelemetry.sdk.trace.data.SpanData> spans)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Submits all the given spans in a single batch to the Jaeger collector.
    io.opentelemetry.sdk.common.CompletableResultCode
    Deprecated, for removal: This API element is subject to removal in a future version.
    The Jaeger exporter does not batch spans, so this method will immediately return with success.
    io.opentelemetry.sdk.common.CompletableResultCode
    Deprecated, for removal: This API element is subject to removal in a future version.
    Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.sdk.trace.export.SpanExporter

    close
  • Method Details

    • export

      public io.opentelemetry.sdk.common.CompletableResultCode export(Collection<io.opentelemetry.sdk.trace.data.SpanData> spans)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Submits all the given spans in a single batch to the Jaeger collector.
      Specified by:
      export in interface io.opentelemetry.sdk.trace.export.SpanExporter
      Parameters:
      spans - the list of sampled Spans to be exported.
      Returns:
      the result of the operation
    • flush

      public io.opentelemetry.sdk.common.CompletableResultCode flush()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The Jaeger exporter does not batch spans, so this method will immediately return with success.
      Specified by:
      flush in interface io.opentelemetry.sdk.trace.export.SpanExporter
      Returns:
      always Success
    • builder

      public static JaegerGrpcSpanExporterBuilder builder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a new builder instance for this exporter.
      Returns:
      a new builder instance for this exporter.
    • shutdown

      public io.opentelemetry.sdk.common.CompletableResultCode shutdown()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
      Specified by:
      shutdown in interface io.opentelemetry.sdk.trace.export.SpanExporter