Windows: win_perf_counters won't load on Server Core installations due to missing Windows API libraries #1763
Labels
bug
unexpected problem or unintended behavior
help wanted
Request for community participation, code, contribution
panic
issue that results in panics from Telegraf
platform/windows
Milestone
Bug report
Relevant telegraf.conf:
Standard one shipped with Windows client download
System info:
Telegraf: v1.0.0
Operating System: "Microsoft Hyper-V Server 2012 R2" & "Microsoft Windows Server 2012 R2 Standard"
Steps to reproduce:
Expected behavior:
To execute normally
Actual behavior:
Panic:
Additional info:
I dug around and it looks like the line
/home/ubuntu/telegraf-build/src/github.com/lxn/win/opengl32.go:117
is trying to load a "opengl32.dll" which I'm guessing is a windows drawing component that doesn't ship with server core installations. Maybe a new interface for querying the performance counters can be used that doesn't put any dependencies on features not required for querying?The text was updated successfully, but these errors were encountered: