Cameron Sparr
ee468be696
Flush based on buffer size rather than time
...
this includes:
- Add Accumulator to the Start() function of service inputs
- For message consumer plugins, use the Accumulator to constantly add
metrics and make Gather a dummy function
- rework unit tests to match this new behavior.
- make "flush_buffer_when_full" a config option that defaults to true
closes #666
2016-02-16 22:25:22 -07:00
Cameron Sparr
c549ab907a
Throughout telegraf, use telegraf.Metric rather than client.Point
...
closes #599
2016-01-27 23:47:32 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
9ada89d51a
0.3.0 unit tests: jolokia, kafka_consumer, leofs, lustre2
2016-01-06 16:55:28 -07:00
Cameron Sparr
524fddedb4
0.3.0 unit tests: exec, httpjson, and haproxy
2016-01-06 16:11:16 -07:00
Cameron Sparr
2e20fc413c
0.3.0 unit tests: aerospike, apache, bcache
2016-01-05 23:48:59 -07:00
Cameron Sparr
498482d0f6
0.3.0 unit tests: system plugins
2016-01-05 23:48:59 -07:00
Cameron Sparr
b975419bc7
Apache plugin unit tests and README
2015-11-13 13:01:00 -07:00
Cameron Sparr
352ccde52b
Fix new error return of client.NewPoint
2015-11-11 15:38:22 -07:00
Cameron Sparr
92fb51026a
Godep update: gopsutil
2015-11-11 15:38:22 -07:00
saiello
b2e22cbc59
Add fields value test methods
2015-11-06 14:07:02 -07:00
JP
a6e0ae2896
add ValidateTaggedFields func to testutil accumulator
2015-11-02 11:03:41 -07:00
Cameron Sparr
c26ce9c4fe
Utilizing new client and overhauling Accumulator interface
...
Fixes #280
Fixes #281
Fixes #289
2015-10-20 13:53:58 -06:00
Cameron Sparr
97d4f9e0ff
Run go fmt in CI
2015-10-16 13:08:32 -06:00
palkan
9cccf8f88a
Add locking to test accumulator
2015-10-16 10:58:46 -06:00
Cameron Sparr
f8d64a7378
Redis: include per-db keyspace info
...
Closes #205
2015-09-22 19:46:50 -07:00
Cameron Sparr
733ba07312
Changing AddValues to AddFields and temp disabling adding w time
...
Currently adding with time is broken, because InfluxDB does not support
using precision for timestamp truncation both with and without
timestamps. This will be re-enabled once we fix InfluxDB to use the
precision argument for truncation in all cases, and a "unit" argument
in the line-protocol for adding points with non-nanosecond stamps
Fixes #175
2015-09-16 16:59:48 -07:00
Cameron Sparr
68e41f130c
Ping plugin
...
Closes #167
2015-09-04 11:20:49 -06:00
Cameron Sparr
d1f965ae30
Kafka output producer, send telegraf metrics to Kafka brokers
...
Closes #38
2015-08-26 17:03:58 -06:00
Cameron Sparr
aa0adc98f9
Build & unit test fixup
2015-08-04 16:48:19 -06:00
Cameron Sparr
3ff2ea8d4e
Creating circleci job to just lint and vet code
2015-08-04 11:22:26 -06:00
Cameron Sparr
03c520798e
Fix GetLocalHost testutil function for mac users (boot2docker)
2015-08-03 21:01:52 -06:00
Todd Persen
a4d0c47fc6
Merge pull request #49 from marcosnils/container_services
...
Container services
2015-07-30 16:29:44 -07:00
JP
98b0543b26
fix merge conflicts
2015-07-09 15:09:43 -05:00
JP
86145d5eb5
add MongoDB plugin
2015-07-07 11:25:34 -05:00
Marcos Lilljedahl
ef335d9fd7
Add missing files
2015-07-06 22:23:24 -03:00
Brian Brazil
e34c52402f
Improve test infrastructure
2015-06-24 22:15:58 +01:00
Todd Persen
7b6db8d4cd
Fix `measurement` => `Measurement`
2015-06-17 21:43:45 -07:00
gunnaraasen
4d5782df53
Update name -> measurement
2015-05-29 13:25:48 -07:00
Evan Phoenix
2667183bfb
Add 'AddValuesWithTime' function to accumulator
2015-05-26 22:15:05 -07:00
Evan Phoenix
4d0784a64d
Add postgresql plugin
2015-05-18 11:53:17 -07:00
Evan Phoenix
04b2bbd30b
Add redis plugin
2015-04-07 11:54:21 -07:00
Evan Phoenix
a6fea61237
Remove debugging
2015-04-06 16:23:11 -07:00
Evan Phoenix
b39b1958e8
Add VM and Swap stats
2015-04-06 14:53:43 -07:00
Evan Phoenix
3d753d721a
Add disk usage stats
2015-04-06 10:34:55 -07:00
Evan Phoenix
d1cc82653a
Switch plugin API to use an accumulator
2015-04-06 09:32:10 -07:00