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
21cbd844af
Merge pull request #1970 from ctrlrsf/master
...
Add additional go install step as go build doesn't install binaries
2015-03-16 12:36:31 -07:00
Todd Persen
8023c5e8fb
Update CHANGELOG.md
2015-03-16 12:00:16 -07:00
Todd Persen
98b96d3d42
Merge pull request #1974 from influxdb/http-log-time-since
...
Add time taken for request to the http server logs
2015-03-16 11:56:36 -07:00
Cory LaNou
bb3e7894df
update changelog
2015-03-16 12:43:36 -06:00
Cory LaNou
61ee72596d
add time taken to the http server logs
2015-03-16 12:41:15 -06:00
Ben Johnson
60b27b0c30
Merge pull request #1972 from influxdb/urlgen-host
...
Add -host option to urlgen.
2015-03-16 12:22:55 -06:00
Todd Persen
3bbe35f8c8
Merge pull request #1971 from influxdb/fix-leader-init
...
Fix leader id initialization
2015-03-16 10:47:54 -07:00
Ben Johnson
75450466a6
Fix leader id initialization.
2015-03-16 11:27:57 -06:00
Ben Johnson
8648f6d5e7
Add -host option to urlgen.
2015-03-16 11:27:27 -06:00
Rene Fragoso
b81066284e
Minor wording fix
2015-03-16 11:32:04 -04:00
Cory LaNou
369ead2cc9
Merge pull request #1968 from influxdb/fix-vet
...
fix vet error
2015-03-16 09:22:54 -06:00
Rene Fragoso
66e9917a4d
Add go install step for installing binaries
2015-03-16 11:19:12 -04:00
Cory LaNou
0c2a040071
fix vet error
2015-03-16 08:57:21 -06:00
Todd Persen
a0d34270b1
Update CHANGELOG.md
2015-03-15 22:59:33 -07:00
Todd Persen
86ede78836
Merge pull request #1936 from influxdb/server_stats2
...
Implement server stats and self-monitoring
2015-03-15 20:48:29 -07: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
5aa49ef823
Add GoDoc comments to Stats type
2015-03-15 14:32:46 -07:00
Philip O'Toole
a99cd373bb
Update CHANGELOG
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
511be11fc1
Final tweaks to stats unit tests
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
a0e57a801a
Allow stats to be snapshot
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
a8b928ae6b
Add explanatory comments re statistics config
2015-03-15 14:32:11 -07:00
Philip O'Toole
f6ae0f9470
Fix up statistics 'check-interval' in sample config
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
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
240b7a7f7e
Add convenient Inc() method to Stats
2015-03-15 14:31:16 -07:00
Philip O'Toole
f730257ee4
Implement self-monitoring
2015-03-15 14:31:16 -07:00
Philip O'Toole
e08066495a
Add "SHOW STATS" command
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
Philip O'Toole
7d82beb2be
Add basic stats type
...
Modeled on BoltDB and expvar stats.
2015-03-15 14:30:32 -07:00
Todd Persen
9cc6028004
Update CHANGELOG.md for RC12
2015-03-15 10:25:27 -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
Todd Persen
236ab6f104
Merge pull request #1935 from influxdb/stateless-broker
...
Stateless broker
2015-03-15 10:01:58 -07:00
Ben Johnson
7dc465b9db
Fix shard close race condition.
2015-03-14 14:47:20 -06: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
b045ad5d92
Wrap open logic in anonymous functions.
2015-03-14 13:55:19 -06:00