Commit Graph

139 Commits (853a3c0d6e7335ec9214823fd47a0f05c3faf93b)

Author SHA1 Message Date
Luke Morris c331e0f48e Revert :interval: work
Squashed commit of the following:

commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:46 2018 -0800

    Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"

    This reverts commit 8cd9d1890c, reversing
    changes made to c1fcd18430.

commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:23 2018 -0800

    Revert "Merge pull request #2890 from influxdata/fix/time-interval"

    This reverts commit 0a1997d7f1, reversing
    changes made to afbcfc3c0d.
2018-02-28 20:47:16 -08:00
Michael Desa 4719d34d73 Ensure backwards compat for old GROUP BY :interval: 2018-02-28 17:21:15 -05:00
Luke Morris 801f1311a4 Merge branch 'master' into feature/migrate-time-interval 2018-02-27 19:14:28 -08:00
Luke Morris a78c925df2 :interval: relies on others, and should always come last 2018-02-27 18:02:38 -08:00
Chris Goller 63dd59611c Update timeseries interface to write multiple points 2018-02-27 13:27:17 -06:00
Chris Goller 73d4d7da9c Remove db and rp from annotation SELECT queries 2018-02-27 13:05:48 -06:00
Chris Goller 4590b70267 Update variable name of the annotations db 2018-02-27 13:03:40 -06:00
Michael Desa 034b06cd7b Create new point template var template value
Previously users specify `resolution` and `pixelsPerPoint`. This has
been change and the front end will now need to specify `points` which is
the number of points it'd like to get back from the query.
2018-02-22 13:17:49 -05:00
Chris Goller 4ca961bbb2 Add tests for writing to influxdb 2018-02-17 14:01:18 -06:00
Chris Goller 0374a7de6f Add tests for annotation store 2018-02-17 12:30:55 -06:00
Chris Goller cba5baffed Update annotations to be inclusive of start and end time 2018-02-16 09:17:47 -08:00
Chris Goller 11be7eae8d Fix annotation storage to influxdb 2018-02-16 09:17:47 -08:00
Chris Goller 5731d3f059 Update annotations to use time as endTime 2018-02-16 09:17:47 -08:00
Chris Goller 59b85c3f3a Update influxdb annotation store to support update/delete 2018-01-18 21:50:46 -06:00
Chris Goller 92b5cedff9 Add basic REST routes for annotations 2018-01-12 17:17:14 -06:00
Chris Goller 1629f6c56b Add epoch to influx query 2018-01-12 17:17:01 -06:00
Chris Goller 8073d3f090 Add update/create/delete for influx annotation store 2018-01-11 20:49:10 -06:00
Chris Goller fd81927bfa WIP Add annotation store to influxdb 2018-01-11 11:46:49 -06:00
Chris Goller 385a215d56 Fix template rendering to ignore template if not in query 2017-12-11 09:49:24 -06:00
Jared Scheib 4f43d2a137 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
Jared Scheib c9e579acb2 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
Chris Goller ef1cadb7a4 Add basic auth or JWT tokens for meta queries 2017-12-04 18:07:08 -06:00
Michael Desa ff9dd97026 Add Num to UsersStore interface 2017-11-30 12:55:59 -05:00
Chris Goller 3f87dd6e77 Refactor and simplify auto group by (:interval:) template variable 2017-11-08 11:27:35 -06:00
Jared Scheib aa8742662f Merge branch 'master' into multitenancy 2017-10-24 17:58:15 -07:00
Andrew Watkins 4353f8ac86 Merge pull request #2128 from influxdata/feature/qc-v2-alias
FEATURE:  queryConfig v2 && custom field alias persistence
2017-10-20 20:32:33 -07:00
Michael Desa 246e65e598 Generalize chronograf.UsersStore Get method
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.

-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
Chris Goller dd3399adcd Update InfluxQL field parsing to return strings rather than numbers 2017-10-17 13:52:26 -05:00
Chris Goller 9c9a0a4fc7 Refactor fill statement parsing to be an idomatic switch 2017-10-17 13:52:01 -05:00
Chris Goller 2c3c9f39cc Add test of InfluxQL parsing with aggregates and aliases 2017-10-17 13:50:52 -05:00
Nathan Haugo fe2173d6c5 Remove debugging lines and add case for less than 1 ms 2017-10-16 16:23:22 -05:00
Nathan Haugo 0491a7685b Made changes due to review 2017-10-16 16:15:12 -05:00
Chris Goller 7b786657aa Rename queryConfig field to Value and support top/bottom 2017-10-16 10:56:12 -05:00
Nathan Haugo b87befa0b3 Add support for millisecond groupbys 2017-10-11 13:14:44 -07:00
Chris Goller 6d6a2d4a2a WIP supporting integers/floats for influxql arguments 2017-10-11 14:45:01 -05:00
Chris Goller 3c1b09704e Refactor query config field arguments to be fields 2017-10-10 18:04:45 -05:00
Chris Goller 3ba1a4c94d Refactor queryConfig to have field aliases and function arguments 2017-10-10 17:01:50 -05:00
Nathan Haugo 6cbd33b9ee Fix tests for the updated group by time logic 2017-10-03 16:31:51 -07:00
Chris Goller b99ba2d3c2 Add check for enterprise build type header 2017-09-28 18:37:52 -05:00
Jared Scheib 681c700806 Test fill for floating point number on server 2017-09-06 12:27:13 -04:00
Jared Scheib 856f879924 Add server test for invalid fill 2017-09-06 12:21:44 -04:00
Jared Scheib fc0ddc0304 Fix query parser to return correct fill num value 2017-09-06 10:55:45 -04:00
Jared Scheib e0c93f3b2a Test fill number 2017-09-06 10:55:36 -04:00
Jared Scheib 888e8a8b9d Test implicit fill null made explicit 2017-09-06 10:50:02 -04:00
Jared Scheib 839932978a Test explicit null fill in server query parsing 2017-09-05 18:41:58 -04:00
Jared Scheib ae3751e43d Add fill to queryConfig in server response 2017-09-05 18:41:58 -04:00
Jared Scheib cc082dfcab Add query parser test for non-null fill 2017-09-05 18:41:50 -04:00
Chris Goller 38f172f84d Update interface Authorization to Authorizer 2017-07-25 12:13:46 -05:00
Chris Goller cef0e66df0 Update influx Authorization Headers for write and query path 2017-07-25 12:13:46 -05:00
Chris Goller a3e38a68c9 Update influx Authorization Headers for write and query path 2017-07-25 12:13:46 -05:00