Bug 1528237

Summary: [Docs][RFE][Metrics User] Document CPU Plugin based on available documentation
Product: Red Hat Enterprise Virtualization Manager Reporter: Emma Heftman <eheftman>
Component: DocumentationAssignee: Emma Heftman <eheftman>
Status: CLOSED CURRENTRELEASE QA Contact: Avital Pinnick <apinnick>
Severity: unspecified Docs Contact:
Priority: high    
Version: 4.2.0CC: apinnick, lbopf, lsurette, rbalakri, rhev-docs, sradco, srevivo, ykaul
Target Milestone: ovirt-4.2.1Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: docs-accepted
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1528225
: 1528242 (view as bug list) Environment:
Last Closed: 2018-01-11 13:05:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1464013    

Description Emma Heftman 2017-12-21 10:52:06 UTC
collectd.cpu.percent

"https://collectd.org/wiki/index.php/Plugin:CPU
However says that it is not really percentage and does not describe all states"

Comment 1 Lucy Bopf 2017-12-22 00:45:52 UTC
Accepting into Beta 2 program, and assigning to Emma for review.

Comment 2 Emma Heftman 2017-12-31 12:13:05 UTC
Hi Shirly,
According to collectd documentation, the CPU plugin is actually a jiffie rather than a percentage:

How important is this distinction in your opinion?

"The CPU plugin does not collect percentages. It collects “jiffies”, the units of scheduling. On many Linux systems there are circa 100 jiffies in one second, but this does not mean you will end up with a percentage. Depending on system load, hardware, whether or not the system is virtualized and possibly half a dozen other factors there may be more or less than 100 jiffies in one second. There is absolutely no guarantee that all states add up to 100, an absolute must for percentages. "

Thanks
Emma

Comment 4 Shirly Radco 2018-01-01 11:14:32 UTC
Please review https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_cpu

We use set the following parameters:

  ReportByState true
  ReportByCpu true
  ValuesPercentage true

That means we get values in percentage, pre cpu.