Jason Wilder
388b1c2c05
Refactor openServer/openBroker
...
Simplified signature and state now depends on indexes vs directory
existence
2015-04-06 16:38:00 -06:00
Jason Wilder
6fa0ea01dd
Move openBroker to RunCommand.openBroker
2015-04-06 16:38:00 -06:00
Jason Wilder
c63866ea62
Remove Broker.Timout config
...
Not used
2015-04-06 16:38:00 -06:00
Jason Wilder
18db6fa7ba
Separate baseline config from test config
2015-04-06 16:38:00 -06:00
Jason Wilder
45a2db9f0d
Rename graphite/collect bind address config var name
...
Make it consistent w/ pre-existing "bind-address config options.
2015-04-06 16:37:59 -06:00
Jason Wilder
524e0719ed
Add missing tests for snaphost config
2015-04-06 16:37:59 -06:00
Jason Wilder
384e3f3683
Add tests for config data/broker enabled
2015-04-06 16:37:59 -06:00
Jason Wilder
eb9956b844
Rename ContinuouseQuery Disable to Disabled
...
Match Broker and Data config var names
2015-04-06 16:37:59 -06:00
Jason Wilder
dcb3e85e84
Add a enabled config option for broker and data options
2015-04-06 16:37:59 -06:00
Jason Wilder
358bb9b3d9
Convert flag.String to flag.StringVar
2015-04-06 16:37:59 -06:00
Jason Wilder
5918d48f73
Allow passing config to RunCommand.Open
2015-04-06 16:37:59 -06:00
Jason Wilder
070bb3ccc6
Add logger to RunCommand
2015-04-06 16:37:59 -06:00
Jason Wilder
82b3108f6d
Refactor execRun to RunCommand
2015-04-06 16:37:59 -06:00
Jason Wilder
88f9810ea9
Refactor help into command
2015-04-06 16:37:59 -06:00
Jason Wilder
c356ff6483
Return fmt.Errorf()
2015-04-06 16:29:00 -06:00
Mark Rushakoff
a13af0483a
Use fmt.Println, not log.Println to print usage
...
The previous behavior caused "[srvr]" to print out during usage, e.g. in
`influxd help run`:
```
[srvr] 2015/04/06 11:58:04 usage: run [flags]
run starts the broker and data node server....
```
2015-04-06 13:12:00 -07:00
Philip O'Toole
dbb7d2a319
Tweak openTSDB changes and update CHANGELOG
2015-04-06 11:10:50 -07:00
Tristan Colgate-McFarlane
32d6433c04
OpenTSDB server interface
...
Add an input collector for the OpenTSDB telnet protcol
2015-04-05 10:29:49 +01:00
Jari Sukanen
a56ea6f191
client: rename client.Results type to client.Response (issue: #2050 )
...
Rename client.Results to client.Response as it already has Results
property itself. Renaming it to Response makes code look much less
ugly.
2015-04-04 11:43:53 +03:00
Jason Wilder
9ee0f6445e
Fix broker connect race at startup
...
When a data node starts up, the broker URLs were not set before
they were actually being used. The call to client.Open() in
turn triggers the raft streamer and heartbeat which try to connect
to the broker. If those started before the subsequent client.SetURLs()
call, you would see the following error in the logs at startup:
[messaging] 2015/04/01 11:59:22 reconnecting to broker: url={ <nil> /messaging/messages index=2&streaming=true&topicID=0 }, err=Get /messaging/messages?index=2&streaming=true&topicID=0: unsupported protocol scheme ""
Fixing this race uncovered another bug where the join urls would be
cleared the first time the broker was started. In this case, the
join urls should be left alone since they were set properly w/ SetURLs.
Fixes #2152
2015-04-03 21:04:42 -06:00
Jason Wilder
6d4c7e9cd5
Handle broker and data node endpoints regardless of role
...
This is a pre-requisite for #1934 . When running separate
broker and data nodes, you currently need to know what role
a host is performing. This complicates cluster setup in
that you must configure separate broker URLs and data node
URLs.
This change allows a broker only node to redirect data nodes endpoints
to a valid data node and a data only node to redirect broker
endpoints to a valid broker.
2015-04-03 21:00:43 -06:00
Todd Persen
82bf75c691
Merge pull request #2150 from runner-mei/connection_refused
...
Make InfluxDB win32 friendly, fix unit test is failed on the windows and it is for connection refused.
2015-04-03 16:31:51 -07:00
Philip O'Toole
84d590ce44
Monitoring database should not be configurable
2015-04-03 14:40:36 -07:00
Philip O'Toole
5df05d1256
It's for stats and diags, not just diags
2015-04-03 14:26:17 -07:00
Philip O'Toole
a8559cc37d
Unit test OR tags
2015-04-03 11:41:16 -07:00
runner.mei
6a7cb61f6d
fix unit test is failed with connection refused on the win32
2015-04-03 13:48:52 +08:00
Paul Dix
f3dce09621
uncoment raw ordering test
2015-04-02 15:22:27 -07:00
Paul Dix
c4b780d8b2
remove xxx before integration test
2015-04-02 15:22:27 -07:00
Paul Dix
6c46a5c83b
Add chunked responses and streaming of raw queries.
...
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.
Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.
Fixes #2029 and fixes #2030
2015-04-02 15:22:27 -07:00
Philip O'Toole
7b720b6169
Unit-test two queries in a single request
2015-04-02 11:38:39 -07:00
Philip O'Toole
8a9f8d0eda
Add simple test that results in entries in values
2015-04-02 11:36:02 -07:00
Jason Wilder
91fb7e3756
Track data node urls on brokers
...
This sends data node urls via the broker heartbeat from each data
node. The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
2015-04-02 11:27:53 -06:00
Jason Wilder
0af6d1006d
Move RestoreCommandTest to integration tests
2015-04-02 10:22:28 -06:00
Cory LaNou
8fa3571782
only need max procs for running
2015-04-02 10:27:35 -05:00
Cory LaNou
e7866d3600
Set Go Max procs in a better location
2015-04-02 09:33:09 -05:00
Cory LaNou
87c3c46208
encode toml durations correctly
2015-04-01 20:20:04 -05:00
Philip O'Toole
a7d904778a
Correctly filter series for NEQREGEX
...
Series that do not have any tags are considered matching in the NEQREGEX
case so the must be explicitly added.
2015-03-31 16:14:30 -07:00
Philip O'Toole
60149cf7b5
Unit test EQ and NEQ tag query
2015-03-31 16:14:30 -07:00
Philip O'Toole
26b2a2662c
Add unit test showing issue #1604 is fixed
2015-03-31 16:14:30 -07:00
Philip O'Toole
70d57d399d
Check if the tag filter is a NOT
...
If so, then return all series IDs which do not match.
Fix for issue #2097
2015-03-31 16:14:30 -07:00
Paul Dix
d8aca6029d
Remove logo output on startup and output gomaxprocs setting
2015-03-29 19:01:38 -04:00
Ben Johnson
24db5f23e1
Set GOMAXPROCS.
2015-03-29 15:39:43 -06:00
Philip O'Toole
1b700264a7
Also include NEQ in filters
...
This fixes != for field value comparisons.
2015-03-27 23:07:57 -07:00
Philip O'Toole
a0e9daee63
SHOW DATABASES returns series name "databases"
2015-03-27 16:24:57 -07:00
Philip O'Toole
3e59dac0fb
Allow integration tests to be skipped
2015-03-27 11:28:19 -07:00
Philip O'Toole
8fe4e428a7
Bring 3-node test back online
2015-03-27 10:45:38 -07:00
Philip O'Toole
a23984a840
Allow int tests to query only 1 node
2015-03-27 10:45:38 -07:00
Philip O'Toole
5e08351a27
Merge pull request #2087 from influxdb/_internal_not_internal
...
Use _internal as default self-monitoring database
2015-03-26 17:13:44 -07:00
Philip O'Toole
efdb7e89e2
Disable snapshot endpoint during testing
...
Once we have proper endpoint layering, this can be re-enabled.
2015-03-26 16:25:30 -07:00
Philip O'Toole
f829355e3e
Allow snapshot endpoint to be disabled
...
Fix isse #2086
2015-03-26 16:13:23 -07:00
Philip O'Toole
1e10c46ea1
Remove all backup test paths
2015-03-26 14:58:07 -07:00
Philip O'Toole
7a5f66c75a
Use _internal as default self-monitoring database
2015-03-26 14:12:14 -07:00
Philip O'Toole
f22778a41f
Merge pull request #2085 from influxdb/leading_underscores
...
Test leading underscores
2015-03-26 13:52:59 -07:00
Philip O'Toole
ed918304c4
Test tags with leading underscores
2015-03-26 13:48:26 -07:00
Philip O'Toole
2a2c8ecddb
Remove redundant writes from WHERE testing
2015-03-26 13:41:22 -07:00
Cory LaNou
d653e41712
support fractional time on graphite endpoint
2015-03-26 14:18:40 -06:00
Cory LaNou
524eb78a69
graphite logs in seconds, not milliseconds
2015-03-26 14:18:40 -06:00
Philip O'Toole
c461c7e7b4
Remove logging to specific file
2015-03-25 17:41:39 -07:00
Philip O'Toole
225459b25c
Always write the logo to stdout
...
This change means it will always go to stdout, regardless of the log
setting.
2015-03-25 15:56:03 -07:00
Paul Dix
7076b9ea9a
Merge pull request #2067 from influxdb/relative-times-off-2045
...
Fixing intervals for group by.
2015-03-24 22:17:12 -04:00
Cory LaNou
805cba71a4
clarify test name
2015-03-24 20:14:05 -06:00
Cory Lanou
7be574534c
Fixing intervals for group by. Fixing bad PR
2015-03-24 20:13:05 -06:00
Ben Johnson
21782c0a67
Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
2015-03-24 16:05:49 -06:00
Ben Johnson
4bc92c3018
Code review fixes.
2015-03-24 16:04:39 -06:00
Ben Johnson
2401e69f58
Add incremental backups.
...
This commit adds incremental backup support. Snapshotting from the server
now creates a full backup if one does not exist and creates numbered
incremental backups after that.
For example, if you ran:
$ influxd backup /tmp/snapshot
Then you'll see a full snapshot in /tmp/snapshot. If you run the same
command again then an incremental snapshot will be created at
/tmp/snapshot.0. Running it again will create /tmp/snapshot.1.
2015-03-24 15:57:03 -06:00
Philip O'Toole
fba41df82b
Push version and commit hash onto Server
2015-03-23 23:45:57 -07:00
Ben Johnson
29cb550d95
Code review fixes.
2015-03-23 16:06:29 -06:00
Philip O'Toole
14585db38b
Move TestServer_RawDataReturnsInOrder to int tests
...
Fix #2052
2015-03-23 12:14:15 -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
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
Philip O'Toole
2a4032a9a5
TestServer_LimitAndOffset to integration test
2015-03-20 20:54:40 -07:00
Philip O'Toole
57a1f5e500
Remove debug fmt.Println from tests
2015-03-20 16:36:49 -07:00
Philip O'Toole
1cc1902fb7
Merge pull request #2041 from influxdb/merge_many_series
...
Move "merge many" test to integration test
2015-03-20 16:35:28 -07:00
Philip O'Toole
8b48ff9a28
Move MergeMany to integration test
2015-03-20 16:32:34 -07:00
Philip O'Toole
566b2b62af
Support writing test data via a function
2015-03-20 16:11:00 -07:00
Philip O'Toole
1cb60bdb62
Add help for 'config' command
2015-03-20 15:58:17 -07:00
Philip O'Toole
ee29214898
Make it clear where influxd storage is
2015-03-20 15:19:30 -07:00
Philip O'Toole
45ac8ff2d9
Explicitly check for errors getting current user
2015-03-20 15:18:29 -07:00
Philip O'Toole
f6f74a11bd
Don't check 'configExists' at Run() level
...
*config was always non-null, since code at a higher level ensures that a
default config is passed down if no config is specified. So this logic
was pointless.
2015-03-20 14:10:50 -07: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
3001448f16
Merge branch 'master' into limit-group-by
...
Conflicts:
CHANGELOG.md
2015-03-19 15:17:50 -07:00
Philip O'Toole
b148f3da7a
Merge pull request #2016 from jnutzmann/align-group-by-buckets
...
Fixing bucket alignment for group by
2015-03-19 15:13:40 -07:00
Todd Persen
e2391d9b34
Merge pull request #1909 from influxdb/export
...
Add a `dump` command for exporting data.
2015-03-19 15:07:23 -07:00
Cory LaNou
c13bdd5e86
refactor, bug fix, move tests to integration
2015-03-19 14:33:47 -06:00
Cory LaNou
a6171b3382
refactor of limit/offset
2015-03-19 13:31:46 -06:00
Paul Dix
56281fbfd5
WIP: add IsRawQuery to select and fix LIMIT and OFFSET on GROUP BY time
2015-03-19 11:41:18 -04:00
Jonathan Nutzmann
105d0aa503
fixing failed integration tests - change how number of points calculated and the expected result of the server
2015-03-19 10:28:47 -05:00
Todd Persen
8425c0c578
Final cleanups based on review feedback.
2015-03-18 23:02:11 -07:00
Philip O'Toole
521cddb2a7
Move TestServer_ExecuteWildcardGroupBy
2015-03-18 17:37:08 -07:00
Philip O'Toole
c95af24e43
Move TestServer_ExecuteWildcardQuery
2015-03-18 17:27:20 -07:00
Philip O'Toole
b5d5ce070f
Move TestServer_DropMeasurementSeriesTagsPreserved
2015-03-18 17:21:10 -07:00
Philip O'Toole
82136aab65
Move TestServer_ExecuteQuery to integration tests
2015-03-18 16:53:06 -07:00
Philip O'Toole
fdc44be5e9
Add comment for precision-write tests
2015-03-18 16:16:52 -07:00
Joseph Rothrock
21fd2e2662
dump cmd
...
rename dump flag
put an error response body if json marshalling breaks.
detect and respond to http error codes in the client.
2015-03-18 14:10:36 -07:00
Philip O'Toole
d06d9627f1
Use "internal" for self-monitoring database
...
Parser doesn't like database names that start with "_".
2015-03-18 12:43:04 -07:00
Todd Persen
4ee1216052
Merge pull request #1978 from influxdb/fix-1832
...
fix #1832 : support regex in FROM clause
2015-03-18 11:20:30 -07:00
Grégory Starck
0c7e062a18
Also print the broker path.
...
So to know/see where it's actually located.
2015-03-18 11:58:56 -04:00
Joseph Rothrock
5df3e8c3aa
suppress more client msgs
2015-03-17 14:44:15 -07:00
Joseph Rothrock
9b3f0399af
oops, left in some cruft
2015-03-17 13:57:47 -07:00
Joseph Rothrock
5156a10e9e
Merge branch 'master' of github.com:influxdb/influxdb into export
2015-03-17 10:52:09 -07:00
David Norton
f338e8212c
remove debugging change from tests
2015-03-17 12:46:27 -04:00
Cory LaNou
20b0c52484
fixing config print startup statement
2015-03-17 07:37:08 -06:00
David Norton
62ae32b0ce
wire up regex in FROM clause
2015-03-16 19:40:59 -04:00
Joseph Rothrock
53d99637b7
Merge branch 'master' of github.com:influxdb/influxdb into export
2015-03-16 15:31:47 -07:00
Joseph Rothrock
d7420683ae
tweaking in response to various PR comments
2015-03-16 15:31:41 -07:00
Cory LaNou
031490fff1
function -> method
2015-03-16 16:25:13 -06:00
Cory LaNou
961e2ee944
Print config
2015-03-16 16:24:44 -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
Joseph Rothrock
a342a1e3fd
remove commented line
2015-03-13 16:11:31 -07:00
Joseph Rothrock
4aa47dbe07
Merge branch 'master' of github.com:influxdb/influxdb into export
...
and update changelog
2015-03-13 16:07:47 -07:00
Cory LaNou
a37a303852
added tests for writing multiple values/fields for client
2015-03-13 17:00:57 -06:00
Joseph Rothrock
4aabcd907c
Dump cmd
...
Issue: 1909
move dump cmd to an http endpoint.
Add dump cmd on client to call the endpoint.
2015-03-13 15:37:23 -07: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
Joseph Rothrock
12760b9023
turn a 'Row' into distinct points
2015-03-11 16:54:17 -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
Philip O'Toole
403b05abae
Merge pull request #1914 from Mosibi/master
...
typo: prototcol should be protocol
2015-03-11 10:57:44 -07:00
Philip O'Toole
184f67b857
Integration test retention policy control
2015-03-11 09:36:33 -07:00
Richard Arends
2948d6f464
typo: prototcol should be protocol
2015-03-11 13:05:14 +01:00
Joseph Rothrock
3193e2129b
make a dump command
2015-03-10 16:30:43 -07:00
Ben Johnson
66115f95ca
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
...
Conflicts:
cmd/influxd/run.go
messaging/broker.go
messaging/client.go
messaging/client_test.go
messaging/intg_test.go
server.go
tx_test.go
2015-03-10 16:27:37 -06:00
Ben Johnson
27e9132796
Integrate stateless broker into remaining packages.
2015-03-10 14:53:45 -06:00
Todd Persen
031ea1d2d3
Merge pull request #1900 from influxdb/update-limit-and-offset
...
Update LIMIT/OFFSET and SLIMIT/SOFFSET
2015-03-09 20:14:54 -07:00
Paul Dix
a12f028de4
Wire up limit and offset per series.
...
Fixes #1709 and fixes #1103
2015-03-09 19:17:03 -07:00
Cory LaNou
436d20fec1
Merge pull request #1897 from influxdb/proactively-create-shard-groups
...
Pre-create shard groups
2015-03-09 20:03:12 -06:00
Paul Dix
0f98a605e2
Merge pull request #1600 from influxdb/fix-raw-ordering
...
Query engine rewrite
2015-03-09 18:32:55 -07:00
Cory LaNou
7495e6eb1c
fix comments, some renaming, adding rlock
2015-03-09 18:05:39 -06:00
Cory LaNou
67f03ef26b
Pre-create shard groups
...
1) Pre create shard groups
2) Calculate and save the ShardGroupDuration for Retention Policies. This should never change even if they alter a retention policy in the future
2015-03-09 17:30:17 -06:00
Philip O'Toole
95040c2cec
Test auto-create of retention policy
2015-03-09 16:24:06 -07:00
Philip O'Toole
f72313edd9
Support retention policy auto-creation
2015-03-09 16:24:03 -07:00
Paul Dix
b173e6a380
Fix bug with where clauses on tags, time, and fields
2015-03-09 16:00:20 -07:00
Philip O'Toole
5a796afcda
Merge pull request #1894 from influxdb/minor_int_fixes
...
Use template DB and RP variables
2015-03-09 15:14:17 -07:00
Cory LaNou
6efa090ddb
Merge pull request #1893 from influxdb/update-client-write
...
Update client write
2015-03-09 16:13:39 -06:00
Philip O'Toole
4ad4ce3140
Use template DB and RP variables
2015-03-09 15:12:24 -07:00
Paul Dix
744e6a2aec
Merge branch 'master' into fix-raw-ordering
2015-03-09 11:18:35 -07:00
Paul Dix
08ecaabc16
Fix decodes on multiple fields. Remove debug info. Update tests to match new query engine output.
2015-03-09 11:17:36 -07:00
Philip O'Toole
45d8642189
Add better test of string field WHERE
2015-03-09 11:15:04 -07:00
Philip O'Toole
c714f147e8
Merge pull request #1875 from influxdb/raft_log_trace
...
Support control of Raft debug logging
2015-03-09 08:31:06 -07:00
Cory LaNou
2b4f155407
return no results if successful. update tests. add comments
2015-03-09 09:08:14 -06:00
Philip O'Toole
d802829946
Review feedback
2015-03-07 22:55:23 -08:00
Cory LaNou
20aee9bf85
refactor client integration tests
2015-03-07 07:12:22 -07:00
Cory LaNou
b4194e98c0
increment port for testing
2015-03-07 07:12:22 -07:00
Cory LaNou
01721aad0d
skip test if not short testing
2015-03-07 07:12:22 -07:00
Cory LaNou
f01ee5eb51
adding integration tests for client library. misc bug fixes
2015-03-07 07:12:22 -07:00
Philip O'Toole
fb618cb385
Support control of Raft debug logging
2015-03-06 15:13:33 -08:00
Joseph Rothrock
9b63eed767
Merge branch 'master' of github.com:influxdb/influxdb into 1753
...
Conflicts:
CHANGELOG.md
2015-03-06 12:37:15 -08:00
Joseph Rothrock
771ef1cec3
Don't Panic on Missing Dirs
...
Issue: 1753
Figure out what's missing, create it, and keep going.
2015-03-06 12:11:02 -08:00
Philip O'Toole
2402467e63
Add trace-level logging of write to handler
2015-03-05 17:38:03 -08:00
Philip O'Toole
76c255a3c8
Add trace-level logging to server write path
2015-03-05 17:35:57 -08:00
Philip O'Toole
60c2852d31
Add support for enabling write-tracing
2015-03-05 17:35:57 -08:00
Todd Persen
0b8017ed1e
Add integration test for missing measurements with `GROUP BY *`.
2015-03-05 17:27:54 -08:00
Joseph Rothrock
1efde69c69
JSON via UDP
...
Issue: 1755
Bind the server to a UDP listener to accept series data.
2015-03-04 16:36:06 -08:00
Joseph Rothrock
2e3ed5a089
Merge branch 'master' of github.com:influxdb/influxdb into 1755
2015-03-04 15:37:37 -08:00
Joseph Rothrock
6bb2ad6b95
JSON via UDP
...
Issue: 1755
Bind the server to a UDP listener.
2015-03-04 13:36:21 -08:00
Philip O'Toole
86b29b1908
Transplant 'SHOW FIELD KEYS' tests
2015-03-04 13:01:35 -08:00
Philip O'Toole
a8a2da3194
Transplan 'SHOW TAG VALUES' tests
2015-03-04 12:54:44 -08:00
Philip O'Toole
e84b338018
Transplant 'SHOW TAG KEYS' tests
2015-03-04 12:44:56 -08:00
Philip O'Toole
c485c63c77
Transplant 'SHOW MEASUREMENTS' series tests
2015-03-04 12:33:11 -08:00
Philip O'Toole
10217cc323
Transplant 'SHOW SERIES' tests
2015-03-04 12:21:39 -08:00
Philip O'Toole
8480a1829a
Move string and bool data write to integration
2015-03-03 17:11:09 -08:00
Philip O'Toole
2ecae19874
Replace literal "myrp" with %RP% in tests
2015-03-03 16:48:40 -08:00
Philip O'Toole
bbb6df0dcf
Merge pull request #1838 from influxdb/where_and
...
Add unit test of parenthesis and WHERE on fields
2015-03-03 16:46:42 -08:00
Philip O'Toole
372949fee4
Add unit test of parenthesis and WHERE on fields
2015-03-03 15:58:25 -08:00
Philip O'Toole
a22f1043a2
Merge pull request #1835 from influxdb/where_and
...
Add failing test case for WHERE AND
2015-03-03 15:49:55 -08:00
Philip O'Toole
0e3e0f6a38
Transplant more tests from httpd
2015-03-03 15:48:03 -08:00
Philip O'Toole
89bed24505
Tighten WHERE fields test case
2015-03-03 15:26:02 -08:00
Philip O'Toole
adee51c4e0
Merge pull request #1836 from hawson/fix-1760-history_file
...
Fix for #1760 : influx doesn't create $HOME/.influx_history
2015-03-03 15:16:48 -08:00
Philip O'Toole
6ceae8ba3c
Add WHERE field test, on 1 field
2015-03-03 15:02:42 -08:00
Philip O'Toole
f422fbdebe
Support only running certain integration tests
2015-03-03 14:53:31 -08:00
Philip O'Toole
b69dc160ea
Add failing test case for WHERE AND
2015-03-03 14:30:59 -08:00
Jesse Becker (NCBI)
0f7c69c587
Fix for #1760 : influx doesn't create $HOME/.influx_history
2015-03-03 17:12:19 -05:00
Philip O'Toole
585ab410ba
3-node cluster tests disabled
...
Cluster testing is racy right now, possibly due to the underlying
implementation.
2015-03-03 14:06:39 -08:00
Philip O'Toole
0d03998dc3
Move tests from HTTP handlers to integration
2015-03-03 14:03:49 -08:00
Philip O'Toole
1ba6d8a4f9
Add initial version of table-driven int. tests
2015-03-03 13:28:09 -08:00
Kai Zhang
ef262171d6
trim command line before parse it
...
This can avoid some errors caused by an additional space at the end of
the command line.
For example: 'use db ' will be trimed to 'use db' and parsed correctly.
Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Todd Persen
06bfd9c496
Remove unused syslog.go
2015-02-27 15:41:40 -08:00
Philip O'Toole
a8879c02b8
Even more fixes to integration tests
2015-02-25 16:35:06 -08:00
Philip O'Toole
00a9b515a6
Simple fixes to integration tests
2015-02-25 16:21:06 -08:00
Philip O'Toole
a54bd4e20b
Don't modify URL passed into test code
2015-02-25 16:01:06 -08:00
Philip O'Toole
bb326a6815
Don't copy the cluster nodes during testing
...
Use pointers, so the code is using exactly the same cluster nodes during
testing.
2015-02-25 15:57:58 -08:00
Philip O'Toole
4f232af69f
5-node tests are racy, disabling pending debug
2015-02-24 19:23:44 -08:00
Joseph Rothrock
c96fda2287
Add a flag to config that disables CQs
2015-02-24 17:18:35 -08:00
Joseph Rothrock
0dfec9268d
Add flag to config that disables running CQs
2015-02-24 17:01:38 -08:00
Joseph Rothrock
2835c71ce3
Add flag to config that disables running CQs
2015-02-24 17:01:38 -08:00
Philip O'Toole
a00c3d1a60
Print running version and commit in log
2015-02-24 09:47:07 -08:00
Philip O'Toole
2f0fe901e3
Rename "Values" to "Fields" for writes
2015-02-23 15:06:56 -08:00
Todd Persen
2cc23d3c66
Merge pull request #1529 from influxdb/stats-reporting
...
Bring back stats reporting.
2015-02-23 12:57:49 -08:00
Todd Persen
f8400a8c97
Merge pull request #1699 from influxdb/profiling
...
Add profiling to influxd
2015-02-23 12:53:34 -08:00
Ben Johnson
d6358b1764
Add profiling to influxd.
...
This commit adds -cpuprofile and -memprofile to influxd.
2015-02-23 13:27:51 -07:00
Cory LaNou
1a7f0681b0
Merge pull request #1693 from influxdb/speed-up-integration-testing
...
Make integration tests faster
2015-02-23 13:07:57 -07:00
Todd Persen
e45611cde3
Pull in cluster ID for reporting.
2015-02-23 10:42:39 -08:00
Todd Persen
ff1c61c5c1
Only report if ReportingDisabled is set to false.
2015-02-23 10:42:39 -08:00
Todd Persen
c366fcbbf6
Update stats reporting to just POST for now.
2015-02-23 10:42:38 -08:00
Cory LaNou
7d931ad585
make integration tests faster
2015-02-23 11:01:21 -07:00
Philip O'Toole
3e727ac01e
Change "Rows" to "Series" in API output
2015-02-22 21:21:49 -08:00
Philip O'Toole
491a6e1a4a
Fix single-node test names
2015-02-21 15:16:15 -08:00
Philip O'Toole
22f3b246cd
Multi-batch write testing on a single-node
2015-02-21 15:15:54 -08:00
Philip O'Toole
66fc561a10
Wait only 1 second after writes
...
Fix
6e93a52bf2
means data is read correctly by data nodes
2015-02-21 15:04:37 -08:00
Philip O'Toole
4e95b35295
Add batch test of 3-node and 5-node clusters
...
The wait time after the write had to be increased x3.
2015-02-21 15:01:32 -08:00
David Norton
12bed3e74f
issue #1430 : add where regex to influxql
2015-02-21 15:37:52 -05:00
Philip O'Toole
e9acab4139
Add single-node batch test, for a large batch
2015-02-21 11:58:36 -08:00
Philip O'Toole
e11cbb5629
Add simple batching integration test
...
Uses new code to quickly generate batches for test.
2015-02-21 11:36:05 -08:00
Philip O'Toole
e404f0bf66
Cosmetic fixes to integration test JSON
2015-02-20 15:14:20 -08:00
Mark Rushakoff
6954090024
Merge pull request #1574 from influxdb/client-user-agent
...
Client user agent is configurable
2015-02-18 12:10:53 -08:00
Paul Dix
36d16a3172
Update broker to have URLs for replicas
...
* Update the infludb broker to not need a server so that it'll work on non-data node servers
* Update messaging broker to keep track of connect urls for replicas
2015-02-17 21:02:53 -05:00
Paul Dix
3809514cd2
Fixed issue on running servers that are data nodes only
2015-02-17 21:02:53 -05:00
Paul Dix
9f5bf814d8
Remove old config settings
2015-02-17 21:02:53 -05:00
Paul Dix
8fee14fbf8
Fixes based on PR feedback.
...
* Pull out magic numbers for running CQs in the broker
* Typo fixes in comments
* Update the process_continuous_queries endpoint to not have gzip
* Remove previous implementation of MeasurementNames in favor of new simpler one
2015-02-17 21:02:53 -05:00
Paul Dix
fec6764b09
WIP: wire up continuous queries
...
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -05:00
Paul Dix
f2d132b361
Implement continuous queries with group by intervals
...
* Update defaults on Broker for when to trigger CQ runs
* Add config settings for how often to calculate and recalculate CQ results
* Update Server to have CQ settings
* Update AST to fold removed time literals when setting time range
* Add periodic CQ running functionality to server
2015-02-17 21:00:24 -05:00
Paul Dix
4217778a08
Add periodic triggering of continuous queries to broker.
...
* Create influxdb specific broker that will periodically start continuous query calculation. Will send to the same data node as long as it's up and responding
* Add endpoint in handler to start processing of continuous queries on a data node
2015-02-17 21:00:24 -05:00
Paul Dix
5f14d5faf5
WIP: start implementation of continuous queries
...
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Mark Rushakoff
f6b26d30dd
Shell includes version in user agent string
...
Note on how overriding the version works:
If you just run `go run cmd/influx/main.go` you'll see the shell print
out "Influx DB shell 0.9" as this commit sets the package-level variable
`version` to the string "0.9".
Running `go run -ldflags "-X main.version 123" cmd/influx/main.go` will
print out "Influx DB shell 123". (`-ldflags` works for `go install` and
`go build`, too.)
2015-02-11 22:08:21 -08:00
Todd Persen
93201bd68c
Make admin interface enabled by default.
2015-02-11 16:33:21 -08:00
Todd Persen
26279cb8df
Tweak configurability of the admin server.
2015-02-11 16:12:13 -08:00
Todd Persen
4fd6e3707f
Some name cleanup and making the admin test not crappy.
2015-02-11 15:48:04 -08:00
Mark Rushakoff
e9d5b74738
Client user agent is configurable
2015-02-11 12:35:15 -08:00
Philip O'Toole
3b64f34d28
Remove obsolete data config options
2015-02-11 10:26:39 -08:00
Philip O'Toole
8cb06c5b8e
Refactor retention policy enforcement for testing
2015-02-11 09:54:07 -08:00
Philip O'Toole
50ef1672cb
Add stubbed enable of retention policy enforcement
2015-02-11 09:54:07 -08:00
Philip O'Toole
61e1fa0efb
Add config control for retention policies
2015-02-11 09:54:07 -08:00
Philip O'Toole
c5f17dae89
go fmt changes
2015-02-11 08:25:17 -08:00
Todd Persen
286c9a9635
Fix admin configuration.
2015-02-10 23:42:17 -08:00
Todd Persen
4cdda0ba31
Initialize the admin interface on startup.
2015-02-10 23:04:19 -08:00
Cory LaNou
7dbd9c0d3d
combine error checking
2015-02-10 09:12:18 -07:00
Cory LaNou
7b28df0d49
someone needs to add a precommit hook...
2015-02-10 08:54:19 -07:00
Philip O'Toole
0c14a5e5de
Group util functions together
2015-02-09 20:00:45 -08:00
Philip O'Toole
bfc9ea66be
Perform query against full slice of nodes
...
This will allow the integration tests to query against any portion of
the cluster, to ensure data has been correctly replicated.
2015-02-09 19:56:54 -08:00
Philip O'Toole
87bd21d204
Allow integration tests to specify query
2015-02-09 19:46:01 -08:00
Philip O'Toole
cdeab14201
Pretty up test JSON for cluster testing
2015-02-09 19:42:56 -08:00
Philip O'Toole
8bbdfd237a
Break out write and query
2015-02-09 19:38:06 -08:00
Philip O'Toole
221954fbdc
nNodes is now redundant
2015-02-09 18:13:40 -08:00
Philip O'Toole
de1122e133
Skip multi-node tests when '-short' passed
2015-02-09 18:09:32 -08:00
Philip O'Toole
cb3a222cbd
Rename integration test file
...
It now performs multi-node cluster testing.
2015-02-09 18:01:25 -08:00
Philip O'Toole
a1953f225e
Use new type for []nodes
2015-02-09 18:00:58 -08:00
Philip O'Toole
e3110cee4e
Add explicit leader flag
2015-02-09 17:59:19 -08:00
Philip O'Toole
567fd2bfef
Pass around slices of nodes as cluster
2015-02-09 17:55:07 -08:00
Philip O'Toole
252286d035
Factor out database and retention policy creation
2015-02-09 17:37:17 -08:00
Philip O'Toole
81855662c3
Use different port ranges for each cluster
...
Long-term we need to expose methods on the top-level object such that
the TCP listeners used by the HTTP handlers can be shut down.
2015-02-09 16:39:15 -08:00
Philip O'Toole
0b349baaac
Return both broker and server from call to run()
2015-02-09 16:35:28 -08:00
Philip O'Toole
76d732f5ff
Remove unneeded delay between node joins
2015-02-09 16:28:29 -08:00
Philip O'Toole
01379651f8
Scale wait times as node number increases
2015-02-09 15:55:18 -08:00
Philip O'Toole
d888b41a44
Add simple 5-node test
2015-02-09 15:46:55 -08:00
Philip O'Toole
0aefa3e708
Wait longer for write data to be commited
2015-02-09 15:42:07 -08:00
Philip O'Toole
053d69e7d5
Add 3-node cluster test
2015-02-09 15:40:21 -08:00
Philip O'Toole
29a643a1ce
Factor out simple write-and-query test
2015-02-09 15:27:59 -08:00
Philip O'Toole
3cbed350b3
Factor out cluster creation
2015-02-09 15:16:25 -08:00
Philip O'Toole
a27220a2a3
Do not create a custom HTTP client
2015-02-09 14:43:04 -08:00
Philip O'Toole
b3ed952eff
Fix typo in response checking
2015-02-09 12:07:43 -08:00
Philip O'Toole
63fd0969fe
Fix typo in testing log output
2015-02-09 11:36:27 -08:00
Ben Johnson
bd65c543a5
Temporarily skip test.
2015-02-06 18:00:11 -07:00
Cory LaNou
1604d7f604
refactor how we default authentication enabled
2015-02-05 15:54:32 -07:00
Cory LaNou
f4dfb87acc
first pass at hardening authorize
2015-02-05 14:39:40 -07:00
Cory LaNou
1a74dfdd73
fix comment typo
2015-02-05 14:07:36 -07:00
Cory LaNou
4dfc9f74e8
fixing failing test due to tmp directories not cleaning up
2015-02-05 14:06:18 -07:00
Cory LaNou
028f61d58c
build was failing
2015-02-05 08:50:08 -07:00
Cory LaNou
77941960fd
rebasing - bringing up to date with master changes
2015-02-05 08:50:08 -07:00
Cory LaNou
091fd254da
merge gone bad somewhere
2015-02-05 08:50:08 -07:00
Cory LaNou
efd91ac666
use non-default port for integration testing
2015-02-05 08:50:07 -07:00
Cory LaNou
4dc5f3ab86
ensure server is spun up before existing run function
2015-02-05 08:50:07 -07:00
Cory LaNou
72fb148660
single server integration test is working
2015-02-05 08:50:07 -07:00
Cory LaNou
0e818f46d4
wip
2015-02-05 08:50:07 -07:00
Cory LaNou
bc264fc430
be more strict on password arg, check if password was set
2015-02-03 15:21:48 -07:00
Cory LaNou
7b5af491d7
cli - prompt for password if blank but specified in args
2015-02-03 15:21:48 -07:00
Cory LaNou
83c39d70c4
cli - prompt for password, add auth command fixes #1441
2015-02-03 15:21:24 -07:00
Cory LaNou
781bf45a70
fixing comment grammer
2015-02-03 15:10:32 -07:00
Cory LaNou
8dd52a1ea0
removing duplicate error check
2015-02-03 15:08:47 -07:00
Cory LaNou
d3c98de563
adding new output formats to cli: csv, column, json. fixes 1419
2015-02-03 14:43:18 -07:00
Cory LaNou
36cd5d1b24
add some basic test coverage for now
2015-02-03 10:22:50 -07:00
Cory LaNou
dfcfa9e673
allow cli to connect with :8087 syntax
2015-02-03 09:34:13 -07:00
Cory LaNou
a3a4a03263
add const for default_host in cli
2015-02-03 09:24:26 -07:00
Cory LaNou
b090768890
cli can now connect to other servers while in shell
2015-02-03 09:15:11 -07:00
Cory LaNou
1ad0e32c0a
add warning if querying resulted in an error and database was not set
2015-01-30 14:38:27 -07:00
Cory LaNou
85499c6f17
enable use command in cli
2015-01-30 14:31:53 -07:00
Philip O'Toole
b191b1f044
Remove superfluous blank line from help output
2015-01-30 13:09:38 -08:00
Philip O'Toole
86cf0888df
Add unit test for 'cluster dir' configuration
2015-01-29 16:41:34 -08:00
Philip O'Toole
5a53de4d93
Remove obsolete configuration options
2015-01-29 16:36:27 -08:00
Philip O'Toole
9943f86cf4
Enable module-level logging
2015-01-29 15:07:58 -08:00
Philip O'Toole
ce0cc84ec1
Create, and use, standard path for log file
2015-01-29 14:29:21 -08:00
Philip O'Toole
c05d4bf292
Open log file
2015-01-29 14:12:56 -08:00
Philip O'Toole
29d7decdf9
Remove ignored 'level' option from logging config
2015-01-29 14:12:56 -08:00
Cory LaNou
e066826657
renamed influxdb to influx for cli
2015-01-28 17:22:28 -07:00
Cory LaNou
9609425d94
adding history, better results, misc enhancements
2015-01-28 17:15:16 -07:00
Philip O'Toole
a4f4c42a15
Explicity name "initialization" section in config
2015-01-28 11:13:44 -08:00
Philip O'Toole
a197d16ac8
Add top-level "results" key
...
This brings the API output into line with the API specification.
2015-01-27 15:47:47 -08:00
Philip O'Toole
2aa9b6ea33
Ensure PID directory tree exists
2015-01-26 18:33:06 -08:00
Philip O'Toole
3c3792f670
Push "joinURLs" into config file
...
Command-line still take precedence.
2015-01-26 17:53:56 -08:00
Philip O'Toole
d5c0ea396b
Remove redundant option 'role'
2015-01-26 17:15:47 -08:00
Cory LaNou
3186553f0a
Merge branch 'master' into tests-shards-tmux
2015-01-26 17:31:03 -07:00
Cory LaNou
6ecb96ebfa
clarifying a comment on starting up servers
2015-01-26 17:16:05 -07:00
Cory LaNou
eaf8ed1d23
use standard library for path expansion
2015-01-26 16:10:51 -07:00
Cory LaNou
e7a031b0fa
show version when connecting via cli
2015-01-26 14:12:58 -07:00
Cory LaNou
356270c109
Merge branch 'master' into client-refactoring
2015-01-26 12:02:29 -07:00
Cory LaNou
107d2135a4
make sure we handle home directories properly in config
2015-01-26 11:03:49 -07:00
Cory LaNou
eeb502fbd5
allowing a broker/client to spin up more than once
2015-01-26 10:37:29 -07:00
Cory LaNou
d8fa6b81bb
hottoddy -> gopher
2015-01-26 09:24:17 -07:00
Todd Persen
c5c242a7f9
New version, new logo.
2015-01-24 15:11:03 -05:00
Cory LaNou
eb9e035b08
hottoddy easter egg
2015-01-23 16:34:05 -07:00
Cory LaNou
f0648288f7
making the cli feel more like a cli
2015-01-23 16:22:26 -07:00
Cory LaNou
ac9473374a
refactoring some client config. staring cli client, lot of wip
2015-01-23 15:49:23 -07:00
Cory LaNou
44d43462cf
removing old client and benchmarks to make space for new client and benchmarks
2015-01-22 15:02:24 -07:00
Cory LaNou
fd626de462
refactoring the refactoring
2015-01-21 18:13:51 -07:00
Cory LaNou
5421285be2
added version to server struct
2015-01-21 12:53:18 -07:00
Cory LaNou
f52d9aa582
wip - added filters. added the concept of routes. more to come
2015-01-20 17:10:45 -07:00
Cory LaNou
3ab277214d
first pass at moving handlers to httpd package
2015-01-20 10:50:13 -07:00
Cory LaNou
1950f38fc1
removing unecessary method
2015-01-18 16:27:52 -07:00
Cory LaNou
34aa70e6d5
better way to re-start without a default config
2015-01-18 16:02:48 -07:00
Cory LaNou
3791cbe722
launch and re-launch server with no config
2015-01-16 16:45:31 -07:00
Ben Johnson
0d590f8c99
Begin broker/client config messaging.
2015-01-15 13:42:56 -07:00
Cory LaNou
9913cd14bf
invalid formatting directive
2015-01-13 17:33:50 -07:00
Cory LaNou
fdd4fd6eaa
merge convflict
2015-01-11 16:57:46 -07:00
Philip O'Toole
295d63cb57
More vet fixes
2015-01-11 15:14:22 -08:00
Cory LaNou
807c988649
changes based on pr review by Dave Cheney
2015-01-11 07:44:52 -07:00
Cory LaNou
d9c0728e74
Test_Collectd -> TestCollectd
2015-01-10 20:09:19 -07:00
Cory LaNou
0340d3bd39
removing type block in config
2015-01-10 19:49:13 -07:00
Ben Johnson
d9411c3d84
Merge branch 'master' of https://github.com/influxdb/influxdb into join
...
Conflicts:
cmd/influxd/config.go
cmd/influxd/run.go
2015-01-10 09:10:21 -07:00
Ben Johnson
c20746ffa6
Code review fixes.
2015-01-10 09:08:00 -07:00
Cory LaNou
1148bf7dc3
more test coverage, responding to comments
2015-01-09 20:12:18 -07:00
Cory LaNou
413f5d162c
tests for collectd config
2015-01-09 10:44:11 -07:00
Cory LaNou
bc047a475b
first pass at config and wiring up collectd server. needs tests and testing
2015-01-08 17:09:28 -07:00
Philip O'Toole
ea0d15e581
Re-add Auth block to config
2015-01-08 12:39:47 -08:00
Philip O'Toole
21d6d5738c
GoDoc "LastEnabled"
2015-01-08 12:32:46 -08:00
Philip O'Toole
c64624abff
Merge branch 'master' into graphite_distinct_servers
...
Conflicts:
cmd/influxd/config.go
2015-01-08 12:31:21 -08:00
Philip O'Toole
1c19ae61cf
Move Graphite config to top-level of config
2015-01-08 12:28:10 -08:00
Philip O'Toole
50b494503d
Tigthen up config of Graphite Parser
2015-01-08 12:23:48 -08:00
Philip O'Toole
8ea70fc650
Fix bug in Graphite ConnectionString()
2015-01-08 12:19:44 -08:00
Philip O'Toole
0633b80193
Fix up sample config and move Graphite config type
2015-01-08 12:07:09 -08:00
Philip O'Toole
5a4e2a15fb
Move Graphite control into "input plugins" section
2015-01-08 11:25:43 -08:00
Philip O'Toole
8c2f894fab
Integrate more code review feedback
2015-01-08 11:14:57 -08:00
Philip O'Toole
9e7f6ca3f0
Provide default NameSeparator for Graphite config
2015-01-07 16:15:39 -08:00
Philip O'Toole
f57f28f575
Add GoDoc strings
2015-01-07 00:10:46 -08:00
Philip O'Toole
6683643dde
Add comment re Graphite Server startup
2015-01-07 00:04:56 -08:00
Philip O'Toole
85b3408115
Integrate remaining review feedback
2015-01-07 00:02:58 -08:00
Philip O'Toole
f3650b4797
Implement a distinct Graphite Parser
...
This encapsulates a few previously free-floating methods. This means
that params such as "separator" and "last-enabled" are not passed from
function to function, and also makes initialization of TCP and UDP
Servers somewhat clearer.
It also removes early use of "GraphiteProcessor".
2015-01-06 23:20:01 -08:00
Ben Johnson
1f27d042c3
Remove debugging.
2015-01-06 17:29:51 -07:00
Ben Johnson
70d84a9a2e
Merge branch 'master' of https://github.com/influxdb/influxdb into join
...
Conflicts:
cmd/influxd/run.go
handler.go
server.go
2015-01-06 17:25:34 -07:00
Ben Johnson
50a0826026
Add broker snapshot/restore and CLI join.
2015-01-06 17:21:32 -07:00
Philip O'Toole
1f264b6c2d
Refactor into distinct TCP and UDP servers
2015-01-06 15:17:29 -08:00
Cory LaNou
0334dc5b50
seperator -> separator
2015-01-06 09:57:44 -07:00
Cory LaNou
a94254d1a3
Graphite endpoint updates from comments
...
Added ability to specifiy a seperator for a metric_path.
Default is "."
Added ability to specify position of name from metric_path
Options are "first" or "last".
Defaults to the first position.
Normalized the graphite.Metric struct to only have a Value.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite/graphite.go
modified: graphite/graphite_test.go
2015-01-05 20:14:43 -07:00
Philip O'Toole
6b7af89119
Add new wrapper handlers for User authentication
2015-01-05 16:03:05 -08:00
Philip O'Toole
2c6e2a8a76
Add config flag to control authentication
2015-01-05 16:03:05 -08:00
Cory LaNou
7239d08059
fixing some comments and extra line returns
2015-01-02 10:57:21 -06:00
Cory LaNou
a7a22cc52d
fixing bad merge
2015-01-02 10:09:11 -06:00
Cory LaNou
897e1c8969
merge conflict
2015-01-02 09:58:31 -06:00
Cory LaNou
b52437f00a
Initial incorporation of fixes from pull request #1276
...
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
renamed: graphite.go -> graphite/graphite.go
renamed: graphite_test.go -> graphite/graphite_test.go
2015-01-02 09:57:04 -06:00
Cory LaNou
5fbdd4b1cb
Wiring graphite end point back up
...
Graphite server now understands how to use the WriteSeries
Added ability for series information to be passed in the graphite name.
Format is:
key.value.key.value.metric 50 <timestamp>\n
Example:
region.us-west.hostname.server01.cpu .09323432 1419958066\n
Added test coverage for the Graphite endpoint. Need to figure out
how to test a successful listenAndServe.
Need to add tests around new configuration for default values
when not specified for graphite servers.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite.go
new file: graphite_test.go
2015-01-02 09:56:46 -06:00
Cory LaNou
7d339b302d
making go vet pass for cmd/influxd/run.go
2015-01-02 09:56:25 -06:00
Cory LaNou
2303a0f014
merge conflict
2014-12-31 15:47:10 -06:00
Cory LaNou
84980c97d2
Initial incorporation of fixes from pull request #1276
...
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
renamed: graphite.go -> graphite/graphite.go
renamed: graphite_test.go -> graphite/graphite_test.go
2014-12-31 15:37:58 -06:00
Ben Johnson
7db96f795a
Remove magic number.
2014-12-31 13:50:34 -07:00
Ben Johnson
9b1d9df868
Add --role to 'run'.
2014-12-31 12:55:27 -07:00
Ben Johnson
dbb089488f
Create cluster on initial run.
2014-12-31 12:42:53 -07:00
Ben Johnson
70d561aa6f
Refactor main/run.
2014-12-30 15:46:50 -07:00
Cory LaNou
2905ebc864
Wiring graphite end point back up
...
Graphite server now understands how to use the WriteSeries
Added ability for series information to be passed in the graphite name.
Format is:
key.value.key.value.metric 50 <timestamp>\n
Example:
region.us-west.hostname.server01.cpu .09323432 1419958066\n
Added test coverage for the Graphite endpoint. Need to figure out
how to test a successful listenAndServe.
Need to add tests around new configuration for default values
when not specified for graphite servers.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite.go
new file: graphite_test.go
2014-12-30 16:46:33 -06:00