KIP-153 — Include only client traffic in BytesOutPerSec metric
Accepted Kafka 1.0 MetricsBroker
Adds `ReplicationBytesInPerSec` and `ReplicationBytesOutPerSec` metrics to the broker, and changes `BytesOutPerSec` to exclude inter-broker replication traffic (counting only client consumer bytes). The existing `BytesOutPerSec` mixes consumer client traffic with follower replication traffic, making it impossible to measure actual client-facing egress bandwidth.
Details
| Author | Jun Rao |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-5194 |
| Wiki | View on Apache Wiki |
| Created | 2017-05-05 |
| Last Modified | 2017-05-11 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.