Discover Packages
github.com/bbigras/wmi_exporter
tools
collector-generator
command
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Aug 4, 2018
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Collector generator
Generates a collector skeleton implementation from a WMI class.
Usage
Build the generator:
go build .
Run the script to query the WMI service and send the output to the generator:
.\New-Collector.ps1 -Class Win32_PerfRawData_PerfOS_Processor
This will generate a collector. The collector name is generated by first removing Win32_PerfRawData_Perf
and lower-casing, so Win32_PerfRawData_PerfOS_Processor
will generate os_processor.go
. This can be overridden by passing -CollectorName
to the script.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.