diff --git a/CHANGELOG.md b/CHANGELOG.md index a986ec4e71b..75adf614e5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.32.0] Revised Metric SDK (Alpha) - 2022-09-18 + ### Changed - The metric SDK in `go.opentelemetry.io/otel/sdk/metric` is completely refactored to comply with the OpenTelemetry specification. @@ -42,10 +44,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `"go.opentelemetry.io/otel/sdk/metric".NewAccumulator` function was removed, see `NewMeterProvider`in the new metric SDK. (#3175) - The deprecated `"go.opentelemetry.io/otel/sdk/metric".AtomicFieldOffsets` function was removed. (#3175) -### Fixed - -- Fix attributes other than string in the Prometheus exporter. (#3190) - ## [1.10.0] - 2022-09-09 ### Added @@ -1945,7 +1943,8 @@ It contains api and sdk for trace and meter. - CircleCI build CI manifest files. - CODEOWNERS file to track owners of this project. -[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.10.0...HEAD +[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v0.32.0...HEAD +[0.32.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v0.32.0 [1.10.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.10.0 [1.9.0/0.0.3]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.9.0 [1.8.0/0.31.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.8.0 diff --git a/bridge/opencensus/opencensusmetric/go.mod b/bridge/opencensus/opencensusmetric/go.mod index 2c98a6e1371..62f0da59ca7 100644 --- a/bridge/opencensus/opencensusmetric/go.mod +++ b/bridge/opencensus/opencensusmetric/go.mod @@ -5,8 +5,8 @@ go 1.18 require ( go.opencensus.io v0.23.0 go.opentelemetry.io/otel v1.10.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/metric v0.32.0 + go.opentelemetry.io/otel/sdk/metric v0.32.0 ) require ( diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index 441f03e5112..c7e43afffaf 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -5,9 +5,9 @@ go 1.18 require ( github.com/prometheus/client_golang v1.13.0 go.opentelemetry.io/otel v1.10.0 - go.opentelemetry.io/otel/exporters/prometheus v0.31.0 - go.opentelemetry.io/otel/metric v0.31.0 - go.opentelemetry.io/otel/sdk/metric v0.31.0 + go.opentelemetry.io/otel/exporters/prometheus v0.32.0 + go.opentelemetry.io/otel/metric v0.32.0 + go.opentelemetry.io/otel/sdk/metric v0.32.0 ) require ( diff --git a/exporters/otlp/otlpmetric/go.mod b/exporters/otlp/otlpmetric/go.mod index b99be852d34..47f1c895a8f 100644 --- a/exporters/otlp/otlpmetric/go.mod +++ b/exporters/otlp/otlpmetric/go.mod @@ -7,9 +7,9 @@ require ( github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel v1.10.0 go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/metric v0.32.0 go.opentelemetry.io/otel/sdk v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/sdk/metric v0.32.0 go.opentelemetry.io/proto/otlp v0.19.0 google.golang.org/grpc v1.42.0 google.golang.org/protobuf v1.27.1 diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod b/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod index f4051953143..712e728a1ce 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod @@ -6,9 +6,9 @@ require ( github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel v1.10.0 go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 - go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.31.0 - go.opentelemetry.io/otel/metric v0.31.0 - go.opentelemetry.io/otel/sdk/metric v0.31.0 + go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.32.0 + go.opentelemetry.io/otel/metric v0.32.0 + go.opentelemetry.io/otel/sdk/metric v0.32.0 go.opentelemetry.io/proto/otlp v0.19.0 google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1 google.golang.org/grpc v1.46.2 diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod b/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod index 463b978feb6..fedbe208566 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/go.mod @@ -5,9 +5,9 @@ go 1.18 require ( github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0 - go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.31.0 - go.opentelemetry.io/otel/metric v0.31.0 - go.opentelemetry.io/otel/sdk/metric v0.31.0 + go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.32.0 + go.opentelemetry.io/otel/metric v0.32.0 + go.opentelemetry.io/otel/sdk/metric v0.32.0 go.opentelemetry.io/proto/otlp v0.19.0 google.golang.org/protobuf v1.28.0 ) diff --git a/exporters/prometheus/go.mod b/exporters/prometheus/go.mod index c06f9ff10a5..2760ff550c2 100644 --- a/exporters/prometheus/go.mod +++ b/exporters/prometheus/go.mod @@ -6,8 +6,8 @@ require ( github.com/prometheus/client_golang v1.13.0 github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel v1.10.0 - go.opentelemetry.io/otel/metric v0.31.0 - go.opentelemetry.io/otel/sdk/metric v0.31.0 + go.opentelemetry.io/otel/metric v0.32.0 + go.opentelemetry.io/otel/sdk/metric v0.32.0 ) require ( diff --git a/exporters/stdout/stdoutmetric/go.mod b/exporters/stdout/stdoutmetric/go.mod index 67edf5fc2ed..f1c16c84468 100644 --- a/exporters/stdout/stdoutmetric/go.mod +++ b/exporters/stdout/stdoutmetric/go.mod @@ -5,9 +5,9 @@ go 1.18 require ( github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel v1.10.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/metric v0.32.0 go.opentelemetry.io/otel/sdk v0.0.0-00010101000000-000000000000 - go.opentelemetry.io/otel/sdk/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/sdk/metric v0.32.0 ) require ( diff --git a/sdk/metric/go.mod b/sdk/metric/go.mod index 1c96d819855..029a1a3fedc 100644 --- a/sdk/metric/go.mod +++ b/sdk/metric/go.mod @@ -6,7 +6,7 @@ require ( github.com/go-logr/logr v1.2.3 github.com/stretchr/testify v1.7.1 go.opentelemetry.io/otel v1.10.0 - go.opentelemetry.io/otel/metric v0.0.0-00010101000000-000000000000 + go.opentelemetry.io/otel/metric v0.32.0 go.opentelemetry.io/otel/sdk v0.0.0-00010101000000-000000000000 ) diff --git a/versions.yaml b/versions.yaml index ec2ca16d270..7321b7ed97c 100644 --- a/versions.yaml +++ b/versions.yaml @@ -34,7 +34,7 @@ module-sets: - go.opentelemetry.io/otel/trace - go.opentelemetry.io/otel/sdk experimental-metrics: - version: v0.31.0 + version: v0.32.0 modules: - go.opentelemetry.io/otel/example/prometheus - go.opentelemetry.io/otel/exporters/otlp/otlpmetric @@ -52,7 +52,7 @@ module-sets: version: v0.31.0 modules: - go.opentelemetry.io/otel/bridge/opencensus + - go.opentelemetry.io/otel/bridge/opencensus/opencensusmetric - go.opentelemetry.io/otel/bridge/opencensus/test - - go.opentelemetry.io/otel/example/opencensus excluded-modules: - go.opentelemetry.io/otel/internal/tools