Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GaussDBPlugin ¶
type GaussDBPlugin struct { Host string `toml:"host"` Port int `toml:"port"` User string `toml:"user"` Password string `toml:"password"` Dbname string `toml:"dbname"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
GaussDBPlugin Structure of the plugin about GaussDB
func (*GaussDBPlugin) Description ¶
func (p *GaussDBPlugin) Description() string
Description Return a short description of the plugin Returns a short description of the plugin
func (*GaussDBPlugin) Gather ¶
func (p *GaussDBPlugin) Gather(accumulator telegraf.Accumulator) error
func (*GaussDBPlugin) Init ¶
func (p *GaussDBPlugin) Init() error
func (*GaussDBPlugin) SampleConfig ¶
func (p *GaussDBPlugin) SampleConfig() string
SampleConfig Return a default configuration
func (*GaussDBPlugin) Stop ¶
func (p *GaussDBPlugin) Stop()
Click to show internal directories.
Click to hide internal directories.