Skip to content

Conversation

@thpierce
Copy link
Contributor

@thpierce thpierce commented May 9, 2025

Issue description:

We recently added logic to CWA to support copying resource attributes to exported EMF records, so we need to validate this logic.

Description of changes:

Update two tests (changes are not language- or platform- dependent) to specify resource attribute that triggers copy logic in CWA. Update validators to assert behaviour is as expected (resource attributes show up in EMF logs).

Rollback procedure:

We can safely revert this commit if needed.

Ensure you've run the following tests on your changes and include the link below:

Testing from CWA repo, since changes are merged but not released:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

thpierce added a commit to aws/amazon-cloudwatch-agent that referenced this pull request May 9, 2025
@thpierce
Copy link
Contributor Author

thpierce commented Jun 5, 2025

CWAgent released to all commercial regions, this should be safe to merge.

@thpierce thpierce changed the title [DO NOT MERGE] Add resource copy test validation Add resource copy test validation Jun 5, 2025
@thpierce thpierce merged commit 66abb8e into main Jun 5, 2025
1 check passed
@thpierce thpierce deleted the resource-attributes branch June 5, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants