Skip to content

Commit 6e707b3

Browse files
authored
Deprecate the AWS EC2 detector (#5636)
Towards #5542
1 parent f18c842 commit 6e707b3

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1212

1313
- The `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo` package is deprecated.
1414
If you would like to become a Code Owner of this module and prevent it from being removed, see [#5551]. (#5598)
15+
- The `go.opentelemetry.io/contrib/detectors/aws/ec2` package is deprecated.
16+
If you would like to become a Code Owner of this module and prevent it from being removed, see [#5542]. (#5636)
1517

18+
[#5542]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542
1619
[#5551]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5551
1720

1821
## [1.27.0/0.52.0/0.21.0/0.7.0/0.2.0] - 2024-05-21

detectors/aws/ec2/ec2.go

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4+
// Package ec2 provide an OpenTelemetry resource detector for AWS EC2
5+
// instances.
6+
//
7+
// Deprecated: ec2 has no Code Owner.
8+
// After August 21, 2024, it may no longer be supported and may stop
9+
// receiving new releases unless a new Code Owner is found. See
10+
// [this issue] if you would like to become the Code Owner of this module.
11+
//
12+
// [this issue]: https://github.com/open-telemetry/opentelemetry-go-contrib/issues/5542
413
package ec2 // import "go.opentelemetry.io/contrib/detectors/aws/ec2"
514

615
import (

detectors/aws/ec2/go.mod

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Deprecated: ec2 has no Code Owner.
12
module go.opentelemetry.io/contrib/detectors/aws/ec2
23

34
go 1.21

0 commit comments

Comments
 (0)