influxdata / telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
https://influxdata.com/telegraf
MIT License
14.7k stars 5.59k forks source link

fix(config): Correctly print removal version info #15937

Closed Hipska closed 1 month ago

Hipska commented 1 month ago

Summary

Some plugin options do not have a removal version set causing the log message being malformed.

Before

Option "option" of plugin "test" deprecated since version 1.23.0 and will be removed in : please check

After

Option "option" of plugin "test" deprecated since version 1.23.0 and will be removed in 2.0.0: please check

Checklist

Hipska commented 1 month ago

PS it might be a good idea to describe in the DEPRECATION.md document how to choose which version should be picked for removal.

telegraf-tiger[bot] commented 1 month ago

Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. Downloads for additional architectures and packages are available below.

:thumbsup: This pull request doesn't change the Telegraf binary size

:package: Click here to get additional PR build artifacts ## Artifact URLs | DEB | RPM | TAR GZ | ZIP | |------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [amd64.deb](https://output.circle-artifacts.com/output/job/0be58adb-8ecd-4d99-bdba-f5eca44a5403/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_amd64.deb) | [aarch64.rpm](https://output.circle-artifacts.com/output/job/c65bd776-14cb-4176-87e2-b58e8cabb8be/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.aarch64.rpm) | [darwin_amd64.tar.gz](https://output.circle-artifacts.com/output/job/897cbf6e-965e-4f1f-b781-7662bac900fe/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_darwin_amd64.tar.gz) | [windows_amd64.zip](https://output.circle-artifacts.com/output/job/a4c91011-e298-4d62-99d0-b728df1b657b/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_windows_amd64.zip) | | [arm64.deb](https://output.circle-artifacts.com/output/job/c65bd776-14cb-4176-87e2-b58e8cabb8be/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_arm64.deb) | [armel.rpm](https://output.circle-artifacts.com/output/job/2936e1d6-cb33-4d0d-9d0a-1644ab9df5fa/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.armel.rpm) | [darwin_arm64.tar.gz](https://output.circle-artifacts.com/output/job/8c6c473a-2d70-433a-8204-27d00495053c/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_darwin_arm64.tar.gz) | [windows_arm64.zip](https://output.circle-artifacts.com/output/job/a4c91011-e298-4d62-99d0-b728df1b657b/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_windows_arm64.zip) | | [armel.deb](https://output.circle-artifacts.com/output/job/2936e1d6-cb33-4d0d-9d0a-1644ab9df5fa/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_armel.deb) | [armv6hl.rpm](https://output.circle-artifacts.com/output/job/4df56c9e-f46a-4b7d-b492-0f1659a60eb1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.armv6hl.rpm) | [freebsd_amd64.tar.gz](https://output.circle-artifacts.com/output/job/0be58adb-8ecd-4d99-bdba-f5eca44a5403/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_freebsd_amd64.tar.gz) | [windows_i386.zip](https://output.circle-artifacts.com/output/job/a4c91011-e298-4d62-99d0-b728df1b657b/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_windows_i386.zip) | | [armhf.deb](https://output.circle-artifacts.com/output/job/4df56c9e-f46a-4b7d-b492-0f1659a60eb1/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_armhf.deb) | [i386.rpm](https://output.circle-artifacts.com/output/job/29ccc983-1cc6-4fd2-9e88-e8f8980e8183/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.i386.rpm) | [freebsd_armv7.tar.gz](https://output.circle-artifacts.com/output/job/4df56c9e-f46a-4b7d-b492-0f1659a60eb1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_freebsd_armv7.tar.gz) | | | [i386.deb](https://output.circle-artifacts.com/output/job/29ccc983-1cc6-4fd2-9e88-e8f8980e8183/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_i386.deb) | [ppc64le.rpm](https://output.circle-artifacts.com/output/job/bd020419-a00e-4386-b13a-925edbff5df2/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.ppc64le.rpm) | [freebsd_i386.tar.gz](https://output.circle-artifacts.com/output/job/29ccc983-1cc6-4fd2-9e88-e8f8980e8183/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_freebsd_i386.tar.gz) | | | [mips.deb](https://output.circle-artifacts.com/output/job/2284d07d-e903-49fa-81cb-3687d4ecb59f/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_mips.deb) | [riscv64.rpm](https://output.circle-artifacts.com/output/job/63c84e96-4b90-4926-ae6a-ff8049cfffd1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.riscv64.rpm) | [linux_amd64.tar.gz](https://output.circle-artifacts.com/output/job/0be58adb-8ecd-4d99-bdba-f5eca44a5403/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_amd64.tar.gz) | | | [mipsel.deb](https://output.circle-artifacts.com/output/job/8c277203-4b0e-4961-a4d9-cd5d758877d1/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_mipsel.deb) | [s390x.rpm](https://output.circle-artifacts.com/output/job/b3804665-d080-4fc7-a026-38551931f61c/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.s390x.rpm) | [linux_arm64.tar.gz](https://output.circle-artifacts.com/output/job/c65bd776-14cb-4176-87e2-b58e8cabb8be/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_arm64.tar.gz) | | | [ppc64el.deb](https://output.circle-artifacts.com/output/job/bd020419-a00e-4386-b13a-925edbff5df2/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_ppc64el.deb) | [x86_64.rpm](https://output.circle-artifacts.com/output/job/0be58adb-8ecd-4d99-bdba-f5eca44a5403/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc-0.x86_64.rpm) | [linux_armel.tar.gz](https://output.circle-artifacts.com/output/job/2936e1d6-cb33-4d0d-9d0a-1644ab9df5fa/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_armel.tar.gz) | | | [riscv64.deb](https://output.circle-artifacts.com/output/job/63c84e96-4b90-4926-ae6a-ff8049cfffd1/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_riscv64.deb) | | [linux_armhf.tar.gz](https://output.circle-artifacts.com/output/job/4df56c9e-f46a-4b7d-b492-0f1659a60eb1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_armhf.tar.gz) | | | [s390x.deb](https://output.circle-artifacts.com/output/job/b3804665-d080-4fc7-a026-38551931f61c/artifacts/0/build/dist/telegraf_1.33.0~f9bff4fc-0_s390x.deb) | | [linux_i386.tar.gz](https://output.circle-artifacts.com/output/job/29ccc983-1cc6-4fd2-9e88-e8f8980e8183/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_i386.tar.gz) | | | | | [linux_mips.tar.gz](https://output.circle-artifacts.com/output/job/2284d07d-e903-49fa-81cb-3687d4ecb59f/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_mips.tar.gz) | | | | | [linux_mipsel.tar.gz](https://output.circle-artifacts.com/output/job/8c277203-4b0e-4961-a4d9-cd5d758877d1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_mipsel.tar.gz) | | | | | [linux_ppc64le.tar.gz](https://output.circle-artifacts.com/output/job/bd020419-a00e-4386-b13a-925edbff5df2/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_ppc64le.tar.gz) | | | | | [linux_riscv64.tar.gz](https://output.circle-artifacts.com/output/job/63c84e96-4b90-4926-ae6a-ff8049cfffd1/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_riscv64.tar.gz) | | | | | [linux_s390x.tar.gz](https://output.circle-artifacts.com/output/job/b3804665-d080-4fc7-a026-38551931f61c/artifacts/0/build/dist/telegraf-1.33.0~f9bff4fc_linux_s390x.tar.gz) | |