Commit Graph

353 Commits (99494a1598f66c165fd89e6ad7da08f5e29b9d22)

Author SHA1 Message Date
Philip O'Toole 0bcec78527 Merge pull request #2076 from influxdb/fix_up_logging
Fix up logging
2015-03-25 21:34:26 -07:00
Philip O'Toole 1660cb349e Merge pull request #2079 from influxdb/rename_report_server
Rename reporting function since it's not stats
2015-03-25 19:41:20 -07:00
Philip O'Toole 5e01e83e47 Rename reporting function since it's not stats 2015-03-25 19:39:27 -07:00
Philip O'Toole da25c94484 Move small utility function closer to its use 2015-03-25 19:35:27 -07:00
Philip O'Toole c461c7e7b4 Remove logging to specific file 2015-03-25 17:41:39 -07:00
Todd Persen 94a8019fc7 Wire up DROP CONTINUOUS QUERY 2015-03-25 11:58:33 -07:00
Ben Johnson 21782c0a67 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore 2015-03-24 16:05:49 -06:00
Philip O'Toole bfad9a194d Merge pull request #2061 from influxdb/show_diags_command
SHOW DIAGNOSTICS command
2015-03-24 12:25:56 -07:00
Philip O'Toole 895b781e72 Creates "values" correctly for various diags 2015-03-24 09:27:54 -07:00
Philip O'Toole f6644d4de8 Add "shard groups" and "shards" to diags 2015-03-23 23:46:20 -07:00
Philip O'Toole e79d063f4f Count number of open shards 2015-03-23 23:45:57 -07:00
Philip O'Toole 1c440f8542 Implement "SHOW DIAGNOSTICS" 2015-03-23 23:45:57 -07:00
Philip O'Toole fba41df82b Push version and commit hash onto Server 2015-03-23 23:45:57 -07:00
Philip O'Toole a8f0dbcf1d Load shards on restart
Fix for #2012
2015-03-23 18:34:46 -07:00
Philip O'Toole 0a76c2bdfc Clear server maps on close
These maps are reloaded from the metastore on open.
2015-03-23 18:27:36 -07:00
Philip O'Toole 51e98b85ef Support sorting of retention policies
Sort them by name.
2015-03-23 17:27:15 -07:00
Philip O'Toole c239914249 Track number of queries received and executed 2015-03-23 16:48:25 -07:00
Philip O'Toole ab4e7b3047 Tighten up tag and ID choice for internal stats 2015-03-23 16:48:22 -07:00
Ben Johnson 3befa12fa3 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
Conflicts:
	cmd/influxd/main.go
	cmd/influxd/run.go
2015-03-22 15:38:41 -06:00
Ben Johnson 11c808f55f Add restore and bootstrap.
This commit adds the "influxd restore" command to the CLI. This allows
a snapshot that has been produced by "influxd backup" to be restored
to a config location and the broker and raft directories will be
bootstrapped based on the state of the snapshot.
2015-03-22 15:31:49 -06:00
Ben Johnson 0461f401f6 Add SnapshotWriter. 2015-03-19 22:23:52 -06:00
Philip O'Toole 05fb2842ba Use _id for Series IDs
Fix issue #2008
2015-03-19 19:04:07 -07:00
Philip O'Toole 62dc60d36d Merge pull request #2004 from influxdb/limit-group-by
Limit group by to MaxGroupByPoints (currently 100,000)
2015-03-19 16:45:24 -07:00
Philip O'Toole dc297e8012 Correctly use IsRawQuery 2015-03-19 16:32:25 -07:00
Philip O'Toole b045a0008e Remove redundant Aggregated() on select statement 2015-03-19 15:22:43 -07:00
Simon Kern 787d521ca5 removed unnecessary fmt.Sprintf 2015-03-19 22:17:15 +01:00
Cory LaNou c13bdd5e86 refactor, bug fix, move tests to integration 2015-03-19 14:33:47 -06:00
Cory LaNou e78e5f3e19 Limit group by to MaxGroupByPoints (currently 100,000) 2015-03-18 18:44:30 -06:00
Philip O'Toole 43a5747e6e Track shard-level stats 2015-03-18 15:26:49 -07:00
Philip O'Toole 61b5c4ee3c Set a timestamp when storing monitoring stats 2015-03-18 12:42:33 -07:00
David Norton 62ae32b0ce wire up regex in FROM clause 2015-03-16 19:40:59 -04:00
David Norton fd005a5f15 influxql: allow regex in FROM clause 2015-03-16 19:40:21 -04:00
Philip O'Toole 69530b7e8f Use a time.Ticker object for precise self-monitoring 2015-03-15 14:32:47 -07:00
Philip O'Toole eec2cf6bf6 Use a better ID for the server ID in stats 2015-03-15 14:32:46 -07:00
Philip O'Toole 50d2470041 Write totals, not diff, of internal stats 2015-03-15 14:32:46 -07:00
Philip O'Toole 032cfaa980 Launch self-monitoring in a go-routine 2015-03-15 14:32:46 -07:00
Philip O'Toole 43161bb5da Small chance that a database exists 2015-03-15 14:32:46 -07:00
Philip O'Toole d627634991 Ensure internal retention policy exists 2015-03-15 14:32:46 -07:00
Philip O'Toole ae3b3d5252 Rename "metrics" to "stats" 2015-03-15 14:32:46 -07:00
Philip O'Toole 5240151517 Actually start self-monitoring if requested 2015-03-15 14:32:11 -07:00
Philip O'Toole bf28720c6e Add "name" to stats object
This "name" becomes the Measurement name. In addition the implementation
for "SHOW STATS" has been re-instated.
2015-03-15 14:32:11 -07:00
Philip O'Toole 6867d806de Use Inc() shorthand for Stats 2015-03-15 14:32:11 -07:00
Philip O'Toole f730257ee4 Implement self-monitoring 2015-03-15 14:31:16 -07:00
Philip O'Toole 228e238436 Remove unnecessary err variable 2015-03-15 14:31:16 -07:00
Philip O'Toole 8825580500 Track server stats 2015-03-15 14:31:16 -07:00
Todd Persen b842bf2446 Merge pull request #1952 from dullgiulio/delete-no-panic
return error on delete statement, closes #1933
2015-03-15 10:16:42 -07:00
Ben Johnson 06d839223e Integration test delay. 2015-03-14 14:31:25 -06:00
Ben Johnson 41d357ac04 Fixes based on code review comments. 2015-03-14 14:07:09 -06:00
Ben Johnson 53dbec8232 Add config notifications and increased test coverage. 2015-03-14 13:36:06 -06:00
Giulio Iotti 2cc2077c3d do not accept empty database name in drop 2015-03-14 21:31:44 +02:00