Skip to content

Commit

Permalink
Deprecate the AWS EC2 detector (#5636)
Browse files Browse the repository at this point in the history
Towards #5542
  • Loading branch information
MrAlias authored May 23, 2024
1 parent f18c842 commit 6e707b3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions detectors/aws/ec2/ec2.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
1 change: 1 addition & 0 deletions detectors/aws/ec2/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Deprecated: ec2 has no Code Owner.
module go.opentelemetry.io/contrib/detectors/aws/ec2

go 1.21
Expand Down

0 comments on commit 6e707b3

Please sign in to comment.