ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7650) RestMetricsPropertyProvider adds Storm metrics to all components
Date Mon, 06 Oct 2014 16:32:34 GMT
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)

Mime
View raw message