HDFS Cache Directive Metrics

In addition to these base metrics, many aggregate metrics are available. If an entity type has parents defined, you can formulate all possible aggregate metrics using the formula base_metric_across_parents.

In addition, metrics for aggregate totals can be formed by adding the prefix total_ to the front of the metric name.

Use the type-ahead feature in the Cloudera Manager chart browser to find the exact aggregate metric name, in case the plural form does not end in "s".

For example, the following metric names may be valid for HDFS Cache Directive:

  • cache_needed_across_clusters
  • total_cache_needed_across_clusters

Some metrics, such as alerts_rate, apply to nearly every metric context. Others only apply to a certain service or role.

For more information about metrics, see Cloudera Manager Metrics and Metric Aggregation.

Metric Name Description Unit Parents CDH Version
cache_needed The cache space needed by the HDFS cache directive. bytes cluster, hdfs, hdfs_cache_pool CDH 5, CDH 6
cache_used The total cache used. bytes cluster, hdfs, hdfs_cache_pool CDH 5, CDH 6
files_cached The number of files cached by the HDFS cache directive. files cluster, hdfs, hdfs_cache_pool CDH 5, CDH 6
files_needed The number of files needed by the HDFS cache directive. files cluster, hdfs, hdfs_cache_pool CDH 5, CDH 6