Skip to content

Commit a3a5317

Browse files
MrAliasCopilot
andauthored
Release v1.40.0 (#7859)
### Added - Add `Enabled` method to all synchronous instrument interfaces (`Float64Counter`, `Float64UpDownCounter`, `Float64Histogram`, `Float64Gauge`, `Int64Counter`, `Int64UpDownCounter`, `Int64Histogram`, `Int64Gauge`,) in `go.opentelemetry.io/otel/metric`. This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763) - Add `AlwaysRecord` sampler in `go.opentelemetry.io/otel/sdk/trace`. (#7724) - Add `go.opentelemetry.io/otel/semconv/v1.39.0` package. The package contains semantic conventions from the `v1.39.0` version of the OpenTelemetry Semantic Conventions. See the [migration documentation](https://github.com/open-telemetry/opentelemetry-go/blob/298cbedf256b7a9ab3c21e41fc5e3e6d6e4e94aa/semconv/v1.39.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.38.0.` (#7783, #7789) ### Changed - `Exporter` in `go.opentelemetry.io/otel/exporter/prometheus` ignores metrics with the scope `go.opentelemetry.io/contrib/bridges/prometheus`. This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688) - Improve performance of concurrent histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7474) - Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric`. (#7492) - Improve the concurrent performance of `HistogramReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar` by 4x. (#7443) - Improve performance of concurrent synchronous gauge measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7478) - Improve performance of concurrent exponential histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7702) - Improve the concurrent performance of `FixedSizeReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar`. (#7447) - The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854) - The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854) ### Fixed - Fix bad log message when key-value pairs are dropped because of key duplication in `go.opentelemetry.io/otel/sdk/log`. (#7662) - Fix `DroppedAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not count the non-attribute key-value pairs dropped because of key duplication. (#7662) - Fix `SetAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not log that attributes are dropped when they are actually not dropped. (#7662) - `WithHostID` detector in `go.opentelemetry.io/otel/sdk/resource` to use full path for `ioreg` command on Darwin (macOS). (#7818) - Fix missing `request.GetBody` in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` to correctly handle HTTP2 GOAWAY frame. (#7794) ### Deprecated - Deprecate `go.opentelemetry.io/otel/exporters/zipkin`. For more information, see the [OTel blog post deprecating the Zipkin exporter](https://opentelemetry.io/blog/2025/deprecating-zipkin-exporters/). (#7670) --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 77785da commit a3a5317

File tree

41 files changed

+146
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+146
-143
lines changed

CHANGELOG.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,30 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
88

99
## [Unreleased]
1010

11+
<!-- Released section -->
12+
<!-- Don't change this section unless doing release -->
13+
14+
## [1.40.0/0.62.0/0.16.0] 2026-02-02
15+
1116
### Added
1217

18+
- Add `AlwaysRecord` sampler in `go.opentelemetry.io/otel/sdk/trace`. (#7724)
1319
- Add `Enabled` method to all synchronous instrument interfaces (`Float64Counter`, `Float64UpDownCounter`, `Float64Histogram`, `Float64Gauge`, `Int64Counter`, `Int64UpDownCounter`, `Int64Histogram`, `Int64Gauge`,) in `go.opentelemetry.io/otel/metric`.
1420
This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763)
15-
- Add `AlwaysRecord` sampler in `go.opentelemetry.io/otel/sdk/trace`. (#7724)
1621
- Add `go.opentelemetry.io/otel/semconv/v1.39.0` package.
1722
The package contains semantic conventions from the `v1.39.0` version of the OpenTelemetry Semantic Conventions.
1823
See the [migration documentation](./semconv/v1.39.0/MIGRATION.md) for information on how to upgrade from `go.opentelemetry.io/otel/semconv/v1.38.0.` (#7783, #7789)
1924

2025
### Changed
2126

22-
- `Exporter` in `go.opentelemetry.io/otel/exporter/prometheus` ignores metrics with the scope `go.opentelemetry.io/contrib/bridges/prometheus`.
23-
This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688)
24-
- Improve performance of concurrent histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7474)
25-
- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric`. (#7492)
2627
- Improve the concurrent performance of `HistogramReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar` by 4x. (#7443)
28+
- Improve the concurrent performance of `FixedSizeReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar`. (#7447)
29+
- Improve performance of concurrent histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7474)
2730
- Improve performance of concurrent synchronous gauge measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7478)
31+
- Add experimental observability metrics in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric`. (#7492)
32+
- `Exporter` in `go.opentelemetry.io/otel/exporters/prometheus` ignores metrics with the scope `go.opentelemetry.io/contrib/bridges/prometheus`.
33+
This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688)
2834
- Improve performance of concurrent exponential histogram measurements in `go.opentelemetry.io/otel/sdk/metric`. (#7702)
29-
- Improve the concurrent performance of `FixedSizeReservoir` in `go.opentelemetry.io/otel/sdk/metric/exemplar`. (#7447)
3035
- The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854)
3136
- The `rpc.grpc.status_code` attribute in the experimental metrics emitted from `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc` is replaced with the `rpc.response.status_code` attribute to align with the semantic conventions. (#7854)
3237

@@ -35,17 +40,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
3540
- Fix bad log message when key-value pairs are dropped because of key duplication in `go.opentelemetry.io/otel/sdk/log`. (#7662)
3641
- Fix `DroppedAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not count the non-attribute key-value pairs dropped because of key duplication. (#7662)
3742
- Fix `SetAttributes` on `Record` in `go.opentelemetry.io/otel/sdk/log` to not log that attributes are dropped when they are actually not dropped. (#7662)
43+
- Fix missing `request.GetBody` in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` to correctly handle HTTP/2 `GOAWAY` frame. (#7794)
3844
- `WithHostID` detector in `go.opentelemetry.io/otel/sdk/resource` to use full path for `ioreg` command on Darwin (macOS). (#7818)
39-
- Fix missing `request.GetBody` in `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` to correctly handle HTTP2 GOAWAY frame. (#7794)
4045

4146
### Deprecated
4247

4348
- Deprecate `go.opentelemetry.io/otel/exporters/zipkin`.
4449
For more information, see the [OTel blog post deprecating the Zipkin exporter](https://opentelemetry.io/blog/2025/deprecating-zipkin-exporters/). (#7670)
4550

46-
<!-- Released section -->
47-
<!-- Don't change this section unless doing release -->
48-
4951
## [1.39.0/0.61.0/0.15.0/0.0.14] 2025-12-05
5052

5153
### Added
@@ -3533,7 +3535,8 @@ It contains api and sdk for trace and meter.
35333535
- CircleCI build CI manifest files.
35343536
- CODEOWNERS file to track owners of this project.
35353537

3536-
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...HEAD
3538+
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...HEAD
3539+
[1.40.0/0.62.0/0.16.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.40.0
35373540
[1.39.0/0.61.0/0.15.0/0.0.14]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.39.0
35383541
[1.38.0/0.60.0/0.14.0/0.0.13]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.38.0
35393542
[0.59.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/exporters/prometheus/v0.59.1

bridge/opencensus/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ go 1.24.0
55
require (
66
github.com/stretchr/testify v1.11.1
77
go.opencensus.io v0.24.0
8-
go.opentelemetry.io/otel v1.39.0
9-
go.opentelemetry.io/otel/sdk v1.39.0
10-
go.opentelemetry.io/otel/sdk/metric v1.39.0
11-
go.opentelemetry.io/otel/trace v1.39.0
8+
go.opentelemetry.io/otel v1.40.0
9+
go.opentelemetry.io/otel/sdk v1.40.0
10+
go.opentelemetry.io/otel/sdk/metric v1.40.0
11+
go.opentelemetry.io/otel/trace v1.40.0
1212
)
1313

1414
require (
@@ -20,7 +20,7 @@ require (
2020
github.com/google/uuid v1.6.0 // indirect
2121
github.com/pmezard/go-difflib v1.0.0 // indirect
2222
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
23-
go.opentelemetry.io/otel/metric v1.39.0 // indirect
23+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
2424
golang.org/x/sys v0.40.0 // indirect
2525
gopkg.in/yaml.v3 v3.0.1 // indirect
2626
)

bridge/opencensus/test/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.24.0
44

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

1313
require (
@@ -17,8 +17,8 @@ require (
1717
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
1818
github.com/google/uuid v1.6.0 // indirect
1919
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
20-
go.opentelemetry.io/otel/metric v1.39.0 // indirect
21-
go.opentelemetry.io/otel/sdk/metric v1.39.0 // indirect
20+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
21+
go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect
2222
golang.org/x/sys v0.40.0 // indirect
2323
)
2424

bridge/opencensus/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ package opencensus // import "go.opentelemetry.io/otel/bridge/opencensus"
55

66
// Version is the current release version of the opencensus bridge.
77
func Version() string {
8-
return "1.39.0"
8+
return "1.40.0"
99
}

bridge/opentracing/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ require (
1111
github.com/opentracing-contrib/go-grpc/test v0.0.0-20260120234656-e5a2b314e893
1212
github.com/opentracing/opentracing-go v1.2.0
1313
github.com/stretchr/testify v1.11.1
14-
go.opentelemetry.io/otel v1.39.0
15-
go.opentelemetry.io/otel/trace v1.39.0
14+
go.opentelemetry.io/otel v1.40.0
15+
go.opentelemetry.io/otel/trace v1.40.0
1616
google.golang.org/grpc v1.78.0
1717
)
1818

@@ -24,7 +24,7 @@ require (
2424
github.com/golang/protobuf v1.5.4 // indirect
2525
github.com/pmezard/go-difflib v1.0.0 // indirect
2626
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
27-
go.opentelemetry.io/otel/metric v1.39.0 // indirect
27+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
2828
golang.org/x/net v0.49.0 // indirect
2929
golang.org/x/sys v0.40.0 // indirect
3030
golang.org/x/text v0.33.0 // indirect

exporters/otlp/otlplog/otlploggrpc/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ require (
99
github.com/cenkalti/backoff/v5 v5.0.3
1010
github.com/google/go-cmp v0.7.0
1111
github.com/stretchr/testify v1.11.1
12-
go.opentelemetry.io/otel v1.39.0
13-
go.opentelemetry.io/otel/log v0.15.0
14-
go.opentelemetry.io/otel/metric v1.39.0
15-
go.opentelemetry.io/otel/sdk v1.39.0
16-
go.opentelemetry.io/otel/sdk/log v0.15.0
17-
go.opentelemetry.io/otel/sdk/log/logtest v0.14.0
18-
go.opentelemetry.io/otel/sdk/metric v1.39.0
19-
go.opentelemetry.io/otel/trace v1.39.0
12+
go.opentelemetry.io/otel v1.40.0
13+
go.opentelemetry.io/otel/log v0.16.0
14+
go.opentelemetry.io/otel/metric v1.40.0
15+
go.opentelemetry.io/otel/sdk v1.40.0
16+
go.opentelemetry.io/otel/sdk/log v0.16.0
17+
go.opentelemetry.io/otel/sdk/log/logtest v0.16.0
18+
go.opentelemetry.io/otel/sdk/metric v1.40.0
19+
go.opentelemetry.io/otel/trace v1.40.0
2020
go.opentelemetry.io/proto/otlp v1.9.0
2121
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409
2222
google.golang.org/grpc v1.78.0

exporters/otlp/otlplog/otlploggrpc/internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ package internal // import "go.opentelemetry.io/otel/exporters/otlp/otlplog/otlp
55

66
// Version is the current release version of the OpenTelemetry otlploggrpc
77
// exporter in use.
8-
const Version = "0.14.0"
8+
const Version = "0.16.0"

exporters/otlp/otlplog/otlploghttp/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ require (
1010
github.com/go-logr/logr v1.4.3
1111
github.com/google/go-cmp v0.7.0
1212
github.com/stretchr/testify v1.11.1
13-
go.opentelemetry.io/otel v1.39.0
14-
go.opentelemetry.io/otel/log v0.15.0
15-
go.opentelemetry.io/otel/metric v1.39.0
16-
go.opentelemetry.io/otel/sdk v1.39.0
17-
go.opentelemetry.io/otel/sdk/log v0.15.0
18-
go.opentelemetry.io/otel/sdk/log/logtest v0.14.0
19-
go.opentelemetry.io/otel/sdk/metric v1.39.0
20-
go.opentelemetry.io/otel/trace v1.39.0
13+
go.opentelemetry.io/otel v1.40.0
14+
go.opentelemetry.io/otel/log v0.16.0
15+
go.opentelemetry.io/otel/metric v1.40.0
16+
go.opentelemetry.io/otel/sdk v1.40.0
17+
go.opentelemetry.io/otel/sdk/log v0.16.0
18+
go.opentelemetry.io/otel/sdk/log/logtest v0.16.0
19+
go.opentelemetry.io/otel/sdk/metric v1.40.0
20+
go.opentelemetry.io/otel/trace v1.40.0
2121
go.opentelemetry.io/proto/otlp v1.9.0
2222
google.golang.org/protobuf v1.36.11
2323
)

exporters/otlp/otlplog/otlploghttp/internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
package internal // import "go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp/internal"
55

66
// Version is the current release version of the OpenTelemetry OTLP over HTTP/protobuf logs exporter in use.
7-
const Version = "0.14.0"
7+
const Version = "0.16.0"

exporters/otlp/otlpmetric/otlpmetricgrpc/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ require (
88
github.com/cenkalti/backoff/v5 v5.0.3
99
github.com/google/go-cmp v0.7.0
1010
github.com/stretchr/testify v1.11.1
11-
go.opentelemetry.io/otel v1.39.0
12-
go.opentelemetry.io/otel/sdk v1.39.0
13-
go.opentelemetry.io/otel/sdk/metric v1.39.0
11+
go.opentelemetry.io/otel v1.40.0
12+
go.opentelemetry.io/otel/sdk v1.40.0
13+
go.opentelemetry.io/otel/sdk/metric v1.40.0
1414
go.opentelemetry.io/proto/otlp v1.9.0
1515
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409
1616
google.golang.org/grpc v1.78.0
@@ -26,8 +26,8 @@ require (
2626
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect
2727
github.com/pmezard/go-difflib v1.0.0 // indirect
2828
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
29-
go.opentelemetry.io/otel/metric v1.39.0 // indirect
30-
go.opentelemetry.io/otel/trace v1.39.0 // indirect
29+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
30+
go.opentelemetry.io/otel/trace v1.40.0 // indirect
3131
golang.org/x/net v0.49.0 // indirect
3232
golang.org/x/sys v0.40.0 // indirect
3333
golang.org/x/text v0.33.0 // indirect

0 commit comments

Comments
 (0)