Commit Graph

11 Commits

Author SHA1 Message Date
Cameron Sparr 17d45adcaa Only log the overwritten metric warning on 1st overwrite per buffer
see #807
2016-04-08 18:34:48 +02:00
Pierre Fersing 4b5dac0cba Reduce metric_buffer_limit to 1000
closes #780
2016-04-08 18:34:47 +02:00
Cameron Sparr 09905a5cfb Change pass/drop to namepass/namedrop for outputs
closes #730
2016-04-08 18:34:45 +02:00
Thibault Cohen 1df49d77b4 Add metric pass/drop filter 2016-04-08 18:34:45 +02:00
Cameron Sparr cabea27adf Write unit tests for RunningOutput 2016-04-08 18:34:43 +02:00
Cameron Sparr 716b375ab6 Start service plugins immediately, fix off-by-one bug 2016-04-08 18:34:43 +02:00
Cameron Sparr eb5dddf0d6 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-04-08 18:34:43 +02:00
Cameron Sparr 962325cc40 Warn when metrics are being overwritten
closes #601
2016-01-28 14:00:14 -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
Cameron Sparr 5349a3b6d1 Implement a per-output fixed size metric buffer
Also moved some objects out of config.go and put them in their own
package, internal/models

fixes #568
closes #285
2016-01-22 16:29:02 -07:00