Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthMetric ¶
HealthMetric struct tracking the number of attempted vs successful connections for each connection string
type Instance ¶
type Instance struct { config.InstanceConfig Servers []string `toml:"servers"` AuthMethod string `toml:"auth_method"` QueryVersion int `toml:"query_version" deprecated:"1.16.0;use 'database_type' instead"` DatabaseType string `toml:"database_type"` IncludeQuery []string `toml:"include_query"` ExcludeQuery []string `toml:"exclude_query"` HealthMetric bool `toml:"health_metric"` // contains filtered or unexported fields }
SQLServer struct
func (*Instance) Gather ¶
func (s *Instance) Gather(slist *types.SampleList)
Gather collect data from SQL Server
type SQLServer ¶
type SQLServer struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*SQLServer) GetInstances ¶
Click to show internal directories.
Click to hide internal directories.