Skip to content

Commit

Permalink
[chore] use pdata/testdata instead of duplicated internal copy
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten committed Apr 8, 2024
1 parent 78d1718 commit 767294a
Show file tree
Hide file tree
Showing 151 changed files with 211 additions and 651 deletions.
2 changes: 2 additions & 0 deletions cmd/configschema/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions cmd/oteltestbedcol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions connector/datadogconnector/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/alibabacloudlogserviceexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
go.opentelemetry.io/collector/confmap v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/exporter v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata v1.4.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a
go.opentelemetry.io/collector/semconv v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
Expand Down
2 changes: 2 additions & 0 deletions exporter/alibabacloudlogserviceexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/exporter/exportertest"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
"go.opentelemetry.io/collector/pdata/testdata"
)

func TestNewMetricsExporter(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions exporter/awsemfexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ require (
go.opentelemetry.io/collector/config/configretry v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/extension v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a // indirect
go.opentelemetry.io/collector/receiver v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions exporter/awsemfexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/awskinesisexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ require (
go.opentelemetry.io/collector v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/extension v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a // indirect
go.opentelemetry.io/collector/receiver v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/semconv v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions exporter/awskinesisexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/carbonexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ require (
go.opentelemetry.io/collector/consumer v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/extension v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/featuregate v1.4.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a // indirect
go.opentelemetry.io/collector/receiver v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions exporter/carbonexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/datadogexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ require (
go.opentelemetry.io/collector/featuregate v1.4.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/otelcol v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata v1.4.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a
go.opentelemetry.io/collector/processor v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/processor/batchprocessor v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.97.1-0.20240404121116-4f1a8936d26b
Expand Down
2 changes: 2 additions & 0 deletions exporter/datadogexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/datadogexporter/integrationtest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ require (
go.opentelemetry.io/collector/extension/auth v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/featuregate v1.4.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata v1.4.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a // indirect
go.opentelemetry.io/collector/semconv v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/service v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions exporter/datadogexporter/integrationtest/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exporter/datadogexporter/logs_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"go.opentelemetry.io/collector/pdata/plog"

"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter/internal/testutil"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil"
"go.opentelemetry.io/collector/pdata/testdata"
)

const timeFormatString = "2006-01-02T15:04:05.000Z07:00"
Expand Down
3 changes: 1 addition & 2 deletions exporter/datasetexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ go 1.21

require (
github.com/google/uuid v1.6.0
// github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.97.0
github.com/scalyr/dataset-go v0.18.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.97.1-0.20240404121116-4f1a8936d26b
Expand All @@ -20,6 +18,7 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0
go.opentelemetry.io/collector/config/configopaque v1.4.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/config/configretry v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
)
Expand Down
2 changes: 2 additions & 0 deletions exporter/datasetexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exporter/datasetexporter/logs_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"go.opentelemetry.io/collector/pdata/pcommon"
"go.opentelemetry.io/collector/pdata/plog"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
"go.opentelemetry.io/collector/pdata/testdata"
)

func TestCreateLogsExporter(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion exporter/datasetexporter/traces_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.opentelemetry.io/collector/pdata/pcommon"
"go.opentelemetry.io/collector/pdata/ptrace"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
"go.opentelemetry.io/collector/pdata/testdata"
)

func TestCreateTracesExporter(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions exporter/dynatraceexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ require (
go.opentelemetry.io/collector/extension v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/extension/auth v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/featuregate v1.4.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a // indirect
go.opentelemetry.io/collector/receiver v0.97.1-0.20240404121116-4f1a8936d26b // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions exporter/dynatraceexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exporter/fileexporter/file_exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"go.uber.org/zap"
"gopkg.in/natefinch/lumberjack.v2"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
"go.opentelemetry.io/collector/pdata/testdata"
)

func buildUnCompressor(compressor string) func([]byte) ([]byte, error) {
Expand Down
2 changes: 1 addition & 1 deletion exporter/fileexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/klauspost/compress v1.17.7
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/otlpencodingextension v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.97.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.97.1-0.20240404121116-4f1a8936d26b
Expand All @@ -15,6 +14,7 @@ require (
go.opentelemetry.io/collector/exporter v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/extension v0.97.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata v1.4.1-0.20240404121116-4f1a8936d26b
go.opentelemetry.io/collector/pdata/testdata v0.0.0-20240408153657-fc289290613a
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/goleak v1.3.0
Expand Down
Loading

0 comments on commit 767294a

Please sign in to comment.