Kafka Broker integration metrics
The official Datadog integration for monitoring Kafka Broker. It collects 125 metrics.
Official summary
Collect metrics for producers and consumers, replication, max lag, and more.
Metric types
- gauge (value at a point in time): 121
- rate (per second): 4
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
kafka.The start time of the Kafka broker in milliseconds since epoch. | gauge | millisecond |
kafka.The average number of bytes consumed per second for a specific topic. | gauge | byte/ |
kafka.Consumer bytes in rate. | gauge | byte/ |
kafka.Number of delayed consumer requests. | gauge | request |
kafka.Rate of delayed consumer request expiration. | gauge | eviction/ |
kafka.The minimum rate at which the consumer sends fetch requests to a broker. | gauge | request |
kafka.The average number of bytes fetched per request for a specific topic. | gauge | byte |
kafka.The maximum number of bytes fetched per request for a specific topic. | gauge | byte |
kafka.Rate of offset commits to Kafka. | gauge | write/ |
kafka.Maximum consumer lag. | gauge | offset |
kafka.Rate of consumer message consumption. | gauge | message/ |
kafka.The average number of records consumed per second for a specific topic. | gauge | record/ |
kafka.The average number of records in each request for a specific topic. | gauge | record/ |
kafka.Rate of offset commits to ZooKeeper. | gauge | write/ |
kafka.Number of active brokers in the cluster. | gauge | node |
kafka.Number of fenced brokers in the cluster. | gauge | node |
kafka.Rate of delayed producer request expiration. | gauge | eviction/ |
kafka.Rate of request expiration on followers. | gauge | eviction/ |
kafka.Records appended per second by the Raft leader. | gauge | record/ |
kafka.Lag in milliseconds of the last applied metadata record. | gauge | millisecond |
kafka.Offset of the last applied metadata record. | gauge | offset |
kafka.Timestamp of the last applied metadata record. | gauge | millisecond |
kafka.Number of errors applying the metadata log. | rate | error |
kafka.Number of errors loading the metadata log. | rate | error |
kafka.Average time to commit a Raft entry. | gauge | millisecond |
kafka.Maximum time to commit a Raft entry. | gauge | millisecond |
kafka.Current quorum epoch. | gauge | - |
kafka.Current quorum leader ID; -1 if unknown. | gauge | - |
kafka.Current voted leader ID; -1 if not voted. | gauge | - |
kafka.Average time for a leader election. | gauge | millisecond |
kafka.Maximum time for a leader election. | gauge | millisecond |
kafka.Records fetched per second from the Raft leader. | gauge | record/ |
kafka.High watermark of the Raft quorum; -1 if unknown. | gauge | offset |
kafka.Log end epoch of the Raft quorum. | gauge | - |
kafka.Log end offset of the Raft quorum. | gauge | offset |
kafka.ID of the current controller; -1 if unknown. | gauge | - |
kafka.Feature level of the current effective metadata version. | gauge | - |
kafka.Number of metadata snapshots loaded since process start. | rate | - |
kafka.Average fraction of time the poll loop is idle. | gauge | fraction |
kafka.Age in milliseconds of the latest generated snapshot. | gauge | millisecond |
kafka.Size in bytes of the latest generated snapshot. | gauge | byte |
kafka.Number of unknown voter connections whose information is not cached. | gauge | connection |
kafka.Whether a Kafka log directory is offline. 0 means healthy. | gauge | - |
kafka.Log flush rate. | gauge | flush/ |
kafka.The size in bytes of a topic partition log on disk. | gauge | byte |
kafka.Incoming message rate. | gauge | message |
kafka.Incoming byte rate. | gauge | byte/ |
kafka.Outgoing byte total. | gauge | byte/ |
kafka.Outgoing byte rate. | gauge | byte/ |
kafka.Rejected byte rate. | gauge | byte/ |
kafka.Average fraction of time the network processor threads are idle. | gauge | fraction |
kafka.The total amount of buffer memory that is not being used (either unallocated or in the free list) | gauge | byte |
kafka.The average number of bytes sent per partition per-request. | gauge | byte |
kafka.The max number of bytes sent per partition per-request. | gauge | byte |
kafka.The maximum amount of buffer memory the client can use (whether or not it is currently used). | gauge | byte |
kafka.The fraction of time an appender waits for space allocation. | gauge | - |
kafka.The fraction of time an appender waits for space allocation. | gauge | - |
kafka.The total time in nanoseconds an appender waits for space allocation. | gauge | nanosecond |
kafka.Producer bytes out rate. | gauge | byte/ |
kafka.The average compression rate of record batches for a topic | gauge | fraction |
kafka.The average compression rate of record batches. | rate | fraction |
kafka.Number of producer requests delayed. | gauge | request |
kafka.Rate of producer request expiration. | gauge | eviction/ |
kafka.Producer I/O wait time. | gauge | nanosecond |
kafka.Producer message rate. | gauge | message/ |
kafka.The age in seconds of the current producer metadata being used. | gauge | second |
kafka.The average per-second number of errored record sends for a topic | gauge | error/ |
kafka.The average time in ms record batches spent in the record accumulator. | gauge | millisecond |
kafka.The maximum time in ms record batches spent in the record accumulator. | gauge | millisecond |
kafka.The average per-second number of retried record sends for a topic | gauge | record/ |
kafka.The average number of records sent per second for a topic | gauge | record/ |
kafka.The average record size. | gauge | byte |
kafka.The maximum record size. | gauge | byte |
kafka.The average number of records sent per second. | gauge | record |
kafka.Producer average request latency. | gauge | millisecond |
kafka.The maximum request latency in ms. | gauge | millisecond |
kafka.Number of producer requests per second. | gauge | request/ |
kafka.The current number of in-flight requests awaiting a response. | gauge | request |
kafka.Number of producer responses per second. | gauge | response/ |
kafka.The average time in ms a request was throttled by a broker. | gauge | millisecond |
kafka.The maximum time in ms a request was throttled by a broker. | gauge | millisecond |
kafka.The number of user threads blocked waiting for buffer memory to enqueue their records. | gauge | thread |
kafka.Number of active controllers in the cluster. | gauge | node |
kafka.Rate of replicas joining the ISR pool. | gauge | node/ |
kafka.Rate of replicas leaving the ISR pool. | gauge | node/ |
kafka.Number of leaders on this broker. | gauge | node |
kafka.Leader election rate. | gauge | event/ |
kafka.Maximum lag in messages between the follower and leader replicas. | gauge | offset |
kafka.Number of partitions that don't have an active leader. | gauge | - |
kafka.Number of partitions across all topics in the cluster. | gauge | - |
kafka.Unclean leader election rate. | gauge | event/ |
kafka.Number of under min ISR partitions. | gauge | - |
kafka.Number of under replicated partitions. | gauge | - |
kafka.Number of queued requests. | gauge | request |
kafka.Client fetch request failures rate. | gauge | request |
kafka.Fetch consumer requests rate. | gauge | request |
kafka.Total time in ms to serve the specified request. | gauge | millisecond |
kafka.Total time in ms to serve the specified request. | gauge | millisecond |
kafka.Fetch follower requests rate. | gauge | request |
kafka.Total time in ms to serve the specified request. | gauge | millisecond |
kafka.Total time in ms to serve the specified request. | gauge | millisecond |
kafka.Number of requests waiting in the producer purgatory. | gauge | request |
kafka.Average fraction of time the request handler threads are idle. | gauge | fraction |
kafka.Time for metadata requests for 99th percentile. | gauge | millisecond |
kafka.Average time for metadata request. | gauge | millisecond |
kafka.Time for offset requests for 99th percentile. | gauge | millisecond |
kafka.Average time for an offset request. | gauge | millisecond |
kafka.Failed produce requests rate. | gauge | request |
kafka.Produce requests rate. | gauge | request |
kafka.Time for produce requests for 99th percentile. | gauge | millisecond |
kafka.Average time for a produce request. | gauge | millisecond |
kafka.Number of requests waiting in the producer purgatory | gauge | request |
kafka.Time for update metadata requests for 99th percentile. | gauge | millisecond |
kafka.Average time for a request to update metadata. | gauge | millisecond |
kafka.Number of currently open connections to the broker. | gauge | connection |
kafka.Number of fetch sessions. | gauge | - |
kafka.Eviction rate of fetch session. | gauge | event/ |
kafka.Zookeeper client disconnect rate. | gauge | event/ |
kafka.Zookeeper client session expiration rate. | gauge | event/ |
kafka.Zookeeper client readonly rate. | gauge | event/ |
kafka.Zookeeper client sync rate. | gauge | event/ |
kafka.Incoming message rate by topic | gauge | message |
kafka.Incoming byte rate by topic. | gauge | byte/ |
kafka.Outgoing byte rate by topic. | gauge | byte/ |
kafka.Rejected byte rate by topic. | gauge | byte/ |
Official documentation
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.