diff --git a/CHANGELOG.md b/CHANGELOG.md index fb1ced598b8..92d64c4bac8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -70,6 +70,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The deprecated `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor` package is removed, use `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters` instead. (#7110) - The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc`, use `Version` function instead. (#7143) - The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/test`, use `Version` function instead. (#7143) +- The deprecated `SQSAttributeSetter` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws` package, use `SQSAttributeBuilder` instead. (#7145) diff --git a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go index c1ee37f31be..8225a7c8f3e 100644 --- a/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go +++ b/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/sqsattributes.go @@ -13,13 +13,6 @@ import ( semconv "go.opentelemetry.io/otel/semconv/v1.21.0" ) -// SQSAttributeSetter sets SQS specific attributes depending on the SQS operation being performed. -// -// Deprecated: Use SQSAttributeBuilder instead. This will be removed in a future release. -func SQSAttributeSetter(ctx context.Context, in middleware.InitializeInput) []attribute.KeyValue { - return SQSAttributeBuilder(ctx, in, middleware.InitializeOutput{}) -} - // SQSAttributeBuilder sets SQS specific attributes depending on the SQS operation being performed. func SQSAttributeBuilder(ctx context.Context, in middleware.InitializeInput, out middleware.InitializeOutput) []attribute.KeyValue { sqsAttributes := []attribute.KeyValue{semconv.MessagingSystem("AmazonSQS")}