dj-wasabi / ansible-telegraf

Installing and configuring Telegraf via Ansible for RedHat/Debian/Ubuntu/Windows/Suse.
MIT License
134 stars 116 forks source link

Adding support for aggregators #156

Closed simo-tuomisto closed 2 years ago

simo-tuomisto commented 2 years ago

Description of PR This PR adds aggregator support and tagpass/tagdrop support for processors and aggregators.

Type of change Feature Pull Request

Changes templates/telegraf.conf.j2 is updated to have a block for aggregators and tagpass/tagdrop-features. Metric filtering using tagpass/tagdrop is supported by telegraf.

A test has been added for the aggregator plugins. Modifying molecule.yml-inventory was necessary as aggregators are not enabled by default.

dj-wasabi commented 2 years ago

Thanks! 👍