* Support for sub_inputs in extra plugins
* fix: properly handle lists as TOML arrays
- Updated the Jinja template to detect and serialize lists using |to_json,
ensuring Telegraf interprets them correctly (e.g. names = ["item1","item2"]).
- Removed fallback logic for single items, so we consistently treat all sub_input
values as lists of dictionaries.
---------
Co-authored-by: Michał Lisowski <mlisowski@sentient.ie>
* Do not install init script on SUSE systems (#152)
The last SUSE releases that didn't support systemd were SLE 11 and
openSUSE 11.x. The telegraf packages on the Open Build Service all
contain systemd service files. openSUSE 11.x is long since dead and
buried and SLE 11 has been out of general support since mid-2019.
There are no other users of the script and it can be removed. The
dependencies required in the molecule configuration can also be removed.
* Fix Python package dependencies on SUSE releases (#153)
The naming of the packages for the Python libxml and xml modules
on SUSE releases is a bit of a mess across releases.
SLE12 ships with Python 3.4 which is not new enough for Ansible to
use so Python 2 must be used. Those packages are named python-xml
and python-libxml2.
SLE15 ships with Python 3.6 but the package containing the libxml2
module is named python3-libxml2-python. The xml module is part of
python3-base and will be present if the interpreter is present.
On later releases, the package containing the libxml2 module has been
renamed python3-libxml2 but it still offers an alias for the old name.
* Add default repository handling for SUSE releases (#154)
The repositories for SUSE releases are in well-known locations
and requiring the user to specify them is unnecessary. If the user
wishes to override the default repo using the telegraf_zypper_baseurl
that will still be honored.
From : https://github.com/rossmcdonald/telegraf
Add `telegraf_agent_aws_tags` boolean to enable AWS tag in telegraf agent
tags section.
Also add `telegraf_agent_aws_tags_prefix` to allow usage of a prefix on AWS tags name.
Users will use the same config key for global tags regardless of the
telegraf version.
Also fix the documentation about this parameter to be consistent with
changes from #37