postgresql

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL