Skip to content

Commit

Permalink
Use go mod compat, drops support for reproducibility with go 1.16 #7915
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdandrutu committed Feb 14, 2022
1 parent dea8191 commit e8deba7
Show file tree
Hide file tree
Showing 163 changed files with 80 additions and 90,410 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

### 🛑 Breaking changes 🛑

- Use go mod compat, drops support for reproducibility with go 1.16 (#7915)
- `apachereceiver`: Update instrumentation library name from `otel/apache` to `otelcol/apache` (#7754)
- `pkg/translator/prometheusremotewrite`: Cleanup prw translator public functions (#7776)
- `prometheusreceiver`: The OpenCensus-based metric conversion pipeline has
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ stability-tests: otelcontribcol
.PHONY: gotidy
gotidy:
$(MAKE) for-all CMD="rm -fr go.sum"
$(MAKE) for-all CMD="$(GOCMD) mod tidy -go=1.16"
$(MAKE) for-all CMD="$(GOCMD) mod tidy -go=1.17"
$(MAKE) for-all CMD="$(GOCMD) mod tidy -compat=1.17"

.PHONY: gomoddownload
gomoddownload:
Expand Down
123 changes: 1 addition & 122 deletions cmd/configschema/go.sum

Large diffs are not rendered by default.

706 changes: 0 additions & 706 deletions cmd/mdatagen/go.sum

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions exporter/alibabacloudlogserviceexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pierrec/lz4 v2.6.0+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.8.1 // indirect
github.com/spf13/cast v1.4.1 // indirect
go.opencensus.io v0.23.0 // indirect
go.opentelemetry.io/otel v1.4.0 // indirect
go.opentelemetry.io/otel/metric v0.27.0 // indirect
go.opentelemetry.io/otel/trace v1.4.0 // indirect
go.opentelemetry.io/otel v1.3.0 // indirect
go.opentelemetry.io/otel/metric v0.26.0 // indirect
go.opentelemetry.io/otel/trace v1.3.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
Expand Down
612 changes: 12 additions & 600 deletions exporter/alibabacloudlogserviceexporter/go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions exporter/awscloudwatchlogsexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ require (
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.8.1 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/stretchr/objx v0.1.1 // indirect
go.opencensus.io v0.23.0 // indirect
Expand Down
683 changes: 4 additions & 679 deletions exporter/awscloudwatchlogsexporter/go.sum

Large diffs are not rendered by default.

649 changes: 0 additions & 649 deletions exporter/awsemfexporter/go.sum

Large diffs are not rendered by default.

995 changes: 0 additions & 995 deletions exporter/awskinesisexporter/go.sum

Large diffs are not rendered by default.

98 changes: 1 addition & 97 deletions exporter/awsprometheusremotewriteexporter/go.sum

Large diffs are not rendered by default.

672 changes: 0 additions & 672 deletions exporter/awsxrayexporter/go.sum

Large diffs are not rendered by default.

661 changes: 0 additions & 661 deletions exporter/azuremonitorexporter/go.sum

Large diffs are not rendered by default.

652 changes: 0 additions & 652 deletions exporter/carbonexporter/go.sum

Large diffs are not rendered by default.

559 changes: 0 additions & 559 deletions exporter/clickhouseexporter/go.sum

Large diffs are not rendered by default.

1,075 changes: 3 additions & 1,072 deletions exporter/coralogixexporter/go.sum

Large diffs are not rendered by default.

681 changes: 2 additions & 679 deletions exporter/datadogexporter/go.sum

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion exporter/dynatraceexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ require (
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.8.0 // indirect
github.com/rs/cors v1.8.2 // indirect
github.com/spf13/cast v1.4.1 // indirect
go.opencensus.io v0.23.0 // indirect
Expand Down
662 changes: 3 additions & 659 deletions exporter/dynatraceexporter/go.sum

Large diffs are not rendered by default.

662 changes: 0 additions & 662 deletions exporter/elasticexporter/go.sum

Large diffs are not rendered by default.

674 changes: 0 additions & 674 deletions exporter/elasticsearchexporter/go.sum

Large diffs are not rendered by default.

237 changes: 0 additions & 237 deletions exporter/f5cloudexporter/go.sum

Large diffs are not rendered by default.

699 changes: 1 addition & 698 deletions exporter/fileexporter/go.sum

Large diffs are not rendered by default.

255 changes: 0 additions & 255 deletions exporter/googlecloudexporter/go.sum

Large diffs are not rendered by default.

672 changes: 0 additions & 672 deletions exporter/googlecloudpubsubexporter/go.sum

Large diffs are not rendered by default.

667 changes: 0 additions & 667 deletions exporter/honeycombexporter/go.sum

Large diffs are not rendered by default.

627 changes: 0 additions & 627 deletions exporter/humioexporter/go.sum

Large diffs are not rendered by default.

613 changes: 0 additions & 613 deletions exporter/influxdbexporter/go.sum

Large diffs are not rendered by default.

1,018 changes: 3 additions & 1,015 deletions exporter/jaegerexporter/go.sum

Large diffs are not rendered by default.

1,033 changes: 0 additions & 1,033 deletions exporter/jaegerthrifthttpexporter/go.sum

Large diffs are not rendered by default.

1,044 changes: 0 additions & 1,044 deletions exporter/kafkaexporter/go.sum

Large diffs are not rendered by default.

224 changes: 1 addition & 223 deletions exporter/loadbalancingexporter/go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions exporter/logzioexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/olivere/elastic v6.2.37+incompatible // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.44.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
Expand Down
280 changes: 0 additions & 280 deletions exporter/logzioexporter/go.sum

Large diffs are not rendered by default.

79 changes: 0 additions & 79 deletions exporter/lokiexporter/go.sum

Large diffs are not rendered by default.

652 changes: 0 additions & 652 deletions exporter/newrelicexporter/go.sum

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions exporter/observiqexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,19 @@ require (
require (
github.com/cenkalti/backoff/v4 v4.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/knadh/koanf v1.4.0 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
go.opencensus.io v0.23.0 // indirect
go.opentelemetry.io/otel v1.4.0 // indirect
go.opentelemetry.io/otel/metric v0.27.0 // indirect
go.opentelemetry.io/otel/trace v1.4.0 // indirect
go.opentelemetry.io/otel v1.3.0 // indirect
go.opentelemetry.io/otel/metric v0.26.0 // indirect
go.opentelemetry.io/otel/trace v1.3.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
709 changes: 13 additions & 696 deletions exporter/observiqexporter/go.sum

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions exporter/opencensusexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ require (
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

// ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules:
// cloud.google.com/go
// cloud.google.com/go/compute
// Force cloud.google.com/go to be at least v0.100.2, so that the metadata is not present.
replace cloud.google.com/go => cloud.google.com/go v0.100.2

replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/common => ../../internal/common

replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal => ../../internal/coreinternal
Expand Down
Loading

0 comments on commit e8deba7

Please sign in to comment.