Andrii Tkach created AMBARI-11166:
-------------------------------------
Summary: Graph widgets: convert % metrics to show 0 - 100% rather
than 0 - 1
Key: AMBARI-11166
URL: https://issues.apache.org/jira/browse/AMBARI-11166
Project: Ambari
Issue Type: Task
Components: ambari-web
Affects Versions: 2.1.0
Reporter: Andrii Tkach
Assignee: Andrii Tkach
Fix For: 2.1.0
Change following widget definition to show the graphs in percentage:
*HBase service:*
Cluster CPU and Cluster Disk
*HDFS service:*
NameNode Host Load
*YARN service:*
CPU Utilization, Memory Utilization, Cluster Memory, Cluster Disk and Cluster
CPU
These graphs values should be changed to multiply the expression with 100. For
example $\{((disk_total._sum - disk_free._sum)/disk_total._sum) * 100\}
ambari-web code for graph widgets should recognize a constant number 100 as an
operand in the expression and multiply the each datapoint in the series with
100.
*Create/Edit wizard should also support constant number like 100 . User should
be able to type a number in expression builder and a number should be treated
as a valid operand*
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)