Documentation
¶
Index ¶
- type Arguments
- type DfsrConfig
- type ExchangeConfig
- type FiletimeConfig
- type IISConfig
- type LogicalDiskConfig
- type MSClusterConfig
- type MSSQLConfig
- type NetFrameworkConfig
- type NetworkConfig
- type PerformanceCounterConfig
- type PhysicalDiskConfig
- type PrinterConfig
- type ProcessConfig
- type SMBClientConfig
- type SMBConfig
- type SMTPConfig
- type ScheduledTaskConfig
- type ServiceConfig
- type TCPConfig
- type TextFileConfig
- type UpdateConfig
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"`
MSSQL MSSQLConfig `alloy:"mssql,block,optional"`
Network NetworkConfig `alloy:"network,block,optional"`
PhysicalDisk PhysicalDiskConfig `alloy:"physical_disk,block,optional"`
Printer PrinterConfig `alloy:"printer,block,optional"`
Process ProcessConfig `alloy:"process,block,optional"`
ScheduledTask ScheduledTaskConfig `alloy:"scheduled_task,block,optional"`
Service ServiceConfig `alloy:"service,block,optional"`
SMB SMBConfig `alloy:"smb,block,optional"`
SMBClient SMBClientConfig `alloy:"smb_client,block,optional"`
SMTP SMTPConfig `alloy:"smtp,block,optional"`
TextFile TextFileConfig `alloy:"text_file,block,optional"`
TCP TCPConfig `alloy:"tcp,block,optional"`
// Currently disabled because the config is not exposed upstream.
//Update UpdateConfig `alloy:"update,block,optional"`
Filetime FiletimeConfig `alloy:"filetime,block,optional"`
PerformanceCounter PerformanceCounterConfig `alloy:"performancecounter,block,optional"`
MSCluster MSClusterConfig `alloy:"mscluster,block,optional"`
NetFramework NetFrameworkConfig `alloy:"netframework,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 ¶
func (t DfsrConfig) Convert() windows_integration.DfsrConfig
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 ¶
func (t ExchangeConfig) Convert() windows_integration.ExchangeConfig
Convert converts the component's ExchangeConfig to the integration's ExchangeConfig.
type FiletimeConfig ¶ added in v1.9.0
type FiletimeConfig struct {
FilePatterns []string `alloy:"file_patterns,attr,optional"`
}
FiletimeConfig handles settings for the windows_exporter filetime collector
func (FiletimeConfig) Convert ¶ added in v1.9.0
func (t FiletimeConfig) Convert() windows_integration.FiletimeConfig
Convert converts the component's FiletimeConfig to the integration's FiletimeConfig.
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 ¶
func (t IISConfig) Convert() windows_integration.IISConfig
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 ¶
func (t LogicalDiskConfig) Convert() windows_integration.LogicalDiskConfig
Convert converts the component's LogicalDiskConfig to the integration's LogicalDiskConfig.
type MSClusterConfig ¶ added in v1.9.0
type MSClusterConfig struct {
EnabledList []string `alloy:"enabled_list,attr,optional"`
}
MSClusterConfig handles settings for the windows_exporter MSCluster collector
func (MSClusterConfig) Convert ¶ added in v1.9.0
func (t MSClusterConfig) Convert() windows_integration.MSClusterConfig
Convert converts the component's MSClusterConfig to the integration's MSClusterConfig.
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 ¶
func (t MSSQLConfig) Convert() windows_integration.MSSQLConfig
Convert converts the component's MSSQLConfig to the integration's MSSQLConfig.
type NetFrameworkConfig ¶ added in v1.9.0
type NetFrameworkConfig struct {
EnabledList []string `alloy:"enabled_list,attr,optional"`
}
NetFrameworkConfig handles settings for the windows_exporter NetFramework collector
func (NetFrameworkConfig) Convert ¶ added in v1.9.0
func (t NetFrameworkConfig) Convert() windows_integration.NetFrameworkConfig
Convert converts the component's NetFrameworkConfig to the integration's NetFrameworkConfig.
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 ¶
func (t NetworkConfig) Convert() windows_integration.NetworkConfig
Convert converts the component's NetworkConfig to the integration's NetworkConfig.
type PerformanceCounterConfig ¶ added in v1.9.0
type PerformanceCounterConfig struct {
Objects string `alloy:"objects,attr,optional"`
}
PerformanceCounterConfig handles settings for the windows_exporter performance counter collector
func (PerformanceCounterConfig) Convert ¶ added in v1.9.0
func (t PerformanceCounterConfig) Convert() windows_integration.PerformanceCounterConfig
Convert converts the component's PerformanceCounterConfig to the integration's PerformanceCounterConfig.
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 ¶
func (t PhysicalDiskConfig) Convert() windows_integration.PhysicalDiskConfig
Convert converts the component's PhysicalDiskConfig to the integration's PhysicalDiskConfig.
type PrinterConfig ¶ added in v1.4.0
type PrinterConfig struct {
Exclude string `alloy:"exclude,attr,optional"`
Include string `alloy:"include,attr,optional"`
}
PrinterConfig handles settings for the windows_exporter printer collector
func (PrinterConfig) Convert ¶ added in v1.4.0
func (t PrinterConfig) Convert() windows_integration.PrinterConfig
Convert converts the component's ProcessConfig to the integration's ProcessConfig.
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"`
EnableIISWorkerProcess bool `alloy:"enable_iis_worker_process,attr,optional"`
}
ProcessConfig handles settings for the windows_exporter process collector
func (ProcessConfig) Convert ¶
func (t ProcessConfig) Convert() windows_integration.ProcessConfig
Convert converts the component's ProcessConfig to the integration's ProcessConfig.
type SMBClientConfig ¶ added in v1.4.0
type SMBClientConfig struct {
EnabledList []string `alloy:"enabled_list,attr,optional"`
}
SMBClientConfig handles settings for the windows_exporter smb client collector
func (SMBClientConfig) Convert ¶ added in v1.4.0
func (t SMBClientConfig) Convert() windows_integration.SMBClientConfig
Convert converts the component's ExchangeConfig to the integration's ExchangeConfig.
type SMBConfig ¶ added in v1.4.0
type SMBConfig struct {
EnabledList []string `alloy:"enabled_list,attr,optional"`
}
SMBConfig handles settings for the windows_exporter smb collector
func (SMBConfig) Convert ¶ added in v1.4.0
func (t SMBConfig) Convert() windows_integration.SMBConfig
Convert converts the component's ExchangeConfig to the integration's ExchangeConfig.
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 ¶
func (t SMTPConfig) Convert() windows_integration.SMTPConfig
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 ¶
func (t ScheduledTaskConfig) Convert() windows_integration.ScheduledTaskConfig
Convert converts the component's ScheduledTaskConfig to the integration's ScheduledTaskConfig.
type ServiceConfig ¶
type ServiceConfig struct {
Include string `alloy:"include,attr,optional"`
Exclude string `alloy:"exclude,attr,optional"`
}
ServiceConfig handles settings for the windows_exporter service collector
func (ServiceConfig) Convert ¶
func (t ServiceConfig) Convert() windows_integration.ServiceConfig
Convert converts the component's ServiceConfig to the integration's ServiceConfig.
type TCPConfig ¶ added in v1.9.0
type TCPConfig struct {
EnabledList []string `alloy:"enabled_list,attr,optional"`
}
TCPConfig handles settings for the windows_exporter TCP collector
func (TCPConfig) Convert ¶ added in v1.9.0
func (t TCPConfig) Convert() windows_integration.TCPConfig
Convert converts the component's TCPConfig to the integration's TCPConfig.
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 ¶
func (t TextFileConfig) Convert() windows_integration.TextFileConfig
Convert converts the component's TextFileConfig to the integration's TextFileConfig.
type UpdateConfig ¶ added in v1.9.0
type UpdateConfig struct {
Online bool `alloy:"online,attr,optional"`
ScrapeInterval time.Duration `alloy:"scrape_interval,attr,optional"`
}
UpdateConfig handles settings for the windows_exporter Update collector
func (UpdateConfig) Convert ¶ added in v1.9.0
func (t UpdateConfig) Convert() windows_integration.UpdateConfig
Convert converts the component's UpdateConfig to the integration's UpdateConfig.