Table of Contents |
---|
Status
Current state: "Under Discussion"
...
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
The produce latency is an important metric to monitor for the cluster performance. As we know, latency is the sum from those parts, RequestQueueTime, LocalTime, RemoteTime, ResponseSend/QueueTime, ThrottleTime, MessageConversionsTime. RemoteTime means the time spent in the purgatory.
...
For this KIP, we like to propose the fix to make the metrics to report the real latency.
Public Interfaces
Add waitTimeMs in FetchResponse.
Proposed Changes
We like to propose to track the real end to end fetch latency with those changes:
...
Also, in FetchLatency, we should also report time called TotalEffectiveTime, which is TotalTime minus RemoteTime.
Compatibility, Deprecation, and Migration Plan
None.