Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { config.MonitorConfig `acceptsEndpoints:"true"` Host string `yaml:"host" validate:"required" default:"."` Port uint16 `yaml:"port" validate:"required" default:"1433"` // UserID used to access the SQL Server instance. UserID string `yaml:"userID"` // Password used to access the SQL Server instance. Password string `yaml:"password" neverLog:"true"` // The app name used by the monitor when connecting to the SQLServer. AppName string `yaml:"appName" default:"signalfxagent"` // The version of queries to use when accessing the cluster. // Please refer to the telegraf documentation for more information. QueryVersion int `yaml:"queryVersion" default:"2"` // Whether the database is an azure database or not. AzureDB bool `yaml:"azureDB"` // Queries to exclude possible values are `PerformanceCounters`, `WaitStatsCategorized`, // `DatabaseIO`, `DatabaseProperties`, `CPUHistory`, `DatabaseSize`, `DatabaseStats`, `MemoryClerk` // `VolumeSpace`, and `PerformanceMetrics`. ExcludeQuery []string `yaml:"excludedQueries"` // Log level to use when accessing the database Log uint `yaml:"log" default:"1"` }
Config for this monitor
Click to show internal directories.
Click to hide internal directories.