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

Add full support for ECS in Application Signals #1336

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

bjrara
Copy link
Collaborator

@bjrara bjrara commented Sep 4, 2024

Description of changes

Currently, traffic from ECS is recognized as from generic platform. This PR adds ECS as a supported platform, and includes more ECS specific attributes in the Application Signals EMF log.

In addition, it removes resource detection for Task related attributes, and relies on client side to provide the accurate values. This is mainly to support deploying CloudWatch agent as Daemon or a standalone service on an ECS Cluster.

License

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

Tests

Added unit tests.

Integration tests
https://github.com/aws-observability/aws-application-signals-test-framework/actions/workflows/python-ecs-canary.yml
https://github.com/aws-observability/aws-application-signals-test-framework/actions/workflows/java-ecs-canary.yml

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@bjrara bjrara requested a review from a team as a code owner September 4, 2024 23:44
@bjrara bjrara force-pushed the ecs branch 3 times, most recently from b732753 to ec93040 Compare September 6, 2024 21:29
@bjrara bjrara force-pushed the ecs branch 3 times, most recently from 5b4cf0e to c5e73ec Compare September 10, 2024 03:47
@sky333999
Copy link
Contributor

I was expecting to see awsemf translator changes to introduce appsignals_config_ecs.yaml defining a schema for ECS. Is that not required?

@bjrara
Copy link
Collaborator Author

bjrara commented Sep 10, 2024

I was expecting to see awsemf translator changes to introduce appsignals_config_ecs.yaml defining a schema for ECS. Is that not required?

EMF template is shared across non EKS/K8s platforms, it reuses the generic one.

@bjrara bjrara force-pushed the ecs branch 2 times, most recently from b0550c4 to f30ed6f Compare September 10, 2024 17:33
Copy link
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions bot added the Stale label Sep 18, 2024
@bjrara bjrara force-pushed the ecs branch 3 times, most recently from 967c2cd to db411c3 Compare September 26, 2024 23:37
@bjrara bjrara changed the title [DO NOT MERGE] Add full support for ECS in Application Signals Add full support for ECS in Application Signals Sep 27, 2024
@github-actions github-actions bot removed the Stale label Sep 27, 2024
@bjrara bjrara merged commit ea7a81d into aws:main Sep 27, 2024
6 checks passed
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.

3 participants