Versions Compared

Key

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

...

Note: The individual stacks that override behavior from common services can redefine the metrics.json file, the inheritance is all-or-nothing, meaning if metrics.json file is present in the child stack, it will override the metrics.json from common-services

Structure of metrics.json file

KeyAllowed ValuesComments
Type"ganglia" / "jmx"Ganglia = Metrics Service request fulfilled by either a Ganglia or Ambari Metrics Backend service
Category"default" / "performace" ...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

...