-
Notifications
You must be signed in to change notification settings - Fork 752
Description
Current Behavior
c:\Program Files\windows_exporter>windows_exporter.exe --collectors.enabled=update --collector.update.online=false --collector.update.scrape-interval=5m --log.level=debug
2025/10/01 15:09:11 ERROR Failed to load configuration err="failed to parse flags: unexpected false"
c:\Program Files\windows_exporter>windows_exporter.exe --collectors.enabled=update --collector.update.online=true --collector.update.scrape-interval=5m --log.level=debug
2025/10/01 15:09:26 ERROR Failed to load configuration err="failed to parse flags: unexpected true"
Expected Behavior
c:\Program Files\windows_exporter>windows_exporter.exe --collectors.enabled=update --collector.update.scrape-interval=5m --log.level=debug
time=2025-10-01T15:15:12.612-04:00 level=DEBUG source=main.go:150 msg="logging has Started"
time=2025-10-01T15:15:12.624-04:00 level=INFO source=update.go:112 msg="update collector is in an experimental state! The configuration and metrics may change in future. Please report any issues." collector=update
time=2025-10-01T15:15:12.654-04:00 level=INFO source=main.go:277 msg="Running as XXXXXXXXXXXX"
time=2025-10-01T15:15:12.654-04:00 level=INFO source=main.go:190 msg="Enabled collectors: update"
time=2025-10-01T15:15:12.655-04:00 level=INFO source=main.go:208 msg="starting windows_exporter in 43.1415ms" version=0.31.3 branch=HEAD revision=fcf21bb6008679edab438661a0e882c0c7f27386 goversion=go1.25.1 builddate=20250906-06:52:57 maxprocs=12
time=2025-10-01T15:15:12.657-04:00 level=INFO source=tls_config.go:347 msg="Listening on" address=[::]:9182
time=2025-10-01T15:15:12.658-04:00 level=INFO source=tls_config.go:350 msg="TLS is disabled." http2=false address=[::]:9182
Steps To Reproduce
run "c:\Program Files\windows_exporter\windows_exporter.exe" --collectors.enabled=update --collector.update.online=true --collector.update.scrape-interval=5m --log.level=debug
Environment
- windows_exporter Version: 0.31.3
- Windows Server Version: Windows Server 2019 build 17763.7678
windows_exporter logs
2025/10/01 15:09:11 ERROR Failed to load configuration err="failed to parse flags: unexpected false"
2025/10/01 15:09:26 ERROR Failed to load configuration err="failed to parse flags: unexpected true"
Anything else?
No response