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

aggregate might generate wrong results in specific cases #959

Open
hasselh opened this issue Aug 22, 2024 · 0 comments
Open

aggregate might generate wrong results in specific cases #959

hasselh opened this issue Aug 22, 2024 · 0 comments

Comments

@hasselh
Copy link

hasselh commented Aug 22, 2024

From time to time I run into issues with results in aggregate table for certain metrics. This usually happens when the count of measures fluctuates over time. E.g., I have a script, that usually takes 1 measures/minute, but intentionally might speed up to 15 measures/minute. In these times the aggregate values often get completely out of range. I checked data for these periods - content looks fine (happy to provide the raw data if needed).

Workaround that works for me:

Comment line 276 of Aggregation.php:
/* 'SUM(agg.val_by_time) / (MAX(agg.timestamp) - MIN(agg.prev_timestamp)), ' . */

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