Kafka Replica 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 Replica:
-
kafka_in_sync_replicas_count_across_clusters
-
total_kafka_in_sync_replicas_count_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 | Version |
---|---|---|---|---|
kafka_in_sync_replicas_count | The number of replicas of a partition is in sync. | partitions | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_log_end_offset | The offset of the next message that will be appended to the log | message.units.offset | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_log_start_offset | The earliest message offset in the log | message.units.offset | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_num_log_segments | The number of segments in the log | message.units.segments | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_replicas_count | The number of replicas of a partition. | partitions | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_size | The size of the log | bytes | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |
kafka_under_replicated_count | The number of under replicated partitions of a partition. | partitions | cluster, kafka, kafka-kafka_broker, kafka_broker_topic, kafka_topic, rack | CDH 5, CDH 6, Cloudera Runtime 7 |