Repository: GoogleCloudPlatform/opentelemetry-operations-go
Pull request #474 (2022-09-01 15:51:35)

Prepare for v0.32.7 and v1.8.7


Patch:
diff --git a/example/metric/go.mod b/example/metric/go.mod
index a73e9c2..bd6de46 100644
--- a/example/metric/go.mod
+++ b/example/metric/go.mod
@@ -7,7 +7,7 @@ replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metr
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock => ../../internal/cloudmock
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.32.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.32.7
 	go.opentelemetry.io/otel v1.9.0
 	go.opentelemetry.io/otel/metric v0.31.0
 	go.opentelemetry.io/otel/sdk v1.9.0
diff --git a/example/trace/http/go.mod b/example/trace/http/go.mod
index 304313f..27691b4 100644
--- a/example/trace/http/go.mod
+++ b/example/trace/http/go.mod
@@ -11,8 +11,8 @@ replace github.com/GoogleCloudPlatform/opentelemetry-operations-go => ../../..
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock => ../../../internal/cloudmock
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go v0.32.6
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go v0.32.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.7
 	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.34.0
 	go.opentelemetry.io/otel v1.9.0
 	go.opentelemetry.io/otel/sdk v1.9.0
@@ -22,7 +22,7 @@ require (
 require (
 	cloud.google.com/go/compute v1.5.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.6 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.7 // indirect
 	github.com/felixge/httpsnoop v1.0.3 // indirect
 	github.com/go-logr/logr v1.2.3 // indirect
 	github.com/go-logr/stdr v1.2.2 // indirect
diff --git a/exporter/collector/go.mod b/exporter/collector/go.mod
index 19f6694..726b1cf 100644
--- a/exporter/collector/go.mod
+++ b/exporter/collector/go.mod
@@ -6,8 +6,8 @@ require (
 	cloud.google.com/go/logging v1.4.2
 	cloud.google.com/go/monitoring v1.4.0
 	cloud.google.com/go/trace v1.2.0
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.6
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.7
 	github.com/census-instrumentation/opencensus-proto v0.3.0
 	github.com/google/go-cmp v0.5.8
 	github.com/stretchr/testify v1.8.0
diff --git a/exporter/metric/go.mod b/exporter/metric/go.mod
index 75daac8..d79024e 100644
--- a/exporter/metric/go.mod
+++ b/exporter/metric/go.mod
@@ -21,7 +21,7 @@ require (
 	gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
 )
 
-require github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.0.0-00010101000000-000000000000
+require github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.32.7
 
 require (
 	cloud.google.com/go/compute v1.5.0 // indirect
diff --git a/exporter/metric/version.go b/exporter/metric/version.go
index 84a3dac..7d18eec 100644
--- a/exporter/metric/version.go
+++ b/exporter/metric/version.go
@@ -17,5 +17,5 @@ package metric
 // Version is the current release version of the OpenTelemetry
 // Operations Metric Exporter in use.
 func Version() string {
-	return "0.32.6"
+	return "0.32.7"
 }
diff --git a/exporter/trace/go.mod b/exporter/trace/go.mod
index 48be1d7..5e35421 100644
--- a/exporter/trace/go.mod
+++ b/exporter/trace/go.mod
@@ -21,8 +21,8 @@ require (
 )
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.0.0-00010101000000-000000000000
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.32.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.7
 	go.uber.org/multierr v1.8.0
 )
 
diff --git a/exporter/trace/version.go b/exporter/trace/version.go
index c895436..b1c42d8 100644
--- a/exporter/trace/version.go
+++ b/exporter/trace/version.go
@@ -17,5 +17,5 @@ package trace
 // Version is the current release version of the OpenTelemetry
 // Operations Trace Exporter in use.
 func Version() string {
-	return "1.8.6"
+	return "1.8.7"
 }
diff --git a/tools/release.go b/tools/release.go
index cdf4b72..cd43fd1 100644
--- a/tools/release.go
+++ b/tools/release.go
@@ -29,8 +29,8 @@ import (
 const (
 	prefix = "github.com/GoogleCloudPlatform/opentelemetry-operations-go"
 
-	stable   = "1.8.6"
-	unstable = "0.32.6"
+	stable   = "1.8.7"
+	unstable = "0.32.7"
 )
 
 var versions = map[string]string{
@@ -45,6 +45,7 @@ var versions = map[string]string{
 	"exporter/collector/googlemanagedprometheus/": unstable,
 
 	"internal/resourcemapping/": unstable,
+	"internal/cloudmock/":       unstable,
 
 	"detectors/gcp/": unstable,
 }


Test patch:
diff --git a/e2e-test-server/go.mod b/e2e-test-server/go.mod
index 90b2a2f..937e588 100644
--- a/e2e-test-server/go.mod
+++ b/e2e-test-server/go.mod
@@ -5,7 +5,7 @@ go 1.17
 require (
 	cloud.google.com/go/iam v0.3.0 // indirect
 	cloud.google.com/go/pubsub v1.19.0
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.7
 	go.opentelemetry.io/otel v1.9.0
 	go.opentelemetry.io/otel/sdk v1.9.0
 	go.opentelemetry.io/otel/trace v1.9.0
@@ -18,8 +18,8 @@ require (
 	cloud.google.com/go v0.102.0 // indirect
 	cloud.google.com/go/compute v1.7.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v0.32.6 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.6 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v0.32.7 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.7 // indirect
 	github.com/go-logr/logr v1.2.3 // indirect
 	github.com/go-logr/stdr v1.2.2 // indirect
 	github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
diff --git a/exporter/collector/integrationtest/go.mod b/exporter/collector/integrationtest/go.mod
index 4c059d3..6c5681c 100644
--- a/exporter/collector/integrationtest/go.mod
+++ b/exporter/collector/integrationtest/go.mod
@@ -4,10 +4,10 @@ go 1.17
 
 require (
 	contrib.go.opencensus.io/exporter/stackdriver v0.13.11
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector v0.32.6
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus v0.32.6
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.0.0-00010101000000-000000000000
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.6
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector v0.32.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus v0.32.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.32.7
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.32.7
 	github.com/google/go-cmp v0.5.8
 	github.com/stretchr/testify v1.8.0
 	go.opencensus.io v0.23.0
@@ -26,7 +26,7 @@ require (
 	cloud.google.com/go/logging v1.4.2 // indirect
 	cloud.google.com/go/monitoring v1.4.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.6 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.8.7 // indirect
 	github.com/aws/aws-sdk-go v1.42.49 // indirect
 	github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect
 	github.com/davecgh/go-spew v1.1.1 // indirect
diff --git a/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json b/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json
index 8ef69f1..ba6ac4a 100644
--- a/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json
+++ b/exporter/collector/integrationtest/testdata/fixtures/traces/traces_basic_expected.json
@@ -44,7 +44,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -223,7 +223,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -402,7 +402,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -581,7 +581,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -745,7 +745,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -875,7 +875,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1005,7 +1005,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1135,7 +1135,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1251,7 +1251,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1347,7 +1347,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1443,7 +1443,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1539,7 +1539,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1664,7 +1664,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -1843,7 +1843,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2022,7 +2022,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2186,7 +2186,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2316,7 +2316,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2446,7 +2446,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2576,7 +2576,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {
@@ -2692,7 +2692,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.6"
+                  "value": "opentelemetry-go 1.9.0; google-cloud-trace-exporter 1.8.7"
                 }
               },
               "g.co/gae/app/module": {