Interface ProcessorConfig

All Superinterfaces:
Prototype.Api
All Known Subinterfaces:
BatchProcessorConfig
All Known Implementing Classes:
BatchProcessorConfig.BuilderBase.BatchProcessorConfigImpl, ProcessorConfig.BuilderBase.ProcessorConfigImpl

public interface ProcessorConfig extends Prototype.Api
Generic configuration for a processor such as a SpanProcessor, linked to an exporter such as a SpanExporter by its name in the configuration.
See Also:
  • Method Details

    • builder

      static ProcessorConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static ProcessorConfig.Builder builder(ProcessorConfig instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static ProcessorConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      @Deprecated static ProcessorConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • exporters

      List<String> exporters()
      Name(s) of the exporter(s) this processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).

      Each name must be the name of one of the configured OpenTelemetryTracingConfig.exporterConfigs().

      Returns:
      exporter name
    • type

      Processor type.
      Returns:
      processor type