Commit Graph

325 Commits (963d277a75d0e27b9e68ff5ad7073d146e9fba2a)

Author SHA1 Message Date
Ben Johnson 963d277a75 Add "influxd backup" command.
This commit adds the backup command to the influxd binary as well as
implements a SnapshotWriter in the influxdb package.

By default the snapshot handler binds to 127.0.0.1 so it cannot be
accessed outside of the local machine.
2015-03-22 10:54:14 -06:00
Ben Johnson 0461f401f6 Add SnapshotWriter. 2015-03-19 22:23:52 -06:00
Philip O'Toole 50d2470041 Write totals, not diff, of internal stats 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 f4b3e3da9f Fix final 'go vet' errors 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 ea7b7be534 Fix 'go vet' errors 2015-03-15 14:32:11 -07:00
Philip O'Toole 5240151517 Actually start self-monitoring if requested 2015-03-15 14:32:11 -07:00
Philip O'Toole d95c9454d2 Better names for statistics config options 2015-03-15 14:32:11 -07:00
Philip O'Toole 95f7a006a3 Fix test config for _internal database 2015-03-15 14:32:11 -07:00
Philip O'Toole f730257ee4 Implement self-monitoring 2015-03-15 14:31:16 -07:00
Ben Johnson 06d839223e Integration test delay. 2015-03-14 14:31:25 -06:00
Ben Johnson 53dbec8232 Add config notifications and increased test coverage. 2015-03-14 13:36:06 -06:00
Cory LaNou a19f81d3e9 Graphite numbers are always float64 2015-03-14 09:59:33 -06:00
Cory LaNou a37a303852 added tests for writing multiple values/fields for client 2015-03-13 17:00:57 -06:00
Ben Johnson 4b9a93d924 Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker 2015-03-12 15:46:04 -06:00
Philip O'Toole d82d040e59 Create databases for Graphite at higher level
By doing this the SeriesWriter interface stays focused and just has
methods for writing data. Its name then remains coherent.
2015-03-12 13:33:25 -07:00
Philip O'Toole 7717b11e6b Factor common code into Graphite package 2015-03-12 12:21:27 -07:00
Todd Persen 3e4e56d31f Fix merge conflict in CHANGELOG.md 2015-03-12 11:41:30 -07:00
Ben Johnson 7880bc2452 Add zero length data checks. 2015-03-12 12:12:26 -06:00
Ben Johnson 7ab19b9f91 Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker 2015-03-12 11:59:55 -06:00
Cory LaNou b0be24beb1 less header lines 2015-03-12 11:17:28 -06:00
Cory LaNou 5ce7307f31 append line separator in correct spot 2015-03-12 11:17:28 -06:00
Cory LaNou 15e1f9acca add trailing line separator for column format 2015-03-12 11:17:09 -06:00
Cory LaNou 04ed8a8fef sort tags for consistency 2015-03-12 11:17:09 -06:00
Cory LaNou b18ac070b9 no need to pass arg 2015-03-12 11:17:09 -06:00
Cory LaNou 24804036ef no need to pass arg 2015-03-12 11:17:08 -06:00
Cory LaNou f0f3be9aa7 refactoring column format to be much more intelligent, fixed typo seperator -> separator 2015-03-12 11:17:08 -06:00
Cory LaNou 891a15662a no more line headers 2015-03-12 11:17:08 -06:00
Cory LaNou b94027fb84 add line separator between result outputs 2015-03-12 11:17:08 -06:00
Cory LaNou b36217cecd fixing bug with headers output 2015-03-12 11:17:08 -06:00
Cory LaNou 96856ffb19 stop writing blank columns, repeate headers as necessary 2015-03-12 11:17:08 -06:00
Cory LaNou 291de444f3 update integration test 2015-03-12 11:09:14 -06:00
Cory LaNou ddc6e119ab Add default column to SHOW RETENTION POLICIES 2015-03-12 11:07:51 -06:00
Cory LaNou 58dac30fd5 auto create database for graphite if not specified 2015-03-12 10:20:49 -06:00
Paul Dix b4e1795e0b Merge pull request #1925 from influxdb/fill-options
Add fill to select statements.
2015-03-11 19:32:15 -07:00
Paul Dix 06e8c1b3e8 Add fill to select statements.
Fixes #1913
Add fill(none), fill(<num>), and fill(previous) options
2015-03-11 18:05:31 -07:00
Cory LaNou 41607c2115 Merge pull request #1758 from influxdb/start-graphite
Add Graphite Integration Test
2015-03-11 16:13:25 -06:00
Cory LaNou c46caf8503 go faster! 2015-03-11 15:26:37 -06:00
Cory LaNou 98484b613b the right way to wait for data 2015-03-11 14:43:50 -06:00
Philip O'Toole 8baf5fa184 Merge pull request #1923 from influxdb/int_timestamp_0_select
Some integration-testing of 'count()'
2015-03-11 13:42:13 -07:00
Philip O'Toole 239a10c679 Some integration-testing of 'count()' 2015-03-11 13:38:21 -07:00
Cory LaNou 5f8b176fd2 enable graphite endpiont test 2015-03-11 14:05:02 -06:00
Cory LaNou 174a3007bb clarify broker failed start messages 2015-03-11 14:05:02 -06:00
Cory LaNou c7068b77e9 better error for starting server so we can find what line it was 2015-03-11 14:05:01 -06:00
Cory LaNou 019b9de54e adding graphite integration test: skipped as it currently fails 2015-03-11 14:05:01 -06:00
Cory LaNou e3d74f6666 allow integration tests to take a custom config 2015-03-11 14:05:01 -06:00
Philip O'Toole 6ca09c40bb Merge pull request #1921 from influxdb/int_timestamp_0_select
Integration-test precision timestamps
2015-03-11 12:59:19 -07:00
Philip O'Toole 4e876a3106 Integration-test precision timestamps 2015-03-11 12:57:19 -07:00
Ben Johnson 5f6bcf523f Fix broker integration bugs. 2015-03-11 12:00:45 -06:00