Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgresql ¶
func (*Postgresql) Description ¶
func (p *Postgresql) Description() string
func (*Postgresql) Gather ¶
func (p *Postgresql) Gather(acc telegraf.Accumulator) error
func (*Postgresql) IgnoredColumns ¶
func (p *Postgresql) IgnoredColumns() map[string]bool
func (*Postgresql) SampleConfig ¶
func (p *Postgresql) SampleConfig() string
type Service ¶
type Service struct { Address string Outputaddress string MaxIdle int MaxOpen int MaxLifetime internal.Duration DB *sql.DB IsPgBouncer bool }
Service common functionality shared between the postgresql and postgresql_extensible packages.
func (*Service) SanitizedAddress ¶
SanitizedAddress utility function to strip sensitive information from the connection string.
Click to show internal directories.
Click to hide internal directories.