telegraf/plugins/parsers
Daniele Gozzi 9ea3dbeee8 Allow numeric and non-string values for tag_keys. (#1782)
* Allow numeric and non-string values for tag_keys.

According to the go documentation the JSON deserializer only produces these
base types in output:
- string
- bool
- float64
- nil
With this patch bool, float64 and nil values get converted to a string when
their field key is specified in tag_keys. Previously the field was simply
discarded.

* Updated handling of nil for passing tests.

The automated tests are less than trivial to reproduece locally for me,
so I hope CircleCI wonn't mind...

* Updated changelog entries with PR and issue links.
2016-09-21 18:07:35 +01:00
..
graphite graphite parser: support multiple tag keys 2016-05-25 17:11:28 +01:00
influx Add Serializer plugins, and 'file' output plugin 2016-02-12 14:13:49 -07:00
json Allow numeric and non-string values for tag_keys. (#1782) 2016-09-21 18:07:35 +01:00
nagios Add nagios parser for exec input plugin 2016-03-21 13:34:47 -06:00
value value parser: doc & string handling 2016-05-02 12:17:20 -06:00
registry.go Add nagios parser for exec input plugin 2016-03-21 13:34:47 -06:00