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 more container metadata to the introspection response #3926

Merged
merged 1 commit into from Sep 27, 2023

Conversation

singholt
Copy link
Contributor

Summary

This PR has been previously reviewed in #3788. We're now ready to stage this for release.

It adds the following container metadata to the introspection response:

  • Container ImageName
  • Container ImageID
  • Container CreatedAt
  • Container StartedAt

The above metadata is available via task metadata endpoint. This change fills the gap in the introspection response.

Implementation details

Updated the v1 handler container response. Note that this doesn't alter task metadata endpoint v1 since that has been moved to the ecs-agent directory.

Testing

  • Updated the unit tests for task and container response.
  • Tested a custom ECS agent build and verified that the introspection response now has the new metadata.

New tests cover the changes: yes

Description for the changelog

enhancement: adding new container metadata to the introspection response

Licensing

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

@singholt singholt requested a review from a team as a code owner September 26, 2023 16:21
@singholt singholt merged commit 70d53be into aws:dev Sep 27, 2023
40 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.

None yet

4 participants