alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Update cloudwatch exporter dependency

Open andriikushch opened this issue 9 months ago • 3 comments

PR Description

This PR adds a new configuration parameter for the Cloudwatch exporter. It allows to specify the AWS SDK version to use. v1 is the default version.

It was achieved by updating and integrating the version of the github.com/nerdswords/yet-another-cloudwatch-exporter package and all dependencies that it depends on.

According to the https://github.com/nerdswords/yet-another-cloudwatch-exporter/blob/a275f94e5d33b3b5330ecfced86c290e1db05928/pkg/config/feature_flags.go#L10 , using the AWS SDK v2, should improve performance.

Breaking change:

After this change, using aliases for the AWS service names is no longer allowed.

Which issue(s) this PR fixes

N.A.

A related change in the Agent project:

  • https://github.com/grafana/agent/pull/6835

Notes to the Reviewer

PR Checklist

  • [x] CHANGELOG.md updated
  • [x] Documentation added
  • [x] Tests updated
  • [x] Config converters updated

andriikushch avatar May 14 '24 09:05 andriikushch