Commit Graph

2895 Commits (24e0a398cc5474e61854c5876110947d469a675a)

Author SHA1 Message Date
Ben Johnson 24e0a398cc Merge pull request #1201 from influxdb/tag-index
Tag index
2014-12-22 09:24:16 -07:00
Ben Johnson 688080af3d Merge pull request #1257 from influxdb/filter-tags
Add tag filtering
2014-12-22 09:01:05 -07:00
dgnorton 3628a9d05d Merge pull request #1239 from influxdb/http-api
Http api
2014-12-22 10:42:24 -05:00
David Norton d51214d41c handler: code review changes 2014-12-22 10:41:09 -05:00
David Norton 237dec2d12 handler: code review changes 2014-12-22 10:20:48 -05:00
David Norton 6b6f0b3a18 Revert change to HashPassword func 2014-12-22 10:20:48 -05:00
David Norton 3c57dd3165 Wire up GET /db/:db/users 2014-12-22 10:20:48 -05:00
David Norton 7079d69f03 Wire up DELETE /cluster_admins/:user 2014-12-22 10:20:48 -05:00
David Norton d67257e83b Wire up POST /cluster_admins 2014-12-22 10:20:48 -05:00
David Norton 2b1c2ff97a go fmt 2014-12-22 10:20:48 -05:00
David Norton 9f174e6b21 Wire up GET /cluster_admins 2014-12-22 10:20:48 -05:00
David Norton c89a61d6d4 Wire up DELETE /db/:db/users/:user 2014-12-22 10:20:48 -05:00
David Norton c80b5a698b Wire up POST /db/:db/users/:user 2014-12-22 10:20:48 -05:00
Paul Dix 639e25e2ce Fix build, cleanup database measurements test. 2014-12-22 07:35:29 -05:00
Paul Dix 5ba05c8b84 Fix wrong lock on create series, rename Series to Measurements for consistency 2014-12-22 07:35:29 -05:00
Paul Dix 4d4b9656c7 Add Fields to Measurement.
* Add Field
* Changes series on meta to measurements for consistency
* Update metastore to store serialized Series object instead of tags
2014-12-22 07:35:29 -05:00
Paul Dix f6948b14c8 Update Database and Metastore to keep series info
* Change database to keep all data under a bucket in bolt
* Subbucket under the database to keep tagbytes to ids
* Subbucket under the database to keep ids to tag values
2014-12-22 07:35:29 -05:00
Paul Dix 6f5643a9ed Remove the old series cruft from database and metastore 2014-12-22 07:35:29 -05:00
Ben Johnson 661ef86c51 Merge pull request #1258 from influxdb/rewrite
Add Rewriter
2014-12-21 17:55:30 -07:00
Ben Johnson fdd65116b4 Add Rewriter. 2014-12-21 15:18:55 -07:00
Ben Johnson eced3a347c Add tag filtering.
This commit adds tag filtering via the `WHERE` clause.

Example:

	SELECT sum(value) FROM cpu GROUP BY time(1h), host WHERE region = 'us-west'
2014-12-21 13:22:04 -07:00
Ben Johnson a034dab697 Fix date parsing comment. 2014-12-21 12:45:52 -07:00
Ben Johnson 7501c3538d Merge pull request #1256 from influxdb/abs-time
Add absolute time support
2014-12-21 11:10:47 -07:00
Ben Johnson 2aa6612a04 Merge branch 'date-parsing' into abs-time 2014-12-21 11:09:26 -07:00
Ben Johnson bd79d70f50 Add absolute time support.
This commit adds the ability to specify time by duration since epoch.

Example:

	SELECT * FROM cpu WHERE time > 1388534400s
2014-12-21 11:07:14 -07:00
Ben Johnson 6a19a8130d Merge pull request #1255 from influxdb/date-parsing
Add date-only parsing
2014-12-21 11:02:12 -07:00
Ben Johnson 2564933639 Add date-only parsing.
This commit changes the Parser to check for date-only formatted strings instead of only
datetime formatted strings.
2014-12-21 10:59:36 -07:00
Ben Johnson e3ac00a5aa Merge pull request #1254 from influxdb/fix-neq
Fix NEQ
2014-12-21 10:44:20 -07:00
Ben Johnson d92d0d4737 Fix NEQ: Change != to <> 2014-12-21 10:43:03 -07:00
Ben Johnson 4d0cf4e47b Fix syntax error. 2014-12-21 10:40:39 -07:00
Ben Johnson b3a4d0aca7 Merge pull request #1247 from influxdb/group-by
Add group by support for tags.
2014-12-21 10:06:40 -07:00
Ben Johnson f5a3e9bf15 Code review fixes. 2014-12-21 10:05:15 -07:00
Ben Johnson 252a4cfba8 code review fix. 2014-12-19 21:45:40 -07:00
Ben Johnson a6d1de7d20 Merge branch 'master' of https://github.com/influxdb/influxdb into group-by 2014-12-19 21:38:21 -07:00
Ben Johnson 6c6bb92a1b Add join support.
This commit adds the ability to join multiple measurements together and calculate aggregate
function expressions.
2014-12-19 21:36:52 -07:00
Philip O'Toole 8b55fda793 Merge pull request #1249 from otoolep/3_node_raft
Enable join of nodes to existing cluster
2014-12-19 17:13:50 -05:00
Philip O'Toole 66016e10ff Check for connection URL on Broker Open()
Update unit tests suitably.
2014-12-19 17:09:39 -05:00
Philip O'Toole b124a46fe2 Prefix remaining Raft paths with 'raft' 2014-12-19 16:31:40 -05:00
Philip O'Toole e31c58d580 Add protocol to Raft connection string
Fixed at HTTP for now.
2014-12-19 16:18:48 -05:00
Philip O'Toole b8c04f96c4 connectionAddr -> addr
This is more line with existing Go packages.
2014-12-19 16:18:48 -05:00
Philip O'Toole ede3b9511e Explicitly use 'raft' in URL path for Raft ops 2014-12-19 16:18:48 -05:00
Philip O'Toole 021604a6de Add connection URL to Broker 2014-12-19 16:18:01 -05:00
Philip O'Toole e1ef61aafc Tell Broker to join during 'join-cluster' 2014-12-19 16:18:01 -05:00
Philip O'Toole 3ab0c5b270 Add logging of Raft initialization 2014-12-19 16:18:01 -05:00
Ben Johnson 1ad79470c6 Merge branch 'master' of https://github.com/influxdb/influxdb into group-by 2014-12-19 11:19:08 -07:00
Philip O'Toole 3d2e57421d Merge pull request #1253 from otoolep/fix_config_ref
Use existing config variable, not a new one
2014-12-19 13:11:16 -05:00
Philip O'Toole 72d73b800c Use existing config variable, not a new one
Without this, log remained closed. Always.
2014-12-19 13:08:09 -05:00
Philip O'Toole 4f0eceb906 Merge pull request #1250 from otoolep/launch_handlers_in_goroutines
Launch HTTP handlers in goroutines
2014-12-19 11:40:11 -05:00
Philip O'Toole bc6d951057 Launch HTTP handlers in goroutines 2014-12-19 11:34:32 -05:00
Philip O'Toole 97e66c08c2 Merge pull request #1248 from otoolep/fix-join-cluster-help
The flag is 'seed-servers'
2014-12-18 11:40:18 -08:00