apiMetricSchema
A metric schema represents the schema for a specific metric monitored by the Cloudera Management Services.
JSON
property | type | description |
---|---|---|
name | name (string) | Name of the metric. This name is guaranteed to be unique among the metrics. |
isCounter | isCounter (boolean) | Is the metric a counter. A counter tracks the total count since a process / host started. The rate of change of a counter may often be more interesting than the raw value of a counter. |
unitNumerator | unitNumerator (string) | Numerator for the unit of the metric. |
unitDenominator | unitDenominator (string) | Denominator for the unit of the metric. |
aliases | array of aliases (string) | Aliases for the metric. An alias is unique per metric (per source and version) but is not globally unique. Aliases usually refer to previous names for the metric as metrics are renamed or replaced. |
sources | sources ((anonymous)) | Sources for the metric. Each source entry contains the name of the source and a list of versions for which this source is valid |