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
This commit is contained in:
Dragostin Yanev (netixen)
2016-02-18 21:21:20 +02:00
committed by Cameron Sparr
parent 1837f83282
commit a13d19c582
3 changed files with 8 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ and is in the `[agent]` config section.
- [#662](https://github.com/influxdata/telegraf/pull/667): Change `[tags]` to `[global_tags]` to fix multiple-plugin tags bug.
- [#642](https://github.com/influxdata/telegraf/issues/642): Riemann output plugin issues.
- [#394](https://github.com/influxdata/telegraf/issues/394): Support HTTP POST. Thanks @gabelev!
- [#715](https://github.com/influxdata/telegraf/pull/715): Fix influxdb precision config panic. Thanks @netixen!
## v0.10.2 [2016-02-04]