Class OtelHttpClientSenderFactory

java.lang.Object
io.micronaut.tracing.opentelemetry.exporter.zipkin.OtelHttpClientSenderFactory

@Factory @Requires(missingProperty="otel.traces.exporter") @Requires(bean=zipkin2.reporter.Sender.class) public final class OtelHttpClientSenderFactory extends Object
Builds a SpanProcessor that exports traces to Zipkin.
  • Constructor Details

    • OtelHttpClientSenderFactory

      public OtelHttpClientSenderFactory()
  • Method Details

    • createExporter

      @Singleton public io.opentelemetry.sdk.trace.SpanProcessor createExporter(zipkin2.reporter.Sender sender)