Pete Kruckenberg
Pete Kruckenberg
I always have to wait a minute or two for series/measurements to initially appear from continuous queries (see my comment on https://github.com/influxdb/influxdb/issues/3247#issuecomment-122055326). Could that be the reason for the intermittent...
For me (running 0.9.1 installed via brew on MacOS 10.10.4 w/ go 1.4.2), continuous queries work _except_ for `derivative()`. No errors in the log. Here's how to recreate: ``` >...
@beckettsean Yes `derivative()` works fine ad-hoc: ``` > select derivative(value) from temp where time > now() - 1h group by time(30s) name: temp ---------- time value 2015-07-16T20:17:07.707069119Z 2.613148063820763 2015-07-16T20:17:18.776822622Z 2.7100874461088713...
@beckettsean I tried the following with rate value=1 and rate value=1.0, same results either way: ``` > create database foo > use foo > insert rate value=1.0 (or 1) >...
@beckettsean This issue (at least, the one I reported in the comment above https://github.com/influxdb/influxdb/issues/3247#issuecomment-122055326) appears to be fixed in 0.9.2. I'm not sure which commit fixes it, but it works.
@beckettsean I spoke too soon. In 0.9.2 CQ with `derivative()` runs, but value generated is always 0. Running same CQ with `sum()` works fine. So `derivative()` is kind-of fixed, but...
@beckettsean After more fiddling, I think CQ `derivative()` is working with 0.9.2. Had to get the right combination of `[continuous_queries]` settings, `GROUP BY time()` and `derivative()` parameters, but it's working!
@gucki @beckettsean Yes I ran into the same thing. The problem is with the way the CQ service sets the time range for the CQ (here https://github.com/influxdb/influxdb/blob/master/services/continuous_querier/service.go#L233). If the `GROUP...
@gucki I found that I had to set the `GROUP BY time()` interval to be at least 2x the sampling rate, so in your case probably 65s since some of...
@gucki I noticed that dups happen when influx is restarted. Not sure if that explains all of your dups.