chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Interval selection not working as expected

Open nhaugo opened this issue 9 years ago • 5 comments

Using the absolute time range selector and selecting the past year gives this query: SELECT mean("total") AS "mean_total" FROM "telegraf"."autogen"."processes" WHERE time > '2016-08-21T19:44:11.850Z' AND time < '2017-08-21T19:44:11.850Z' GROUP BY time(1s)

The group by time should not be 1s

nhaugo avatar Aug 21 '17 19:08 nhaugo

We also need to test this against very small time ranges, e.g. a 5 second window should drop into the ms range, this should be tested.

nhaugo avatar Aug 22 '17 16:08 nhaugo

May be related to https://github.com/influxdata/chronograf/issues/1871

jaredscheib avatar Aug 23 '17 16:08 jaredscheib

@timraymond does this fix the large time scale problem, i'm getting reports of it not working with only two days worth of data.

nhaugo avatar Aug 24 '17 17:08 nhaugo

@nhaugo It should fix the large time scale problem. I'm not sure about small time ranges... we may need a separate investigation card to repro and fix it.

timraymond avatar Aug 24 '17 18:08 timraymond

connect #1925

nhaugo avatar Aug 29 '17 16:08 nhaugo