From f369469628efcd20aeb70390b010e1b64459b06f Mon Sep 17 00:00:00 2001 From: Giovanni Liva Date: Wed, 22 Apr 2020 16:23:37 +0200 Subject: [PATCH] Configuration class for BatchSpanProcessor (#1080) * Add config class for BatchSpanProcessor * Implement Configuration for BatchSpanProcessor * goJF after rebase --- .../opentelemetry/sdk/trace/export/BatchSpansProcessor.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/src/main/java/io/opentelemetry/sdk/trace/export/BatchSpansProcessor.java b/sdk/src/main/java/io/opentelemetry/sdk/trace/export/BatchSpansProcessor.java index c64045f8eca..c43a97c54e7 100644 --- a/sdk/src/main/java/io/opentelemetry/sdk/trace/export/BatchSpansProcessor.java +++ b/sdk/src/main/java/io/opentelemetry/sdk/trace/export/BatchSpansProcessor.java @@ -18,6 +18,7 @@ import com.google.auto.value.AutoValue; import com.google.common.annotations.VisibleForTesting; +import com.google.common.collect.Maps; import io.opentelemetry.OpenTelemetry; import io.opentelemetry.internal.Utils; import io.opentelemetry.metrics.LongCounter; @@ -30,6 +31,7 @@ import io.opentelemetry.sdk.trace.data.SpanData; import java.util.ArrayList; import java.util.Collections; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; @@ -41,6 +43,8 @@ import java.util.concurrent.TimeoutException; import java.util.logging.Level; import java.util.logging.Logger; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; import javax.annotation.concurrent.GuardedBy; import javax.annotation.concurrent.Immutable;