windows

package
v1.2.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	// Collectors to mark as enabled
	EnabledCollectors []string `alloy:"enabled_collectors,attr,optional"`

	// Collector-specific config options
	Dfsr          DfsrConfig          `alloy:"dfsr,block,optional"`
	Exchange      ExchangeConfig      `alloy:"exchange,block,optional"`
	IIS           IISConfig           `alloy:"iis,block,optional"`
	LogicalDisk   LogicalDiskConfig   `alloy:"logical_disk,block,optional"`
	MSMQ          MSMQConfig          `alloy:"msmq,block,optional"`
	MSSQL         MSSQLConfig         `alloy:"mssql,block,optional"`
	Network       NetworkConfig       `alloy:"network,block,optional"`
	PhysicalDisk  PhysicalDiskConfig  `alloy:"physical_disk,block,optional"`
	Process       ProcessConfig       `alloy:"process,block,optional"`
	ScheduledTask ScheduledTaskConfig `alloy:"scheduled_task,block,optional"`
	Service       ServiceConfig       `alloy:"service,block,optional"`
	SMTP          SMTPConfig          `alloy:"smtp,block,optional"`
	TextFile      TextFileConfig      `alloy:"text_file,block,optional"`
}

Arguments is used for controlling for this exporter.

func (*Arguments) Convert

func (a *Arguments) Convert() *windows_integration.Config

Convert converts the component's Arguments to the integration's Config.

type DfsrConfig

type DfsrConfig struct {
	SourcesEnabled []string `alloy:"sources_enabled,attr,optional"`
}

DfsrConfig handles settings for the windows_exporter Exchange collector

func (DfsrConfig) Convert

Convert converts the component's DfsrConfig to the integration's ExchangeConfig.

type ExchangeConfig

type ExchangeConfig struct {
	EnabledList []string `alloy:"enabled_list,attr,optional"`
}

ExchangeConfig handles settings for the windows_exporter Exchange collector

func (ExchangeConfig) Convert

Convert converts the component's ExchangeConfig to the integration's ExchangeConfig.

type IISConfig

type IISConfig struct {
	AppBlackList  string `alloy:"app_blacklist,attr,optional"`
	AppWhiteList  string `alloy:"app_whitelist,attr,optional"`
	SiteBlackList string `alloy:"site_blacklist,attr,optional"`
	SiteWhiteList string `alloy:"site_whitelist,attr,optional"`
	AppExclude    string `alloy:"app_exclude,attr,optional"`
	AppInclude    string `alloy:"app_include,attr,optional"`
	SiteExclude   string `alloy:"site_exclude,attr,optional"`
	SiteInclude   string `alloy:"site_include,attr,optional"`
}

IISConfig handles settings for the windows_exporter IIS collector

func (IISConfig) Convert

Convert converts the component's IISConfig to the integration's IISConfig.

type LogicalDiskConfig

type LogicalDiskConfig struct {
	BlackList string `alloy:"blacklist,attr,optional"`
	WhiteList string `alloy:"whitelist,attr,optional"`
	Include   string `alloy:"include,attr,optional"`
	Exclude   string `alloy:"exclude,attr,optional"`
}

LogicalDiskConfig handles settings for the windows_exporter logical disk collector

func (LogicalDiskConfig) Convert

Convert converts the component's LogicalDiskConfig to the integration's LogicalDiskConfig.

type MSMQConfig

type MSMQConfig struct {
	Where string `alloy:"where_clause,attr,optional"`
}

MSMQConfig handles settings for the windows_exporter MSMQ collector

func (MSMQConfig) Convert

Convert converts the component's MSMQConfig to the integration's MSMQConfig.

type MSSQLConfig

type MSSQLConfig struct {
	EnabledClasses []string `alloy:"enabled_classes,attr,optional"`
}

MSSQLConfig handles settings for the windows_exporter SQL server collector

func (MSSQLConfig) Convert

Convert converts the component's MSSQLConfig to the integration's MSSQLConfig.

type NetworkConfig

type NetworkConfig struct {
	BlackList string `alloy:"blacklist,attr,optional"`
	WhiteList string `alloy:"whitelist,attr,optional"`
	Exclude   string `alloy:"exclude,attr,optional"`
	Include   string `alloy:"include,attr,optional"`
}

NetworkConfig handles settings for the windows_exporter network collector

func (NetworkConfig) Convert

Convert converts the component's NetworkConfig to the integration's NetworkConfig.

type PhysicalDiskConfig

type PhysicalDiskConfig struct {
	Include string `alloy:"include,attr,optional"`
	Exclude string `alloy:"exclude,attr,optional"`
}

PhysicalDiskConfig handles settings for the windows_exporter physical disk collector

func (PhysicalDiskConfig) Convert

Convert converts the component's PhysicalDiskConfig to the integration's PhysicalDiskConfig.

type ProcessConfig

type ProcessConfig struct {
	BlackList string `alloy:"blacklist,attr,optional"`
	WhiteList string `alloy:"whitelist,attr,optional"`
	Exclude   string `alloy:"exclude,attr,optional"`
	Include   string `alloy:"include,attr,optional"`
}

ProcessConfig handles settings for the windows_exporter process collector

func (ProcessConfig) Convert

Convert converts the component's ProcessConfig to the integration's ProcessConfig.

type SMTPConfig

type SMTPConfig struct {
	BlackList string `alloy:"blacklist,attr,optional"`
	WhiteList string `alloy:"whitelist,attr,optional"`
	Exclude   string `alloy:"exclude,attr,optional"`
	Include   string `alloy:"include,attr,optional"`
}

SMTPConfig handles settings for the windows_exporter SMTP collector

func (SMTPConfig) Convert

Convert converts the component's SMTPConfig to the integration's SMTPConfig.

type ScheduledTaskConfig

type ScheduledTaskConfig struct {
	Exclude string `alloy:"exclude,attr,optional"`
	Include string `alloy:"include,attr,optional"`
}

ScheduledTaskConfig handles settings for the windows_exporter process collector

func (ScheduledTaskConfig) Convert

Convert converts the component's ScheduledTaskConfig to the integration's ScheduledTaskConfig.

type ServiceConfig

type ServiceConfig struct {
	UseApi string `alloy:"use_api,attr,optional"`
	Where  string `alloy:"where_clause,attr,optional"`
}

ServiceConfig handles settings for the windows_exporter service collector

func (ServiceConfig) Convert

Convert converts the component's ServiceConfig to the integration's ServiceConfig.

type TextFileConfig

type TextFileConfig struct {
	TextFileDirectory string `alloy:"text_file_directory,attr,optional"`
}

TextFileConfig handles settings for the windows_exporter Text File collector

func (TextFileConfig) Convert

Convert converts the component's TextFileConfig to the integration's TextFileConfig.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL