Skip to content

api queue message_stats returns wrong numbers occasionally #10067

Closed Answered by michaelklishin
HemeraOne asked this question in Other
Discussion options

You must be logged in to vote

You do not mention how you define "correct" but management UI uses a data source that is updated every 5 seconds by default and rates are computed using a sliding window, which means every now and then they can be different for different metrics. In addition, while a metric is collected or serve, other things continue happening in parallel.

This "absurdly high" number is likely a side effect of the sliding window calculation.
We have never been able to reproduce it, and I don't remember seeing it recently. The rate is reported "correctly" on the next calculation.

Relying on point-in-time rates for making decisions is not a great idea because they can quickly change. Using multiple measure…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HemeraOne
Comment options

@michaelklishin
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10067 on December 07, 2023 17:17.