Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0EC917209 for ; Fri, 15 May 2015 12:21:59 +0000 (UTC) Received: (qmail 33989 invoked by uid 500); 15 May 2015 12:21:59 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 33952 invoked by uid 500); 15 May 2015 12:21:59 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 33937 invoked by uid 99); 15 May 2015 12:21:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 12:21:59 +0000 Date: Fri, 15 May 2015 12:21:59 +0000 (UTC) From: "Andrii Babiichuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11166) Graph widgets: convert % metrics to show 0 - 100% rather than 0 - 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-11166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545416#comment-14545416 ] Andrii Babiichuk commented on AMBARI-11166: ------------------------------------------- +1 for the patch > 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)