alloy
alloy copied to clipboard
prometheus fails to use performance counter (v1) under windows 2022 Server
What's wrong?
No Metrics read on win 2022 server due to missing performance counters (V1) by default.
Steps to reproduce
- Install Windows 2022 Server
- Install Grafana alloy 1.0
- Configure Prometheus remote write ( see docs for sample windows config.alloy)
- observe Windows event log
Seems to be that server 2022 disable performance counters v1 by default in favour of v2. Prometheus seems to not use them yet and falls over. As stated in: https://github.com/prometheus-community/windows_exporter/issues/1313
Applying the steps mentioned in that issue didnt help.
This makes Alloy unusable under Windows 2020 as metrics collector.
Any ideas on how to get arround this?
System information
Windows 2022 Server Eval Build 20348.587 in virtualbox 7.0.14
Software version
Grafana Alloy 1.0
Configuration
No response
Logs
See "Steps to reproduce"