Kafka Broker Log Directory Metrics

Reference information for 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.

kafka_log_directory_disk_free_space

Description
Free disk space on the disk where the log directory is
Unit
bytes
Parents
cluster, kafka, kafka-kafka_broker, rack
CDH Version
[CDH 5.0.0..CDH 8.0.0)

kafka_log_directory_disk_total_space

Description
Total disk space on the disk where the log directory is
Unit
bytes
Parents
cluster, kafka, kafka-kafka_broker, rack
CDH Version
[CDH 5.0.0..CDH 8.0.0)

kafka_log_directory_offline

Description
Indicates whether a log directory is offline. 0 - online, 1 - offline
Unit
message.units.state
Parents
cluster, kafka, kafka-kafka_broker, rack
CDH Version
[CDH 5.0.0..CDH 8.0.0)