From b809968c9bec620116637b2dd3ed03629a5f9a26 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Fri, 12 Feb 2021 11:26:44 -0800 Subject: [PATCH 1/2] Prepare for releasing v0.17.0 --- bridge/opencensus/go.mod | 6 +++--- bridge/opentracing/go.mod | 4 ++-- example/jaeger/go.mod | 6 +++--- example/namedtracer/go.mod | 8 ++++---- example/opencensus/go.mod | 8 ++++---- example/otel-collector/go.mod | 12 ++++++------ example/prom-collector/go.mod | 12 ++++++------ example/prometheus/go.mod | 6 +++--- example/zipkin/go.mod | 6 +++--- exporters/metric/prometheus/go.mod | 10 +++++----- exporters/otlp/go.mod | 12 ++++++------ exporters/stdout/go.mod | 12 ++++++------ exporters/trace/jaeger/go.mod | 6 +++--- exporters/trace/zipkin/go.mod | 6 +++--- go.mod | 6 +++--- metric/go.mod | 4 ++-- oteltest/go.mod | 6 +++--- sdk/export/metric/go.mod | 6 +++--- sdk/go.mod | 6 +++--- sdk/metric/go.mod | 8 ++++---- trace/go.mod | 2 +- version.go | 2 +- 22 files changed, 77 insertions(+), 77 deletions(-) diff --git a/bridge/opencensus/go.mod b/bridge/opencensus/go.mod index 26f99517654..6a575bd2bff 100644 --- a/bridge/opencensus/go.mod +++ b/bridge/opencensus/go.mod @@ -4,9 +4,9 @@ go 1.14 require ( go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/oteltest v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/oteltest v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel => ../.. diff --git a/bridge/opentracing/go.mod b/bridge/opentracing/go.mod index 6f9d9f01039..f4794872a85 100644 --- a/bridge/opentracing/go.mod +++ b/bridge/opentracing/go.mod @@ -6,8 +6,8 @@ replace go.opentelemetry.io/otel => ../.. require ( github.com/opentracing/opentracing-go v1.2.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../opencensus diff --git a/example/jaeger/go.mod b/example/jaeger/go.mod index 13690bc7c8c..3ec0cc110a5 100644 --- a/example/jaeger/go.mod +++ b/example/jaeger/go.mod @@ -9,9 +9,9 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/trace/jaeger v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/trace/jaeger v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus diff --git a/example/namedtracer/go.mod b/example/namedtracer/go.mod index 3b17e5771b1..67474ef965e 100644 --- a/example/namedtracer/go.mod +++ b/example/namedtracer/go.mod @@ -9,10 +9,10 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/stdout v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/stdout v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus diff --git a/example/opencensus/go.mod b/example/opencensus/go.mod index 3c999a07a23..fb4ae05330d 100644 --- a/example/opencensus/go.mod +++ b/example/opencensus/go.mod @@ -11,10 +11,10 @@ replace ( require ( go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/bridge/opencensus v0.16.0 - go.opentelemetry.io/otel/exporters/stdout v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/bridge/opencensus v0.17.0 + go.opentelemetry.io/otel/exporters/stdout v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opentracing => ../../bridge/opentracing diff --git a/example/otel-collector/go.mod b/example/otel-collector/go.mod index 93d1aaf4983..f198b1c4dae 100644 --- a/example/otel-collector/go.mod +++ b/example/otel-collector/go.mod @@ -9,12 +9,12 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/otlp v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/otlp v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/metric v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 google.golang.org/grpc v1.35.0 ) diff --git a/example/prom-collector/go.mod b/example/prom-collector/go.mod index fe74df1a600..f1a59c45dd4 100644 --- a/example/prom-collector/go.mod +++ b/example/prom-collector/go.mod @@ -10,12 +10,12 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/metric/prometheus v0.16.0 - go.opentelemetry.io/otel/exporters/otlp v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/metric/prometheus v0.17.0 + go.opentelemetry.io/otel/exporters/otlp v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/metric v0.17.0 google.golang.org/grpc v1.35.0 ) diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index 9b868565b46..f62d3f24fd6 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -9,9 +9,9 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/metric/prometheus v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/metric/prometheus v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus diff --git a/example/zipkin/go.mod b/example/zipkin/go.mod index 27f2c435559..64f02a98c01 100644 --- a/example/zipkin/go.mod +++ b/example/zipkin/go.mod @@ -9,9 +9,9 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/exporters/trace/zipkin v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/exporters/trace/zipkin v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus diff --git a/exporters/metric/prometheus/go.mod b/exporters/metric/prometheus/go.mod index 538113ba2aa..33cd9f071b3 100644 --- a/exporters/metric/prometheus/go.mod +++ b/exporters/metric/prometheus/go.mod @@ -10,11 +10,11 @@ replace ( require ( github.com/prometheus/client_golang v1.9.0 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/sdk/export/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/export/metric v0.17.0 + go.opentelemetry.io/otel/sdk/metric v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus diff --git a/exporters/otlp/go.mod b/exporters/otlp/go.mod index c513894703b..28c8d8d729e 100644 --- a/exporters/otlp/go.mod +++ b/exporters/otlp/go.mod @@ -11,12 +11,12 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/google/go-cmp v0.5.4 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/sdk/export/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/export/metric v0.17.0 + go.opentelemetry.io/otel/sdk/metric v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 google.golang.org/grpc v1.35.0 ) diff --git a/exporters/stdout/go.mod b/exporters/stdout/go.mod index 7f6df98e193..d0459221539 100644 --- a/exporters/stdout/go.mod +++ b/exporters/stdout/go.mod @@ -9,12 +9,12 @@ replace ( require ( github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/sdk/export/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/export/metric v0.17.0 + go.opentelemetry.io/otel/sdk/metric v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus diff --git a/exporters/trace/jaeger/go.mod b/exporters/trace/jaeger/go.mod index 83766b63b2b..71acd66455b 100644 --- a/exporters/trace/jaeger/go.mod +++ b/exporters/trace/jaeger/go.mod @@ -11,9 +11,9 @@ require ( github.com/apache/thrift v0.13.0 github.com/google/go-cmp v0.5.4 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 google.golang.org/api v0.39.0 ) diff --git a/exporters/trace/zipkin/go.mod b/exporters/trace/zipkin/go.mod index 038c1b645c6..8d91d34ed31 100644 --- a/exporters/trace/zipkin/go.mod +++ b/exporters/trace/zipkin/go.mod @@ -11,9 +11,9 @@ require ( github.com/google/go-cmp v0.5.4 github.com/openzipkin/zipkin-go v0.2.5 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/sdk v0.16.0 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus diff --git a/go.mod b/go.mod index 984347db93d..9c136ff939a 100644 --- a/go.mod +++ b/go.mod @@ -5,9 +5,9 @@ go 1.14 require ( github.com/google/go-cmp v0.5.4 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/oteltest v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/oteltest v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel => ./ diff --git a/metric/go.mod b/metric/go.mod index 89e42d8eb0c..c1217518206 100644 --- a/metric/go.mod +++ b/metric/go.mod @@ -49,6 +49,6 @@ replace go.opentelemetry.io/otel/trace => ../trace require ( github.com/google/go-cmp v0.5.4 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/oteltest v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/oteltest v0.17.0 ) diff --git a/oteltest/go.mod b/oteltest/go.mod index a97c1067b0c..76c5ce23d8e 100644 --- a/oteltest/go.mod +++ b/oteltest/go.mod @@ -47,7 +47,7 @@ replace go.opentelemetry.io/otel/sdk/metric => ../sdk/metric replace go.opentelemetry.io/otel/trace => ../trace require ( - go.opentelemetry.io/otel v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) diff --git a/sdk/export/metric/go.mod b/sdk/export/metric/go.mod index a88e83c7c77..67296c9cdfb 100644 --- a/sdk/export/metric/go.mod +++ b/sdk/export/metric/go.mod @@ -48,7 +48,7 @@ replace go.opentelemetry.io/otel/trace => ../../../trace require ( github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 ) diff --git a/sdk/go.mod b/sdk/go.mod index 949fd009e7b..ff7aa9dd84b 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -7,9 +7,9 @@ replace go.opentelemetry.io/otel => ../ require ( github.com/google/go-cmp v0.5.4 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/oteltest v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/trace v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/oteltest v0.17.0 + go.opentelemetry.io/otel/trace v0.17.0 ) replace go.opentelemetry.io/otel/bridge/opencensus => ../bridge/opencensus diff --git a/sdk/metric/go.mod b/sdk/metric/go.mod index 08812ddf80d..90ea875329a 100644 --- a/sdk/metric/go.mod +++ b/sdk/metric/go.mod @@ -49,8 +49,8 @@ replace go.opentelemetry.io/otel/trace => ../../trace require ( github.com/benbjohnson/clock v1.0.3 // do not upgrade to v1.1.x because it would require Go >= 1.15 github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.16.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/export/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 + go.opentelemetry.io/otel/metric v0.17.0 + go.opentelemetry.io/otel/sdk v0.17.0 + go.opentelemetry.io/otel/sdk/export/metric v0.17.0 ) diff --git a/trace/go.mod b/trace/go.mod index 5e41257447c..ef93088cf17 100644 --- a/trace/go.mod +++ b/trace/go.mod @@ -48,5 +48,5 @@ replace go.opentelemetry.io/otel/trace => ./ require ( github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel v0.17.0 ) diff --git a/version.go b/version.go index f9ffac7104a..dc2ef413572 100644 --- a/version.go +++ b/version.go @@ -16,5 +16,5 @@ package otel // import "go.opentelemetry.io/otel" // Version is the current release version of OpenTelemetry in use. func Version() string { - return "0.16.0" + return "0.17.0" } From b35e768e5aac168c41e8c3f6db331d841c1eaf8c Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Fri, 12 Feb 2021 11:31:28 -0800 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b830a131be..5796ba1b7aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.17.0] - 2020-02-12 + ### Changed - Rename project default branch from `master` to `main`. - Reverse order in which `Resource` attributes are merged, per change in spec. (#1501) - Add tooling to maintain "replace" directives in go.mod files automatically. (#1528) - Create new modules: otel/metric, otel/trace, otel/oteltest, otel/sdk/export/metric, otel/sdk/metric (#1528) -- Move metric-related public APIs from otel to otel/metric/global. (#1528) +- Move metric-related public global APIs from otel to otel/metric/global. (#1528) ## [0.16.0] - 2020-01-13 @@ -1036,7 +1038,8 @@ It contains api and sdk for trace and meter. - CODEOWNERS file to track owners of this project. -[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.16.0...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.17.0...HEAD +[0.17.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.17.0 [0.16.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.16.0 [0.15.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.15.0 [0.14.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.14.0