Skip to content
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

write better version-uptake measurement tool #14

Open
warner opened this issue Aug 29, 2019 · 1 comment
Open

write better version-uptake measurement tool #14

warner opened this issue Aug 29, 2019 · 1 comment

Comments

@warner
Copy link
Collaborator

warner commented Aug 29, 2019

I've got a rudimentary munin plugin that takes the client-version data from #3 and attempts to make an area chart of how many clients were using which versions. My intention was to sum the usage numbers in a rolling window, spread over the last hour or so. But I did it wrong, or it's interacting with the blurred timestamps in the logs somehow, and I wind up with weirdly-truncated graphs like this one:

wormhole_version_uptake-day

The lack of data for the last 12 hours is issue #13, and unrelated to this one. This bug is that the graph grows from zero at the start of each hour, to some peak, then resets back to zero again.

I suppose having all the timestamps rounded down to the nearest 60 minutes might explain this, in which case I should really be summing over the last 12 hours or so.

@warner
Copy link
Collaborator Author

warner commented Sep 11, 2019

Yeah, summing over 12 hours makes it better. There's still a slope within each hour, as new connections get accumulated (all of which are blurred to the start of the hour), but it's more legible now.

The next-more-smooth approach I can think of is to sum over a 12-hour window that finishes an hour ago (i.e. from T-13h to T-1h), rather than the 12 hours finishing now (T-12h to T-0h). That would remove the slope, and give us something shaped like a bar graph.

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

No branches or pull requests

1 participant