Skip to content

fix(prometheus.exporter.cloudwatch): Respect debug flag#5469

Merged
kalleep merged 1 commit intografana:mainfrom
holgerjh:fix/cloudwatch-exporter
Feb 9, 2026
Merged

fix(prometheus.exporter.cloudwatch): Respect debug flag#5469
kalleep merged 1 commit intografana:mainfrom
holgerjh:fix/cloudwatch-exporter

Conversation

@holgerjh
Copy link
Contributor

@holgerjh holgerjh commented Feb 6, 2026

Brief description of Pull Request

This PR

  1. adds a logging wrapper for the decoupled cloudwatch exporter
  2. fixes arguments in cloudwatch exporter construction calls

The changes are related to #4553 where 1. was added for the "normal" cloudwatch exporter.

Issue(s) fixed by this Pull Request

Fixes #4541

Notes to the Reviewer

I could not run alloy locally since I currently have no access to cloudwatch. I verified that build works and added some Unittests to cover the changes to the logger. The golang-ci linter takes ages on my machine due to some network hickups today so I could not run all linters.

PR Checklist

  • Tests updated

…er; fix arguments in cloudwatch exporter construction
Copy link
Contributor

@kalleep kalleep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@holgerjh
Copy link
Contributor Author

holgerjh commented Feb 9, 2026

Hey @kalleep looks like I overlooked the PR title convention. Should I open a new PR since I cannot edit the title anymore or is it possible for you to update the title?

@kalleep kalleep changed the title fix(integration): add logging wrapper for decoupled cloudwatch exporter; fix arguments fix(prometheus.exporter.cloudwatch): Respect debug flag Feb 9, 2026
@kalleep kalleep merged commit 44ade00 into grafana:main Feb 9, 2026
43 of 44 checks passed
@grafana-alloybot grafana-alloybot bot mentioned this pull request Feb 9, 2026
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CloudWatch exporter logs AWS STS requests at DEBUG after upgrading Alloy from v1.10.1 → v1.11.0, even with 'debug = false'

2 participants