Class ApiServerSpanExporterConfig

java.lang.Object
com.google.adk.web.service.ApiServerSpanExporterConfig

public abstract class ApiServerSpanExporterConfig extends Object
Configuration for ApiServerSpanExporter.
  • Constructor Details

    • ApiServerSpanExporterConfig

      public ApiServerSpanExporterConfig()
  • Method Details

    • maxSpansToKeep

      public abstract Optional<Integer> maxSpansToKeep()
      The maximum number of spans to keep in memory. When the limit is reached, the oldest spans are evicted (FIFO). If empty, no limit is enforced and spans accumulate without bound.

      When set, the value must be a positive integer (>= 1).

    • builder

      public static ApiServerSpanExporterConfig.Builder builder()