Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresqlCollector ¶
type PostgresqlCollector struct {
*collector.BaseCollector
}
func NewPostgresqlCollector ¶
func NewPostgresqlCollector() *PostgresqlCollector
type PostgresqlRule ¶
type PostgresqlRule struct { ExcludeDatabases []string `` /* 129-byte string literal not displayed */ GatherPgStatReplication bool `label:"StatReplication" json:"pg_stat_replication" description:"gather pg_stat_replication" default:"false"` GatherPgReplicationSlots bool `label:"ReplicationSlot" json:"pg_replication_slots" description:"gather pg_replication_slots" default:"false"` GatherPgStatArchiver bool `label:"StatArchiver" json:"pg_stat_archiver" description:"gather pg_stat_archiver" default:"false"` GatherPgSetting bool `label:"PgSetting" json:"pg_setting" description:"gather pg setting" default:"false"` Dsn string `` /* 263-byte string literal not displayed */ plugins.ClientConfig }
func (*PostgresqlRule) TelegrafInput ¶
func (p *PostgresqlRule) TelegrafInput() (telegraf.Input, error)
func (*PostgresqlRule) Validate ¶
func (p *PostgresqlRule) Validate() error
Click to show internal directories.
Click to hide internal directories.