mysql

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlCollector

type MysqlCollector struct {
	*collector.BaseCollector
}

func NewMysqlCollector

func NewMysqlCollector() *MysqlCollector

type MysqlRule

type MysqlRule struct {
	Servers                             []string `` /* 298-byte string literal not displayed */
	PerfEventsStatementsDigestTextLimit int64    `` /* 182-byte string literal not displayed */
	PerfEventsStatementsLimit           int64    `` /* 146-byte string literal not displayed */
	PerfEventsStatementsTimeLimit       int64    `` /* 162-byte string literal not displayed */
	TableSchemaDatabases                []string `` /* 134-byte string literal not displayed */
	GatherProcessList                   bool     `label:"Process List" json:"gather_process_list" description:"gather thread state counts from INFORMATION_SCHEMA.PROCESSLIST"`
	GatherUserStatistics                bool     `` /* 130-byte string literal not displayed */
	GatherInfoSchemaAutoInc             bool     `` /* 140-byte string literal not displayed */
	GatherInnoDBMetrics                 bool     `label:"Innodb Metrics" json:"gather_innodb_metrics" description:"gather metrics from INFORMATION_SCHEMA.INNODB_METRICS"`
	GatherSlaveStatus                   bool     `label:"Slave Status" json:"gather_slave_status" description:"gather metrics from SHOW SLAVE STATUS command output"`
	GatherBinaryLogs                    bool     `label:"Binary Logs" json:"gather_binary_logs" description:"gather metrics from SHOW BINARY LOGS command output"`
	GatherTableIOWaits                  bool     `` /* 136-byte string literal not displayed */
	GatherTableLockWaits                bool     `label:"Table Lock Waits" json:"gather_table_lock_waits" description:"gather metrics from PERFORMANCE_SCHEMA.TABLE_LOCK_WAITS"`
	GatherIndexIOWaits                  bool     `` /* 142-byte string literal not displayed */
	GatherEventWaits                    bool     `label:"Event Waits" json:"gather_event_waits" description:"gather metrics from PERFORMANCE_SCHEMA.EVENT_WAITS"`
	GatherTableSchema                   bool     `` /* 135-byte string literal not displayed */
	GatherFileEventsStats               bool     `` /* 137-byte string literal not displayed */
	GatherPerfEventsStatements          bool     `` /* 156-byte string literal not displayed */
	GatherGlobalVars                    bool     `` /* 135-byte string literal not displayed */
	IntervalSlow                        string   `` /* 145-byte string literal not displayed */
	MetricVersion                       int      `label:"-" json:"-"`
	plugins.ClientConfig
}

func (*MysqlRule) TelegrafInput

func (p *MysqlRule) TelegrafInput() (telegraf.Input, error)

func (*MysqlRule) Validate

func (p *MysqlRule) Validate() error

Jump to

Keyboard shortcuts

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