[ 
https://issues.apache.org/jira/browse/AMBARI-11166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545784#comment-14545784
 ] 

Hudson commented on AMBARI-11166:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2609 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2609/])
AMBARI-11166 Graph widgets: convert % metrics to show 0 - 100% rather than 0 - 
1. (atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0fe39d5e856f43ccfca00a70b9354e8bf899e768)
* ambari-web/app/mixins/common/widgets/widget_mixin.js
* ambari-web/app/views/common/widget/graph_widget_view.js
* ambari-web/app/messages.js
* ambari-web/app/templates/main/service/widgets/create/expression.hbs
* ambari-web/app/controllers/main/service/widgets/create/step2_controller.js
* ambari-web/app/utils/number_utils.js
* ambari-web/app/views/main/service/widgets/create/expression_view.js
* ambari-web/app/styles/enhanced_service_dashboard.less
* ambari-web/app/routes/add_widget.js


> 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
>
>         Attachments: AMBARI-11166.patch
>
>
> 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)

Reply via email to