Skip to content

Conversation

@ola-amr
Copy link
Contributor

@ola-amr ola-amr commented Jul 28, 2025

Description

This PR incorporates the shared memory metric for integration testing.

Description of changes

  • Added mem_shared to memory metrics list in mem_test.go
  • Updated agent configurations to include shared memory measurement

Tests

- 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
@ola-amr ola-amr requested a review from a team as a code owner July 28, 2025 13:59
@ola-amr ola-amr added the enhancement New feature or request label Jul 28, 2025
"mem": {
"measurement": [
"active", "available", "available_percent", "buffered", "cached", "free", "inactive", "total",
"active", "available", "available_percent", "buffered", "cached", "free", "inactive", "shared", "total",
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@ola-amr ola-amr added the go Pull requests that update Go code label Jul 29, 2025
@ola-amr ola-amr requested a review from sky333999 July 31, 2025 16:22
"measurement": [
"iops_in_progress", "io_time", "reads", "read_bytes", "read_time", "writes", "write_bytes", "write_time"
]
},
Copy link
Contributor

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.

@sky333999 sky333999 merged commit 156c66a into main Nov 6, 2025
2 checks passed
@sky333999 sky333999 deleted the add-mem-shared-integ-tests branch November 6, 2025 00:48
sky333999 pushed a commit that referenced this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants