Kafka Producer
Kafka Producer metrics collected over JMX by the Component Agent.
Supported Components and Versions#
| LAYER | COMPONENT | VERSION |
|---|---|---|
| Queue | KafkaProducer | 2.2.0 |
Monitoring Strategies for Components#
Metrics’ collection is done using JMX. Once JMX is enabled, HEAL’s Component Agent will source metrics from Kafka via the JMX port and push the metrics to HEAL’s Ingestion API layer.
KPIs collected#
| Component Name | kpi_name | kpi_identifier | KpiDescription | Units |
|---|---|---|---|---|
| KafkaProducer | Compression Rate Avg | kafka_compression-rate-avg##@@##compression-rate-avg | The average compression ratio for data stored in the database. | Count |
| KafkaProducer | Response Rate | kafka_response-rate##@@##response-rate | Average number of responses received per second | Count |
| KafkaProducer | Request Rate | kafka_request-rate##@@##request-rate | Average number of requests sent per second | Count |
| KafkaProducer | Request Latency Avg | kafka_request-latency-avg##@@##request-latency-avg | Average time taken for a request to be processed. | Milliseconds |
| KafkaProducer | Outgoing Byte Rate | kafka_outgoing-byte-rate##@@##outgoing-byte-rate | Average number of outgoing/incoming bytes per second | Bytes |
| KafkaProducer | Io Wait Time Ns Avg | kafka_io-wait-time-ns-avg##@@##io-wait-time-ns-avg | Average length of time the I/O thread spent waiting for a socket | Milliseconds |
| KafkaProducer | Batch Size Avg | kafka_batch-size-avg##@@##batch-size-avg | The average number of bytes sent per partition per request | Bytes |
| KafkaProducer | Total Daemon Threads | DaemonThreadCount | The total number of threads available in a process. Daemon threads include started and alive threads too. | Count |
| KafkaProducer | TotalPeakThreads | PeakThreadCount | Total number of currently running threads | Count |
| KafkaProducer | Total Live Threads | ThreadCount | The total number of threads that are running. A thread automatically expires once it completes its execution. | Count |
| KafkaProducer | Thread Count | ThreadCount | Total number of threads currently running in the system. | Count |
| KafkaProducer | Total Started Threads | TotalStartedThreadCount | Total number of threads that have been started since the application started. | Count |
| KafkaProducer | Heap Memory Usage | HeapMemoryUsage-used | Total amount of heap memory being used by the application. | Bytes |
| KafkaProducer | Max NonHeap Memory | NonHeapMemoryUsage-committed | the maximum amount of non-heap memory used by the HEAL Appnomic software. | Kilobytes |
| KafkaProducer | Max Heap Memory | HeapMemoryUsage-committed | the maximum amount of heap memory used by the HEAL Appnomic software. | Kilobytes |
| KafkaProducer | NonHeap Memory Usage | NonHeapMemoryUsage-used | Current Non-heap memory usage (in MB) of the server. | Bytes |
| KafkaProducer | Process CPU Load | ProcessCpuLoad | The percentage of CPU usage by the process running the server. | Percentage |
| KafkaProducer | Collection Count | CollectionCount | Total number of collections that have occurred. | Count |
| KafkaProducer | Collection Time | CollectionTime | Approximate accumulated collection elapsed time in milliseconds. | Milliseconds |