You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 0.39.0 moved the Environment registry entry from the service registry entry to the program registry entry for other Windows systems.
Steps to reproduce
modify the river file to require an environment variable and add that variable to $hklm\SOFTWARE\Grafana\Grafana Agent Flow and the service will fail to start.
Add the variable to $hklm\SYSTEM\CurrentControlSet\Services\Grafana Agent Flow Environment entry and the service will start
in this case, it is just the TEMPO_URL. if it is only in SOFTWARE\Grafana\Grafana Agent Flow Environment entry, then it fails.
If it is in the one for the SYSTEM\CurrentControlSet\Services..., then the ENVIRONMENT seems to get passed along to the program environment running under the service.
This works fine for the Server 2012R2, 2016, 2019 and 2022 systems. It fails on Windows 10. I haven't tried Windows 11.
This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
On April 9, 2024, Grafana Labs announced Grafana Alloy, the spirital successor to Grafana Agent and the final form of Grafana Agent flow mode. As a result, Grafana Agent has been deprecated and will only be receiving bug and security fixes until its end-of-life around November 1, 2025.
To make things easier for maintainers, we're in the process of migrating all issues tagged variant/flow to the Grafana Alloy repository to have a single home for tracking issues. This issue is likely something we'll want to address in both Grafana Alloy and Grafana Agent, so just because it's being moved doesn't mean we won't address the issue in Grafana Agent :)
What's wrong?
Version 0.39.0 moved the Environment registry entry from the service registry entry to the program registry entry for other Windows systems.
Steps to reproduce
modify the river file to require an environment variable and add that variable to $hklm\SOFTWARE\Grafana\Grafana Agent Flow and the service will fail to start.
Add the variable to $hklm\SYSTEM\CurrentControlSet\Services\Grafana Agent Flow Environment entry and the service will start
System information
Windows 10.0.19045.3930
Software version
Grafana Agent Flow v0.39.0
Configuration
No response
Logs
The text was updated successfully, but these errors were encountered: