aws / amazon-ecs-agent

Amazon Elastic Container Service Agent
http://aws.amazon.com/ecs/
Apache License 2.0
2.08k stars 616 forks source link

Add metrics to acs for eni provisioning workflow monitoring #4443

Open chacheng21 opened 3 days ago

chacheng21 commented 3 days ago

Summary

Adding new metrics and variables in acs session

Implementation details

Added new metrics and variables in acs session for StartSessionOnce

Testing

Tested by running all unit tests in acs

New tests cover the changes: No new tests, but modified existing tests to account for new metrics (ie mocked the calls to create metrics)

Description for the changelog

Enhancement - add metrics to monitor latency in acs session

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions? No

**Does this PR include the addition of new environment variables in the README?** No

Licensing

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