Latest Telegraf 1.22 release includes faster line protocol parsing, Varnish enhancements, and new Hashicorp plugins
By Samantha Wang / Mar 23, 2022 / Telegraf, Release Notes
A new feature-bearing release for Telegraf is now available:
- Telegraf 1.22.0 – release notes
The binaries for the latest Telegraf release can be found on our downloads page.
Many thanks to the 40+ open source community members who contributed to this effort!
New faster and more efficient Line Protocol parsing
- We added a faster, more memory-efficient implementation of the InfluxDB Line Protocol Parser
- This new parser is not the default setting, users can enable the new parser with a single configuration option of
"upstream"under the plugin parser type setting. See this blog for more information.
Option to select SNMP translator
- Telegraf recently switched translation to use gosmi to address performance concerns that resulted in translation not being backward compatible with the previous release, 1.20.4.
- Telegraf now makes
gosmitranslation a config option, but defaults to
- Users that have transitioned to gosmi will need to set
translator= "gosmi"in their agent configuration.
Collection Offset Agent configuration setting
- We added a
collection_offsetsetting that allows users to define a time offset from the (rounded and unaligned) collection interval. The option is valid in either the agent section or in any input-plugin section.
- This setting can be helpful in order to manually schedule data collection between multiple agents or plugins.
Varnish Plugin enhancements
- Conversion to metrics from Varnish stats was reworked, which solves issues with high cardinality when reloading Varnish server.
- Added a
metric_version = 2for removal of inactive VCLs. When this is enabled, the plugin runs the
varnishstat -jcommand and parses the JSON output into metrics. Varnish 6.0.2 and newer is required for enablement.
- Plugin now also parses backends into tags and supports
Added dynamic tagging to the gNMI input plugin
- gNMI Input Plugin users now have the ability to specify gNMI subscriptions to be tag-only and store them for application to other subscriptions with the exact same tagged "name".
- This feature adds an interface description as tags to all other interface metrics, to ease the search in InfluxDB.
- Hashicorp Consul Agent Input Plugin (
- The Consul agent plugin must grab metrics from every Nomad agent of the cluster. Contributed by @efbar.
- The existing Consul plugin differs by pulling metrics from services Consul is managing.
- Hashicorp Nomad Input Plugin (
- The Nomad plugin grabs metrics from every Nomad agent of the cluster. Contributed by @efbar.
- Hashicorp Vault Input Plugin (
- The Vault plugin grabs metrics from every Vault agent of the cluster. Contributed by @efbar.
- Hugepages Input Plugin (
- Gathers Huge pages measurements. Transparent Huge Pages (THP) is a Linux memory management system that reduces the overhead of Translation Lookaside Buffer (TLB) lookups on machines with large amounts of memory by using larger memory pages. Contributed by @zak-pawel.
- Mock Input Plugin (
- The Mock Input Plugin generates random data based on a selection of different algorithms. Contributed by InfluxData.
- Redis Sentinel Input Plugin (
- A plugin for Redis Sentinel to monitor multiple Sentinel instances that are monitoring multiple Redis servers and replicas. Contributed by @spideyfusion.
- Socketstat Input Plugin (
- The socketstat plugin gathers indicators from established socket connections. Contributed by @sajoupa.
- XtremIO Input Plugin (
- The xtremio plugin gathers metrics from Dell EMC XtremIO Storage Array. Contributed by @cthiel42.
- Noise Processor (
- This processor is used to add noise to numerical field values. This helps users to add some noise to sensitive data by anonymizing it and further prevent linkage attacks. Contributed by @wizarq.
Head to our downloads page to get the latest Telegraf release. If you find issues or have questions, please join our InfluxDB Community Slack, post them in our InfluxDB GitHub Repo or our Community Site, and we will take a look.
Call for testing
Please fill out this form if you are interested in being included in testing bug fixes and features for plugins and systems you are using. Telegraf maintainers will tag you on pull requests to test artifacts. This will help us better address bugs that may arise after a release.