You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/04/22 04:46:17 UTC

[jira] [Updated] (AMBARI-5519) Selecting agent should show source/channel/sink metrics in each section

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

Srimanth Gunturi updated AMBARI-5519:
-------------------------------------

    Attachment: AMBARI-5519.patch

Review at https://reviews.apache.org/r/20544/

> Selecting agent should show source/channel/sink metrics in each section
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-5519
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5519
>             Project: Ambari
>          Issue Type: Task
>          Components: client
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-5519.patch
>
>
> In Flume service summary users can select agents. When an agent is selected 3 sections show up - Source/Channel/Sink Metrics for the host on which agent is. In each we need to show all the source metrics in the source section, channel metrics in the channel section and sink metrics in the sink section. 
> The source/channel/sink metrics for a host can be got by calling 
> {code}
> /api/v1/clusters/c1/hosts/gsflume-1/host_components/FLUME_HANDLER?fields=metrics/flume/flume/SOURCE/*[1397799508,1397803108,15]
> {code}{code}
> /api/v1/clusters/c1/hosts/gsflume-1/host_components/FLUME_HANDLER?fields=metrics/flume/flume/CHANNEL/*[1397799508,1397803108,15]
> {code}{code}
> /api/v1/clusters/c1/hosts/gsflume-1/host_components/FLUME_HANDLER?fields=metrics/flume/flume/SINK/*[1397799508,1397803108,15]
> {code}
> Each response can have multiple multiple sources/channels/sinks with each having multiple metrics. 
> {code}
> "metrics" : {
>     "flume" : {
>       "flume" : {
>         "SINK" : {
>           "k1" : {
>             "BatchCompleteCount" : [
>               [
>                 0.0,
>                 1397799360
>               ]
>             ]
>           },
>           "k2" : {
>             "BatchCompleteCount" : [
>               [
>                 0.0,
>                 1397799360
>               ]
>             ]
>           },
> {code}
> We need to show graphs for each metric type (_BatchCompleteCount_ above), with multiple series - as many sources/channels/sinks in response (k1, k2 above).



--
This message was sent by Atlassian JIRA
(v6.2#6252)