Interface OpenTelemetryTracingConfig

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
OpenTelemetryTracingConfig.BuilderBase.OpenTelemetryTracingConfigImpl

public interface OpenTelemetryTracingConfig extends Prototype.Api
OpenTelemetry tracer settings.
See Also:
  • Method Details

    • builder

      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      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 OpenTelemetryTracingConfig 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

      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static OpenTelemetryTracingConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • sampler

      Optional<io.opentelemetry.sdk.trace.samplers.Sampler> sampler()
      Tracing sampler.
      Returns:
      tracing sampler
    • spanLimits

      Optional<io.opentelemetry.sdk.trace.SpanLimits> spanLimits()
      Tracing span limits.
      Returns:
      tracing span limits
    • processorConfigs

      List<SpanProcessorConfig> processorConfigs()
      Settings for span processors.
      Returns:
      span processors
    • processors

      List<io.opentelemetry.sdk.trace.SpanProcessor> processors()
      Constructed span processors.
      Returns:
      span processors
    • exporterConfigs

      Map<String,io.opentelemetry.sdk.trace.export.SpanExporter> exporterConfigs()
      Span exporters.

      The key in the map is a unique name--of the user's choice--for the exporter config settings. The SpanProcessorConfig.exporters() config setting for a processor config specifies zero or more of these names to associate the exporters built from the exporter configs with the processor built from the processor config.

      Returns:
      span exporters
    • stringAttributes

      Map<String,String> stringAttributes()
      String attributes.
      Returns:
      string attributes
    • booleanAttributes

      Map<String,Boolean> booleanAttributes()
      Boolean attributes.
      Returns:
      boolean attributes
    • longAttributes

      Map<String,Long> longAttributes()
      Long attributes.
      Returns:
      long attributes
    • doubleAttributes

      Map<String,Double> doubleAttributes()
      Double attributes.
      Returns:
      double attributes