[
https://issues.apache.org/jira/browse/AMBARI-10772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514855#comment-14514855
]
Hudson commented on AMBARI-10772:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2450 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2450/])
AMBARI-10772 Create widget -> Add metric popup: Aggregator Function dropdown
for component metrics. (atkach) (atkach:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1c46571f95bf0c2034163349a58b6417d0271984)
* ambari-web/app/views/main/service/widgets/create/expression_view.js
* ambari-web/app/messages.js
* ambari-web/app/templates/main/service/widgets/create/step2_add_metric.hbs
* ambari-web/app/styles/enhanced_service_dashboard.less
> Create widget -> Add metric popup: Aggregator Function dropdown for component
> metrics
> -------------------------------------------------------------------------------------
>
> Key: AMBARI-10772
> URL: https://issues.apache.org/jira/browse/AMBARI-10772
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-10772.patch
>
>
> When user selects any service component like All NameNodes or Datanodes (*and
> not a specific host component like Active namenode or Active
> ResourceManager*), Add metric popup should show an additional label
> *Aggregator Function* at the end and a corresponding bootstrap
> button/dropdown having following options:
> * avg
> * sum
> * min
> * max
> By default avg should be selected. Selected value from the dropdown should be
> shown on the button. Hovering this dropdown should show a popover with text
> "This mathematical function will be applied to compute single value for
> selected metric across all host components".
> If user selects any option other than avg, metric path should be suffixed
> with ._$\{aggregator function name\}. For example if user selects a metric
> with name *regionserver.RegionServer.numOpenConnections*. It's corresponding
> metric path as known from API data obtained from metrics descriptor is
> *metrics/hbase/ipc/IPC/numOpenConnections*. If user then selects an
> aggregator function *sum*, metric path prepared for the metric element in the
> metric Array of the widget API definition should be saved as
> *metrics/hbase/ipc/IPC/numOpenConnections._sum*.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)