Grafana Alloy Upgrade Process for Windows Deployments

Hi everyone

I’m running Grafana Alloy with “remotecfg” enabled as an Agent on several Windows and Linux Servers to collect Metrics and Logs. While it is pretty easy to update Alloy using the “apt” repository on my Ubuntu machines, I am struggling to find an acceptable process for Windows deployments.

I would be fine with just rerunning the Installation-Script from Fleet Management on the Windows machines but when I do so, the version is not updated inside the Fleet Management (also after service restarts) even though the new version was successfully installed on the Windows machine (Server has version v1.7.4, Fleet Management still v1.7.2).

image

I konw this is just a “cosmetic” issue but I would very much like to be able to track alloy versions inside the Fleet Management. Does anyone know a better upgrade process?

As of now I need to completely reinstall Alloy and remove the Collector from Fleet Management in order for the correct version to be displayed. Like this I have to reassign all my Custom Matching Attributes after every reinstallation.

Thanks for your help!

1 Like