Skip to content

Windows exporter stopped working after a few minutes #2024

Open
@ajarillo1981

Description

@ajarillo1981

Current Behavior

Windows exporter stops working after some minutes, no more than 10 minutes. It happens running windows exporter as a service or executing the app manually.
I have enabled debug in logs and there is no error, just stop providing logs and url http://localhost:9182/metrics become unaccessible. The service keeps as started but cannot be stopped (only possible finding the PDI and killing the process with "taskkill /f")

I have tried also running with only one collector, but the same results-
It is happening the same in the 2 servers that we need to monitor.

¿Is there any other test I can do to see why windows exporter freezes?

Expected Behavior

The application windows exporter should be providing metrics and http://localhost:9182/metrics should be accesible

Steps To Reproduce

Environment

  • windows_exporter Version: 0.30.6
  • Windows Server Version: 2016

windows_exporter logs

time=2025-05-07T12:33:46.611Z level=DEBUG source=collect.go:220 msg="collector memory succeeded after 5.9986ms, resulting in 35 metrics"
time=2025-05-07T12:33:46.612Z level=DEBUG source=collect.go:220 msg="collector cpu succeeded after 6.9981ms, resulting in 609 metrics"
time=2025-05-07T12:33:46.613Z level=DEBUG source=collect.go:220 msg="collector net succeeded after 7.9976ms, resulting in 27 metrics"
time=2025-05-07T12:33:46.628Z level=DEBUG source=collect.go:220 msg="collector service succeeded after 23.0823ms, resulting in 2872 metrics"
time=2025-05-07T12:34:01.605Z level=DEBUG source=collect.go:220 msg="collector cs succeeded after 0s, resulting in 3 metrics"
time=2025-05-07T12:34:01.606Z level=DEBUG source=collect.go:220 msg="collector os succeeded after 1.0137ms, resulting in 11 metrics"
time=2025-05-07T12:34:01.608Z level=DEBUG source=service.go:282 msg="failed collecting service config" collector=service err="El sistema no puede encontrar el archivo especificado." service=CloudAvUpdaterEx
time=2025-05-07T12:34:01.609Z level=DEBUG source=collect.go:220 msg="collector cpu succeeded after 3.9898ms, resulting in 609 metrics"
time=2025-05-07T12:34:01.610Z level=DEBUG source=collect.go:220 msg="collector logical_disk succeeded after 4.9873ms, resulting in 68 metrics"
time=2025-05-07T12:34:01.611Z level=DEBUG source=collect.go:220 msg="collector system succeeded after 5.9913ms, resulting in 9 metrics"
time=2025-05-07T12:34:01.612Z level=DEBUG source=collect.go:220 msg="collector memory succeeded after 7.0304ms, resulting in 35 metrics"
time=2025-05-07T12:34:01.612Z level=DEBUG source=collect.go:220 msg="collector physical_disk succeeded after 7.0304ms, resulting in 24 metrics"
time=2025-05-07T12:34:01.614Z level=DEBUG source=collect.go:220 msg="collector net succeeded after 8.9903ms, resulting in 27 metrics"
time=2025-05-07T12:34:01.631Z level=DEBUG source=collect.go:220 msg="collector service succeeded after 25.9959ms, resulting in 2872 metrics"
time=2025-05-07T12:34:16.605Z level=DEBUG source=collect.go:220 msg="collector cs succeeded after 0s, resulting in 3 metrics"

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions