You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2015/06/08 13:19:01 UTC

[jira] [Updated] (AMBARI-11781) Perf: Combine metrics requests on UI Host page

     [ https://issues.apache.org/jira/browse/AMBARI-11781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrii Tkach updated AMBARI-11781:
----------------------------------
    Attachment: AMBARI-11781.patch

> Perf: Combine metrics requests on UI Host page
> ----------------------------------------------
>
>                 Key: AMBARI-11781
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11781
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11781.patch
>
>
> UI sends 6 requests to show all graphs on host page
> {noformat}
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/cpu/cpu_user[1433424871,1433428471,15],metrics/cpu/cpu_wio[1433424871,1433428471,15],metrics/cpu/cpu_nice[1433424871,1433428471,15],metrics/cpu/cpu_aidle[1433424871,1433428471,15],metrics/cpu/cpu_system[1433424871,1433428471,15],metrics/cpu/cpu_idle[1433424871,1433428471,15]&_=1433428471523
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/disk/disk_total[1433424871,1433428471,15],metrics/disk/disk_free[1433424871,1433428471,15]&_=1433428471525
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/load/load_fifteen[1433424871,1433428471,15],metrics/load/load_one[1433424871,1433428471,15],metrics/load/load_five[1433424871,1433428471,15]&_=1433428471527
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/memory/swap_free[1433424871,1433428471,15],metrics/memory/mem_shared[1433424871,1433428471,15],metrics/memory/mem_free[1433424871,1433428471,15],metrics/memory/mem_cached[1433424871,1433428471,15],metrics/memory/mem_buffers[1433424871,1433428471,15]&_=1433428471530
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/network/bytes_in[1433424871,1433428471,15],metrics/network/bytes_out[1433424871,1433428471,15],metrics/network/pkts_in[1433424871,1433428471,15],metrics/network/pkts_out[1433424871,1433428471,15]&_=1433428471533
> http://192.168.120.6:1081/api/v1/clusters/c1/hosts/c6401.ambari.apache.org?fields=metrics/process/proc_total[1433424871,1433428471,15],metrics/process/proc_run[1433424871,1433428471,15]&_=1433428471536
> {noformat}
> They could be combined



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)