From a03ef24b672efac1d2769257bab052ed83357c29 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:03:40 -0400 Subject: [PATCH 01/16] disable deprecated runtime metrics by default --- instrumentation/runtime/internal/x/x.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/runtime/internal/x/x.go b/instrumentation/runtime/internal/x/x.go index 7ffb473adc3..658066ca39b 100644 --- a/instrumentation/runtime/internal/x/x.go +++ b/instrumentation/runtime/internal/x/x.go @@ -19,7 +19,7 @@ import ( // To disable this feature set the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable // to the case-insensitive string value of "false" (i.e. "False" and "FALSE" // will also enable this). -var DeprecatedRuntimeMetrics = newFeature("DEPRECATED_RUNTIME_METRICS", true) +var DeprecatedRuntimeMetrics = newFeature("DEPRECATED_RUNTIME_METRICS", false) // BoolFeature is an experimental feature control flag. It provides a uniform way // to interact with these feature flags and parse their values. From 70caac397568f67c2292364626682a40a561f694 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:29:12 -0400 Subject: [PATCH 02/16] Update instrumentation/runtime/internal/x/x.go Co-authored-by: David Ashpole --- instrumentation/runtime/internal/x/x.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/runtime/internal/x/x.go b/instrumentation/runtime/internal/x/x.go index 658066ca39b..00df3e686bb 100644 --- a/instrumentation/runtime/internal/x/x.go +++ b/instrumentation/runtime/internal/x/x.go @@ -16,8 +16,8 @@ import ( // runtime metrics should be produced. During development of the new // conventions, it is enabled by default. // -// To disable this feature set the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable -// to the case-insensitive string value of "false" (i.e. "False" and "FALSE" +// To enable this feature set the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable +// to the case-insensitive string value of "true" (i.e. "True" and "TRUE" // will also enable this). var DeprecatedRuntimeMetrics = newFeature("DEPRECATED_RUNTIME_METRICS", false) From b9ae8f88419402d9c40e7cb357d18a47476cb095 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:33:19 -0400 Subject: [PATCH 03/16] always report non-deprecated metrics & update godoc --- instrumentation/runtime/doc.go | 24 ++++++++++++------------ instrumentation/runtime/runtime.go | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/instrumentation/runtime/doc.go b/instrumentation/runtime/doc.go index 2b5e78686d4..6e827391bf8 100644 --- a/instrumentation/runtime/doc.go +++ b/instrumentation/runtime/doc.go @@ -5,6 +5,18 @@ // // The metric events produced are: // +// go.memory.used By Memory used by the Go runtime. +// go.memory.limit By Go runtime memory limit configured by the user, if a limit exists. +// go.memory.allocated By Memory allocated to the heap by the application. +// go.memory.allocations {allocation} Count of allocations to the heap by the application. +// go.memory.gc.goal By Heap size target for the end of the GC cycle. +// go.goroutine.count {goroutine} Count of live goroutines. +// go.processor.limit {thread} The number of OS threads that can execute user-level Go code simultaneously. +// go.config.gogc % Heap size target percentage configured by the user, otherwise 100. + +// When the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable is set to +// true, the following deprecated metrics produced are: +// // runtime.go.cgo.calls - Number of cgo calls made by the current process // runtime.go.gc.count - Number of completed garbage collection cycles // runtime.go.gc.pause_ns (ns) Amount of nanoseconds in GC stop-the-world pauses @@ -19,16 +31,4 @@ // runtime.go.mem.heap_sys (bytes) Bytes of heap memory obtained from the OS // runtime.go.mem.live_objects - Number of live objects is the number of cumulative Mallocs - Frees // runtime.uptime (ms) Milliseconds since application was initialized -// -// When the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable is set to -// false, the metrics produced are: -// -// go.memory.used By Memory used by the Go runtime. -// go.memory.limit By Go runtime memory limit configured by the user, if a limit exists. -// go.memory.allocated By Memory allocated to the heap by the application. -// go.memory.allocations {allocation} Count of allocations to the heap by the application. -// go.memory.gc.goal By Heap size target for the end of the GC cycle. -// go.goroutine.count {goroutine} Count of live goroutines. -// go.processor.limit {thread} The number of OS threads that can execute user-level Go code simultaneously. -// go.config.gogc % Heap size target percentage configured by the user, otherwise 100. package runtime // import "go.opentelemetry.io/contrib/instrumentation/runtime" diff --git a/instrumentation/runtime/runtime.go b/instrumentation/runtime/runtime.go index e1e25be4b75..a6c3d9495c8 100644 --- a/instrumentation/runtime/runtime.go +++ b/instrumentation/runtime/runtime.go @@ -44,7 +44,7 @@ func Start(opts ...Option) error { metric.WithInstrumentationVersion(Version()), ) if x.DeprecatedRuntimeMetrics.Enabled() { - return deprecatedruntime.Start(meter, c.MinimumReadMemStatsInterval) + deprecatedruntime.Start(meter, c.MinimumReadMemStatsInterval) } memoryUsed, err := goconv.NewMemoryUsed(meter) if err != nil { From acacb0a7daeb7b3cb1c5d14e4213efd176acc754 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:36:13 -0400 Subject: [PATCH 04/16] update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c04c8a500a..d2f6e73b0bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed +- New runtime metrics are now emitted by default. Deprecated metrics are emitted when the env var `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS` is set to `true`. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375) From 70d832c21daa04dbbf61aa5969af5dbc583a8ea5 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:41:55 -0400 Subject: [PATCH 05/16] address feedback --- CHANGELOG.md | 2 +- instrumentation/runtime/doc.go | 2 +- instrumentation/runtime/runtime.go | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2f6e73b0bb..5c98c760e08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- New runtime metrics are now emitted by default. Deprecated metrics are emitted when the env var `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS` is set to `true`. (#7418) +- New runtime metrics are now always emitted. Deprecated metrics are emitted when the env var `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS` is set to `true`. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375) diff --git a/instrumentation/runtime/doc.go b/instrumentation/runtime/doc.go index 6e827391bf8..7109cc02f52 100644 --- a/instrumentation/runtime/doc.go +++ b/instrumentation/runtime/doc.go @@ -15,7 +15,7 @@ // go.config.gogc % Heap size target percentage configured by the user, otherwise 100. // When the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable is set to -// true, the following deprecated metrics produced are: +// true, the following deprecated metrics are produced: // // runtime.go.cgo.calls - Number of cgo calls made by the current process // runtime.go.gc.count - Number of completed garbage collection cycles diff --git a/instrumentation/runtime/runtime.go b/instrumentation/runtime/runtime.go index a6c3d9495c8..fec833b573e 100644 --- a/instrumentation/runtime/runtime.go +++ b/instrumentation/runtime/runtime.go @@ -44,7 +44,9 @@ func Start(opts ...Option) error { metric.WithInstrumentationVersion(Version()), ) if x.DeprecatedRuntimeMetrics.Enabled() { - deprecatedruntime.Start(meter, c.MinimumReadMemStatsInterval) + if err := deprecatedruntime.Start(meter, c.MinimumReadMemStatsInterval); err != nil { + return err + } } memoryUsed, err := goconv.NewMemoryUsed(meter) if err != nil { From c48d1161e61b35d91fa647f4974003e23f8507bd Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 14:50:21 -0400 Subject: [PATCH 06/16] update tests - use strconv to ensure compatibility with prior behaviour for value '1' --- instrumentation/runtime/internal/x/x.go | 15 ++++++++------- instrumentation/runtime/internal/x/x_test.go | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/instrumentation/runtime/internal/x/x.go b/instrumentation/runtime/internal/x/x.go index 00df3e686bb..22c78aa4263 100644 --- a/instrumentation/runtime/internal/x/x.go +++ b/instrumentation/runtime/internal/x/x.go @@ -9,7 +9,7 @@ package x // import "go.opentelemetry.io/contrib/instrumentation/runtime/interna import ( "os" - "strings" + "strconv" ) // DeprecatedRuntimeMetrics is an experimental feature flag that defines if the deprecated @@ -43,11 +43,12 @@ func (f BoolFeature) Key() string { return f.key } // Enabled returns if the feature is enabled. func (f BoolFeature) Enabled() bool { v := os.Getenv(f.key) - if strings.ToLower(v) == "false" { - return false - } - if strings.ToLower(v) == "true" { - return true + + val, err := strconv.ParseBool(v) + + if err != nil { + return f.defaultVal } - return f.defaultVal + + return val } diff --git a/instrumentation/runtime/internal/x/x_test.go b/instrumentation/runtime/internal/x/x_test.go index fac942514ff..0667a775c81 100644 --- a/instrumentation/runtime/internal/x/x_test.go +++ b/instrumentation/runtime/internal/x/x_test.go @@ -21,7 +21,7 @@ func TestDeprecatedRuntimeMetrics(t *testing.T) { t.Run("False", run(setenv(key, "False"), assertEnabled(DeprecatedRuntimeMetrics, false))) t.Run("FALSE", run(setenv(key, "FALSE"), assertEnabled(DeprecatedRuntimeMetrics, false))) t.Run("1", run(setenv(key, "1"), assertEnabled(DeprecatedRuntimeMetrics, true))) - t.Run("empty", run(assertEnabled(DeprecatedRuntimeMetrics, true))) + t.Run("empty", run(assertEnabled(DeprecatedRuntimeMetrics, false))) } func run(steps ...func(*testing.T)) func(*testing.T) { From e5203b6718c345af15185102015c1d13a95126ff Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 18:27:00 -0400 Subject: [PATCH 07/16] gofumpt --- instrumentation/runtime/internal/x/x.go | 1 - 1 file changed, 1 deletion(-) diff --git a/instrumentation/runtime/internal/x/x.go b/instrumentation/runtime/internal/x/x.go index 22c78aa4263..95a05d5993e 100644 --- a/instrumentation/runtime/internal/x/x.go +++ b/instrumentation/runtime/internal/x/x.go @@ -45,7 +45,6 @@ func (f BoolFeature) Enabled() bool { v := os.Getenv(f.key) val, err := strconv.ParseBool(v) - if err != nil { return f.defaultVal } From c078a590ce30a6dde4e5a210f226f1d21e7e9e82 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Mon, 2 Jun 2025 18:28:00 -0400 Subject: [PATCH 08/16] adjust godoc --- instrumentation/runtime/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/runtime/doc.go b/instrumentation/runtime/doc.go index 7109cc02f52..fabf952c46d 100644 --- a/instrumentation/runtime/doc.go +++ b/instrumentation/runtime/doc.go @@ -13,7 +13,7 @@ // go.goroutine.count {goroutine} Count of live goroutines. // go.processor.limit {thread} The number of OS threads that can execute user-level Go code simultaneously. // go.config.gogc % Heap size target percentage configured by the user, otherwise 100. - +// // When the OTEL_GO_X_DEPRECATED_RUNTIME_METRICS environment variable is set to // true, the following deprecated metrics are produced: // From 220e866709af6420d83450b294a8dbcb2dd7db53 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Wed, 4 Jun 2025 11:10:39 -0400 Subject: [PATCH 09/16] Update CHANGELOG.md Co-authored-by: Damien Mathieu <42@dmathieu.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c98c760e08..cdcac476071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- New runtime metrics are now always emitted. Deprecated metrics are emitted when the env var `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS` is set to `true`. (#7418) +- Default the emitted metrics to the new ones. Deprecated metrics can be used with the `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable in `go.opentelemetry.io/contrib/instrumentation/runtime`. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375) From fdd1972d4e2b51335ef71f93903d38404e009b72 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 5 Jun 2025 13:33:21 -0400 Subject: [PATCH 10/16] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Pająk --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdcac476071..06d01f7cbb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- Default the emitted metrics to the new ones. Deprecated metrics can be used with the `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable in `go.opentelemetry.io/contrib/instrumentation/runtime`. (#7418) +- `go.opentelemetry.io/contrib/instrumentation/runtime` now produces the new metrics by default. Set `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable to additionally produce the deprecated metrics. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375) From a0d1f2c27a9da03107e1a8db96749b9d2e6752d7 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 5 Jun 2025 13:33:53 -0400 Subject: [PATCH 11/16] drop unneeded t.Setenv --- instrumentation/runtime/runtime_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/instrumentation/runtime/runtime_test.go b/instrumentation/runtime/runtime_test.go index 131a54118ce..64c653162e8 100644 --- a/instrumentation/runtime/runtime_test.go +++ b/instrumentation/runtime/runtime_test.go @@ -63,7 +63,6 @@ func TestRuntimeWithLimit(t *testing.T) { // buffer for allocating memory var buffer [][]byte _ = allocateMemory(buffer) - t.Setenv("OTEL_GO_X_DEPRECATED_RUNTIME_METRICS", "false") debug.SetMemoryLimit(1234567890) // reset to default defer debug.SetMemoryLimit(math.MaxInt64) From d62abe7e4a815937cb10396e0c83e0556d0de307 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 5 Jun 2025 13:37:05 -0400 Subject: [PATCH 12/16] update README.md --- instrumentation/runtime/internal/x/README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/instrumentation/runtime/internal/x/README.md b/instrumentation/runtime/internal/x/README.md index a2367651a09..1333d971b5b 100644 --- a/instrumentation/runtime/internal/x/README.md +++ b/instrumentation/runtime/internal/x/README.md @@ -13,16 +13,7 @@ change in backwards incompatible ways as feedback is applied. ### Include Deprecated Metrics -Once new experimental runtime metrics are added, they will be produced -**in addition to** the existing runtime metrics. Users that migrate right away -can disable the old runtime metrics: - -```console -export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=false -``` - -In a later release, the deprecated runtime metrics will stop being produced by -default. To temporarily re-enable the deprecated metrics: +To temporarily re-enable the deprecated metrics: ```console export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true From ac10f21b2245e77b08d609a5f10ba73a9c38ea4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 5 Jun 2025 20:26:19 +0200 Subject: [PATCH 13/16] Update README.md --- instrumentation/runtime/internal/x/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/runtime/internal/x/README.md b/instrumentation/runtime/internal/x/README.md index 1333d971b5b..1826584e737 100644 --- a/instrumentation/runtime/internal/x/README.md +++ b/instrumentation/runtime/internal/x/README.md @@ -19,7 +19,7 @@ To temporarily re-enable the deprecated metrics: export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true ``` -After two additional releases, the deprecated runtime metrics will be removed, +In the next release, the deprecated runtime metrics will be removed, and setting the environment variable will no longer have any effect. The value set must be the case-insensitive string of `"true"` to enable the From 71975dc0d1771ec73a5a08e615134c3d0f834634 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 5 Jun 2025 14:31:52 -0400 Subject: [PATCH 14/16] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Pająk --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06d01f7cbb5..28c3c8b1991 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- `go.opentelemetry.io/contrib/instrumentation/runtime` now produces the new metrics by default. Set `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable to additionally produce the deprecated metrics. (#7418) +- `go.opentelemetry.io/contrib/instrumentation/runtime` now produces the new metrics by default. Set `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable to additionally produce the deprecated metrics. The next release will drop support for this environment variable. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375) From ebccd70dbee2ac36483e596dc53cd5bc228b4fe8 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Thu, 5 Jun 2025 14:44:54 -0400 Subject: [PATCH 15/16] Update instrumentation/runtime/internal/x/README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Pająk --- instrumentation/runtime/internal/x/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/runtime/internal/x/README.md b/instrumentation/runtime/internal/x/README.md index 1826584e737..00170e1a687 100644 --- a/instrumentation/runtime/internal/x/README.md +++ b/instrumentation/runtime/internal/x/README.md @@ -19,7 +19,7 @@ To temporarily re-enable the deprecated metrics: export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true ``` -In the next release, the deprecated runtime metrics will be removed, +Eventually, the deprecated runtime metrics will be removed, and setting the environment variable will no longer have any effect. The value set must be the case-insensitive string of `"true"` to enable the From 14e77d641a5358b12f664b2fa81e4a4f307c3218 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Thu, 5 Jun 2025 14:45:03 -0400 Subject: [PATCH 16/16] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Pająk --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90a94010259..83a3512d30f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- `go.opentelemetry.io/contrib/instrumentation/runtime` now produces the new metrics by default. Set `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable to additionally produce the deprecated metrics. The next release will drop support for this environment variable. (#7418) +- `go.opentelemetry.io/contrib/instrumentation/runtime` now produces the new metrics by default. Set `OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true` environment variable to additionally produce the deprecated metrics. (#7418) - The semantic conventions have been upgraded from `v1.30.0` to `v1.32.0` in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`. (#7361) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/ec2`. (#7373) - The semantic conventions have been upgraded from `v1.26.0` to `v1.32.0` in `go.opentelemetry.io/contrib/detectors/aws/eks`. (#7375)