diff --git a/processor/README.md b/processor/README.md index 323151974d6..c04bf9569e0 100644 --- a/processor/README.md +++ b/processor/README.md @@ -18,7 +18,7 @@ Supported processors (sorted alphabetically): - [Filter Processor](filterprocessor/README.md) - [Memory Limiter Processor](memorylimiter/README.md) - [Resource Processor](resourceprocessor/README.md) -- [Probabilistic Sampling Processor](samplingprocessor/probabilisticsamplerprocessor/README.md) +- [Probabilistic Sampling Processor](probabilisticsamplerprocessor/README.md) - [Span Processor](spanprocessor/README.md) The [contributors repository](https://github.com/open-telemetry/opentelemetry-collector-contrib) diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/README.md b/processor/probabilisticsamplerprocessor/README.md similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/README.md rename to processor/probabilisticsamplerprocessor/README.md diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/config.go b/processor/probabilisticsamplerprocessor/config.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/config.go rename to processor/probabilisticsamplerprocessor/config.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/config_test.go b/processor/probabilisticsamplerprocessor/config_test.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/config_test.go rename to processor/probabilisticsamplerprocessor/config_test.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/factory.go b/processor/probabilisticsamplerprocessor/factory.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/factory.go rename to processor/probabilisticsamplerprocessor/factory.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/factory_test.go b/processor/probabilisticsamplerprocessor/factory_test.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/factory_test.go rename to processor/probabilisticsamplerprocessor/factory_test.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/probabilisticsampler.go b/processor/probabilisticsamplerprocessor/probabilisticsampler.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/probabilisticsampler.go rename to processor/probabilisticsamplerprocessor/probabilisticsampler.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/probabilisticsampler_test.go b/processor/probabilisticsamplerprocessor/probabilisticsampler_test.go similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/probabilisticsampler_test.go rename to processor/probabilisticsamplerprocessor/probabilisticsampler_test.go diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/testdata/config.yaml b/processor/probabilisticsamplerprocessor/testdata/config.yaml similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/testdata/config.yaml rename to processor/probabilisticsamplerprocessor/testdata/config.yaml diff --git a/processor/samplingprocessor/probabilisticsamplerprocessor/testdata/empty.yaml b/processor/probabilisticsamplerprocessor/testdata/empty.yaml similarity index 100% rename from processor/samplingprocessor/probabilisticsamplerprocessor/testdata/empty.yaml rename to processor/probabilisticsamplerprocessor/testdata/empty.yaml diff --git a/service/defaultcomponents/defaults.go b/service/defaultcomponents/defaults.go index bc30c59c15f..157b9a7ce78 100644 --- a/service/defaultcomponents/defaults.go +++ b/service/defaultcomponents/defaults.go @@ -36,8 +36,8 @@ import ( "go.opentelemetry.io/collector/processor/batchprocessor" "go.opentelemetry.io/collector/processor/filterprocessor" "go.opentelemetry.io/collector/processor/memorylimiter" + "go.opentelemetry.io/collector/processor/probabilisticsamplerprocessor" "go.opentelemetry.io/collector/processor/resourceprocessor" - "go.opentelemetry.io/collector/processor/samplingprocessor/probabilisticsamplerprocessor" "go.opentelemetry.io/collector/processor/spanprocessor" "go.opentelemetry.io/collector/receiver/fluentforwardreceiver" "go.opentelemetry.io/collector/receiver/hostmetricsreceiver"