Kafka Broker Log Directory 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 Kafka Broker Log Directory:

  • kafka_log_directory_disk_free_space_across_clusters
  • total_kafka_log_directory_disk_free_space_across_clusters

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

Metric Name Description Unit Parents CDH Version
kafka_log_directory_disk_free_space Free disk space on the disk where the log directory is bytes cluster, kafka, kafka-kafka_broker, rack CDH 5, CDH 6, CDH 7
kafka_log_directory_disk_total_space Total disk space on the disk where the log directory is bytes cluster, kafka, kafka-kafka_broker, rack CDH 5, CDH 6, CDH 7
kafka_log_directory_offline Indicates whether a log directory is offline. 0 - online, 1 - offline message.units.state cluster, kafka, kafka-kafka_broker, rack CDH 5, CDH 6, CDH 7