Commit Graph

20 Commits

Author SHA1 Message Date
Cameron Sparr 7eb7e495e6 Cleanup & standardize config file
changes:

- -sample-config will now comment out all but a few default plugins.
- config file parse errors will output path to bad conf file.
- cleanup 80-char line-length and some other style issues.
- default package conf file will now have all plugins, but commented
  out.

closes #199
closes #944
2016-04-08 18:34:52 +02:00
Cameron Sparr 3923c02979 Add a "kernel" plugin for /proc/stat statistics
see #235
2016-04-08 18:34:49 +02:00
Cameron Sparr d4fe485d18 Cross platform support for the 'processes' plugin
closes #798
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 49a29c0c09 Support specifying influxdb retention policy
closes #692
2016-04-08 18:34:46 +02:00
Pierre Fersing 2dc35a2909 Ignore boring filesystems from disk plugin
Modern Linux has a lots of boring filesystem (tmpfs on /dev, devpts on
/dev/pts, lots of cgroup on /sys/fs/cgroup/*, ...).

* Ignore filesystem with 0 bytes (this cover cgroup, devpts and other).
* Add IgnoreFS to ignore additional FS by their type. Add tmpfs and
  devtmpfs as default ignored type.
2016-04-08 18:34:45 +02:00
Cameron Sparr 09905a5cfb Change pass/drop to namepass/namedrop for outputs
closes #730
2016-04-08 18:34:45 +02:00
Cameron Sparr 9813420d25 InfluxDB output should not default to 'no timeout' for http writes
default to 5s instead, since even if it times out we will cache the
points and move on

closes #685
2016-04-08 18:34:44 +02:00
Cameron Sparr 0dbb52f9d6 Seems to be a toml parse bug around triple pounds 2016-04-08 18:34:44 +02:00
Dragostin Yanev (netixen) 87027fbacd pugins/outputs/influxdb: Prevent runtime panic.
- Check and return error from NewBatchPoints to prevent runtime panic if
   user provides an unparsable precision time unit in config.
- Provide correct sample config precision examples.
- Update etc/telegraf.conf precision comment.

closes #715
2016-04-08 18:34:44 +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 6b06a23102 Change [tags] to [global_tags] to deal with toml bug
closes #662
2016-02-08 16:20:47 -07:00
Cameron Sparr 3a64a01f91 Release 0.10.1 2016-01-27 12:55:06 -07:00
Cameron Sparr 6ebb6bc7ee Fix SNMP unit tests on OSX, improve tag config doc
closes #592
2016-01-27 11:27:10 -07:00
Cameron Sparr fc1aa7d3b4 Filter mount points before stats are collected
fixes #440
2016-01-20 11:46:59 -07:00
Cameron Sparr 6496d185ab add backwards-compatability for 'plugins', remove [inputs] and [outputs] headers 2016-01-08 12:49:50 -07:00
Cameron Sparr 9c5db1057d renaming plugins -> inputs 2016-01-07 15:04:30 -07:00
Cameron Sparr 50fc3ec974 Updating system plugins for 0.3.0 2016-01-05 23:48:59 -07:00
Aleksei Magusev c2b5f21832 Fix typo in telegraf.conf
Closes #456.
2016-01-04 01:30:49 +01:00
Cameron Sparr 3761f00062 Update etc/telegraf.conf file 2015-11-30 14:28:09 -07:00