Versions in this module Expand all Collapse all v1 v1.1.0 May 14, 2024 v1.0.0 Apr 5, 2024 Changes in this version + var DefaultConfig = Config + func GetScrapers(c *Config) []collector.Scraper + func New(log log.Logger, c *Config) (integrations.Integration, error) + type Config struct + DataSourceName config_util.Secret + DisableCollectors []string + EnableCollectors []string + HeartbeatDatabase string + HeartbeatTable string + HeartbeatUTC bool + InfoSchemaProcessListMinTime int + InfoSchemaProcessListProcessesByHost bool + InfoSchemaProcessListProcessesByUser bool + InfoSchemaTablesDatabases string + LockWaitTimeout int + LogSlowFilter bool + MySQLUserPrivileges bool + PerfSchemaEventsStatementsLimit int + PerfSchemaEventsStatementsTextLimit int + PerfSchemaEventsStatementsTimeLimit int + PerfSchemaFileInstancesFilter string + PerfSchemaFileInstancesRemovePrefix string + PerfSchemaMemoryEventsRemovePrefix string + SetCollectors []string + func (c *Config) InstanceKey(_ string) (string, error) + func (c *Config) Name() string + func (c *Config) NewIntegration(l log.Logger) (integrations.Integration, error) + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error