diff --git a/processor/filterprocessor/config.go b/processor/filterprocessor/config.go index 9f4fdefae869..1918c0447649 100644 --- a/processor/filterprocessor/config.go +++ b/processor/filterprocessor/config.go @@ -15,9 +15,10 @@ package filterprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor" import ( - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/regexp" "go.opentelemetry.io/collector/config" + "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset/regexp" + "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filtermetric" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" diff --git a/processor/filterprocessor/filter_processor_traces.go b/processor/filterprocessor/filter_processor_traces.go index 26eb68bcd0ac..c658055ea39d 100644 --- a/processor/filterprocessor/filter_processor_traces.go +++ b/processor/filterprocessor/filter_processor_traces.go @@ -17,10 +17,11 @@ package filterprocessor import ( "context" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterspan" "go.opentelemetry.io/collector/model/pdata" "go.opentelemetry.io/collector/processor/processorhelper" "go.uber.org/zap" + + "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterspan" ) type filterSpanProcessor struct { diff --git a/processor/filterprocessor/filter_processor_traces_test.go b/processor/filterprocessor/filter_processor_traces_test.go index 990e4b4ce067..f88087306c62 100644 --- a/processor/filterprocessor/filter_processor_traces_test.go +++ b/processor/filterprocessor/filter_processor_traces_test.go @@ -18,14 +18,15 @@ import ( "context" "testing" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterconfig" - "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.opentelemetry.io/collector/component/componenttest" "go.opentelemetry.io/collector/config" "go.opentelemetry.io/collector/consumer/consumertest" "go.opentelemetry.io/collector/model/pdata" + + "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterconfig" + "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset" ) // All the data we need to test the Span filter