Skip to content

Fix request distribution stats #1071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

bertm
Copy link
Contributor

@bertm bertm commented May 13, 2025

Turns out I broke this 9 years ago, so let's fix it 😄
For those who don't have a memory of these statistics panels, it's these two:
image


The count was never incremented, and consequently the Incoming Request Distribution and Outgoing Request Distribution panels would no longer show up on the statistics page.

Instead of keeping track of the total count independent of the bins, just sum the bins when we need a total count for display purposes.

While we're at it, let's get rid of the synchronization too.

The `count` was never incremented, and consequently the Incoming Request
Distribution and Outgoing Request Distribution panels would no longer
show up on the statistics page.

Instead of keeping track of the total count independent of the bins,
just sum the bins when we need a total count for display purposes.

While we're at it, let's get rid of the synchronization too.
@Bombe
Copy link
Contributor

Bombe commented May 13, 2025

You know, sometimes I was wondering where these things went, but I never bothered to actually look for them… 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants