Kafka Connect Connector Task Metrics 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 Connect Connector Task Metrics:

  • kafka_connect_connector_task_metrics_batch_size_avg_across_clusters
  • total_kafka_connect_connector_task_metrics_batch_size_avg_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_connect_connector_task_metrics_batch_size_avg The average size of the batches processed by the connector. message.units.connectors cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_batch_size_max The maximum size of the batches processed by the connector. batches cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_offset_commit_avg_time_ms The average time in milliseconds taken by this task to commit offsets. message.units.milliseconds cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_offset_commit_failure_percentage The average percentage of this task's offset commit attempts that failed or had an error. message.units.failure cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_offset_commit_max_time_ms The maximum time in milliseconds taken by this task to commit offsets. message.units.milliseconds cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_offset_commit_success_percentage The average percentage of this task's offset commit attempts that succeeded. message.units.success cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_pause_ratio The fraction of time this task has spent in the paused state. message.units.pause_ratio cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7
kafka_connect_connector_task_metrics_running_ratio The fraction of time this task has spent in the running state. message.units.running_ratio cluster, kafka, kafka-kafka_connect, rack CDH 5, CDH 6, CDH 7