Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

vcops custom report, datatype & precision

$
0
0

Hi all,

 

I'm doing a vcops 5.6 custom report with the metric cpu|usage_average.


In file user_ciq_metrics_collected.xml I defined (on both VMs)

 

<metric key="cpu|usage_average" scale="NORMAL" unit="PERCENT" type="UTILIZATION">
  <res_kinds_to_collect>
    <res_kind_to_collect>HostSystem</res_kind_to_collect>
  </res_kinds_to_collect>
</metric>

 

In custom report I defined:

 

<Column>

            <Title lang="US_en">% CPU </Title>

            <Metric metricKey="cpu|usage_average" ></Metric>

            <DataType>float</DataType>                                                                          

</Column>

 

I have the metric value is 0.47

the report value is 46,97867409364869%

 

I tried with <Precision>2</Precision> in report definition, but nothing changed.

 

I know report value is metric value*100, but I don't understand why.

 

Someone can tell me how to get the correct value in the report?

 

Thanks

IG


Viewing all articles
Browse latest Browse all 175326

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>