Commit Graph

3001 Commits (50b494503d7f368fd23dbb23063aa208ae763788)

Author SHA1 Message Date
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 fdc6b5b866 Export the Metric type 2015-01-07 16:09:15 -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 aa92095f90 Graphite unit tests now pass 2015-01-06 23:51:59 -08:00
Philip O'Toole fe886e17a5 Remove more tests
To be replaced later.
2015-01-06 23:41:32 -08:00
Philip O'Toole eaadf0b3d3 Update unit tests so they build
They do not yet pass.
2015-01-06 23:36:56 -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
Philip O'Toole 1edbd816fc Start with a processor. 2015-01-06 15:38:35 -08:00
Philip O'Toole 1f264b6c2d Refactor into distinct TCP and UDP servers 2015-01-06 15:17:29 -08:00
Cory LaNou c5ea4ab2ed Merge remote-tracking branch 'upstream/master' into graphite 2015-01-06 09:59:05 -07:00
Cory LaNou 0334dc5b50 seperator -> separator 2015-01-06 09:57:44 -07:00
Philip O'Toole e0533ac938 Merge pull request #1293 from gdi2290/patch-1
update the year in the LICENSE file
2015-01-05 21:45:36 -08:00
PatrickJS cb0c2775fc update the year in the LICENSE file
2015
2015-01-05 21:35:28 -08:00
Cory LaNou 7857565e0b clarifying a conditional 2015-01-05 21:51:04 -07:00
Cory LaNou 7b669da36c fixing misc comments 2015-01-05 21:43:33 -07:00
Cory LaNou 098231f3ea Merge remote-tracking branch 'upstream/master' into graphite 2015-01-05 20:16:38 -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 e4c57db75f Merge pull request #1292 from influxdb/200_201
Return 201, not 200, after creation of user
2015-01-05 16:02:17 -08:00
Philip O'Toole 67d5cb61b3 Return 201, not 200, after creation of user 2015-01-05 15:58:30 -08:00
Philip O'Toole c21257f999 Merge pull request #1287 from influxdb/fix_some_comments
Correct some comments
2015-01-05 01:22:50 -05:00
Philip O'Toole b068fcadf0 Correct some comments 2015-01-04 22:11:37 -08:00
Paul Dix 7743310432 Merge pull request #1264 from influxdb/in_mem_tag_index
Add in memory tag and metastore index
2015-01-02 14:28:25 -05:00
Paul Dix 70ad990208 Remove series id to measurement map, put in series object 2015-01-02 14:24:48 -05:00
Paul Dix b6691e035c More style updates 2015-01-02 14:13:45 -05:00
Paul Dix b42def229a Update database style based on feedback 2015-01-02 14:02:02 -05: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 5d24a4893b handler_test.go should pass go vet 2015-01-02 09:56:46 -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 cc4630e268 vet shoudl pass for server.go 2015-01-02 09:56:25 -06:00
Cory LaNou 7d339b302d making go vet pass for cmd/influxd/run.go 2015-01-02 09:56:25 -06:00
Paul Dix d5548aa136 Refactor Index into database
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Philip O'Toole 3143127402 Merge pull request #1282 from influxdb/associatibity_unit_test
Add unit test for change made by PR 1273
2014-12-31 18:53:05 -05:00
Philip O'Toole f37f0b80fa Add unit test for change made by PR 1273 2014-12-31 15:50:10 -08:00
Philip O'Toole ff4ec329a8 Merge pull request #1281 from influxdb/fix_filterExprBySource_comment
Fix filter expr by source comment
2014-12-31 17:37:51 -05:00
Philip O'Toole ba0745e244 Fix comment for filterExprBySource 2014-12-31 14:35:30 -08: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 80977aa375 Merge pull request #1280 from influxdb/combine-exec
Create cluster on initial run
2014-12-31 13:55:04 -07:00
Ben Johnson 7db96f795a Remove magic number. 2014-12-31 13:50:34 -07:00
Paul Dix b268ffecb8 Wire up getting measurements by a collection of series ids 2014-12-31 15:10:47 -05:00