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
The collector for the services fails. In the eventlog, i can see message like these:
time=2025-02-11T08:50:56.421Z level=WARN source=collect.go:212 msg="collector service failed after 5.3143ms, resulting in 0 metrics" err="failed to query all services: The data is invalid."
We have configured a config.yml file and exclude most of the services.
Windows Server Version: Several versions.. Windows Server 2019/2022/2025 Windows 10 and 11
windows_exporter logs
time=2025-02-11T08:50:56.421Z level=WARN source=collect.go:212 msg="collector service failed after 5.3143ms, resulting in 0 metrics" err="failed to query all services: The data is invalid."
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Outek
changed the title
Service collector - failed to query all services
Service collector - failed to query all services / The data is invalid
Feb 11, 2025
Excluding services does not have any effect here. Because the Windows API does not support filter on query, the filter is more or less a client sided solution.
Well, it was working with version 0.28.1. We didn't have any issues with it.
Since v0.30.2 most of the time the configuration is working fine, after some time, the service crashes and the error appears. Restart the service fix the issue for about 1-2h then the error appears again. Sound like an overflow to me.. 500 servers are affected. We have to downgrade back to 0.28.1
Current Behavior
The collector for the services fails. In the eventlog, i can see message like these:
time=2025-02-11T08:50:56.421Z level=WARN source=collect.go:212 msg="collector service failed after 5.3143ms, resulting in 0 metrics" err="failed to query all services: The data is invalid."
We have configured a config.yml file and exclude most of the services.
This is the config file
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\windows_exporter ImagePath:
"C:\Program Files\windows_exporter\windows_exporter.exe" --config.file="C:\Program Files\windows_exporter\config.yml"
Expected Behavior
The collector should not crash.
Steps To Reproduce
Environment
windows_exporter logs
Anything else?
No response
The text was updated successfully, but these errors were encountered: