Cory LaNou
a19f81d3e9
Graphite numbers are always float64
2015-03-14 09:59:33 -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
f8c39d49b1
Fix minor typos in Graphite comments
2015-03-12 12:21:31 -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
Philip O'Toole
2f0fe901e3
Rename "Values" to "Fields" for writes
2015-02-23 15:06:56 -08:00
David Norton
19992f3ecc
gofmt -s (simplify)
2015-02-01 15:33:12 -05: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
Ben Johnson
30de3704c0
Fix graphite.SeriesWriter signature.
2015-01-13 07:57:13 -07: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
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
0334dc5b50
seperator -> separator
2015-01-06 09:57:44 -07: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
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
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