Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() ([]collector.Collector, error)

    New creates new WMI collector

    func NewCacheCollector

    func NewCacheCollector(cfgBaseName string) (collector.Collector, error)

      NewCacheCollector creates new wmi collector

      func NewDiskCollector

      func NewDiskCollector(cfgBaseName string) (collector.Collector, error)

        NewDiskCollector creates new wmi collector

        func NewMemoryCollector

        func NewMemoryCollector(cfgBaseName string) (collector.Collector, error)

          NewMemoryCollector creates new wmi collector

          func NewNetIPCollector

          func NewNetIPCollector(cfgBaseName string) (collector.Collector, error)

            NewNetIPCollector creates new wmi collector

            func NewNetInterfaceCollector

            func NewNetInterfaceCollector(cfgBaseName string) (collector.Collector, error)

              NewNetInterfaceCollector creates new wmi collector

              func NewNetTCPCollector

              func NewNetTCPCollector(cfgBaseName string) (collector.Collector, error)

                NewNetTCPCollector creates new wmi collector

                func NewNetUDPCollector

                func NewNetUDPCollector(cfgBaseName string) (collector.Collector, error)

                  NewNetUDPCollector creates new wmi collector

                  func NewObjectsCollector

                  func NewObjectsCollector(cfgBaseName string) (collector.Collector, error)

                    NewObjectsCollector creates new wmi collector

                    func NewPagingFileCollector

                    func NewPagingFileCollector(cfgBaseName string) (collector.Collector, error)

                      NewPagingFileCollector creates new wmi collector

                      func NewProcessesCollector

                      func NewProcessesCollector(cfgBaseName string) (collector.Collector, error)

                        NewProcessesCollector creates new wmi collector

                        func NewProcessorCollector

                        func NewProcessorCollector(cfgBaseName string) (collector.Collector, error)

                          NewProcessorCollector creates new wmi collector

                          Types

                          type Cache

                          type Cache struct {
                          	// contains filtered or unexported fields
                          }

                            Cache metrics from the Windows Management Interface (wmi)

                            func (*Cache) Collect

                            func (c *Cache) Collect(ctx context.Context) error

                              Collect metrics from the wmi resource

                              func (*Cache) Flush

                              func (c *Cache) Flush() cgm.Metrics

                                Flush returns last metrics collected

                                func (*Cache) ID

                                func (c *Cache) ID() string

                                  ID returns id of collector

                                  func (*Cache) Inventory

                                  func (c *Cache) Inventory() collector.InventoryStats

                                    Inventory returns collector stats for /inventory endpoint

                                    func (*Cache) Logger

                                    func (c *Cache) Logger() zerolog.Logger

                                      Logger returns collector's instance of logger

                                      type Disk

                                      type Disk struct {
                                      	// contains filtered or unexported fields
                                      }

                                        Disk metrics from the Windows Management Interface (wmi)

                                        func (*Disk) Collect

                                        func (c *Disk) Collect(ctx context.Context) error

                                          Collect metrics from the wmi resource

                                          func (*Disk) Flush

                                          func (c *Disk) Flush() cgm.Metrics

                                            Flush returns last metrics collected

                                            func (*Disk) ID

                                            func (c *Disk) ID() string

                                              ID returns id of collector

                                              func (*Disk) Inventory

                                              func (c *Disk) Inventory() collector.InventoryStats

                                                Inventory returns collector stats for /inventory endpoint

                                                func (*Disk) Logger

                                                func (c *Disk) Logger() zerolog.Logger

                                                  Logger returns collector's instance of logger

                                                  type Memory

                                                  type Memory struct {
                                                  	// contains filtered or unexported fields
                                                  }

                                                    Memory metrics from the Windows Management Interface (wmi)

                                                    func (*Memory) Collect

                                                    func (c *Memory) Collect(ctx context.Context) error

                                                      Collect metrics from the wmi resource

                                                      func (*Memory) Flush

                                                      func (c *Memory) Flush() cgm.Metrics

                                                        Flush returns last metrics collected

                                                        func (*Memory) ID

                                                        func (c *Memory) ID() string

                                                          ID returns id of collector

                                                          func (*Memory) Inventory

                                                          func (c *Memory) Inventory() collector.InventoryStats

                                                            Inventory returns collector stats for /inventory endpoint

                                                            func (*Memory) Logger

                                                            func (c *Memory) Logger() zerolog.Logger

                                                              Logger returns collector's instance of logger

                                                              type NetIP

                                                              type NetIP struct {
                                                              	// contains filtered or unexported fields
                                                              }

                                                                NetIP metrics from the Windows Management Interface (wmi)

                                                                func (*NetIP) Collect

                                                                func (c *NetIP) Collect(ctx context.Context) error

                                                                  Collect metrics from the wmi resource

                                                                  func (*NetIP) Flush

                                                                  func (c *NetIP) Flush() cgm.Metrics

                                                                    Flush returns last metrics collected

                                                                    func (*NetIP) ID

                                                                    func (c *NetIP) ID() string

                                                                      ID returns id of collector

                                                                      func (*NetIP) Inventory

                                                                      func (c *NetIP) Inventory() collector.InventoryStats

                                                                        Inventory returns collector stats for /inventory endpoint

                                                                        func (*NetIP) Logger

                                                                        func (c *NetIP) Logger() zerolog.Logger

                                                                          Logger returns collector's instance of logger

                                                                          type NetIPOptions

                                                                          type NetIPOptions struct {
                                                                          	ID              string `json:"id" toml:"id" yaml:"id"`
                                                                          	MetricNameRegex string `json:"metric_name_regex" toml:"metric_name_regex" yaml:"metric_name_regex"`
                                                                          	MetricNameChar  string `json:"metric_name_char" toml:"metric_name_char" yaml:"metric_name_char"`
                                                                          	RunTTL          string `json:"run_ttl" toml:"run_ttl" yaml:"run_ttl"`
                                                                          	EnableIPv4      string `json:"enable_ipv4" toml:"enable_ipv4" yaml:"enable_ipv4"`
                                                                          	EnableIPv6      string `json:"enable_ipv6" toml:"enable_ipv6" yaml:"enable_ipv6"`
                                                                          }

                                                                            NetIPOptions defines what elements can be overridden in a config file

                                                                            type NetInterface

                                                                            type NetInterface struct {
                                                                            	// contains filtered or unexported fields
                                                                            }

                                                                              NetInterface metrics from the Windows Management Interface (wmi)

                                                                              func (*NetInterface) Collect

                                                                              func (c *NetInterface) Collect(ctx context.Context) error

                                                                                Collect metrics from the wmi resource

                                                                                func (*NetInterface) Flush

                                                                                func (c *NetInterface) Flush() cgm.Metrics

                                                                                  Flush returns last metrics collected

                                                                                  func (*NetInterface) ID

                                                                                  func (c *NetInterface) ID() string

                                                                                    ID returns id of collector

                                                                                    func (*NetInterface) Inventory

                                                                                    func (c *NetInterface) Inventory() collector.InventoryStats

                                                                                      Inventory returns collector stats for /inventory endpoint

                                                                                      func (*NetInterface) Logger

                                                                                      func (c *NetInterface) Logger() zerolog.Logger

                                                                                        Logger returns collector's instance of logger

                                                                                        type NetTCP

                                                                                        type NetTCP struct {
                                                                                        	// contains filtered or unexported fields
                                                                                        }

                                                                                          NetTCP metrics from the Windows Management Interface (wmi)

                                                                                          func (*NetTCP) Collect

                                                                                          func (c *NetTCP) Collect(ctx context.Context) error

                                                                                            Collect metrics from the wmi resource

                                                                                            func (*NetTCP) Flush

                                                                                            func (c *NetTCP) Flush() cgm.Metrics

                                                                                              Flush returns last metrics collected

                                                                                              func (*NetTCP) ID

                                                                                              func (c *NetTCP) ID() string

                                                                                                ID returns id of collector

                                                                                                func (*NetTCP) Inventory

                                                                                                func (c *NetTCP) Inventory() collector.InventoryStats

                                                                                                  Inventory returns collector stats for /inventory endpoint

                                                                                                  func (*NetTCP) Logger

                                                                                                  func (c *NetTCP) Logger() zerolog.Logger

                                                                                                    Logger returns collector's instance of logger

                                                                                                    type NetTCPOptions

                                                                                                    type NetTCPOptions struct {
                                                                                                    	ID              string `json:"id" toml:"id" yaml:"id"`
                                                                                                    	MetricNameRegex string `json:"metric_name_regex" toml:"metric_name_regex" yaml:"metric_name_regex"`
                                                                                                    	MetricNameChar  string `json:"metric_name_char" toml:"metric_name_char" yaml:"metric_name_char"`
                                                                                                    	RunTTL          string `json:"run_ttl" toml:"run_ttl" yaml:"run_ttl"`
                                                                                                    	EnableIPv4      string `json:"enable_ipv4" toml:"enable_ipv4" yaml:"enable_ipv4"`
                                                                                                    	EnableIPv6      string `json:"enable_ipv6" toml:"enable_ipv6" yaml:"enable_ipv6"`
                                                                                                    }

                                                                                                      NetTCPOptions defines what elements can be overridden in a config file

                                                                                                      type NetUDP

                                                                                                      type NetUDP struct {
                                                                                                      	// contains filtered or unexported fields
                                                                                                      }

                                                                                                        NetUDP metrics from the Windows Management Interface (wmi)

                                                                                                        func (*NetUDP) Collect

                                                                                                        func (c *NetUDP) Collect(ctx context.Context) error

                                                                                                          Collect metrics from the wmi resource

                                                                                                          func (*NetUDP) Flush

                                                                                                          func (c *NetUDP) Flush() cgm.Metrics

                                                                                                            Flush returns last metrics collected

                                                                                                            func (*NetUDP) ID

                                                                                                            func (c *NetUDP) ID() string

                                                                                                              ID returns id of collector

                                                                                                              func (*NetUDP) Inventory

                                                                                                              func (c *NetUDP) Inventory() collector.InventoryStats

                                                                                                                Inventory returns collector stats for /inventory endpoint

                                                                                                                func (*NetUDP) Logger

                                                                                                                func (c *NetUDP) Logger() zerolog.Logger

                                                                                                                  Logger returns collector's instance of logger

                                                                                                                  type NetUDPOptions

                                                                                                                  type NetUDPOptions struct {
                                                                                                                  	ID              string `json:"id" toml:"id" yaml:"id"`
                                                                                                                  	MetricNameRegex string `json:"metric_name_regex" toml:"metric_name_regex" yaml:"metric_name_regex"`
                                                                                                                  	MetricNameChar  string `json:"metric_name_char" toml:"metric_name_char" yaml:"metric_name_char"`
                                                                                                                  	RunTTL          string `json:"run_ttl" toml:"run_ttl" yaml:"run_ttl"`
                                                                                                                  	EnableIPv4      string `json:"enable_ipv4" toml:"enable_ipv4" yaml:"enable_ipv4"`
                                                                                                                  	EnableIPv6      string `json:"enable_ipv6" toml:"enable_ipv6" yaml:"enable_ipv6"`
                                                                                                                  }

                                                                                                                    NetUDPOptions defines what elements can be overridden in a config file

                                                                                                                    type Objects

                                                                                                                    type Objects struct {
                                                                                                                    	// contains filtered or unexported fields
                                                                                                                    }

                                                                                                                      Objects metrics from the Windows Management Interface (wmi)

                                                                                                                      func (*Objects) Collect

                                                                                                                      func (c *Objects) Collect(ctx context.Context) error

                                                                                                                        Collect metrics from the wmi resource

                                                                                                                        func (*Objects) Flush

                                                                                                                        func (c *Objects) Flush() cgm.Metrics

                                                                                                                          Flush returns last metrics collected

                                                                                                                          func (*Objects) ID

                                                                                                                          func (c *Objects) ID() string

                                                                                                                            ID returns id of collector

                                                                                                                            func (*Objects) Inventory

                                                                                                                            func (c *Objects) Inventory() collector.InventoryStats

                                                                                                                              Inventory returns collector stats for /inventory endpoint

                                                                                                                              func (*Objects) Logger

                                                                                                                              func (c *Objects) Logger() zerolog.Logger

                                                                                                                                Logger returns collector's instance of logger

                                                                                                                                type PagingFile

                                                                                                                                type PagingFile struct {
                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                }

                                                                                                                                  PagingFile metrics from the Windows Management Interface (wmi)

                                                                                                                                  func (*PagingFile) Collect

                                                                                                                                  func (c *PagingFile) Collect(ctx context.Context) error

                                                                                                                                    Collect metrics from the wmi resource

                                                                                                                                    func (*PagingFile) Flush

                                                                                                                                    func (c *PagingFile) Flush() cgm.Metrics

                                                                                                                                      Flush returns last metrics collected

                                                                                                                                      func (*PagingFile) ID

                                                                                                                                      func (c *PagingFile) ID() string

                                                                                                                                        ID returns id of collector

                                                                                                                                        func (*PagingFile) Inventory

                                                                                                                                        func (c *PagingFile) Inventory() collector.InventoryStats

                                                                                                                                          Inventory returns collector stats for /inventory endpoint

                                                                                                                                          func (*PagingFile) Logger

                                                                                                                                          func (c *PagingFile) Logger() zerolog.Logger

                                                                                                                                            Logger returns collector's instance of logger

                                                                                                                                            type Processes

                                                                                                                                            type Processes struct {
                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                            }

                                                                                                                                              Processes metrics from the Windows Management Interface (wmi)

                                                                                                                                              func (*Processes) Collect

                                                                                                                                              func (c *Processes) Collect(ctx context.Context) error

                                                                                                                                                Collect metrics from the wmi resource

                                                                                                                                                func (*Processes) Flush

                                                                                                                                                func (c *Processes) Flush() cgm.Metrics

                                                                                                                                                  Flush returns last metrics collected

                                                                                                                                                  func (*Processes) ID

                                                                                                                                                  func (c *Processes) ID() string

                                                                                                                                                    ID returns id of collector

                                                                                                                                                    func (*Processes) Inventory

                                                                                                                                                    func (c *Processes) Inventory() collector.InventoryStats

                                                                                                                                                      Inventory returns collector stats for /inventory endpoint

                                                                                                                                                      func (*Processes) Logger

                                                                                                                                                      func (c *Processes) Logger() zerolog.Logger

                                                                                                                                                        Logger returns collector's instance of logger

                                                                                                                                                        type ProcessesOptions

                                                                                                                                                        type ProcessesOptions struct {
                                                                                                                                                        	ID              string `json:"id" toml:"id" yaml:"id"`
                                                                                                                                                        	IncludeRegex    string `json:"include_regex" toml:"include_regex" yaml:"include_regex"`
                                                                                                                                                        	ExcludeRegex    string `json:"exclude_regex" toml:"exclude_regex" yaml:"exclude_regex"`
                                                                                                                                                        	MetricNameRegex string `json:"metric_name_regex" toml:"metric_name_regex" yaml:"metric_name_regex"`
                                                                                                                                                        	MetricNameChar  string `json:"metric_name_char" toml:"metric_name_char" yaml:"metric_name_char"`
                                                                                                                                                        	RunTTL          string `json:"run_ttl" toml:"run_ttl" yaml:"run_ttl"`
                                                                                                                                                        }

                                                                                                                                                          ProcessesOptions defines what elements can be overridden in a config file

                                                                                                                                                          type Processor

                                                                                                                                                          type Processor struct {
                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                          }

                                                                                                                                                            Processor metrics from the Windows Management Interface (wmi)

                                                                                                                                                            func (*Processor) Collect

                                                                                                                                                            func (c *Processor) Collect(ctx context.Context) error

                                                                                                                                                              Collect metrics from the wmi resource

                                                                                                                                                              func (*Processor) Flush

                                                                                                                                                              func (c *Processor) Flush() cgm.Metrics

                                                                                                                                                                Flush returns last metrics collected

                                                                                                                                                                func (*Processor) ID

                                                                                                                                                                func (c *Processor) ID() string

                                                                                                                                                                  ID returns id of collector

                                                                                                                                                                  func (*Processor) Inventory

                                                                                                                                                                  func (c *Processor) Inventory() collector.InventoryStats

                                                                                                                                                                    Inventory returns collector stats for /inventory endpoint

                                                                                                                                                                    func (*Processor) Logger

                                                                                                                                                                    func (c *Processor) Logger() zerolog.Logger

                                                                                                                                                                      Logger returns collector's instance of logger

                                                                                                                                                                      type Win32_PerfFormattedData_PerfDisk_LogicalDisk

                                                                                                                                                                      type Win32_PerfFormattedData_PerfDisk_LogicalDisk struct {
                                                                                                                                                                      	Name                    string
                                                                                                                                                                      	AvgDiskBytesPerRead     uint64
                                                                                                                                                                      	AvgDiskBytesPerTransfer uint64
                                                                                                                                                                      	AvgDiskBytesPerWrite    uint64
                                                                                                                                                                      	AvgDiskQueueLength      uint64
                                                                                                                                                                      	AvgDiskReadQueueLength  uint64
                                                                                                                                                                      	AvgDiskWriteQueueLength uint64
                                                                                                                                                                      	DiskBytesPersec         uint64
                                                                                                                                                                      	DiskReadBytesPersec     uint64
                                                                                                                                                                      	DiskWriteBytesPersec    uint64
                                                                                                                                                                      	DiskWritesPersec        uint64
                                                                                                                                                                      	PercentDiskReadTime     uint64
                                                                                                                                                                      	PercentDiskTime         uint64
                                                                                                                                                                      	PercentDiskWriteTime    uint64
                                                                                                                                                                      	PercentIdleTime         uint64
                                                                                                                                                                      	AvgDisksecPerRead       uint32
                                                                                                                                                                      	AvgDisksecPerTransfer   uint32
                                                                                                                                                                      	AvgDisksecPerWrite      uint32
                                                                                                                                                                      	CurrentDiskQueueLength  uint32
                                                                                                                                                                      	DiskReadsPersec         uint32
                                                                                                                                                                      	DiskTransfersPersec     uint32
                                                                                                                                                                      	FreeMegabytes           uint32
                                                                                                                                                                      	PercentFreeSpace        uint32
                                                                                                                                                                      	SplitIOPerSec           uint32
                                                                                                                                                                      }

                                                                                                                                                                        Win32_PerfFormattedData_PerfDisk_LogicalDisk defines the metrics to collect https://technet.microsoft.com/en-ca/aa394261(v=vs.71)

                                                                                                                                                                        type Win32_PerfFormattedData_PerfDisk_PhysicalDisk

                                                                                                                                                                        type Win32_PerfFormattedData_PerfDisk_PhysicalDisk struct {
                                                                                                                                                                        	Name                    string
                                                                                                                                                                        	AvgDiskBytesPerRead     uint64
                                                                                                                                                                        	AvgDiskBytesPerTransfer uint64
                                                                                                                                                                        	AvgDiskBytesPerWrite    uint64
                                                                                                                                                                        	AvgDiskQueueLength      uint64
                                                                                                                                                                        	AvgDiskReadQueueLength  uint64
                                                                                                                                                                        	AvgDiskWriteQueueLength uint64
                                                                                                                                                                        	DiskBytesPersec         uint64
                                                                                                                                                                        	DiskReadBytesPersec     uint64
                                                                                                                                                                        	DiskWriteBytesPersec    uint64
                                                                                                                                                                        	DiskWritesPersec        uint64
                                                                                                                                                                        	PercentDiskReadTime     uint64
                                                                                                                                                                        	PercentDiskTime         uint64
                                                                                                                                                                        	PercentDiskWriteTime    uint64
                                                                                                                                                                        	PercentIdleTime         uint64
                                                                                                                                                                        	CurrentDiskQueueLength  uint32
                                                                                                                                                                        	AvgDisksecPerRead       uint32
                                                                                                                                                                        	AvgDisksecPerTransfer   uint32
                                                                                                                                                                        	AvgDisksecPerWrite      uint32
                                                                                                                                                                        	DiskReadsPersec         uint32
                                                                                                                                                                        	DiskTransfersPersec     uint32
                                                                                                                                                                        	SplitIOPerSec           uint32
                                                                                                                                                                        }

                                                                                                                                                                          Win32_PerfFormattedData_PerfDisk_PhysicalDisk defines the metrics to collect

                                                                                                                                                                          type Win32_PerfFormattedData_PerfOS_Cache

                                                                                                                                                                          type Win32_PerfFormattedData_PerfOS_Cache struct {
                                                                                                                                                                          	AsyncCopyReadsPersec         uint32
                                                                                                                                                                          	AsyncDataMapsPersec          uint32
                                                                                                                                                                          	AsyncFastReadsPersec         uint32
                                                                                                                                                                          	AsyncMDLReadsPersec          uint32
                                                                                                                                                                          	AsyncPinReadsPersec          uint32
                                                                                                                                                                          	CopyReadHitsPercent          uint32
                                                                                                                                                                          	CopyReadsPersec              uint32
                                                                                                                                                                          	DataFlushesPersec            uint32
                                                                                                                                                                          	DataFlushPagesPersec         uint32
                                                                                                                                                                          	DataMapHitsPercent           uint32
                                                                                                                                                                          	DataMapPinsPersec            uint32
                                                                                                                                                                          	DataMapsPersec               uint32
                                                                                                                                                                          	DirtyPages                   uint64
                                                                                                                                                                          	DirtyPageThreshold           uint64
                                                                                                                                                                          	FastReadNotPossiblesPersec   uint32
                                                                                                                                                                          	FastReadResourceMissesPersec uint32
                                                                                                                                                                          	FastReadsPersec              uint32
                                                                                                                                                                          	LazyWriteFlushesPersec       uint32
                                                                                                                                                                          	LazyWritePagesPersec         uint32
                                                                                                                                                                          	MDLReadHitsPercent           uint32
                                                                                                                                                                          	MDLReadsPersec               uint32
                                                                                                                                                                          	PinReadHitsPercent           uint32
                                                                                                                                                                          	PinReadsPersec               uint32
                                                                                                                                                                          	ReadAheadsPersec             uint32
                                                                                                                                                                          	SyncCopyReadsPersec          uint32
                                                                                                                                                                          	SyncDataMapsPersec           uint32
                                                                                                                                                                          	SyncFastReadsPersec          uint32
                                                                                                                                                                          	SyncMDLReadsPersec           uint32
                                                                                                                                                                          	SyncPinReadsPersec           uint32
                                                                                                                                                                          }

                                                                                                                                                                            Win32_PerfFormattedData_PerfOS_Cache defines the metrics to collect https://wutils.com/wmi/root/cimv2/win32_perfformatteddata_perfos_cache/

                                                                                                                                                                            type Win32_PerfFormattedData_PerfOS_Memory

                                                                                                                                                                            type Win32_PerfFormattedData_PerfOS_Memory struct {
                                                                                                                                                                            	AvailableBytes                  uint64
                                                                                                                                                                            	CacheBytes                      uint64
                                                                                                                                                                            	CacheFaultsPersec               uint64
                                                                                                                                                                            	CommittedBytes                  uint64
                                                                                                                                                                            	DemandZeroFaultsPersec          uint64
                                                                                                                                                                            	FreeAndZeroPageListBytes        uint64
                                                                                                                                                                            	FreeSystemPageTableEntries      uint64
                                                                                                                                                                            	ModifiedPageListBytes           uint64
                                                                                                                                                                            	PageFaultsPersec                uint64
                                                                                                                                                                            	PageReadsPersec                 uint64
                                                                                                                                                                            	PagesInputPersec                uint64
                                                                                                                                                                            	PagesOutputPersec               uint64
                                                                                                                                                                            	PagesPersec                     uint64
                                                                                                                                                                            	PageWritesPersec                uint64
                                                                                                                                                                            	PercentCommittedBytesInUse      uint64
                                                                                                                                                                            	PoolNonpagedAllocs              uint64
                                                                                                                                                                            	PoolNonpagedBytes               uint64
                                                                                                                                                                            	PoolPagedAllocs                 uint64
                                                                                                                                                                            	PoolPagedBytes                  uint64
                                                                                                                                                                            	PoolPagedResidentBytes          uint64
                                                                                                                                                                            	StandbyCacheCoreBytes           uint64
                                                                                                                                                                            	StandbyCacheNormalPriorityBytes uint64
                                                                                                                                                                            	StandbyCacheReserveBytes        uint64
                                                                                                                                                                            	SystemCacheResidentBytes        uint64
                                                                                                                                                                            	SystemCodeResidentBytes         uint64
                                                                                                                                                                            	SystemCodeTotalBytes            uint64
                                                                                                                                                                            	SystemDriverTotalBytes          uint64
                                                                                                                                                                            	TransitionFaultsPersec          uint64
                                                                                                                                                                            	TransitionPagesRePurposedPersec uint64
                                                                                                                                                                            	WriteCopiesPersec               uint64
                                                                                                                                                                            }

                                                                                                                                                                              Win32_PerfFormattedData_PerfOS_Memory defines the metrics to collect

                                                                                                                                                                              type Win32_PerfFormattedData_PerfOS_Objects

                                                                                                                                                                              type Win32_PerfFormattedData_PerfOS_Objects struct {
                                                                                                                                                                              	Events     uint32
                                                                                                                                                                              	Mutexes    uint32
                                                                                                                                                                              	Processes  uint32
                                                                                                                                                                              	Sections   uint32
                                                                                                                                                                              	Semaphores uint32
                                                                                                                                                                              	Threads    uint32
                                                                                                                                                                              }

                                                                                                                                                                                Win32_PerfFormattedData_PerfOS_Objects defines the metrics to collect

                                                                                                                                                                                type Win32_PerfFormattedData_PerfOS_PagingFile

                                                                                                                                                                                type Win32_PerfFormattedData_PerfOS_PagingFile struct {
                                                                                                                                                                                	Name         string
                                                                                                                                                                                	PercentUsage uint32
                                                                                                                                                                                }

                                                                                                                                                                                  Win32_PerfFormattedData_PerfOS_PagingFile defines the metrics to collect

                                                                                                                                                                                  type Win32_PerfFormattedData_PerfOS_Processor

                                                                                                                                                                                  type Win32_PerfFormattedData_PerfOS_Processor struct {
                                                                                                                                                                                  	Name                  string
                                                                                                                                                                                  	C1TransitionsPersec   uint64
                                                                                                                                                                                  	C2TransitionsPersec   uint64
                                                                                                                                                                                  	C3TransitionsPersec   uint64
                                                                                                                                                                                  	DPCsQueuedPersec      uint32
                                                                                                                                                                                  	InterruptsPersec      uint32
                                                                                                                                                                                  	PercentC1Time         uint64
                                                                                                                                                                                  	PercentC2Time         uint64
                                                                                                                                                                                  	PercentC3Time         uint64
                                                                                                                                                                                  	PercentDPCTime        uint64
                                                                                                                                                                                  	PercentIdleTime       uint64
                                                                                                                                                                                  	PercentInterruptTime  uint64
                                                                                                                                                                                  	PercentPrivilegedTime uint64
                                                                                                                                                                                  	PercentProcessorTime  uint64
                                                                                                                                                                                  	PercentUserTime       uint64
                                                                                                                                                                                  }

                                                                                                                                                                                    Win32_PerfFormattedData_PerfOS_Processor defines the metrics to collect

                                                                                                                                                                                    type Win32_PerfFormattedData_PerfProc_Process

                                                                                                                                                                                    type Win32_PerfFormattedData_PerfProc_Process struct {
                                                                                                                                                                                    	Name                    string
                                                                                                                                                                                    	ElapsedTime             uint64
                                                                                                                                                                                    	IODataBytesPersec       uint64
                                                                                                                                                                                    	IODataOperationsPersec  uint64
                                                                                                                                                                                    	IOOtherBytesPersec      uint64
                                                                                                                                                                                    	IOOtherOperationsPersec uint64
                                                                                                                                                                                    	IOReadBytesPersec       uint64
                                                                                                                                                                                    	IOReadOperationsPersec  uint64
                                                                                                                                                                                    	IOWriteBytesPersec      uint64
                                                                                                                                                                                    	IOWriteOperationsPersec uint64
                                                                                                                                                                                    	PageFileBytes           uint64
                                                                                                                                                                                    	PageFileBytesPeak       uint64
                                                                                                                                                                                    	PercentPrivilegedTime   uint64
                                                                                                                                                                                    	PercentProcessorTime    uint64
                                                                                                                                                                                    	PercentUserTime         uint64
                                                                                                                                                                                    	PrivateBytes            uint64
                                                                                                                                                                                    	VirtualBytes            uint64
                                                                                                                                                                                    	VirtualBytesPeak        uint64
                                                                                                                                                                                    	WorkingSet              uint64
                                                                                                                                                                                    	WorkingSetPeak          uint64
                                                                                                                                                                                    	WorkingSetPrivate       uint64
                                                                                                                                                                                    	CreatingProcessID       uint32
                                                                                                                                                                                    	HandleCount             uint32
                                                                                                                                                                                    	IDProcess               uint32
                                                                                                                                                                                    	PageFaultsPersec        uint32
                                                                                                                                                                                    	PoolNonpagedBytes       uint32
                                                                                                                                                                                    	PoolPagedBytes          uint32
                                                                                                                                                                                    	PriorityBase            uint32
                                                                                                                                                                                    	ThreadCount             uint32
                                                                                                                                                                                    }

                                                                                                                                                                                      Win32_PerfFormattedData_PerfProc_Process defines the metrics to collect https://technet.microsoft.com/en-ca/aa394277(v=vs.71)

                                                                                                                                                                                      type Win32_PerfRawData_Tcpip_IPv4

                                                                                                                                                                                      type Win32_PerfRawData_Tcpip_IPv4 struct {
                                                                                                                                                                                      	DatagramsForwardedPersec         uint32
                                                                                                                                                                                      	DatagramsOutboundDiscarded       uint32
                                                                                                                                                                                      	DatagramsOutboundNoRoute         uint32
                                                                                                                                                                                      	DatagramsPersec                  uint32
                                                                                                                                                                                      	DatagramsReceivedAddressErrors   uint32
                                                                                                                                                                                      	DatagramsReceivedDeliveredPersec uint32
                                                                                                                                                                                      	DatagramsReceivedDiscarded       uint32
                                                                                                                                                                                      	DatagramsReceivedHeaderErrors    uint32
                                                                                                                                                                                      	DatagramsReceivedPersec          uint32
                                                                                                                                                                                      	DatagramsReceivedUnknownProtocol uint32
                                                                                                                                                                                      	DatagramsSentPersec              uint32
                                                                                                                                                                                      	FragmentationFailures            uint32
                                                                                                                                                                                      	FragmentedDatagramsPersec        uint32
                                                                                                                                                                                      	FragmentReassemblyFailures       uint32
                                                                                                                                                                                      	FragmentsCreatedPersec           uint32
                                                                                                                                                                                      	FragmentsReassembledPersec       uint32
                                                                                                                                                                                      	FragmentsReceivedPersec          uint32
                                                                                                                                                                                      }

                                                                                                                                                                                        Win32_PerfRawData_Tcpip_IPv4 defines the metrics to collect

                                                                                                                                                                                        type Win32_PerfRawData_Tcpip_IPv6

                                                                                                                                                                                        type Win32_PerfRawData_Tcpip_IPv6 struct {
                                                                                                                                                                                        	DatagramsForwardedPersec         uint32
                                                                                                                                                                                        	DatagramsOutboundDiscarded       uint32
                                                                                                                                                                                        	DatagramsOutboundNoRoute         uint32
                                                                                                                                                                                        	DatagramsPersec                  uint32
                                                                                                                                                                                        	DatagramsReceivedAddressErrors   uint32
                                                                                                                                                                                        	DatagramsReceivedDeliveredPersec uint32
                                                                                                                                                                                        	DatagramsReceivedDiscarded       uint32
                                                                                                                                                                                        	DatagramsReceivedHeaderErrors    uint32
                                                                                                                                                                                        	DatagramsReceivedPersec          uint32
                                                                                                                                                                                        	DatagramsReceivedUnknownProtocol uint32
                                                                                                                                                                                        	DatagramsSentPersec              uint32
                                                                                                                                                                                        	FragmentationFailures            uint32
                                                                                                                                                                                        	FragmentedDatagramsPersec        uint32
                                                                                                                                                                                        	FragmentReassemblyFailures       uint32
                                                                                                                                                                                        	FragmentsCreatedPersec           uint32
                                                                                                                                                                                        	FragmentsReassembledPersec       uint32
                                                                                                                                                                                        	FragmentsReceivedPersec          uint32
                                                                                                                                                                                        }

                                                                                                                                                                                          Win32_PerfRawData_Tcpip_IPv6 defines the metrics to collect

                                                                                                                                                                                          type Win32_PerfRawData_Tcpip_NetworkInterface

                                                                                                                                                                                          type Win32_PerfRawData_Tcpip_NetworkInterface struct {
                                                                                                                                                                                          	BytesReceivedPersec             uint64
                                                                                                                                                                                          	BytesSentPersec                 uint64
                                                                                                                                                                                          	BytesTotalPersec                uint64
                                                                                                                                                                                          	CurrentBandwidth                uint64
                                                                                                                                                                                          	Name                            string
                                                                                                                                                                                          	OffloadedConnections            uint64
                                                                                                                                                                                          	OutputQueueLength               uint64
                                                                                                                                                                                          	PacketsOutboundDiscarded        uint64
                                                                                                                                                                                          	PacketsOutboundErrors           uint64
                                                                                                                                                                                          	PacketsPersec                   uint64
                                                                                                                                                                                          	PacketsReceivedDiscarded        uint64
                                                                                                                                                                                          	PacketsReceivedErrors           uint64
                                                                                                                                                                                          	PacketsReceivedNonUnicastPersec uint64
                                                                                                                                                                                          	PacketsReceivedPersec           uint64
                                                                                                                                                                                          	PacketsReceivedUnicastPersec    uint64
                                                                                                                                                                                          	PacketsReceivedUnknown          uint64
                                                                                                                                                                                          	PacketsSentNonUnicastPersec     uint64
                                                                                                                                                                                          	PacketsSentPersec               uint64
                                                                                                                                                                                          	PacketsSentUnicastPersec        uint64
                                                                                                                                                                                          	TCPActiveRSCConnections         uint64
                                                                                                                                                                                          	TCPRSCAveragePacketSize         uint64
                                                                                                                                                                                          	TCPRSCCoalescedPacketsPersec    uint64
                                                                                                                                                                                          	TCPRSCExceptionsPersec          uint64
                                                                                                                                                                                          }

                                                                                                                                                                                            Win32_PerfRawData_Tcpip_NetworkInterface defines the metrics to collect https://technet.microsoft.com/en-us/security/aa394340(v=vs.80)

                                                                                                                                                                                            type Win32_PerfRawData_Tcpip_TCPv4

                                                                                                                                                                                            type Win32_PerfRawData_Tcpip_TCPv4 struct {
                                                                                                                                                                                            	ConnectionFailures          uint32
                                                                                                                                                                                            	ConnectionsActive           uint32
                                                                                                                                                                                            	ConnectionsEstablished      uint32
                                                                                                                                                                                            	ConnectionsPassive          uint32
                                                                                                                                                                                            	ConnectionsReset            uint32
                                                                                                                                                                                            	SegmentsPersec              uint32
                                                                                                                                                                                            	SegmentsReceivedPersec      uint32
                                                                                                                                                                                            	SegmentsRetransmittedPersec uint32
                                                                                                                                                                                            	SegmentsSentPersec          uint32
                                                                                                                                                                                            }

                                                                                                                                                                                              Win32_PerfRawData_Tcpip_TCPv4 defines the metrics to collect

                                                                                                                                                                                              type Win32_PerfRawData_Tcpip_TCPv6

                                                                                                                                                                                              type Win32_PerfRawData_Tcpip_TCPv6 struct {
                                                                                                                                                                                              	ConnectionFailures          uint32
                                                                                                                                                                                              	ConnectionsActive           uint32
                                                                                                                                                                                              	ConnectionsEstablished      uint32
                                                                                                                                                                                              	ConnectionsPassive          uint32
                                                                                                                                                                                              	ConnectionsReset            uint32
                                                                                                                                                                                              	SegmentsPersec              uint32
                                                                                                                                                                                              	SegmentsReceivedPersec      uint32
                                                                                                                                                                                              	SegmentsRetransmittedPersec uint32
                                                                                                                                                                                              	SegmentsSentPersec          uint32
                                                                                                                                                                                              }

                                                                                                                                                                                                Win32_PerfRawData_Tcpip_TCPv6 defines the metrics to collect

                                                                                                                                                                                                type Win32_PerfRawData_Tcpip_UDPv4

                                                                                                                                                                                                type Win32_PerfRawData_Tcpip_UDPv4 struct {
                                                                                                                                                                                                	DatagramsNoPortPersec   uint32
                                                                                                                                                                                                	DatagramsPersec         uint32
                                                                                                                                                                                                	DatagramsReceivedErrors uint32
                                                                                                                                                                                                	DatagramsReceivedPersec uint32
                                                                                                                                                                                                	DatagramsSentPersec     uint32
                                                                                                                                                                                                }

                                                                                                                                                                                                  Win32_PerfRawData_Tcpip_UDPv4 defines the metrics to collect

                                                                                                                                                                                                  type Win32_PerfRawData_Tcpip_UDPv6

                                                                                                                                                                                                  type Win32_PerfRawData_Tcpip_UDPv6 struct {
                                                                                                                                                                                                  	DatagramsNoPortPersec   uint32
                                                                                                                                                                                                  	DatagramsPersec         uint32
                                                                                                                                                                                                  	DatagramsReceivedErrors uint32
                                                                                                                                                                                                  	DatagramsReceivedPersec uint32
                                                                                                                                                                                                  	DatagramsSentPersec     uint32
                                                                                                                                                                                                  }

                                                                                                                                                                                                    Win32_PerfRawData_Tcpip_UDPv6 defines the metrics to collect