Commit Graph

48 Commits (a540780543e16286c3dfbbad1eb65c78184122d1)

Author SHA1 Message Date
Philip O'Toole 4c7c87a7bb Refactor common diags into types
This will make it easier to use these common diagnostics function in
other components, like the Broker, as well as minimizing growth of the
server type, in terms of SLOC.

This new diags code can be converted to InfluxQL rows, for easy display
and re-writes back to the database for self-monitoring.
2015-03-26 16:27:13 -07:00
Todd Persen 94a8019fc7 Wire up DROP CONTINUOUS QUERY 2015-03-25 11:58:33 -07:00
Cory LaNou 410e357b1b spelling 2015-03-10 12:38:31 -06:00
Cory LaNou db067b6a2d move constant 2015-03-10 12:24:26 -06:00
Cory LaNou b8fb723967 Enforce retention policy minimum (currently 1 hour) 2015-03-10 10:49:54 -06:00
Cory LaNou 4f5ad7399e add tests for NormalizeBatchPoints. Remove custom type client.Timestamp 2015-03-07 07:12:22 -07:00
Cory LaNou bda9685526 Use BatchPoints for writing from client library 2015-03-07 07:12:21 -07:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
David Norton 9bff9cdeee issue #1431: wire up regex queries 2015-02-21 15:38:35 -05:00
Philip O'Toole 2585a9ea4f Encode real batches for shards 2015-02-20 11:28:07 -08:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Philip O'Toole 5f20af0023 Implement codec DecodeByID 2015-02-16 16:31:39 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 32faba7248 Add "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Cory LaNou ffd71ea39c fixes #1542 - my bad 2015-02-10 15:57:46 -07:00
Cory LaNou f4dfb87acc first pass at hardening authorize 2015-02-05 14:39:40 -07:00
Philip O'Toole 05351822e4 Fix imports -- remove blank line 2015-02-03 18:43:23 -08:00
Cory LaNou 9791a74d26 make sure zero values does not set epoch time by accident 2015-02-03 18:43:23 -08:00
Philip O'Toole 9e916acc30 Ensure Tags map is non-nil
If the incoming points have no tags, then the unmarshaled BatchPoint
will have a nil Tags map.

Fix issue #1499
2015-02-03 18:43:23 -08:00
Philip O'Toole 737f93f572 Sanity-check points before storing 2015-02-03 18:43:23 -08:00
Philip O'Toole 347032ebf1 Move batch-points code to influxdb package
Since batching is not specific to the HTTP transport, this makes the
code available for use by other future transports.
2015-02-03 18:43:23 -08:00
David Norton a8b86dc29b golint cleanup 2015-02-01 13:47:48 -05:00
David Norton 8693d771ed issue #1418: persit user after grant/revoke 2015-01-30 10:46:29 -05:00
David Norton 2d34c71c0c Add authorization unit tests & code review fixes 2015-01-20 23:45:18 -05:00
Ben Johnson 4a03f09e9d Code review fixes. 2015-01-15 12:03:31 -07:00
Ben Johnson 0e2aae61e3 Basic query engine integration. 2015-01-14 16:44:09 -07:00
Ben Johnson 47cd03f3d3 Partial engine integration. 2015-01-13 10:16:43 -07:00
Ben Johnson 5652e12c63 Add write series. 2015-01-10 13:29:43 -07:00
Ben Johnson 50a0826026 Add broker snapshot/restore and CLI join. 2015-01-06 17:21:32 -07:00
Ben Johnson e88bd55762 Rename Node to DataNode. 2014-12-30 08:50:15 -07:00
Ben Johnson a04eb398cf Add node management. 2014-12-29 16:12:51 -07:00
Ben Johnson b25ced9b8e Refactor database methods into server. 2014-12-22 23:18:05 -07:00
Paul Dix 3190840f4b gofmt 2014-12-03 11:32:53 -05:00
Paul Dix 3192c8128f Make errors all lowercase to be idomatic 2014-12-03 10:36:04 -05:00
Paul Dix d08bc0297d WIP: Implement writes series data on database
* Add setSeriesId to raft, metastore
* Add methods to get seriesIds

[ci skip]
2014-11-26 11:26:18 -05:00
David Norton f34ed511c0 Wire up POST /db/:db/users 2014-11-26 09:36:43 -05:00
David Norton e3b85d1f87 Add more handler_test.go tests 2014-11-26 08:41:34 -05:00
Paul Dix 00e87488bd Minor edits to replace shard space with retention 2014-11-18 19:03:21 -05:00
Paul Dix 87f5ea1f6a Refactor ShardSpace to RetentionPolicy
* Remove regex since they will be written to or queried explicitly
* Rename retention to duration
* Remove duration
2014-11-18 17:57:10 -05:00
Ben Johnson 0cc1818eaa Remove protobufs. 2014-11-17 17:23:21 -07:00
Ben Johnson 37ee2ac23c Remove engine, parser, and Makefile. 2014-11-17 15:54:35 -07:00
Ben Johnson c138aaaf58 Integrating query into shards. 2014-11-06 01:03:35 -05:00
Ben Johnson dcef4baeb1 Add bolt-backed metastore. 2014-11-05 00:32:17 -05:00
Ben Johnson 922931500f Intermediate commit. 2014-11-03 23:25:33 -05:00
Ben Johnson 31f981e804 Refactoring common, cluster, and protobuf. 2014-10-31 19:31:19 -06:00
Ben Johnson bf36b2a797 Shard space JSON marshaling. 2014-10-29 18:21:17 -06:00
Ben Johnson dc8a73b857 More refactoring. 2014-10-22 22:21:48 -06:00
Ben Johnson 7db0e15799 Refactoring into root. 2014-10-21 23:32:19 -06:00