-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[TSVB] Math params._interval is incorrect when using entire timerange mode #100615
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Thank you @wylieconlon . This is definitely wrong |
Perhaps @simianhacker has a perspective. Another point of reference when the data is NOT a Series Agg, the Last Value vs Entire Time Range works for the metric So it looks like perhaps it is related to the Series Agg With Last Value ... Yup About 4.8 Now with Entire Range Yup about 1.6 |
@bvader, thanks. I created a new issue based on your comment because I'm not sure if this issue is related to the original one. But thank you very much for this case, we will see it. |
@wylieconlon "Entire time range" mode didn't exist when I was actively working on TSVB. Just looking at the |
… mode (#100775) * [TSVB] Math params._interval is incorrect when using entire timerange mode Closes: #100615 * fix jest * rename get -> overwrite * apply fix for "bucket script" * Update date_histogram.js Co-authored-by: Kibana Machine <[email protected]>
… mode (elastic#100775) * [TSVB] Math params._interval is incorrect when using entire timerange mode Closes: elastic#100615 * fix jest * rename get -> overwrite * apply fix for "bucket script" * Update date_histogram.js Co-authored-by: Kibana Machine <[email protected]>
… mode (#100775) (#101252) * [TSVB] Math params._interval is incorrect when using entire timerange mode Closes: #100615 * fix jest * rename get -> overwrite * apply fix for "bucket script" * Update date_histogram.js Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Alexey Antonov <[email protected]>
params._interval
is used to normalize the display of values, for example to get an average rate per second. When using the entire timerange mode, it should represent the total number of milliseconds in the time range.Steps to reproduce:
params._interval
into the math input.Expected behavior: The
params._interval
is set to the number of milliseconds in the query, theto - from
time.With entire time range:
With last value mode:
The text was updated successfully, but these errors were encountered: