-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Inconsistent and incorrect results when specifying only lower bound of time range #2120
Comments
@jnutzmann looking at the docs here the time format string should be |
Looks like iso format is accepted. Also, Unix timestams seems to be as well (with and without "s" on the end). That said, the problem still exists no matter how you specify the time. |
I'm seeing the exact same behavior in rc17, aggregate functions like I'm using relative time notation It'll report 0 most of the time (I just generated some results using EDIT: It also occurs when specifying the upper bound: |
Update: With the current master this has been half fixed. The count(value) that it reports is consistent, but the timestamp that comes with it still varies depending on the system time when the query is run. |
I am getting inconsistent results queries where the max time (and therefore interval) is changing.
For example this query:
SELECT count(value) FROM my_series WHERE time > '2015-03-30T05:00:00Z'
produces these different values depending on the time it is run:
or
or
I can also manually specify the max time in the query and get the results to change based on that time. Consistent, but not necessarily correct, results are obtained by running a query with both the min and max time specified in the query (not using
now(...)
).My guess is something is still incorrect in how the buckets are being calculated if there is only one bucket. Also, the time in the query result seems to imply that the interval start normalization is occurring when it shouldn't be.
The text was updated successfully, but these errors were encountered: