Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added log correlation to ECS plugin #263

Merged
merged 2 commits into from
Mar 12, 2021
Merged

Conversation

willarmiros
Copy link
Contributor

Description of changes:
Records Amazon CloudWatch Log Groups in traces for ECS customers. We accomplish this by querying the Task Metadata Endpoint (TMDE) Available in ECS containers. I refactored some of the EC2 metadata fetching code into a utility class for reuse to this end.

Tested on ECS Fargate agent version 1.4.0 and added unit tests.

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

Copy link
Contributor

@anuraaga anuraaga left a comment

Choose a reason for hiding this comment

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

Just some small points

@willarmiros willarmiros merged commit 2489a57 into aws:master Mar 12, 2021
@willarmiros willarmiros deleted the ecs-metadata branch March 12, 2021 16:47
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.

None yet

2 participants