telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

Provide MSI installer for Windows

Open mcandre opened this issue 9 months ago • 2 comments

Relevant telegraf.conf

N/A

Logs from Telegraf

N/A

System info

Telegraf 1.34.1

Docker

No response

Steps to reproduce

  1. Browse the Windows installation documentation.

Expected behavior

Telegraf should publish a simple .MSI for ease of installation on Windows. While the Chocolatey package is helpful, direct installation via an .MSI should also be an available. Some environments do not have Chocolatey as an option. .MSI can also streamline the Chocolatey package, as well as any ad hoc PowerShell installation snippets.

The Telegraf tutorial uses strange quoting for the example file path to the Telegraf configuration file. Instead of surrounding the path with quotes like most other commands, quotes appear inside of the path, surrounding only the "Program Files" portion. That carries an assumption that the command is running in a live (PowerShell?) terminal session, and is likely to break scripts, such as more complex WSL POSIX shell family scripts.

Actual behavior

Publish an MSI.

Follow common practices to (double) quote the entire file path rather than substrings of the file path.

Additional info

No response

mcandre avatar Apr 02 '25 17:04 mcandre

PRs are welcome. :-)

srebhan avatar Apr 03 '25 15:04 srebhan

Also, the MSI should register telegraf as a Windows startup service.

aep-sunlife avatar May 06 '25 16:05 aep-sunlife