Commit graph

314 commits

Author SHA1 Message Date
Linh Vo
0f9f860624 update timestamp for whole frame 2017-07-06 12:10:43 -05:00
Linh Vo
ea3e71f78d update adding timestamp 2017-07-06 09:44:12 -05:00
Michael Baird
122bff142c refactor validation comment. 2017-06-29 13:53:07 -05:00
Michael Baird
57a67f16ed error cleanup 2017-06-29 11:12:06 -05:00
Michael Baird
681c48fd12 add more tests for index and input-definition not found 2017-06-29 09:31:21 -05:00
Michael Baird
8e87969933 Input definition GET and DELETE handle the case when the definition does not exist 2017-06-29 08:52:18 -05:00
Travis
9282618993
Removes QueryRequest.Quantum since it is no longer used.
This was populated by the `time_granularity` query argument, but that isn't being used either.
I believe this is left over from an early version of Pilosa prior to `Range()` query support.
2017-06-28 17:26:44 -05:00
Michael Baird
6028b50b06 Validate incoming input definitions through the InputDefinitionInfo Validate rather than through Encode and piecemeal throughout the code. 2017-06-28 16:33:42 -05:00
Travis
e4c71ff1ed
refactor some of the input defintion logic to better utilize Encode() 2017-06-28 13:46:41 -05:00
Linh Vo
de42e3edc7 rebase input-definition 2017-06-27 16:31:48 -05:00
Michael Baird
7592a43b9d accumulate set bits per frame, don't mix into one set across frames 2017-06-27 16:30:59 -05:00
Michael Baird
3594eb9abd Prefaced validValueDestination values
Code cleanup
2017-06-27 16:30:36 -05:00
Linh Vo
8653154dee merge handleAction 2017-06-27 16:29:10 -05:00
Linh Vo
3a659c216d JSONparser tests 2017-06-27 16:28:42 -05:00
Linh Vo
57d035260d update JSONparser 2017-06-27 16:28:42 -05:00
Linh Vo
8f4278465b merge action's processing 2017-06-27 16:28:42 -05:00
Linh Vo
f701f9d273 handle actions in JSONparser 2017-06-27 16:28:17 -05:00
Linh Vo
13da696927 JSON parser 2017-06-27 16:20:51 -05:00
Linh Vo
1407a25008 fix reviews, more input definition tests 2017-06-27 12:36:02 -05:00
Travis
904552b289
adjusted some of the InputDefinition comments 2017-06-26 17:39:58 -05:00
Linh Vo
53c7e5946d validate columnID match primaryField 2017-06-23 14:39:52 -05:00
Linh Vo
8a0609f1fd handle nil rowID 2017-06-22 11:11:36 -05:00
Linh Vo
01d51ac97c Merge pull request #648 from raskle/input-definition
Broadcast Delete InputDefinition Messages and handle on remote nodes.
2017-06-16 16:56:38 -05:00
Travis
431fcbbe4b
Put the handler endpoints in alphabetical order.
Made the InputDefinition handler function names more descriptive.
2017-06-16 14:25:16 -05:00
Michael Baird
428b94dd05 Broadcast Delete InputDefinition Messages and handle on remote nodes. 2017-06-16 14:06:46 -05:00
Michael Baird
64b51f3bc3 Use the internal.inputdefinition object for broadcasting to other nodes. Create encoding methods to translate the JSON request to create a definition. 2017-06-15 23:45:19 -05:00
Linh Vo
e72e3dc436 more handle tests 2017-06-15 00:39:21 -05:00
Michael Baird
00dec45e58 Input definition "Fields" parameter name is consistent throughout now. 2017-06-14 14:23:25 -05:00
Michael Baird
1db97b9312 CreateInputDefinitionMessage now contains the definition and not just the name. 2017-06-14 14:12:07 -05:00
Linh Vo
2d3f244a7b couple more tests 2017-06-13 13:56:08 -05:00
Linh Vo
1c2adda8e9 create frames with input-definition's creation 2017-06-12 16:23:40 -05:00
Linh Vo
a62ec47eec load input-definition when startup servers 2017-06-12 15:04:27 -05:00
Linh Vo
fdacca3147 save inputdefinition as protobuf to file 2017-06-12 00:11:20 -05:00
Linh Vo
7c28e2c3f3 InputFrame struct 2017-06-09 10:27:11 -05:00
Linh Vo
c80bedb402 create input-definiton 2017-06-08 14:23:46 -05:00
Michael Baird
3d6646b82a changed comment for Handler ServeHTTP metrics . 2017-05-31 11:39:58 -05:00
Michael Baird
00e60247f6 Verify Cluster object before calculating long query time stat. 2017-05-30 16:49:04 -05:00
Michael Baird
8c4950bc75 check for valid holder before using calculating stats metrics when serving http requests 2017-05-30 16:21:01 -05:00
Michael Baird
f0c3fdcdda Merge remote-tracking branch 'origin/master' into metrics 2017-05-30 15:36:19 -05:00
Linh Vo
3706fc9022 changed argType 2017-05-25 13:04:38 -05:00
Linh Vo
e34e9f9789 fixed comment, update validQueryArgs 2017-05-25 11:48:08 -05:00
Linh Vo
108c644938 #312 validate unkown query params 2017-05-24 13:57:47 -05:00
Michael Baird
b0f8d5d8f9 Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	cmd/server.go
	ctl/config.go
2017-05-23 10:07:44 -05:00
Michael Baird
1c5f374c1a lower the StatsD sampling rate 2017-05-18 16:40:18 -05:00
Travis
e31beb809b
fix bug in handleGetSliceMax that was causing protobuf request to return json 2017-05-16 12:26:25 -05:00
Michael Baird
4a051900c0 Add sampling rate to StatsD functions, and fix data dog logging 2017-05-16 10:35:49 -05:00
Michael Baird
bd44949cb5 Merge remote-tracking branch 'origin/master' into metrics
Conflicts:
	config.go
	executor_test.go
	server/server.go
2017-05-09 11:31:14 -05:00
Michael Baird
bf6ed942f0 Merge pull request #8 from alanbernstein/stats
Stats
2017-05-09 11:15:23 -05:00
Alan Bernstein
4bb31d071e Change db to index 2017-05-09 11:07:09 -05:00
Ben Johnson
e3d6f96657
Add max-writes-per-requests limit.
A configurable limit has been added to restrict the number of
mutating calls in a `pql.Query`. This is to prevents requests from
timing out from large queries.

The default is set to 5000 writes per request and is configurable
through the configuration file and the command line flags.
2017-05-03 08:53:20 -06:00