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

Y-axis numbers approximately half of pageviews per second #30

Open
ghost opened this issue Jul 21, 2011 · 1 comment
Open

Y-axis numbers approximately half of pageviews per second #30

ghost opened this issue Jul 21, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 21, 2011

I wrote a simple bash/curl script (direct call to the pixel) to simulate traffic and noticed once load is placed on the Hummingbird server the reported pageviews per second is approximately double the corresponding y-axis value (or y-axis values are half the number of page views, which ever you prefer). For example: If Hummingbird is reporting 30 pageviews/second the average y-axis value is somewhere around 14-15. (See linked photo: http://i103.photobucket.com/albums/m145/xtmesisx/Screenshot2011-07-21at30218PM.png)

I suspect that the logic generating the y-axis values is off (display issue), but I'm not sure what to change. I've been fiddling with it for a few hours now and haven't figured it out yet.

Does anyone have thoughts on the matter?

@ghost
Copy link
Author

ghost commented Jul 22, 2011

So I believe I found the problem. The variable "averageOver" (Line 27) is set to 0.5 by default. I'm not 100% sure what it does, but it looks like the "averageOver" is passed into the function drawLogPath() when it multiplied by "average" on line 49. To fix my issue I simply set "averageOver" to 1.0.

If anybody could explain further and/or verify I'm correct/on the right path it would be greatly appreciated. For now pageviews per second the the y-axises seem to match up (tested again with traffic simulation script).

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

0 participants