Windows_exporter: No container collector available

Created on 28 Aug 2019  路  2Comments  路  Source: prometheus-community/windows_exporter

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"
FATA[0000] Couldn't load collectors: collector 'container' not available  source="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
bug collectocontainer

Most helpful comment

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

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aidapsibr picture aidapsibr  路  5Comments

fischerman picture fischerman  路  4Comments

wizardmatas picture wizardmatas  路  5Comments

captainhistory picture captainhistory  路  8Comments

carlpett picture carlpett  路  7Comments