Skip to content

FutureProducer::send observed duration is longer than publishing takes #764

Answered by sukhmel
sukhmel asked this question in Q&A
Discussion options

You must be logged in to vote

It appears, the issue was with how I plotted the measurements. When plotted correctly, both measured kafka write duration, and time before client read look very similar. For posterity, problem was that I had written sum by(origin) (histogram_quantile(0.5, rate(…))) instead of histogram_quantile(0.5, sum by(origin, le) (rate(…)))

I will now close the question as answered, if anyone has some more insight into how FutureProducer can be (mis)measured, please add to the thread.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sukhmel
Comment options

Answer selected by sukhmel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant