Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V 1.4.1 for windows doesn't work #1820

Open
diegobelotti opened this issue Oct 3, 2024 · 1 comment
Open

V 1.4.1 for windows doesn't work #1820

diegobelotti opened this issue Oct 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@diegobelotti
Copy link

diegobelotti commented Oct 3, 2024

What's wrong?

Just reinstalled https://github.com/grafana/alloy/releases/download/v1.3.4/alloy-installer-windows-amd64.exe.zip and started collecting data.

Steps to reproduce

Install 1.4.1 on windows

System information

Window Server 2022 Datacenter

Software version

1.4.1

Configuration

No response

Logs

runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7e98d33]

goroutine 426 [running]:
github.com/prometheus-community/windows_exporter/pkg/collector/service.(*Collector).Collect(0xc0033dbb80, 0x0?, 0x0?)
/go/pkg/mod/github.com/prometheus-community/[email protected]/pkg/collector/service/service.go:152 +0x33
github.com/prometheus-community/windows_exporter/pkg/collector.(*Prometheus).execute(0xc003168340, {0xaae368f, 0x7}, {0xc1c2528, 0xc0033dbb80}, 0xc00033afd8, 0xc002809200)
/go/pkg/mod/github.com/prometheus-community/[email protected]/pkg/collector/prometheus.go:176 +0x8f
github.com/prometheus-community/windows_exporter/pkg/collector.(*Prometheus).Collect.func2({0xaae368f, 0x7}, {0xc1c2528?, 0xc0033dbb80?})
/go/pkg/mod/github.com/prometheus-community/[email protected]/pkg/collector/prometheus.go:117 +0xa5
created by github.com/prometheus-community/windows_exporter/pkg/collector.(*Prometheus).Collect in goroutine 476
/go/pkg/mod/github.com/prometheus-community/[email protected]/pkg/collector/prometheus.go:115 +0x470

@diegobelotti diegobelotti added the bug Something isn't working label Oct 3, 2024
@erikbaranowski
Copy link
Contributor

A patch is expected by end of week. #1744. You can disable the service collector in the meantime if you want to get the exporter running on v1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants