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
#1:
level=info msg="starting program" command="C:\\Program Files\\GrafanaLabs\\Alloy\\alloy-windows-amd64.exe run C:\\Program Files\\GrafanaLabs\\Alloy\\config.alloy --storage.path=C:\\ProgramData\\GrafanaLabs\\Alloy\\data --stability.level=public-preview"
#2:
Error: C:\Program Files\GrafanaLabs\Alloy\config.alloy:49:17: component "loki.write.grafana_cloud_loki.receiver" does not exist or is out of scope
48 | loki.process "logs_integrations_windows_exporter_application" {
49 | forward_to = [loki.write.grafana_cloud_loki.receiver]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 |
Error: C:\Program Files\GrafanaLabs\Alloy\config.alloy:86:17: component "loki.write.grafana_cloud_loki.receiver" does not exist or is out of scope
85 | loki.process "logs_integrations_windows_exporter_system" {
86 | forward_to = [loki.write.grafana_cloud_loki.receiver]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87 |
Error: C:\Program Files\GrafanaLabs\Alloy\config.alloy:33:17: component "prometheus.remote_write.metrics_service.receiver" does not exist or is out of scope
32 | prometheus.relabel "integrations_windows_exporter" {
33 | forward_to = [prometheus.remote_write.metrics_service.receiver]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34 |
#3:
interrupt received
Error: could not perform the initial load successfully
#4:
level=error msg="service exited with error" err="exit status 1" exit_code=1
The text was updated successfully, but these errors were encountered:
Hi @igolets, the Windows integration assumes that you installed Alloy without remote configuration enabled. In that case, the base Alloy configuration would include the prometheus.remote_write.metrics_service and loki.write.grafana_cloud_loki blocks that the Windows integration needs declared in your config.alloy file.
You can resolve this by:
Go to the Connections > Collector > Configure page and click the Installation tab to manage your Alloy configuration.
Make sure the Enable Remote Configuration option is switched off.
Run the command in the Install and run Grafana Alloy section. Note that this will overwrite your existing config.alloy file, so make sure to back up any content first that you want to use later on.
Paste the Windows integration configuration (and the remotecfg block if you want to use that too) into the new config.alloy file.
Hi, @johannaojeling, thanks a lot for your advice, now I see data in windows dashboards.
I wonder why configurator does not take this into account and require some specific knowledge from beginners, hope this could be fixed at some moment. I'd expect some warning near "Remote config" checkbox or different snippet in "Prepare your configuration file" section. Could you send this feature request of mine to proper people?
Thanks in advance!
Great to hear that it is working now! Yes, thank you for your feedback - we are currently working on improving the user onboarding experience for this, so it should be easier to get started in the future!
What's wrong?
I've followed steps from Windows configuration wizard, but Alloy service evev can not start with default config file.
Steps to reproduce
System information
Windows 11 x64 PRO 24H2
Software version
Grafana Alloy 1.5.1
Configuration
Logs
The text was updated successfully, but these errors were encountered: