Commit Graph

51 Commits (9b04e014c89ff9b22ecf331914e29cd725311dae)

Author SHA1 Message Date
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 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
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
Philip O'Toole 3b64f34d28 Remove obsolete data config options 2015-02-11 10:26:39 -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
Philip O'Toole 5a53de4d93 Remove obsolete configuration options 2015-01-29 16:36:27 -08:00
Philip O'Toole 29d7decdf9 Remove ignored 'level' option from logging config 2015-01-29 14:12:56 -08:00
Philip O'Toole a4f4c42a15 Explicity name "initialization" section in config 2015-01-28 11:13:44 -08:00
Philip O'Toole 3c3792f670 Push "joinURLs" into config file
Command-line still take precedence.
2015-01-26 17:53:56 -08:00
Cory LaNou eaf8ed1d23 use standard library for path expansion 2015-01-26 16:10:51 -07:00
Cory LaNou 107d2135a4 make sure we handle home directories properly in config 2015-01-26 11:03:49 -07:00
Cory LaNou fdd4fd6eaa merge convflict 2015-01-11 16:57:46 -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 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 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 85b3408115 Integrate remaining review feedback 2015-01-07 00:02:58 -08: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 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 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
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
Philip O'Toole e31c58d580 Add protocol to Raft connection string
Fixed at HTTP for now.
2014-12-19 16:18:48 -05:00
Philip O'Toole 021604a6de Add connection URL to Broker 2014-12-19 16:18:01 -05:00
Philip O'Toole 20716a93e7 Support separate HTTP ports for Raft and API 2014-12-16 19:39:43 -08:00
Philip O'Toole 2c0a69df9a Implement command-based CLI, and start cluster-bringup
This change adds a CLI styled after the Go tool chain, with a design
inspired by that system. It adds 4 new commands, 'run',
'create-cluster', 'join-cluster', and 'version'. Full help is also
supplied.

Local-mode 'run' is fully functional, and 'create-cluster' also works.
2014-12-10 16:30:08 -08:00
Philip O'Toole 6ed0624471 Support Local mode via a Loopback messaging client
This change adds a simple loopback client to the system. It also moves
setting the seed servers to the command line, and removes control from
the configuration file.
2014-11-25 07:56:39 -08:00
Philip O'Toole 1ae7905434 Remove no-longer-used config params 2014-11-18 20:53:29 -08:00
Ben Johnson 7db0e15799 Refactoring into root. 2014-10-21 23:32:19 -06:00