Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

KeyAllowed ValuesComments
Type"ganglia" / "jmx"type = ganglia implies Metrics Service request fulfilled by either a Ganglia (up to version 2.0) or Ambari Metrics (2.0 and above) backend service, this decision is taken by Ambari server at runtime.
Category"default" / "performance" ...This is to group metrics into subsets for better navigability
Metrics

metricKey : { 

"metricName":

"pointInTime":

"temporal":

}

metricKey = Key to be used by REST API.

metricName = Name to use for the Metrics Service backend

pointInTime = Get latest value, no time range query allowed

temporal = Time range query supported

 

 

Example:

     

{

  "NAMENODE": {

    "Component": [

      {

        "type": "ganglia",

        "metrics": {

          "default": {

            "metrics/dfs/FSNamesystem/TotalLoad": {

              "metric": "dfs.FSNamesystem.TotalLoad",

              "pointInTime": false,

              "temporal": true

            }

        } ]

    },

    "HostComponent" : [

         { "type" : "ganglia", ... }

         {  "type" : "jmx", .... }

   ]

}