awslabs / aws-embedded-metrics-dotnet

Amazon CloudWatch Embedded Metric Format Client Library
Apache License 2.0
22 stars 14 forks source link

Fix canary not connecting to CW Agent #39

Closed markkuhn closed 2 years ago

markkuhn commented 2 years ago

Description of changes: Canary is not connecting to the CW Agent. This PR upgrades .NET from 3.1 to 6.0 and upgrades the CloudWatch Agent to the version 1.247354.0b251981.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

gordonpn commented 2 years ago

Upgrading the .NET version is what allowed CW Agent to be able to connect to the canary?

Or upgrading CW Agent did?

What version is CW Agent now?

markkuhn commented 2 years ago

@gordonpn

Screen Shot 2022-09-22 at 9 22 20 AM These are the ECS logs before the change

Screen Shot 2022-09-22 at 9 23 17 AM And this is after.

What fixed the issue was upgrading .NET to 6.0, upgrading the CodeBuild image to amazonlinux2-x86_64-standard:4.0 and upgrading the CW Agent to latest.