Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.6.0/v0.28.0 #2718

Merged
merged 6 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,32 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [1.6.0/0.28.0] - 2022-03-23

### ⚠️ Notice ⚠️

This update is a breaking change of the unstable Metrics API.
Code instrumented with the `go.opentelemetry.io/otel/metric` will need to be modified.

### Added

- Log the Exporters configuration in the TracerProviders message. (#2578)
- Metrics Exponential Histogram support: Mapping functions have been made available
in `sdk/metric/aggregator/exponential/mapping` for other OpenTelemetry projects to take
dependencies on. (#2502)
- Add go 1.18 to our compatibility tests. (#2679)
- Add metrics exponential histogram support.
New mapping functions have been made available in `sdk/metric/aggregator/exponential/mapping` for other OpenTelemetry projects to take dependencies on. (#2502)
- Add Go 1.18 to our compatibility tests. (#2679)
- Allow configuring the Sampler with the `OTEL_TRACES_SAMPLER` and `OTEL_TRACES_SAMPLER_ARG` environment variables. (#2305, #2517)
- Add the `metric/global` for obtaining and setting the global `MeterProvider` (#2660)
- Add the `metric/global` for obtaining and setting the global `MeterProvider`. (#2660)

### Changed

- The metrics API has been significantly changed. (#2587)
- The metrics API has been significantly changed to match the revised OpenTelemetry specification.
High-level changes include:

- Synchronous and asynchronous instruments are now handled by independent `InstrumentProvider`s.
These `InstrumentProvider`s are manged a `Meter`.
- Synchronous and asynchronous instruments are grouped into their own packages based on value types.
- Asynchronous callbacks can now be registered with a `Meter`.

Be sure to check out the metric module documentation for more information on how to use the revised API. (#2587, #2660)

### Fixed

Expand Down Expand Up @@ -1760,7 +1768,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.5.0...HEAD
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.0...HEAD
[1.6.0/0.28.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.6.0
[1.5.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.5.0
[1.4.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.4.1
[1.4.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.4.0
Expand Down
10 changes: 5 additions & 5 deletions bridge/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ go 1.16

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel => ../..
Expand Down
8 changes: 4 additions & 4 deletions bridge/opencensus/test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.16

require (
go.opencensus.io v0.23.0
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/bridge/opencensus v0.27.1
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/bridge/opencensus v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel => ../../..
Expand Down
4 changes: 2 additions & 2 deletions bridge/opentracing/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ replace go.opentelemetry.io/otel => ../..

require (
github.com/opentracing/opentracing-go v1.2.0
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../opencensus
Expand Down
8 changes: 4 additions & 4 deletions example/fib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module go.opentelemetry.io/otel/example/fib
go 1.16

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel => ../..
Expand Down
6 changes: 3 additions & 3 deletions example/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (
)

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/jaeger v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/jaeger v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
8 changes: 4 additions & 4 deletions example/namedtracer/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ replace (

require (
github.com/go-logr/stdr v1.2.2
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
12 changes: 6 additions & 6 deletions example/opencensus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ replace (

require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/bridge/opencensus v0.27.1
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.27.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/bridge/opencensus v0.28.0
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.28.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
)

replace go.opentelemetry.io/otel/bridge/opentracing => ../../bridge/opentracing
Expand Down
8 changes: 4 additions & 4 deletions example/otel-collector/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ replace (
)

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
google.golang.org/grpc v1.45.0
)

Expand Down
8 changes: 4 additions & 4 deletions example/passthrough/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module go.opentelemetry.io/otel/example/passthrough
go 1.16

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace (
Expand Down
8 changes: 4 additions & 4 deletions example/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ replace (
)

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/prometheus v0.27.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/prometheus v0.28.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
8 changes: 4 additions & 4 deletions example/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ replace (
)

require (
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/zipkin v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/zipkin v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions exporters/jaeger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
10 changes: 5 additions & 5 deletions exporters/otlp/otlpmetric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
Expand Down
12 changes: 6 additions & 6 deletions exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.16

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.27.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.28.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
google.golang.org/grpc v1.45.0
Expand Down
6 changes: 3 additions & 3 deletions exporters/otlp/otlpmetric/otlpmetrichttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.16

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/protobuf v1.27.1
)
Expand Down
8 changes: 4 additions & 4 deletions exporters/otlp/otlptrace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.16
require (
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/grpc v1.45.0
google.golang.org/protobuf v1.27.1
Expand Down
8 changes: 4 additions & 4 deletions exporters/otlp/otlptrace/otlptracegrpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.16

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
go.uber.org/goleak v1.1.12
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
Expand Down
10 changes: 5 additions & 5 deletions exporters/otlp/otlptrace/otlptracehttp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ go 1.16

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.5.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
go.opentelemetry.io/proto/otlp v0.12.0
google.golang.org/protobuf v1.27.1
)
Expand Down
8 changes: 4 additions & 4 deletions exporters/prometheus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.16
require (
github.com/prometheus/client_golang v1.12.1
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
)

replace go.opentelemetry.io/otel => ../..
Expand Down
8 changes: 4 additions & 4 deletions exporters/stdout/stdoutmetric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ replace (

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/sdk/metric v0.28.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions exporters/stdout/stdouttrace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus
Expand Down
6 changes: 3 additions & 3 deletions exporters/zipkin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ require (
github.com/google/go-cmp v0.5.7
github.com/openzipkin/zipkin-go v0.4.0
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel/sdk v1.5.0
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel v1.6.0
go.opentelemetry.io/otel/sdk v1.6.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/go-logr/stdr v1.2.2
github.com/google/go-cmp v0.5.7
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel/trace v1.5.0
go.opentelemetry.io/otel/trace v1.6.0
)

replace go.opentelemetry.io/otel => ./
Expand Down
2 changes: 1 addition & 1 deletion metric/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.16

require (
github.com/stretchr/testify v1.7.1
go.opentelemetry.io/otel v1.5.0
go.opentelemetry.io/otel v1.6.0
)

replace go.opentelemetry.io/otel => ../
Expand Down
Loading