Skip to content

Troubleshooting Windows Exporter on EKS: Metrics Missing for Exporter Container and Callback/Connection Errors in Logs #1861

Open
@paoloyx

Description

@paoloyx

Problem Statement

I apologize in advance if the overall request could seem confused, I'll try to do my best to explain the problem I'm facing. They're actually two "problems", the double hyphen is mandatory here as it could very be a wrong interpretation of what the exporter is doing, or a misconfiguration on my side. On top of all, I'm absolutely not an expert about Windows operating systems.

That said, I've got a windows exporter installation on a EKS cluster. There are two things that I do not understand:

  • I can correctly get metrics from all running containers but the windows exporter itself, for example by using the windows_container_cpu_usage_seconds_total metric. Is that correct? It is due to the the fact that the exporter is running as a Windows process?

  • I've got a lot of unclear error in logs, and I do not know what their meaning is:

[...]
windows-exporter time="2025-01-28T16:09:56Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=9
windows-exporter ts=2025-01-28T16:09:57.500Z caller=stdlib.go:105 level=error caller=http.go:192 msg="error encoding and sending metric family: write tcp 172.20.71.41:9182->172.20.71.41:50570: wsasend: An established connection was aborted by the software in your host machine."
windows-exporter ts=2025-01-28T16:09:58.449Z caller=stdlib.go:105 level=error caller=http.go:192 msg="error encoding and sending metric family: write tcp 172.20.71.41:9182->172.20.71.41:50571: wsasend: An established connection was aborted by the software in your host machine."
windows-exporter time="2025-01-28T16:10:00Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=22
windows-exporter time="2025-01-28T16:10:00Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=23
windows-exporter time="2025-01-28T16:10:00Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=24
windows-exporter time="2025-01-28T16:10:04Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=37
windows-exporter time="2025-01-28T16:10:04Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=40
windows-exporter time="2025-01-28T16:10:04Z" level=error msg="failed to waitForNotification: callbackNumber does not exist in callbackMap" callbackNumber=39
windows-exporter ts=2025-01-28T16:10:07.582Z caller=stdlib.go:105 level=error caller=http.go:192 msg="error encoding and sending metric family: write tcp 172.20.71.41:9182->172.20.71.41:50577: wsasend: An established connection was aborted by the software in your host machine."
windows-exporter ts=2025-01-28T16:10:12.069Z caller=prometheus.go:168 level=warn msg="Collection timed out, still waiting for [service]"
windows-exporter ts=2025-01-28T16:10:13.484Z caller=prometheus.go:168 level=warn msg="Collection timed out, still waiting for [service]"
windows-exporter ts=2025-01-28T16:10:13.485Z caller=stdlib.go:105 level=error caller=http.go:192 msg="error encoding and sending metric family: write tcp 172.20.71.41:9182->172.20.71.41:50578: wsasend: An established connection was aborted by the software in your host machine."
[...]

Anyone can give help? I'm not clearly understanding what it's going on, unfortunately.
It's not immediate to update to newer versions of the exporter, but I could proceed in that sense if it's the better way to proceed.
Thanks

Environment

  • windows_exporter Version: 0.26.1
  • Windows Server Version: Windows Server 2019

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions