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

No container collector available #391

Closed
ggsince88 opened this issue Aug 28, 2019 · 2 comments · Fixed by #394
Closed

No container collector available #391

ggsince88 opened this issue Aug 28, 2019 · 2 comments · Fixed by #394
Labels

Comments

@ggsince88
Copy link

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
@carlpett
Copy link
Collaborator

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!

@carlpett
Copy link
Collaborator

This is a bug. I'll release a patch asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants