Skip to content

Fixing atop parser code to not consider first atop sample and output sum if counter represents number. - #362

Merged
Bhagyesh Patil (bhagyeshpatil) merged 3 commits into
microsoft:mainfrom
bhagyeshpatil:user/bhpa/atop_fix
Aug 15, 2024
Merged

Bhagyesh Patil (bhagyeshpatil) merged 3 commits into
microsoft:mainfrom
bhagyeshpatil:user/bhpa/atop_fix

Conversation

@bhagyeshpatil

Copy link
Copy Markdown
Contributor

The first atop output sample represents the activity from boot till atop execution, this duration doesn't overlap with the execution of Virtual client workloads. If the numbers are considered while emitting the counters, this will skew the results. In this PR, the atop parser is updated to not consider the first atop output sample and output the sum of individual values if the counter represents a number, e.g. in case of counter "\Disk# Reads" the value should sum and not average of individual values.

@bhagyeshpatil
Bhagyesh Patil (bhagyeshpatil) merged commit 98fb323 into microsoft:main Aug 15, 2024
@bhagyeshpatil
Bhagyesh Patil (bhagyeshpatil) deleted the user/bhpa/atop_fix branch August 15, 2024 20:43
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.

2 participants