Skip to content

Added log correlation to ECS plugin - #263

Merged
willarmiros merged 2 commits into
aws:masterfrom
willarmiros:ecs-metadata
Mar 12, 2021
Merged

Added log correlation to ECS plugin#263
willarmiros merged 2 commits into
aws:masterfrom
willarmiros:ecs-metadata

Conversation

@willarmiros

Copy link
Copy Markdown
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.

@willarmiros
willarmiros requested a review from anuraaga as a code owner March 12, 2021 01:39

@anuraaga anuraaga left a comment

Copy link
Copy Markdown
Contributor

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.

2 participants