From 2ea9918cda94c6bf4c420548293c5a47f4082188 Mon Sep 17 00:00:00 2001 From: Anthony J Mirabella Date: Mon, 24 Aug 2020 18:04:34 -0400 Subject: [PATCH 1/3] Prepare for releasing v0.11.0 --- bridge/opentracing/go.mod | 2 +- example/basic/go.mod | 4 ++-- example/jaeger/go.mod | 6 +++--- example/namedtracer/go.mod | 6 +++--- example/otel-collector/go.mod | 6 +++--- example/prometheus/go.mod | 4 ++-- example/zipkin/go.mod | 6 +++--- exporters/metric/prometheus/go.mod | 4 ++-- exporters/otlp/go.mod | 4 ++-- exporters/stdout/go.mod | 4 ++-- exporters/trace/jaeger/go.mod | 4 ++-- exporters/trace/zipkin/go.mod | 4 ++-- sdk/go.mod | 2 +- sdk/opentelemetry.go | 2 +- 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/bridge/opentracing/go.mod b/bridge/opentracing/go.mod index 23644facd3d..a2612d590b5 100644 --- a/bridge/opentracing/go.mod +++ b/bridge/opentracing/go.mod @@ -6,5 +6,5 @@ replace go.opentelemetry.io/otel => ../.. require ( github.com/opentracing/opentracing-go v1.2.0 - go.opentelemetry.io/otel v0.10.0 + go.opentelemetry.io/otel v0.11.0 ) diff --git a/example/basic/go.mod b/example/basic/go.mod index 71450a7a32b..83d2d433900 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -9,6 +9,6 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/stdout v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/stdout v0.11.0 ) diff --git a/example/jaeger/go.mod b/example/jaeger/go.mod index c8497423e32..02e35e48669 100644 --- a/example/jaeger/go.mod +++ b/example/jaeger/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/trace/jaeger v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/trace/jaeger v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 ) diff --git a/example/namedtracer/go.mod b/example/namedtracer/go.mod index d6ffe84070c..397837290b8 100644 --- a/example/namedtracer/go.mod +++ b/example/namedtracer/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/stdout v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/stdout v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 ) diff --git a/example/otel-collector/go.mod b/example/otel-collector/go.mod index b88968d1721..660bb4a8de9 100644 --- a/example/otel-collector/go.mod +++ b/example/otel-collector/go.mod @@ -9,8 +9,8 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/otlp v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/otlp v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 google.golang.org/grpc v1.31.0 ) diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index 3edcd6407f1..e2ac2437b9d 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -9,6 +9,6 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/metric/prometheus v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/metric/prometheus v0.11.0 ) diff --git a/example/zipkin/go.mod b/example/zipkin/go.mod index a4f80fd92ea..d676c34a8a0 100644 --- a/example/zipkin/go.mod +++ b/example/zipkin/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/exporters/trace/zipkin v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/exporters/trace/zipkin v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 ) diff --git a/exporters/metric/prometheus/go.mod b/exporters/metric/prometheus/go.mod index 7e48f023e06..f36b6ae1b12 100644 --- a/exporters/metric/prometheus/go.mod +++ b/exporters/metric/prometheus/go.mod @@ -10,6 +10,6 @@ replace ( require ( github.com/prometheus/client_golang v1.7.1 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 ) diff --git a/exporters/otlp/go.mod b/exporters/otlp/go.mod index 486edf05b97..61ed756fd56 100644 --- a/exporters/otlp/go.mod +++ b/exporters/otlp/go.mod @@ -12,8 +12,8 @@ require ( github.com/golang/protobuf v1.4.2 // indirect github.com/google/go-cmp v0.5.1 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 // indirect google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884 // indirect google.golang.org/grpc v1.31.0 diff --git a/exporters/stdout/go.mod b/exporters/stdout/go.mod index ac147979827..158e7bc1b7f 100644 --- a/exporters/stdout/go.mod +++ b/exporters/stdout/go.mod @@ -9,7 +9,7 @@ replace ( require ( github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 google.golang.org/grpc v1.31.0 ) diff --git a/exporters/trace/jaeger/go.mod b/exporters/trace/jaeger/go.mod index 303766f7f85..1a6578c1bde 100644 --- a/exporters/trace/jaeger/go.mod +++ b/exporters/trace/jaeger/go.mod @@ -11,8 +11,8 @@ require ( github.com/apache/thrift v0.13.0 github.com/google/go-cmp v0.5.1 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 google.golang.org/api v0.30.0 google.golang.org/grpc v1.31.0 ) diff --git a/exporters/trace/zipkin/go.mod b/exporters/trace/zipkin/go.mod index a1a57630c1e..964baba958e 100644 --- a/exporters/trace/zipkin/go.mod +++ b/exporters/trace/zipkin/go.mod @@ -10,7 +10,7 @@ replace ( require ( github.com/openzipkin/zipkin-go v0.2.3 github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 - go.opentelemetry.io/otel/sdk v0.10.0 + go.opentelemetry.io/otel v0.11.0 + go.opentelemetry.io/otel/sdk v0.11.0 google.golang.org/grpc v1.31.0 ) diff --git a/sdk/go.mod b/sdk/go.mod index 100c33f95a2..41cd3b68a77 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -10,6 +10,6 @@ require ( github.com/google/go-cmp v0.5.1 github.com/google/gofuzz v1.1.0 // indirect github.com/stretchr/testify v1.6.1 - go.opentelemetry.io/otel v0.10.0 + go.opentelemetry.io/otel v0.11.0 google.golang.org/grpc v1.31.0 ) diff --git a/sdk/opentelemetry.go b/sdk/opentelemetry.go index 51073760b06..c7a2684dcfe 100644 --- a/sdk/opentelemetry.go +++ b/sdk/opentelemetry.go @@ -17,5 +17,5 @@ package opentelemetry // import "go.opentelemetry.io/otel/sdk" // Version is the current release version of OpenTelemetry in use. func Version() string { - return "0.10.0" + return "0.11.0" } From 43a1bf2d583da3f158d7b1516e7ac3449c0b5dc9 Mon Sep 17 00:00:00 2001 From: Anthony J Mirabella Date: Mon, 24 Aug 2020 18:31:11 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md to reflect scope of v0.11.0 release --- CHANGELOG.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3a41eb0961..bc11bdf9d5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,16 +8,23 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.11.0] - 2020-08-24 + ### Added +- `Noop` and `InMemory` `SpanBatcher` implementations to help with testing integrations. (#994) - Integration tests for more OTel Collector Attribute types. (#1062) +- A dimensionality-reducing metric Processor. (#1057) +- Support for filtering metric label sets. (#1047) +- Support for exporting array-valued attributes via OTLP. (#992) ### Changed -- Rename `sdk/metric/processor/test` to `sdk/metric/processor/processortest` -- Rename `sdk/metric/controller/test` to `sdk/metric/controller/controllertest` -- Rename `api/testharness` to `api/apitest` -- Rename `api/trace/testtrace` to `api/trace/tracetest` +- Rename `sdk/metric/processor/test` to `sdk/metric/processor/processortest` (#1049) +- Rename `sdk/metric/controller/test` to `sdk/metric/controller/controllertest` (#1049) +- Rename `api/testharness` to `api/apitest` (#1049) +- Rename `api/trace/testtrace` to `api/trace/tracetest` (#1049) +- Change Metric Processor to merge multiple observations (#1024) - The `go.opentelemetry.io/otel/bridge/opentracing` bridge package has been made into its own module. This removes the package dependencies of this bridge from the rest of the OpenTelemetry based project. (#1038) - Renamed `go.opentelemetry.io/otel/api/standard` package to `go.opentelemetry.io/otel/semconv` to avoid the ambiguous and generic name `standard` and better describe the package as containing OpenTelemetry semantic conventions. (#1016) @@ -27,9 +34,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Merge the `go.opentelemetry.io/otel/api/label` and `go.opentelemetry.io/otel/api/kv` into the new `go.opentelemetry.io/otel/label` package. (#1060) - Unify Callback Function Naming. Rename `*Callback` with `*Func`. (#1061) +- CI builds validate against last two versions of Go, dropping 1.13 and adding 1.15. (#1064) ### Removed +- Duplicate, unused API sampler interface. (#999) + Use the [`Sampler` interface](https://github.com/open-telemetry/opentelemetry-go/blob/v0.11.0/sdk/trace/sampling.go) provided by the SDK instead. - The `grpctrace` instrumentation was moved to the `go.opentelemetry.io/contrib` repository and out of this repository. This move includes moving the `grpc` example to the `go.opentelemetry.io/contrib` as well. (#1027) - The `WithSpan` method of the `Tracer` interface. @@ -37,6 +47,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm It was removed with the understanding that if there is sufficient user need it can be added back based on actual user usage. (#1043) - The `RegisterSpanProcessor` and `UnregisterSpanProcessor` functions. These were holdovers from an approach prior to the TracerProvider design. They were not used anymore. (#1077) +- The `oterror` package. (#1026) +- The `othttp` and `httptrace` instrumentations were moved to `go.opentelemetry.io/contrib`. (#1032) ### Fixed @@ -44,6 +56,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Correct instrumentation version tag in Jaeger exporter. (#1037) - The SDK span will now set an error event if the `End` method is called during a panic (i.e. it was deferred). (#1043) - Move internally generated protobuf code from the `go.opentelemetry.io/otel` to the OTLP exporter to reduce dependency overhead. (#1050) +- The `otel-collector` example referenced outdated collector processors. (#1006) ## [0.10.0] - 2020-07-29 @@ -767,7 +780,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.10.0...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.11.0...HEAD +[0.11.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.11.0 [0.10.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.10.0 [0.9.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.9.0 [0.8.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.8.0 From 484aac945b74dcc7ce474f9886b82a244ef84763 Mon Sep 17 00:00:00 2001 From: Anthony Mirabella Date: Mon, 24 Aug 2020 22:30:59 -0400 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Tyler Yahn --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc11bdf9d5b..e553b56ae9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,11 +20,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- Rename `sdk/metric/processor/test` to `sdk/metric/processor/processortest` (#1049) -- Rename `sdk/metric/controller/test` to `sdk/metric/controller/controllertest` (#1049) -- Rename `api/testharness` to `api/apitest` (#1049) -- Rename `api/trace/testtrace` to `api/trace/tracetest` (#1049) -- Change Metric Processor to merge multiple observations (#1024) +- Rename `sdk/metric/processor/test` to `sdk/metric/processor/processortest`. (#1049) +- Rename `sdk/metric/controller/test` to `sdk/metric/controller/controllertest`. (#1049) +- Rename `api/testharness` to `api/apitest`. (#1049) +- Rename `api/trace/testtrace` to `api/trace/tracetest`. (#1049) +- Change Metric Processor to merge multiple observations. (#1024) - The `go.opentelemetry.io/otel/bridge/opentracing` bridge package has been made into its own module. This removes the package dependencies of this bridge from the rest of the OpenTelemetry based project. (#1038) - Renamed `go.opentelemetry.io/otel/api/standard` package to `go.opentelemetry.io/otel/semconv` to avoid the ambiguous and generic name `standard` and better describe the package as containing OpenTelemetry semantic conventions. (#1016)