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

Move TMDS v4 container stats types to ecs-agent module #3785

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

amogh09
Copy link
Contributor

@amogh09 amogh09 commented Jul 5, 2023

Summary

Move the following types related to container stats to ecs-agent module. The changes are required for moving TMDS v4 Task and Container Stats handlers to ecs-agent.

  • StatsResponse - moved from agent/handlers/v4/stats_response.go to ecs-agent/tmds/handlers/v4/state/response.go. This is the v4 container stats response type.
  • NetworkStatsPerSec - moved from agent/stats/types.go to ecs-agent/stats/types.go. This type is included in TMDS v4 Stats Response.

Implementation details

  • Moved the types to ecs-agent module and updated imports in agent module.

Testing

Automated tests only.

New tests cover the changes: no

Description for the changelog

Move TMDS v4 container stats types to ecs-agent module

Licensing

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

@amogh09 amogh09 changed the title Move stats types Move container stats types to ecs-agent module Jul 5, 2023
@amogh09 amogh09 changed the title Move container stats types to ecs-agent module Move some container stats types to ecs-agent module Jul 5, 2023
@amogh09 amogh09 changed the title Move some container stats types to ecs-agent module Move TMDS v4 container stats types to ecs-agent module Jul 5, 2023
@amogh09 amogh09 marked this pull request as ready for review July 6, 2023 19:51
@amogh09 amogh09 requested a review from a team as a code owner July 6, 2023 19:51
@amogh09 amogh09 merged commit e9ce7c7 into aws:dev Jul 7, 2023
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.

4 participants