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

Adding new metrics: pod_cpu_usage_total and pod_memory_working_set #1294

Merged
merged 15 commits into from
Aug 16, 2024

Conversation

pkkokane28
Copy link
Collaborator

Description of changes

Adding 2 new ContainerInsights metrics which will be used for gaining cost visibility for customers using Enhanced CI:

  • pod_cpu_usage_total
  • pod_memory_working_set

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

Deployed the image in test account to validate that the metrics are being emitted.

Screenshot 2024-08-12 at 16 33 45

@pkkokane28 pkkokane28 requested a review from a team as a code owner August 12, 2024 16:26
@movence
Copy link
Contributor

movence commented Aug 13, 2024

Changes look good to me. Can you update the integ test to validate these new metrics then attach test result?

@pkkokane28 pkkokane28 mentioned this pull request Aug 14, 2024
@pkkokane28 pkkokane28 mentioned this pull request Aug 14, 2024
@pkkokane28 pkkokane28 mentioned this pull request Aug 14, 2024
@pkkokane28
Copy link
Collaborator Author

Screenshot 2024-08-16 at 12 16 27

There is an issue with fetching other metrics in integration Tests, so the complete workflow is not successful: https://github.com/aws/amazon-cloudwatch-agent/actions/runs/10408457860/job/28826102473

@pkkokane28 pkkokane28 merged commit 6f8ea66 into aws:main Aug 16, 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