I wanted to test using the container collector but I get an error that it is not available as a collector. I am on Windows Server 2019 (1809) with docker version 18.09.2 using WMI Exporter version 8.0.1
Error
PS C:\temp> .\wmi_exporter.exe --collectors.enabled "container"
[31mFATA[0m[0000] Couldn't load collectors: collector 'container' not available [31msource[0m="exporter.go:330"
Collectors available
PS C:\temp> .\wmi_exporter.exe --collectors.print
Available collectors:
- ad
- cpu
- cs
- dns
- hyperv
- iis
- logical_disk
- memory
- msmq
- mssql
- net
- netframework_clrexceptions
- netframework_clrinterop
- netframework_clrjit
- netframework_clrloading
- netframework_clrlocksandthreads
- netframework_clrmemory
- netframework_clrremoting
- netframework_clrsecurity
- os
- process
- service
- system
- tcp
- textfile
- thermalzone
- vmware
WMI Exporter Version
wmi_exporter, version 0.8.1 (branch: master, revision: 592c8a8d69b2034acdb0b35c6052ac94f4e54f2a)
build user: appvyr-win\appveyor@APPVYR-WIN
build date: 20190809-08:29:04
go version: go1.12.3
Hi @ggsince88,
Thanks for reporting! That seems odd, I'll have a look at the build logs and see if I can understand why. Meanwhile, could you see if it works for you with older versions? Specifically 0.8.0 and 0.7.0. Thanks!
This is a bug. I'll release a patch asap.
Most helpful comment
This is a bug. I'll release a patch asap.