ben hockey
9a3c28748c
change timestamp to time
2015-05-11 12:28:47 -05:00
Philip O'Toole
69810e12b5
Collectd input should use "value" as field name
...
Fixes issue #2412
2015-04-30 13:01:50 -07:00
Philip O'Toole
c3e6ea2701
Re-order test data with struct definition
2015-04-30 11:42:39 -07:00
Philip O'Toole
2162be59e9
Don't pass 'done' as it is unneeded
2015-04-16 16:21:03 -07:00
Julius Volz
c919240d93
Fix all lint errors in "admin" and "collectd" packages.
...
admin/admin.go:10:2: a blank import should be only in a main or test package, or have a comment justifying it
admin/admin.go:13:6: exported type Server should have comment or be unexported
admin/admin.go:19:1: comment on exported function NewServer should be of the form "NewServer ..."
admin/admin.go:24:1: exported method Server.ListenAndServe should have comment or be unexported
admin/admin.go:44:1: exported method Server.Close should have comment or be unexported
collectd/collectd.go:23:6: exported type Server should have comment or be unexported
collectd/collectd.go:35:1: exported function NewServer should have comment or be unexported
collectd/collectd.go:46:1: exported function ListenAndServe should have comment or be unexported
collectd/collectd.go:145:1: exported function Unmarshal should have comment or be unexported
2015-04-01 03:37:31 +02:00
Philip O'Toole
6b5a452f8a
Use a channel to sync UDP shutdown
2015-03-30 13:49:55 -07:00
Kai Zhang
1dd7c70c8b
remove boring log in collectd.go
...
Signed-off-by: Kai Zhang <kyle@smartx.com>
2015-02-26 15:04:02 +08: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
Cory LaNou
8182b35841
fixing error formatting to make go vet pass
2015-01-13 11:01:31 -07:00
Cory LaNou
f6d5756afc
standardize error message
2015-01-13 10:53:27 -07:00
Ben Johnson
3d07e3b609
Refactor response count check.
2015-01-13 10:31:21 -07:00
Cory LaNou
a654e6e662
update WriteSeries signature
2015-01-13 10:09:29 -07:00
Cory LaNou
dd2f610a22
final test for collect do to really write data
2015-01-12 16:02:15 -07:00
Cory LaNou
b818be6d4b
pushing up failing test
2015-01-12 14:49:50 -07:00
Cory LaNou
e155a64e37
timeStamp -> timestamp
2015-01-12 12:18:00 -07:00
Cory LaNou
a448ff6384
more PR review comment respones
2015-01-12 11:11:34 -07:00
Cory LaNou
807c988649
changes based on pr review by Dave Cheney
2015-01-11 07:44:52 -07:00
Cory LaNou
a2a4c87b04
updates based on PR review. adding more testing
2015-01-10 19:42:58 -07:00
Cory LaNou
ff8618f204
cleaning up a test
2015-01-09 20:14:58 -07:00
Cory LaNou
1148bf7dc3
more test coverage, responding to comments
2015-01-09 20:12:18 -07:00
Cory LaNou
513a7e442d
adding back in ability to close the collectd server for testing
2015-01-09 15:49:25 -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
Cory LaNou
6d49b8214b
finished testing for collectd.Unmarshal
2015-01-08 15:32:37 -07:00
Cory LaNou
f39a390dfd
rounding to microseconds when staring with seconds seems a bit overkill
2015-01-08 14:38:45 -07:00
Cory LaNou
ef259a64cf
fixing comment typo
2015-01-08 14:37:10 -07:00
Cory LaNou
2a964050d3
thanks to @benbjohnson we now have true microsecond resolution
2015-01-08 14:36:07 -07:00
Cory LaNou
f051aa641b
first round on unmarshalling a packet. needs testing
2015-01-07 16:10:27 -07:00
Cory LaNou
bf655b36f6
starting collectd
2015-01-06 19:28:34 -07:00