From 6e707b30a56887239a4cecfdbb7979c5f95a3839 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 09:24:56 -0700 Subject: [PATCH 1/8] Deprecate the AWS EC2 detector (#5636) Towards #5542 --- CHANGELOG.md | 3 +++ detectors/aws/ec2/ec2.go | 9 +++++++++ detectors/aws/ec2/go.mod | 1 + 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c312c5eb50..d660719cc80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,10 @@ 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/detectors/aws/ec2` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5542]. (#5636) +[#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/detectors/aws/ec2/ec2.go b/detectors/aws/ec2/ec2.go index ee8aade2ed6..cce1f0db5a2 100644 --- a/detectors/aws/ec2/ec2.go +++ b/detectors/aws/ec2/ec2.go @@ -1,6 +1,15 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package ec2 provide an OpenTelemetry resource detector for AWS EC2 +// instances. +// +// Deprecated: ec2 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/5542 package ec2 // import "go.opentelemetry.io/contrib/detectors/aws/ec2" import ( diff --git a/detectors/aws/ec2/go.mod b/detectors/aws/ec2/go.mod index 3db0df5a117..1d89a9b6ecc 100644 --- a/detectors/aws/ec2/go.mod +++ b/detectors/aws/ec2/go.mod @@ -1,3 +1,4 @@ +// Deprecated: ec2 has no Code Owner. module go.opentelemetry.io/contrib/detectors/aws/ec2 go 1.21 From 8b96509f58656cd61bd393f5201fd25f0ff748b2 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 09:35:17 -0700 Subject: [PATCH 2/8] Deprecate the AWS ECS detector (#5638) Towards #5543 --- CHANGELOG.md | 3 +++ detectors/aws/ecs/ecs.go | 9 +++++++++ detectors/aws/ecs/go.mod | 1 + detectors/aws/ecs/test/ecs_test.go | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d660719cc80..25ee8862e6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,8 +14,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm 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/detectors/aws/ec2` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5542]. (#5636) +- The `go.opentelemetry.io/contrib/detectors/aws/ecs` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5543]. (#5637) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 +[#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/detectors/aws/ecs/ecs.go b/detectors/aws/ecs/ecs.go index fe5c3423834..1da3125a064 100644 --- a/detectors/aws/ecs/ecs.go +++ b/detectors/aws/ecs/ecs.go @@ -1,6 +1,15 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package ecs provide an OpenTelemetry resource detector for AWS ECS +// instances. +// +// Deprecated: ecs 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/5543 package ecs // import "go.opentelemetry.io/contrib/detectors/aws/ecs" import ( diff --git a/detectors/aws/ecs/go.mod b/detectors/aws/ecs/go.mod index d5b13ea9017..f31d52c3587 100644 --- a/detectors/aws/ecs/go.mod +++ b/detectors/aws/ecs/go.mod @@ -1,3 +1,4 @@ +// Deprecated: ecs has no Code Owner. module go.opentelemetry.io/contrib/detectors/aws/ecs go 1.21 diff --git a/detectors/aws/ecs/test/ecs_test.go b/detectors/aws/ecs/test/ecs_test.go index a34b2da5ecd..52543963bcf 100644 --- a/detectors/aws/ecs/test/ecs_test.go +++ b/detectors/aws/ecs/test/ecs_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - ecs "go.opentelemetry.io/contrib/detectors/aws/ecs" + ecs "go.opentelemetry.io/contrib/detectors/aws/ecs" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/resource" semconv "go.opentelemetry.io/otel/semconv/v1.25.0" From 8d6c4f26b62c5aa65baa4ec00da6f4d65e512c92 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 09:45:01 -0700 Subject: [PATCH 3/8] Deprecate otelmongo/test (#5639) Part of #5551 Follow up to a missing change not included in #5598. We want to deprecate `otelmongo` and `otelmongo/test` at the same time. --- .../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..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 @@ -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: 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. + +[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..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,3 +1,4 @@ +// Deprecated: otelmongo has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test go 1.21 From a31d69e4c3e443f59f93335fb6a25ffc872dcd40 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 09:58:56 -0700 Subject: [PATCH 4/8] Deprecate the AWS EKS detector (#5640) Towards #5544 --- CHANGELOG.md | 3 +++ detectors/aws/eks/detector.go | 9 +++++++++ detectors/aws/eks/go.mod | 1 + 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25ee8862e6b..d83e22f5038 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,9 +16,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm If you would like to become a Code Owner of this module and prevent it from being removed, see [#5542]. (#5636) - The `go.opentelemetry.io/contrib/detectors/aws/ecs` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5543]. (#5637) +- The `go.opentelemetry.io/contrib/detectors/aws/eks` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5544]. (#5640) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 +[#5544]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5544 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/detectors/aws/eks/detector.go b/detectors/aws/eks/detector.go index 81202284c48..23289be84df 100644 --- a/detectors/aws/eks/detector.go +++ b/detectors/aws/eks/detector.go @@ -1,6 +1,15 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package eks provide an OpenTelemetry resource detector for AWS EKS +// instances. +// +// Deprecated: eks 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/5544 package eks // import "go.opentelemetry.io/contrib/detectors/aws/eks" import ( diff --git a/detectors/aws/eks/go.mod b/detectors/aws/eks/go.mod index cf9d11b50b8..d3b45ec781b 100644 --- a/detectors/aws/eks/go.mod +++ b/detectors/aws/eks/go.mod @@ -1,3 +1,4 @@ +// Deprecated: eks has no Code Owner. module go.opentelemetry.io/contrib/detectors/aws/eks go 1.21 From a48eea8a022500dc4dd1f6d8f870051a5bc315bc Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 11:01:13 -0700 Subject: [PATCH 5/8] Deprecate the AWS Lambda detector (#5641) Towards #5545 --- CHANGELOG.md | 3 +++ detectors/aws/lambda/detector.go | 9 +++++++++ detectors/aws/lambda/go.mod | 1 + .../aws/aws-lambda-go/otellambda/example/main.go | 2 +- .../aws/aws-lambda-go/otellambda/test/lambda_test.go | 2 +- .../aws-lambda-go/otellambda/xrayconfig/xrayconfig.go | 2 +- 6 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d83e22f5038..7c0e89d2a39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,10 +18,13 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm If you would like to become a Code Owner of this module and prevent it from being removed, see [#5543]. (#5637) - The `go.opentelemetry.io/contrib/detectors/aws/eks` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5544]. (#5640) +- The `go.opentelemetry.io/contrib/detectors/aws/lambda` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5545]. (#5641) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 [#5544]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5544 +[#5545]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5545 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/detectors/aws/lambda/detector.go b/detectors/aws/lambda/detector.go index 420d876bb5f..38d2beb5e5e 100644 --- a/detectors/aws/lambda/detector.go +++ b/detectors/aws/lambda/detector.go @@ -1,6 +1,15 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package lambda provide an OpenTelemetry resource detector for AWS Lambda +// instances. +// +// Deprecated: lambda 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/5545 package lambda // import "go.opentelemetry.io/contrib/detectors/aws/lambda" import ( diff --git a/detectors/aws/lambda/go.mod b/detectors/aws/lambda/go.mod index e07a966deed..fe60cb3904c 100644 --- a/detectors/aws/lambda/go.mod +++ b/detectors/aws/lambda/go.mod @@ -1,3 +1,4 @@ +// Deprecated: lambda has no Code Owner. module go.opentelemetry.io/contrib/detectors/aws/lambda go 1.21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go index bdcafc7008f..35d11522ebe 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go @@ -14,7 +14,7 @@ import ( awsConfig "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go index b21d25d31c2..c814f80a2fe 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go @@ -19,7 +19,7 @@ import ( "github.com/aws/aws-lambda-go/lambdacontext" "github.com/stretchr/testify/assert" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" "go.opentelemetry.io/contrib/propagators/aws/xray" "go.opentelemetry.io/otel/attribute" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go index 9b9bdcce74e..314d25c87a8 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go @@ -7,7 +7,7 @@ import ( "context" "os" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" "go.opentelemetry.io/contrib/propagators/aws/xray" "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" From a520f281d284b4e1f8323f34e9b8d1fbcb9867eb Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 11:27:21 -0700 Subject: [PATCH 6/8] Deprecate otellambda (#5642) Towards #5546 --- CHANGELOG.md | 3 +++ .../github.com/aws/aws-lambda-go/otellambda/doc.go | 7 +++++++ .../aws/aws-lambda-go/otellambda/example/README.md | 4 +++- .../aws/aws-lambda-go/otellambda/example/go.mod | 1 + .../aws/aws-lambda-go/otellambda/example/main.go | 4 ++-- .../github.com/aws/aws-lambda-go/otellambda/go.mod | 1 + .../aws/aws-lambda-go/otellambda/test/doc.go | 7 +++++++ .../aws/aws-lambda-go/otellambda/test/go.mod | 1 + .../aws/aws-lambda-go/otellambda/test/lambda_test.go | 4 ++-- .../aws-lambda-go/otellambda/xrayconfig/README.md | 2 ++ .../aws/aws-lambda-go/otellambda/xrayconfig/go.mod | 1 + .../otellambda/xrayconfig/xrayconfig.go | 12 ++++++++++-- .../otellambda/xrayconfig/xrayconfig_test.go | 2 +- 13 files changed, 41 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c0e89d2a39..a445ceb8f69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,11 +20,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm If you would like to become a Code Owner of this module and prevent it from being removed, see [#5544]. (#5640) - The `go.opentelemetry.io/contrib/detectors/aws/lambda` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5545]. (#5641) +- The `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5546]. (#5642) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 [#5544]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5544 [#5545]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5545 +[#5546]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5546 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/doc.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/doc.go index 217361ff4da..984d08dccfb 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/doc.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/doc.go @@ -8,4 +8,11 @@ // // lambda.Start() entrypoint: lambda.Start(otellambda.InstrumentHandler()) // lambda.StartHandler() entrypoint: lambda.StartHandler(otellambda.WrapHandler()) +// +// Deprecated: otellambda 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/5546 package otellambda // import "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/README.md b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/README.md index 24fa6355bb0..8869b2e55fe 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/README.md +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/README.md @@ -1,5 +1,7 @@ # aws/aws-lambda-go instrumentation example +:warning: Deprecated: otellambda has no Code Owner. + A simple example to demonstrate the AWS Lambda for Go instrumentation. In this example, container `aws-lambda-client` initializes an S3 client and an HTTP client and runs 2 basic operations: `listS3Buckets` and `GET`. @@ -31,4 +33,4 @@ Note: Because the example runs on AWS Lambda, a handful of resources are created ```sh ./manualAWSCleanup.sh -``` \ No newline at end of file +``` diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/go.mod b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/go.mod index 3a6a4db88c1..b731d029248 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/go.mod +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otellambda has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/example go 1.21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go index 35d11522ebe..a9fa97f41a5 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go @@ -14,8 +14,8 @@ import ( awsConfig "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/otel" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/go.mod b/instrumentation/github.com/aws/aws-lambda-go/otellambda/go.mod index 60263bd0d55..5bb3bdeadb4 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/go.mod +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otellambda has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda go 1.21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/doc.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/doc.go index b2d0819bf0d..fb89b7f6eb9 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/doc.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/doc.go @@ -6,5 +6,12 @@ Package test validates AWS Lambda 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: otellambda 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/5546 */ package test // import "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/test" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/go.mod b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/go.mod index 24b4bb7dec3..a46f92b68bf 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/go.mod +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otellambda has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/test go 1.21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go index c814f80a2fe..3b00fb8b091 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/test/lambda_test.go @@ -19,8 +19,8 @@ import ( "github.com/aws/aws-lambda-go/lambdacontext" "github.com/stretchr/testify/assert" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/propagators/aws/xray" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/propagation" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/README.md b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/README.md index 18ae68d3322..a22a75c1883 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/README.md +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/README.md @@ -3,6 +3,8 @@ [![Go Reference][goref-image]][goref-url] [![Apache License][license-image]][license-url] +:warning: Deprecated: otellambda has no Code Owner. + This module provides recommended configuration options for [`AWS Lambda Instrumentation`](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation/github.com/aws/aws-lambda-go/otellambda) when using [AWS X-Ray](https://aws.amazon.com/xray/). By using this configuration, trace context will automatically be extracted from incoming requests with the `X-Amzn-Trace-Id` header if present. Trace context will also always be injected using the `X-Amzn-Trace-Id` format into downstream requests from the Lambda function. ## Installation diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod index 353bae61184..ccc42ac8f19 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otellambda has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig go 1.21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go index 314d25c87a8..d610709908e 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig.go @@ -1,14 +1,22 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package xrayconfig provides configuration for the otellambda package. +// +// Deprecated: otellambda 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/5546 package xrayconfig // import "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig" import ( "context" "os" - lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" + lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/propagators/aws/xray" "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" "go.opentelemetry.io/otel/propagation" diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig_test.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig_test.go index ac9f7dd3e95..d7235e4510e 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig_test.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/xrayconfig_test.go @@ -14,7 +14,7 @@ import ( "github.com/aws/aws-lambda-go/lambdacontext" "github.com/stretchr/testify/assert" - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/propagators/aws/xray" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" From f4c0798e80d74b728fd774d8d14782501085874b Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 11:40:13 -0700 Subject: [PATCH 7/8] Deprecate otelaws (#5643) Towards #5547 --- CHANGELOG.md | 3 +++ .../aws/aws-lambda-go/otellambda/example/main.go | 2 +- .../github.com/aws/aws-sdk-go-v2/otelaws/aws.go | 8 ++++++++ .../aws/aws-sdk-go-v2/otelaws/example/README.md | 2 ++ .../github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod | 1 + .../github.com/aws/aws-sdk-go-v2/otelaws/example/main.go | 2 +- .../github.com/aws/aws-sdk-go-v2/otelaws/go.mod | 1 + .../github.com/aws/aws-sdk-go-v2/otelaws/test/aws_test.go | 2 +- .../github.com/aws/aws-sdk-go-v2/otelaws/test/doc.go | 7 +++++++ .../aws-sdk-go-v2/otelaws/test/dynamodbattributes_test.go | 2 +- .../github.com/aws/aws-sdk-go-v2/otelaws/test/go.mod | 1 + 11 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a445ceb8f69..f3cd4f95ab7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,12 +22,15 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm If you would like to become a Code Owner of this module and prevent it from being removed, see [#5545]. (#5641) - The `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5546]. (#5642) +- The `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5547]. (#5643) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 [#5544]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5544 [#5545]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5545 [#5546]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5546 +[#5547]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5547 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go index a9fa97f41a5..66d11986dd4 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/example/main.go @@ -16,7 +16,7 @@ import ( lambdadetector "go.opentelemetry.io/contrib/detectors/aws/lambda" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda" // nolint:staticcheck // deprecated. - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" // nolint:staticcheck // deprecated. "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/aws.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/aws.go index 5709db82cf4..3af277b9593 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/aws.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/aws.go @@ -1,6 +1,14 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 +// Package otelaws instruments the github.com/aws/aws-sdk-go-v2 package. +// +// Deprecated: otelaws 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/5547 package otelaws // import "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" import ( diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/README.md b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/README.md index f61d666588c..195cb3e8a32 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/README.md +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/README.md @@ -1,5 +1,7 @@ # aws/aws-sdk-go-v2 instrumentation example +:warning: Deprecated: otelaws has no Code Owner. + A simple example to demonstrate the AWS SDK V2 for Go instrumentation. In this example, container `aws-sdk-client` initializes a S3 client and a DynamoDB client and runs 2 basic operations: `listS3Buckets` and `listDynamodbTables`. diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod index 8f0f2bf9cbf..2bd87b713dc 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelaws has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example go 1.21 diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/main.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/main.go index b5e6bfa2886..b8e37d4c8c9 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/main.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example/main.go @@ -12,7 +12,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/dynamodb" "github.com/aws/aws-sdk-go-v2/service/s3" - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel" stdout "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" sdktrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/go.mod b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/go.mod index 85c744cd0a4..dcad79bec44 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/go.mod +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelaws has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws go 1.21 diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/aws_test.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/aws_test.go index 7687367c3ac..d24c3778c87 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/aws_test.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/aws_test.go @@ -17,7 +17,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" sdktrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/doc.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/doc.go index 828b3d76f6c..af3de15a71a 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/doc.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/doc.go @@ -7,5 +7,12 @@ Package test validates the otelaws 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: otelaws 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/5547 */ package test // import "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test" diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/dynamodbattributes_test.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/dynamodbattributes_test.go index b67d64c1f9c..97c975ad4cc 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/dynamodbattributes_test.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/dynamodbattributes_test.go @@ -18,7 +18,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" + "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" sdktrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/go.mod b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/go.mod index 100e0d24f83..cfa53951bb9 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/go.mod +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelaws has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test go 1.21 From 1548e3f474a23b20c3034abf31941692002322b9 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 23 May 2024 11:48:43 -0700 Subject: [PATCH 8/8] Deprecate otelmux (#5644) Towards #5549 --- CHANGELOG.md | 3 +++ instrumentation/github.com/gorilla/mux/otelmux/doc.go | 7 +++++++ .../github.com/gorilla/mux/otelmux/example/README.md | 2 ++ .../github.com/gorilla/mux/otelmux/example/go.mod | 1 + .../github.com/gorilla/mux/otelmux/example/server.go | 2 +- instrumentation/github.com/gorilla/mux/otelmux/go.mod | 1 + instrumentation/github.com/gorilla/mux/otelmux/test/doc.go | 7 +++++++ instrumentation/github.com/gorilla/mux/otelmux/test/go.mod | 1 + .../github.com/gorilla/mux/otelmux/test/mux_test.go | 2 +- 9 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cd4f95ab7..ac83415f0e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm If you would like to become a Code Owner of this module and prevent it from being removed, see [#5546]. (#5642) - The `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws` package is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see [#5547]. (#5643) +- The `go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux` package is deprecated. + If you would like to become a Code Owner of this module and prevent it from being removed, see [#5549]. (#5644) [#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542 [#5543]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5543 @@ -31,6 +33,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm [#5545]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5545 [#5546]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5546 [#5547]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5547 +[#5549]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5549 [#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551 ## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21 diff --git a/instrumentation/github.com/gorilla/mux/otelmux/doc.go b/instrumentation/github.com/gorilla/mux/otelmux/doc.go index 0d4d92a7929..e49088d67b4 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/doc.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/doc.go @@ -5,4 +5,11 @@ // // Currently only the routing of a received message can be instrumented. To do // it, use the Middleware function. +// +// Deprecated: otelmux 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/5549 package otelmux // import "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux" diff --git a/instrumentation/github.com/gorilla/mux/otelmux/example/README.md b/instrumentation/github.com/gorilla/mux/otelmux/example/README.md index 3b201c743ee..f1d2ee01228 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/example/README.md +++ b/instrumentation/github.com/gorilla/mux/otelmux/example/README.md @@ -1,5 +1,7 @@ # gorilla/mux instrumentation example +:warning: Deprecated: otelmux has no Code Owner. + An HTTP server using gorilla/mux and instrumentation. The server has a `/users/{id:[0-9]+}` endpoint. The server generates span information to `stdout`. diff --git a/instrumentation/github.com/gorilla/mux/otelmux/example/go.mod b/instrumentation/github.com/gorilla/mux/otelmux/example/go.mod index 691048ec5b3..5177ca3274e 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/example/go.mod +++ b/instrumentation/github.com/gorilla/mux/otelmux/example/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelmux has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/example go 1.21 diff --git a/instrumentation/github.com/gorilla/mux/otelmux/example/server.go b/instrumentation/github.com/gorilla/mux/otelmux/example/server.go index 8b4c8a56ee4..6d6fcca0fd3 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/example/server.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/example/server.go @@ -11,7 +11,7 @@ import ( "github.com/gorilla/mux" - "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux" + "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" stdout "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" diff --git a/instrumentation/github.com/gorilla/mux/otelmux/go.mod b/instrumentation/github.com/gorilla/mux/otelmux/go.mod index 9452d548bd1..bd4c82fb770 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/go.mod +++ b/instrumentation/github.com/gorilla/mux/otelmux/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelmux has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux go 1.21 diff --git a/instrumentation/github.com/gorilla/mux/otelmux/test/doc.go b/instrumentation/github.com/gorilla/mux/otelmux/test/doc.go index 5b405f7eb19..aaa9d0cc48d 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/test/doc.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/test/doc.go @@ -7,5 +7,12 @@ Package test validates the otelmux 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: otelmux 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/5549 */ package test // import "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test" diff --git a/instrumentation/github.com/gorilla/mux/otelmux/test/go.mod b/instrumentation/github.com/gorilla/mux/otelmux/test/go.mod index 94f663e046f..f220edf4b30 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/test/go.mod +++ b/instrumentation/github.com/gorilla/mux/otelmux/test/go.mod @@ -1,3 +1,4 @@ +// Deprecated: otelmux has no Code Owner. module go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test go 1.21 diff --git a/instrumentation/github.com/gorilla/mux/otelmux/test/mux_test.go b/instrumentation/github.com/gorilla/mux/otelmux/test/mux_test.go index 13e900b5ca1..cd7171cfdd7 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/test/mux_test.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/test/mux_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux" + "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux" // nolint:staticcheck // deprecated. "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/propagation"