From 13c586c8be0f60df3d2564c1b61b7f07d0021fc4 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Wed, 22 May 2024 09:33:34 -0700 Subject: [PATCH 1/3] Deprecate otelmongo/test --- .../mongo-driver/mongo/otelmongo/test/doc.go | 7 +++++++ .../mongo-driver/mongo/otelmongo/test/go.mod | 1 + 2 files changed, 8 insertions(+) diff --git a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go index 532c75d9a5b..24c3d0c255c 100644 --- a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go +++ b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go @@ -7,5 +7,12 @@ Package test validates the otelmongo instrumentation with the default SDK. This package is in a separate module from the instrumentation it tests to isolate the dependency of the default SDK and not impose this as a transitive dependency for users. + +Deprecated: test has no Code Owner. +After August 21, 2024, it may no longer be supported and may stop +receiving new releases unless a new Code Owner is found. See +[this issue] if you would like to become the Code Owner of this module. + +[this issue]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 */ package test // import "go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test" diff --git a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod index d7ec8fbd7ae..e976c2cf5ca 100644 --- a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod +++ b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod @@ -1,3 +1,4 @@ +// Deprecated: test has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test go 1.21 From 6f915ec0f5ed2ba49f6e3217255f7252f1cb0294 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Wed, 22 May 2024 09:35:43 -0700 Subject: [PATCH 2/3] Add a changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c312c5eb50..5f0eb623e8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5551]. (#5598) +- The `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5551]. (#5693) [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 From 2f2af38ba5b34d76126a545b54998c80e62c2427 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Wed, 22 May 2024 09:49:05 -0700 Subject: [PATCH 3/3] Apply feedback Reference otelmongo in deprecation notice and do not add a changelog entry for this. --- CHANGELOG.md | 2 -- .../go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go | 2 +- .../go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f0eb623e8f..1c312c5eb50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,8 +12,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5551]. (#5598) -- The `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test` package is deprecated. - If you would like to become a Code Owner of this module and prevent it from being removed, see [#5551]. (#5693) [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 diff --git a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go index 24c3d0c255c..90730b832a2 100644 --- a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go +++ b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/doc.go @@ -8,7 +8,7 @@ This package is in a separate module from the instrumentation it tests to isolate the dependency of the default SDK and not impose this as a transitive dependency for users. -Deprecated: test has no Code Owner. +Deprecated: otelmongo has no Code Owner. After August 21, 2024, it may no longer be supported and may stop receiving new releases unless a new Code Owner is found. See [this issue] if you would like to become the Code Owner of this module. diff --git a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod index e976c2cf5ca..04f235848af 100644 --- a/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod +++ b/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test/go.mod @@ -1,4 +1,4 @@ -// Deprecated: test has no Code Owner. +// Deprecated: otelmongo has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test go 1.21