-
Notifications
You must be signed in to change notification settings - Fork 36
Add mem_shared to integration tests #562
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
Conversation
- Added mem_shared to memory metrics list in mem_test.go - Updated agent configurations to include shared memory measurement - Ensures mem_shared metric is properly tested in integration tests
| "mem": { | ||
| "measurement": [ | ||
| "active", "available", "available_percent", "buffered", "cached", "free", "inactive", "total", | ||
| "active", "available", "available_percent", "buffered", "cached", "free", "inactive", "shared", "total", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this change the memory values read by the stress test? Does it affect the memory read against the thresholds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, adding mem_shared to the config only collects one additional system memory metric and doesn't affect stress test thresholds, I just added the metric here for consistency since all other memory metrics were already included in these integration test configs.
| "measurement": [ | ||
| "iops_in_progress", "io_time", "reads", "read_bytes", "read_time", "writes", "write_bytes", "write_time" | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like there's some mac specific tests too. Can we update those as well?
If you search for available_percent for example, it should show you the other occurrences.
Description
This PR incorporates the shared memory metric for integration testing.
Description of changes
mem_test.goTests
https://github.com/aws/amazon-cloudwatch-agent/actions/runs/16650544237