mysql

package
v0.4.32 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	// contains filtered or unexported methods
}

type MySQLScrapper

type MySQLScrapper struct {
	// contains filtered or unexported fields
}

func NewMySQLScrapper

func NewMySQLScrapper(ctx context.Context, conf *MySQLScrapperConf) (*MySQLScrapper, error)

func (*MySQLScrapper) Close

func (e *MySQLScrapper) Close() error

func (*MySQLScrapper) DialectType added in v0.1.8

func (e *MySQLScrapper) DialectType() string

func (*MySQLScrapper) IsPermissionError added in v0.1.1

func (e *MySQLScrapper) IsPermissionError(err error) bool

func (*MySQLScrapper) QueryCatalog

func (e *MySQLScrapper) QueryCatalog(ctx context.Context) ([]*scrapper.CatalogColumnRow, error)

func (*MySQLScrapper) QueryCustomMetrics

func (e *MySQLScrapper) QueryCustomMetrics(ctx context.Context, sql string, args ...any) ([]*scrapper.CustomMetricsRow, error)

func (*MySQLScrapper) QueryDatabases

func (e *MySQLScrapper) QueryDatabases(ctx context.Context) ([]*scrapper.DatabaseRow, error)

func (*MySQLScrapper) QuerySegments

func (e *MySQLScrapper) QuerySegments(ctx context.Context, sql string, args ...any) ([]*scrapper.SegmentRow, error)

func (*MySQLScrapper) QuerySqlDefinitions

func (e *MySQLScrapper) QuerySqlDefinitions(ctx context.Context) ([]*scrapper.SqlDefinitionRow, error)

func (*MySQLScrapper) QueryTableMetrics

func (e *MySQLScrapper) QueryTableMetrics(ctx context.Context, lastMetricsFetchTime time.Time) ([]*scrapper.TableMetricsRow, error)

func (*MySQLScrapper) QueryTables

func (e *MySQLScrapper) QueryTables(ctx context.Context) ([]*scrapper.TableRow, error)

func (*MySQLScrapper) SqlDialect added in v0.1.8

func (e *MySQLScrapper) SqlDialect() sqldialect.Dialect

func (*MySQLScrapper) ValidateConfiguration

func (e *MySQLScrapper) ValidateConfiguration(ctx context.Context) ([]string, error)

type MySQLScrapperConf

type MySQLScrapperConf = dwhexecmysql.MySQLConf

Jump to

Keyboard shortcuts

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