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
2.4 Error when avg downsampling rollup data using api/query endpoint #1501
Comments
Hi, do you have any stack traces from the logs where the AVG exception occurred? |
If I try to add the "avg" aggregator to the rollup_config.json file, then I get the following error when running the query from STDOUT and from the log
|
Im having the same issue with a very similar setup. @rudolphkurt where you able to make this work? |
@maduxi , unfortunately no. |
The query works if you add
I think there is an issue with some aggregation logic here opentsdb/src/rollup/RollupSeq.java Line 99 in b5133bd
I think that should point to I want to do a bit more testing, but hopefully that fixes it. Happy to open a PR soon. |
I am attempting to test out the rollup functionality in 2.4. I followed the documentation and inserted some rollup data using the api/rollup endpoint. As per the document, I did not add any AVG aggregations to the rollup table and instead used only SUM and COUNT.
When I attempt to perform an avg downsample using the api/query endpoint, I receive and error stating that I don't have AVG in my rollup_config.json, however, if I use the command line query tool, I get the expected result.
My query and error
The output from the cli tool
tsdb config file
rollup_config.json
I used these commands to insert the rollup data
The text was updated successfully, but these errors were encountered: