Interface SpanExporterFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SpanExporterFactory
Creates the span exporter for a TracingConfig (see OtlpExporters.factory()).
  • Method Summary

    Modifier and Type
    Method
    Description
    io.opentelemetry.sdk.trace.export.SpanExporter
    Creates the exporter.
  • Method Details

    • create

      io.opentelemetry.sdk.trace.export.SpanExporter create(TracingConfig config)
      Creates the exporter.
      Parameters:
      config - tracing config (endpoint, protocol, headers, TLS, compression)
      Returns:
      exporter