Repository: GoogleCloudPlatform/opentelemetry-operations-go
Pull request #539 (2022-11-29 15:50:55)

Prepare release v0.34.2 and v1.10.2


Patch:
diff --git a/example/metric/go.mod b/example/metric/go.mod
index 58d0570..103557b 100644
--- a/example/metric/go.mod
+++ b/example/metric/go.mod
@@ -9,7 +9,7 @@ replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/clou
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping => ../../internal/resourcemapping
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.34.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.34.2
 	go.opentelemetry.io/otel v1.11.1
 	go.opentelemetry.io/otel/metric v0.33.0
 	go.opentelemetry.io/otel/sdk/metric v0.33.0
@@ -18,7 +18,7 @@ require (
 require (
 	cloud.google.com/go/compute v1.10.0 // indirect
 	cloud.google.com/go/monitoring v1.6.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2 // 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/example/trace/http/go.mod b/example/trace/http/go.mod
index 08e6a34..e00844f 100644
--- a/example/trace/http/go.mod
+++ b/example/trace/http/go.mod
@@ -2,6 +2,8 @@ module github.com/GoogleCloudPlatform/opentelemetry-operations-go/example/trace/
 
 go 1.18
 
+replace github.com/GoogleCloudPlatform/opentelemetry-operations-go => ../../..
+
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace => ../../../exporter/trace
 
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping => ../../../internal/resourcemapping
@@ -11,8 +13,8 @@ replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/propagator =>
 replace github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock => ../../../internal/cloudmock
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/propagator v0.0.0-00010101000000-000000000000
 	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.36.4
 	go.opentelemetry.io/otel v1.11.1
 	go.opentelemetry.io/otel/sdk v1.11.1
@@ -22,7 +24,7 @@ require (
 require (
 	cloud.google.com/go/compute v1.10.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2 // 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/example/trace/http/go.sum b/example/trace/http/go.sum
index fc9fb4d..f9e67f7 100644
--- a/example/trace/http/go.sum
+++ b/example/trace/http/go.sum
@@ -54,8 +54,6 @@ cloud.google.com/go/trace v1.2.0/go.mod h1:Wc8y/uYyOhPy12KEnXG9XGrvfMz5F5SrYecQl
 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/GoogleCloudPlatform/opentelemetry-operations-go v0.34.1 h1:BAyYKwWPEOASaNHFGRsNizI7pgm9TN86ADx1frs935U=
-github.com/GoogleCloudPlatform/opentelemetry-operations-go v0.34.1/go.mod h1:rbOX0wvzJfejaoVeWjDP1Jox+eF1T6UtzhQ1LHvGbMc=
 github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
 github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
 github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
diff --git a/exporter/collector/go.mod b/exporter/collector/go.mod
index 94a8dc2..d45a63a 100644
--- a/exporter/collector/go.mod
+++ b/exporter/collector/go.mod
@@ -6,8 +6,8 @@ require (
 	cloud.google.com/go/logging v1.5.0
 	cloud.google.com/go/monitoring v1.6.0
 	cloud.google.com/go/trace v1.2.0
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2
 	github.com/census-instrumentation/opencensus-proto v0.4.1
 	github.com/google/go-cmp v0.5.9
 	github.com/stretchr/testify v1.8.1
diff --git a/exporter/metric/go.mod b/exporter/metric/go.mod
index 55d2290..18af3b7 100644
--- a/exporter/metric/go.mod
+++ b/exporter/metric/go.mod
@@ -19,8 +19,8 @@ require (
 )
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2
 	github.com/stretchr/testify v1.8.0
 	go.uber.org/multierr v1.8.0
 )
diff --git a/exporter/metric/version.go b/exporter/metric/version.go
index a25bab4..1817145 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.34.1"
+	return "0.34.2"
 }
diff --git a/exporter/trace/go.mod b/exporter/trace/go.mod
index 33c8285..52e81e6 100644
--- a/exporter/trace/go.mod
+++ b/exporter/trace/go.mod
@@ -20,8 +20,8 @@ require (
 )
 
 require (
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2
 	go.uber.org/multierr v1.8.0
 )
 
diff --git a/exporter/trace/version.go b/exporter/trace/version.go
index 976fdea..ebce087 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.10.1"
+	return "1.10.2"
 }
diff --git a/tools/release.go b/tools/release.go
index b2ccb39..2201361 100644
--- a/tools/release.go
+++ b/tools/release.go
@@ -29,8 +29,8 @@ import (
 const (
 	prefix = "github.com/GoogleCloudPlatform/opentelemetry-operations-go"
 
-	stable   = "1.10.1"
-	unstable = "0.34.1"
+	stable   = "1.10.2"
+	unstable = "0.34.2"
 )
 
 var versions = map[string]string{


Test patch:
diff --git a/e2e-test-server/go.mod b/e2e-test-server/go.mod
index 729db29..0663cfe 100644
--- a/e2e-test-server/go.mod
+++ b/e2e-test-server/go.mod
@@ -5,7 +5,7 @@ go 1.18
 require (
 	cloud.google.com/go/iam v0.5.0 // indirect
 	cloud.google.com/go/pubsub v1.25.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.2
 	go.opentelemetry.io/otel v1.11.1
 	go.opentelemetry.io/otel/sdk v1.11.1
 	go.opentelemetry.io/otel/trace v1.11.1
@@ -18,8 +18,8 @@ require (
 	cloud.google.com/go v0.104.0 // indirect
 	cloud.google.com/go/compute v1.10.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v0.34.1 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v0.34.2 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2 // 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 9a21e37..970efa1 100644
--- a/exporter/collector/integrationtest/go.mod
+++ b/exporter/collector/integrationtest/go.mod
@@ -4,11 +4,11 @@ go 1.18
 
 require (
 	contrib.go.opencensus.io/exporter/stackdriver v0.13.14
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.1
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.1
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.34.2
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.34.2
 	github.com/google/go-cmp v0.5.9
 	github.com/stretchr/testify v1.8.1
 	go.opencensus.io v0.24.0
@@ -33,7 +33,7 @@ require (
 	cloud.google.com/go/monitoring v1.6.0 // indirect
 	cloud.google.com/go/trace v1.2.0 // indirect
 	contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
-	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.1 // indirect
+	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.10.2 // indirect
 	github.com/aws/aws-sdk-go v1.44.117 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/census-instrumentation/opencensus-proto v0.4.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 a829ae7..4e3c33c 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.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -223,7 +223,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -402,7 +402,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -581,7 +581,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -745,7 +745,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -875,7 +875,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1005,7 +1005,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1135,7 +1135,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1251,7 +1251,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1347,7 +1347,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1443,7 +1443,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1539,7 +1539,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1664,7 +1664,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -1843,7 +1843,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2022,7 +2022,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2186,7 +2186,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2316,7 +2316,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2446,7 +2446,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2576,7 +2576,7 @@
               },
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {
@@ -2692,7 +2692,7 @@
             "attributeMap": {
               "g.co/agent": {
                 "stringValue": {
-                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.1"
+                  "value": "opentelemetry-go 1.11.1; google-cloud-trace-exporter 1.10.2"
                 }
               },
               "g.co/gae/app/module": {