Commit Graph

19 Commits (659706e8749cfc6848b46071cdc1075125c7710c)

Author SHA1 Message Date
Cory LaNou ff24d0a00e fix race condition in graphite endpoints 2015-04-21 15:42:25 -06:00
Philip O'Toole 0b1fc43f88 If Accept() fails due to a closing listener, return
Other types of Accept() failures should result in a retry.
2015-04-18 09:55:26 -07:00
Philip O'Toole 550f7bf59c ust use Wait Groups to shutdown Graphite 2015-04-17 18:33:26 -07:00
Philip O'Toole 8113b0cfd4 Also wait until connections are closed 2015-04-17 16:18:28 -07:00
Philip O'Toole 3dff1b0f0b Add WaitGroups to openTSDB and Graphite close 2015-04-17 16:18:28 -07:00
Cory LaNou 67f252d561 fix race conditions in graphite/openTSDB endoints 2015-04-17 16:18:28 -07:00
Cory LaNou bad336a6ae wip fixing graphite tests 2015-04-17 16:18:28 -07:00
Philip O'Toole c461c7e7b4 Remove logging to specific file 2015-03-25 17:41:39 -07: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
Philip O'Toole 4cf4f96a3a Rename "Server" interface to "SeriesWriter"
Comments imply it should be this name in any event.
2015-03-12 11:55:31 -07:00
Cory LaNou 58dac30fd5 auto create database for graphite if not specified 2015-03-12 10:20:49 -06:00
Cory LaNou e4604fec36 Refactoring based on PR comments
Changing WriteSeries to take a slice of points instead of variable
arguments

Adding godoc comment for public type Point
2015-01-13 16:26:14 -07:00
Cory LaNou 9e48da134b change signature of WriteSeries to accept a public struct 2015-01-13 16:00:41 -07:00
Philip O'Toole 8c2f894fab Integrate more code review feedback 2015-01-08 11:14:57 -08:00
Philip O'Toole f57f28f575 Add GoDoc strings 2015-01-07 00:10:46 -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 1f264b6c2d Refactor into distinct TCP and UDP servers 2015-01-06 15:17:29 -08:00