diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go index 93151739252..3a9f9f56849 100644 --- a/cmd/builder/internal/builder/main_test.go +++ b/cmd/builder/internal/builder/main_test.go @@ -61,6 +61,7 @@ var ( "/processor", "/processor/batchprocessor", "/processor/memorylimiterprocessor", + "/processor/profilesprocessor", "/receiver", "/receiver/nopreceiver", "/receiver/otlpreceiver", diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml index a1c8fa02157..b90d05d235e 100644 --- a/cmd/otelcorecol/builder-config.yaml +++ b/cmd/otelcorecol/builder-config.yaml @@ -84,10 +84,11 @@ replaces: - go.opentelemetry.io/collector/pdata/testdata => ../../pdata/testdata - go.opentelemetry.io/collector/pdata/pprofile => ../../pdata/pprofile - go.opentelemetry.io/collector/processor => ../../processor + - go.opentelemetry.io/collector/processor/batchprocessor => ../../processor/batchprocessor + - go.opentelemetry.io/collector/processor/memorylimiterprocessor => ../../processor/memorylimiterprocessor + - go.opentelemetry.io/collector/processor/profilesprocessor => ../../processor/profilesprocessor - go.opentelemetry.io/collector/receiver => ../../receiver - go.opentelemetry.io/collector/receiver/nopreceiver => ../../receiver/nopreceiver - go.opentelemetry.io/collector/receiver/otlpreceiver => ../../receiver/otlpreceiver - - go.opentelemetry.io/collector/processor/batchprocessor => ../../processor/batchprocessor - - go.opentelemetry.io/collector/processor/memorylimiterprocessor => ../../processor/memorylimiterprocessor - go.opentelemetry.io/collector/semconv => ../../semconv - go.opentelemetry.io/collector/service => ../../service diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index 3d781e0e3e0..31f117599d9 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -103,6 +103,7 @@ require ( go.opentelemetry.io/collector/pdata v1.13.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect go.opentelemetry.io/collector/pdata/testdata v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/collector/semconv v0.107.0 // indirect go.opentelemetry.io/collector/service v0.107.0 // indirect go.opentelemetry.io/contrib/config v0.8.0 // indirect @@ -228,16 +229,18 @@ replace go.opentelemetry.io/collector/pdata/pprofile => ../../pdata/pprofile replace go.opentelemetry.io/collector/processor => ../../processor +replace go.opentelemetry.io/collector/processor/batchprocessor => ../../processor/batchprocessor + +replace go.opentelemetry.io/collector/processor/memorylimiterprocessor => ../../processor/memorylimiterprocessor + +replace go.opentelemetry.io/collector/processor/profilesprocessor => ../../processor/profilesprocessor + replace go.opentelemetry.io/collector/receiver => ../../receiver replace go.opentelemetry.io/collector/receiver/nopreceiver => ../../receiver/nopreceiver replace go.opentelemetry.io/collector/receiver/otlpreceiver => ../../receiver/otlpreceiver -replace go.opentelemetry.io/collector/processor/batchprocessor => ../../processor/batchprocessor - -replace go.opentelemetry.io/collector/processor/memorylimiterprocessor => ../../processor/memorylimiterprocessor - replace go.opentelemetry.io/collector/semconv => ../../semconv replace go.opentelemetry.io/collector/service => ../../service diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum index 4ced4fdf134..30baa64367e 100644 --- a/cmd/otelcorecol/go.sum +++ b/cmd/otelcorecol/go.sum @@ -109,6 +109,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 h1:/OHl/k5cQYtpRLdhDetAxwpAZE2TdRfwaYYkXSqv5WA= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0/go.mod h1:oC4wpMVCoh5aA46umbjEK0MEZDQHO42KrcgIAR8EPGs= go.opentelemetry.io/contrib/config v0.8.0 h1:OD7aDMhL+2EpzdSHfkDmcdD/uUA+PgKM5faFyF9XFT0= go.opentelemetry.io/contrib/config v0.8.0/go.mod h1:dGeVZWE//3wrxYHHP0iCBYJU1QmOmPcbV+FNB7pjDYI= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 h1:9G6E0TXzGFVfTnawRzrPl83iHOAV7L8NJiR8RSGYV1g= diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod index 8de9d9ee92b..3d48e068a9c 100644 --- a/internal/e2e/go.mod +++ b/internal/e2e/go.mod @@ -82,6 +82,7 @@ require ( go.opentelemetry.io/collector/internal/globalgates v0.107.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect go.opentelemetry.io/collector/processor v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/collector/semconv v0.107.0 // indirect go.opentelemetry.io/contrib/config v0.8.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect @@ -187,3 +188,5 @@ replace go.opentelemetry.io/collector/service => ../../service replace go.opentelemetry.io/collector/component/componentprofiles => ../../component/componentprofiles replace go.opentelemetry.io/collector/internal/globalgates => ../globalgates + +replace go.opentelemetry.io/collector/processor/processorprofiles => ../../processor/processorprofiles diff --git a/otelcol/go.mod b/otelcol/go.mod index 5b7cdc5bfb2..04b9b836ba3 100644 --- a/otelcol/go.mod +++ b/otelcol/go.mod @@ -71,6 +71,7 @@ require ( go.opentelemetry.io/collector/pdata v1.13.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect go.opentelemetry.io/collector/pdata/testdata v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/collector/semconv v0.107.0 // indirect go.opentelemetry.io/contrib/config v0.8.0 // indirect go.opentelemetry.io/contrib/propagators/b3 v1.28.0 // indirect @@ -160,3 +161,5 @@ replace go.opentelemetry.io/collector/component/componentprofiles => ../componen replace go.opentelemetry.io/collector/client => ../client replace go.opentelemetry.io/collector/component/componentstatus => ../component/componentstatus + +replace go.opentelemetry.io/collector/processor/processorprofiles => ../processor/processorprofiles diff --git a/otelcol/otelcoltest/go.mod b/otelcol/otelcoltest/go.mod index 119b34ed78f..98271068f5e 100644 --- a/otelcol/otelcoltest/go.mod +++ b/otelcol/otelcoltest/go.mod @@ -70,6 +70,7 @@ require ( go.opentelemetry.io/collector/pdata v1.13.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect go.opentelemetry.io/collector/pdata/testdata v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/collector/semconv v0.107.0 // indirect go.opentelemetry.io/contrib/config v0.8.0 // indirect go.opentelemetry.io/contrib/propagators/b3 v1.28.0 // indirect @@ -175,3 +176,5 @@ replace go.opentelemetry.io/collector/component/componentprofiles => ../../compo replace go.opentelemetry.io/collector/client => ../../client replace go.opentelemetry.io/collector/component/componentstatus => ../../component/componentstatus + +replace go.opentelemetry.io/collector/processor/processorprofiles => ../../processor/processorprofiles diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod index e69d6104777..4e92701a0eb 100644 --- a/processor/batchprocessor/go.mod +++ b/processor/batchprocessor/go.mod @@ -49,6 +49,7 @@ require ( go.opentelemetry.io/collector/component/componentstatus v0.107.0 // indirect go.opentelemetry.io/collector/consumer/consumerprofiles v0.107.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/otel/exporters/prometheus v0.50.0 // indirect go.opentelemetry.io/otel/sdk v1.28.0 // indirect go.uber.org/multierr v1.11.0 // indirect diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum index 87196d45d6f..ba816560dcf 100644 --- a/processor/batchprocessor/go.sum +++ b/processor/batchprocessor/go.sum @@ -66,6 +66,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 h1:/OHl/k5cQYtpRLdhDetAxwpAZE2TdRfwaYYkXSqv5WA= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0/go.mod h1:oC4wpMVCoh5aA46umbjEK0MEZDQHO42KrcgIAR8EPGs= go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= go.opentelemetry.io/otel/exporters/prometheus v0.50.0 h1:2Ewsda6hejmbhGFyUvWZjUThC98Cf8Zy6g0zkIimOng= diff --git a/processor/go.mod b/processor/go.mod index 721b90787ea..7bf18151c84 100644 --- a/processor/go.mod +++ b/processor/go.mod @@ -14,6 +14,7 @@ require ( go.opentelemetry.io/collector/consumer/consumertest v0.107.0 go.opentelemetry.io/collector/pdata v1.13.0 go.opentelemetry.io/collector/pdata/testdata v0.107.0 + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 go.opentelemetry.io/otel v1.28.0 go.opentelemetry.io/otel/metric v1.28.0 go.opentelemetry.io/otel/sdk/metric v1.28.0 diff --git a/processor/go.sum b/processor/go.sum index e8730e47884..8686ed79d7b 100644 --- a/processor/go.sum +++ b/processor/go.sum @@ -54,6 +54,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 h1:/OHl/k5cQYtpRLdhDetAxwpAZE2TdRfwaYYkXSqv5WA= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0/go.mod h1:oC4wpMVCoh5aA46umbjEK0MEZDQHO42KrcgIAR8EPGs= go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= go.opentelemetry.io/otel/exporters/prometheus v0.50.0 h1:2Ewsda6hejmbhGFyUvWZjUThC98Cf8Zy6g0zkIimOng= diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod index 0868da614a3..9ecd835b459 100644 --- a/processor/memorylimiterprocessor/go.mod +++ b/processor/memorylimiterprocessor/go.mod @@ -50,6 +50,7 @@ require ( go.opentelemetry.io/collector/consumer/consumerprofiles v0.107.0 // indirect go.opentelemetry.io/collector/pdata/pprofile v0.107.0 // indirect go.opentelemetry.io/collector/pdata/testdata v0.107.0 // indirect + go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 // indirect go.opentelemetry.io/otel v1.28.0 // indirect go.opentelemetry.io/otel/exporters/prometheus v0.50.0 // indirect go.opentelemetry.io/otel/metric v1.28.0 // indirect diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum index 1df8002de39..4fdab8761c0 100644 --- a/processor/memorylimiterprocessor/go.sum +++ b/processor/memorylimiterprocessor/go.sum @@ -81,6 +81,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 h1:/OHl/k5cQYtpRLdhDetAxwpAZE2TdRfwaYYkXSqv5WA= +go.opentelemetry.io/collector/processor/processorprofiles v0.107.0/go.mod h1:oC4wpMVCoh5aA46umbjEK0MEZDQHO42KrcgIAR8EPGs= go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= go.opentelemetry.io/otel/exporters/prometheus v0.50.0 h1:2Ewsda6hejmbhGFyUvWZjUThC98Cf8Zy6g0zkIimOng= diff --git a/service/go.mod b/service/go.mod index abac8fa83c3..51baf3c5e8b 100644 --- a/service/go.mod +++ b/service/go.mod @@ -169,3 +169,5 @@ replace go.opentelemetry.io/collector/component/componentprofiles => ../componen replace go.opentelemetry.io/collector/client => ../client replace go.opentelemetry.io/collector/internal/globalgates => ../internal/globalgates + +replace go.opentelemetry.io/collector/processor/processorprofiles => ../processor/processorprofiles diff --git a/service/go.sum b/service/go.sum index e829ea6cb84..f32de918bc4 100644 --- a/service/go.sum +++ b/service/go.sum @@ -99,8 +99,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -go.opentelemetry.io/collector/processor/processorprofiles v0.107.0 h1:/OHl/k5cQYtpRLdhDetAxwpAZE2TdRfwaYYkXSqv5WA= -go.opentelemetry.io/collector/processor/processorprofiles v0.107.0/go.mod h1:oC4wpMVCoh5aA46umbjEK0MEZDQHO42KrcgIAR8EPGs= go.opentelemetry.io/contrib/config v0.8.0 h1:OD7aDMhL+2EpzdSHfkDmcdD/uUA+PgKM5faFyF9XFT0= go.opentelemetry.io/contrib/config v0.8.0/go.mod h1:dGeVZWE//3wrxYHHP0iCBYJU1QmOmPcbV+FNB7pjDYI= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 h1:4K4tsIXefpVJtvA/8srF4V4y0akAoPHkIslgAkjixJA=