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

Fixed incorrect result of Count Downsampler when setting Rollup data #2258

Merged
merged 1 commit into from Apr 11, 2023

Conversation

funamoto
Copy link

Issue

When using Count Downsampler in an environment where Rollup data is pre-aggregated, incorrect results are returned.

In the case of Raw data, the number of valid data that existed during the time of the Downsample target is being counted.
This implementation is considered correct.

However, for Rollup data, this value should be output since pre-aggregated data already exists.

The existing implementation does not yield the correct aggregate data because Count Downsample is done in the same process as Raw data, even in cases where Rollup data is used.

Resolution

When Count Downsample is used and Rollup data is used, fixed to output the value of pre-aggregated data.

@manolama manolama merged commit d07c7a8 into OpenTSDB:3.0 Apr 11, 2023
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.

None yet

2 participants