You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/10/06 18:32:34 UTC

[jira] [Created] (AMBARI-7650) RestMetricsPropertyProvider adds Storm metrics to all components

Andrew Onischuk created AMBARI-7650:
---------------------------------------

             Summary: RestMetricsPropertyProvider adds Storm metrics to all components
                 Key: AMBARI-7650
                 URL: https://issues.apache.org/jira/browse/AMBARI-7650
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.7.0


For current URI:

    
    
    http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/components/?ServiceComponentInfo/category=MASTER&fields=*
    

we get :

    
    
    
    {
          "href" : "http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/components/GANGLIA_SERVER",
          "ServiceComponentInfo" : {
            "category" : "MASTER",
            "cluster_name" : "c1",
            "component_name" : "GANGLIA_SERVER",
            "installed_count" : 0,
            "service_name" : "GANGLIA",
            "started_count" : 1,
            "state" : "STARTED",
            "total_count" : 1
          },
          "metrics" : {
            "api" : {
              "v1" : {
                "cluster" : {
                  "summary" : {
                    "executorsTotal" : 28.0,
                    "nimbusUptime" : "2d 19h 28m 31s",
                    "slotsFree" : 0.0,
                    "slotsTotal" : 2.0,
                    "slotsUsed" : 2.0,
                    "supervisors" : 1.0,
                    "tasksTotal" : 28.0
                  }
                },
    





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