Skip to content

Commit 279c549

Browse files
authored
Release v1.22.0/v0.45.0 (open-telemetry#4821)
* Update to v1.22.0 * Prepare stable-v1 for version v1.22.0 * Prepare experimental-metrics for version v0.45.0
1 parent 237ed37 commit 279c549

File tree

34 files changed

+128
-125
lines changed

34 files changed

+128
-125
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
88

99
## [Unreleased]
1010

11+
## [1.22.0/0.45.0] 2024-01-17
12+
1113
### Added
1214

1315
- The `go.opentelemetry.io/otel/semconv/v1.22.0` package.
@@ -44,6 +46,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
4446
- Fix observable not registered error when the asynchronous instrument has a drop aggregation in `go.opentelemetry.io/otel/sdk/metric`. (#4772)
4547
- Fix baggage item key so that it is not canonicalized in `go.opentelemetry.io/otel/bridge/opentracing`. (#4776)
4648
- Fix `go.opentelemetry.io/otel/bridge/opentracing` to properly handle baggage values that requires escaping during propagation. (#4804)
49+
- Fix a bug where using multiple readers resulted in incorrect asynchronous counter values in `go.opentelemetry.io/otel/sdk/metric`. (#4742)
4750

4851
## [1.21.0/0.44.0] 2023-11-16
4952

@@ -58,7 +61,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
5861

5962
- Do not parse non-protobuf responses in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. (#4719)
6063
- Do not parse non-protobuf responses in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`. (#4719)
61-
- Fix a bug where using multiple readers resulted in incorrect asynchronous counter values in `go.opentelemetry.io/otel/sdk/metric`. (#4742)
6264

6365
## [1.20.0/0.43.0] 2023-11-10
6466

@@ -2773,7 +2775,8 @@ It contains api and sdk for trace and meter.
27732775
- CircleCI build CI manifest files.
27742776
- CODEOWNERS file to track owners of this project.
27752777

2776-
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...HEAD
2778+
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.22.0...HEAD
2779+
[1.22.0/0.45.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.22.0
27772780
[1.21.0/0.44.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.21.0
27782781
[1.20.0/0.43.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.20.0
27792782
[1.19.0/0.42.0/0.0.7]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.19.0

bridge/opencensus/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ go 1.20
55
require (
66
github.com/stretchr/testify v1.8.4
77
go.opencensus.io v0.24.0
8-
go.opentelemetry.io/otel v1.21.0
9-
go.opentelemetry.io/otel/sdk v1.21.0
10-
go.opentelemetry.io/otel/sdk/metric v1.21.0
11-
go.opentelemetry.io/otel/trace v1.21.0
8+
go.opentelemetry.io/otel v1.22.0
9+
go.opentelemetry.io/otel/sdk v1.22.0
10+
go.opentelemetry.io/otel/sdk/metric v1.22.0
11+
go.opentelemetry.io/otel/trace v1.22.0
1212
)
1313

1414
require (
@@ -18,7 +18,7 @@ require (
1818
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
1919
github.com/kr/pretty v0.1.0 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
21-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
21+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2222
golang.org/x/sys v0.16.0 // indirect
2323
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
2424
gopkg.in/yaml.v3 v3.0.1 // indirect

bridge/opencensus/test/go.mod

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ go 1.20
44

55
require (
66
go.opencensus.io v0.24.0
7-
go.opentelemetry.io/otel v1.21.0
8-
go.opentelemetry.io/otel/bridge/opencensus v0.44.0
9-
go.opentelemetry.io/otel/sdk v1.21.0
10-
go.opentelemetry.io/otel/trace v1.21.0
7+
go.opentelemetry.io/otel v1.22.0
8+
go.opentelemetry.io/otel/bridge/opencensus v0.45.0
9+
go.opentelemetry.io/otel/sdk v1.22.0
10+
go.opentelemetry.io/otel/trace v1.22.0
1111
)
1212

1313
require (
1414
github.com/go-logr/logr v1.4.1 // indirect
1515
github.com/go-logr/stdr v1.2.2 // indirect
1616
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
17-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
18-
go.opentelemetry.io/otel/sdk/metric v1.21.0 // indirect
17+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
18+
go.opentelemetry.io/otel/sdk/metric v1.22.0 // indirect
1919
golang.org/x/sys v0.16.0 // indirect
2020
)
2121

bridge/opencensus/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ package opencensus // import "go.opentelemetry.io/otel/bridge/opencensus"
1616

1717
// Version is the current release version of the opencensus bridge.
1818
func Version() string {
19-
return "0.44.0"
19+
return "0.45.0"
2020
}

bridge/opentracing/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ replace go.opentelemetry.io/otel/trace => ../../trace
99
require (
1010
github.com/opentracing/opentracing-go v1.2.0
1111
github.com/stretchr/testify v1.8.4
12-
go.opentelemetry.io/otel v1.21.0
13-
go.opentelemetry.io/otel/trace v1.21.0
12+
go.opentelemetry.io/otel v1.22.0
13+
go.opentelemetry.io/otel/trace v1.22.0
1414
)
1515

1616
require (
1717
github.com/davecgh/go-spew v1.1.1 // indirect
1818
github.com/go-logr/logr v1.4.1 // indirect
1919
github.com/go-logr/stdr v1.2.2 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
21-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
21+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2222
gopkg.in/yaml.v3 v3.0.1 // indirect
2323
)
2424

bridge/opentracing/test/go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ require (
1212
github.com/opentracing-contrib/go-grpc v0.0.0-20210225150812-73cb765af46e
1313
github.com/opentracing/opentracing-go v1.2.0
1414
github.com/stretchr/testify v1.8.4
15-
go.opentelemetry.io/otel v1.21.0
16-
go.opentelemetry.io/otel/bridge/opentracing v1.21.0
15+
go.opentelemetry.io/otel v1.22.0
16+
go.opentelemetry.io/otel/bridge/opentracing v1.22.0
1717
google.golang.org/grpc v1.60.1
1818
)
1919

@@ -23,8 +23,8 @@ require (
2323
github.com/go-logr/stdr v1.2.2 // indirect
2424
github.com/golang/protobuf v1.5.3 // indirect
2525
github.com/pmezard/go-difflib v1.0.0 // indirect
26-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
27-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
26+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
27+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
2828
golang.org/x/net v0.17.0 // indirect
2929
golang.org/x/sys v0.16.0 // indirect
3030
golang.org/x/text v0.13.0 // indirect

example/dice/go.mod

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ go 1.20
44

55
require (
66
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
7-
go.opentelemetry.io/otel v1.21.0
8-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.44.0
9-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0
10-
go.opentelemetry.io/otel/metric v1.21.0
11-
go.opentelemetry.io/otel/sdk v1.21.0
12-
go.opentelemetry.io/otel/sdk/metric v1.21.0
7+
go.opentelemetry.io/otel v1.22.0
8+
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.45.0
9+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.22.0
10+
go.opentelemetry.io/otel/metric v1.22.0
11+
go.opentelemetry.io/otel/sdk v1.22.0
12+
go.opentelemetry.io/otel/sdk/metric v1.22.0
1313
)
1414

1515
require (
1616
github.com/felixge/httpsnoop v1.0.4 // indirect
1717
github.com/go-logr/logr v1.4.1 // indirect
1818
github.com/go-logr/stdr v1.2.2 // indirect
19-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
19+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
2020
golang.org/x/sys v0.16.0 // indirect
2121
)
2222

example/namedtracer/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ replace (
99

1010
require (
1111
github.com/go-logr/stdr v1.2.2
12-
go.opentelemetry.io/otel v1.21.0
13-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0
14-
go.opentelemetry.io/otel/sdk v1.21.0
15-
go.opentelemetry.io/otel/trace v1.21.0
12+
go.opentelemetry.io/otel v1.22.0
13+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.22.0
14+
go.opentelemetry.io/otel/sdk v1.22.0
15+
go.opentelemetry.io/otel/trace v1.22.0
1616
)
1717

1818
require (
1919
github.com/go-logr/logr v1.4.1 // indirect
20-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
20+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2121
golang.org/x/sys v0.16.0 // indirect
2222
)
2323

example/opencensus/go.mod

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ replace (
1010

1111
require (
1212
go.opencensus.io v0.24.0
13-
go.opentelemetry.io/otel v1.21.0
14-
go.opentelemetry.io/otel/bridge/opencensus v0.44.0
15-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.44.0
16-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0
17-
go.opentelemetry.io/otel/sdk v1.21.0
18-
go.opentelemetry.io/otel/sdk/metric v1.21.0
13+
go.opentelemetry.io/otel v1.22.0
14+
go.opentelemetry.io/otel/bridge/opencensus v0.45.0
15+
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.45.0
16+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.22.0
17+
go.opentelemetry.io/otel/sdk v1.22.0
18+
go.opentelemetry.io/otel/sdk/metric v1.22.0
1919
)
2020

2121
require (
2222
github.com/go-logr/logr v1.4.1 // indirect
2323
github.com/go-logr/stdr v1.2.2 // indirect
2424
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
25-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
26-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
25+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
26+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
2727
golang.org/x/sys v0.16.0 // indirect
2828
)
2929

example/otel-collector/go.mod

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ replace (
88
)
99

1010
require (
11-
go.opentelemetry.io/otel v1.21.0
12-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0
13-
go.opentelemetry.io/otel/sdk v1.21.0
14-
go.opentelemetry.io/otel/trace v1.21.0
11+
go.opentelemetry.io/otel v1.22.0
12+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0
13+
go.opentelemetry.io/otel/sdk v1.22.0
14+
go.opentelemetry.io/otel/trace v1.22.0
1515
google.golang.org/grpc v1.60.1
1616
)
1717

@@ -21,8 +21,8 @@ require (
2121
github.com/go-logr/stdr v1.2.2 // indirect
2222
github.com/golang/protobuf v1.5.3 // indirect
2323
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
24-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect
25-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
24+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect
25+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2626
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
2727
golang.org/x/net v0.17.0 // indirect
2828
golang.org/x/sys v0.16.0 // indirect

example/passthrough/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ module go.opentelemetry.io/otel/example/passthrough
33
go 1.20
44

55
require (
6-
go.opentelemetry.io/otel v1.21.0
7-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.21.0
8-
go.opentelemetry.io/otel/sdk v1.21.0
9-
go.opentelemetry.io/otel/trace v1.21.0
6+
go.opentelemetry.io/otel v1.22.0
7+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.22.0
8+
go.opentelemetry.io/otel/sdk v1.22.0
9+
go.opentelemetry.io/otel/trace v1.22.0
1010
)
1111

1212
require (
1313
github.com/go-logr/logr v1.4.1 // indirect
1414
github.com/go-logr/stdr v1.2.2 // indirect
15-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
15+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
1616
golang.org/x/sys v0.16.0 // indirect
1717
)
1818

example/prometheus/go.mod

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.20
44

55
require (
66
github.com/prometheus/client_golang v1.18.0
7-
go.opentelemetry.io/otel v1.21.0
8-
go.opentelemetry.io/otel/exporters/prometheus v0.44.0
9-
go.opentelemetry.io/otel/metric v1.21.0
10-
go.opentelemetry.io/otel/sdk/metric v1.21.0
7+
go.opentelemetry.io/otel v1.22.0
8+
go.opentelemetry.io/otel/exporters/prometheus v0.45.0
9+
go.opentelemetry.io/otel/metric v1.22.0
10+
go.opentelemetry.io/otel/sdk/metric v1.22.0
1111
)
1212

1313
require (
@@ -19,8 +19,8 @@ require (
1919
github.com/prometheus/client_model v0.5.0 // indirect
2020
github.com/prometheus/common v0.45.0 // indirect
2121
github.com/prometheus/procfs v0.12.0 // indirect
22-
go.opentelemetry.io/otel/sdk v1.21.0 // indirect
23-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
22+
go.opentelemetry.io/otel/sdk v1.22.0 // indirect
23+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
2424
golang.org/x/sys v0.16.0 // indirect
2525
google.golang.org/protobuf v1.32.0 // indirect
2626
)

example/zipkin/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ replace (
99
)
1010

1111
require (
12-
go.opentelemetry.io/otel v1.21.0
13-
go.opentelemetry.io/otel/exporters/zipkin v1.21.0
14-
go.opentelemetry.io/otel/sdk v1.21.0
15-
go.opentelemetry.io/otel/trace v1.21.0
12+
go.opentelemetry.io/otel v1.22.0
13+
go.opentelemetry.io/otel/exporters/zipkin v1.22.0
14+
go.opentelemetry.io/otel/sdk v1.22.0
15+
go.opentelemetry.io/otel/trace v1.22.0
1616
)
1717

1818
require (
1919
github.com/go-logr/logr v1.4.1 // indirect
2020
github.com/go-logr/stdr v1.2.2 // indirect
2121
github.com/openzipkin/zipkin-go v0.4.2 // indirect
22-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
22+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2323
golang.org/x/sys v0.16.0 // indirect
2424
)
2525

exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ require (
88
github.com/cenkalti/backoff/v4 v4.2.1
99
github.com/google/go-cmp v0.6.0
1010
github.com/stretchr/testify v1.8.4
11-
go.opentelemetry.io/otel v1.21.0
12-
go.opentelemetry.io/otel/sdk v1.21.0
13-
go.opentelemetry.io/otel/sdk/metric v1.21.0
11+
go.opentelemetry.io/otel v1.22.0
12+
go.opentelemetry.io/otel/sdk v1.22.0
13+
go.opentelemetry.io/otel/sdk/metric v1.22.0
1414
go.opentelemetry.io/proto/otlp v1.0.0
1515
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97
1616
google.golang.org/grpc v1.60.1
@@ -26,8 +26,8 @@ require (
2626
github.com/kr/text v0.2.0 // indirect
2727
github.com/pmezard/go-difflib v1.0.0 // indirect
2828
github.com/rogpeppe/go-internal v1.11.0 // indirect
29-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
30-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
29+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
30+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
3131
golang.org/x/net v0.17.0 // indirect
3232
golang.org/x/sys v0.16.0 // indirect
3333
golang.org/x/text v0.13.0 // indirect

exporters/otlp/otlpmetric/otlpmetricgrpc/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpme
1616

1717
// Version is the current release version of the OpenTelemetry OTLP over gRPC metrics exporter in use.
1818
func Version() string {
19-
return "0.44.0"
19+
return "0.45.0"
2020
}

exporters/otlp/otlpmetric/otlpmetrichttp/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ require (
88
github.com/cenkalti/backoff/v4 v4.2.1
99
github.com/google/go-cmp v0.6.0
1010
github.com/stretchr/testify v1.8.4
11-
go.opentelemetry.io/otel v1.21.0
12-
go.opentelemetry.io/otel/sdk v1.21.0
13-
go.opentelemetry.io/otel/sdk/metric v1.21.0
11+
go.opentelemetry.io/otel v1.22.0
12+
go.opentelemetry.io/otel/sdk v1.22.0
13+
go.opentelemetry.io/otel/sdk/metric v1.22.0
1414
go.opentelemetry.io/proto/otlp v1.0.0
1515
google.golang.org/grpc v1.60.1
1616
google.golang.org/protobuf v1.32.0
@@ -25,8 +25,8 @@ require (
2525
github.com/kr/text v0.2.0 // indirect
2626
github.com/pmezard/go-difflib v1.0.0 // indirect
2727
github.com/rogpeppe/go-internal v1.11.0 // indirect
28-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
29-
go.opentelemetry.io/otel/trace v1.21.0 // indirect
28+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
29+
go.opentelemetry.io/otel/trace v1.22.0 // indirect
3030
golang.org/x/net v0.17.0 // indirect
3131
golang.org/x/sys v0.16.0 // indirect
3232
golang.org/x/text v0.13.0 // indirect

exporters/otlp/otlpmetric/otlpmetrichttp/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpme
1616

1717
// Version is the current release version of the OpenTelemetry OTLP over HTTP/protobuf metrics exporter in use.
1818
func Version() string {
19-
return "0.44.0"
19+
return "0.45.0"
2020
}

exporters/otlp/otlptrace/go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ go 1.20
55
require (
66
github.com/google/go-cmp v0.6.0
77
github.com/stretchr/testify v1.8.4
8-
go.opentelemetry.io/otel v1.21.0
9-
go.opentelemetry.io/otel/sdk v1.21.0
10-
go.opentelemetry.io/otel/trace v1.21.0
8+
go.opentelemetry.io/otel v1.22.0
9+
go.opentelemetry.io/otel/sdk v1.22.0
10+
go.opentelemetry.io/otel/trace v1.22.0
1111
go.opentelemetry.io/proto/otlp v1.0.0
1212
google.golang.org/protobuf v1.32.0
1313
)
@@ -19,7 +19,7 @@ require (
1919
github.com/kr/pretty v0.3.1 // indirect
2020
github.com/pmezard/go-difflib v1.0.0 // indirect
2121
github.com/rogpeppe/go-internal v1.10.0 // indirect
22-
go.opentelemetry.io/otel/metric v1.21.0 // indirect
22+
go.opentelemetry.io/otel/metric v1.22.0 // indirect
2323
golang.org/x/sys v0.16.0 // indirect
2424
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
2525
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)