innodb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOMAIN = "innodb"

	OPT_ALL = "all"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type InnoDB

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

InnoDB collects metrics for the innodb domain. The source is information_schema.innodb_metrics.

func NewInnoDB

func NewInnoDB(db *sql.DB) *InnoDB

func (*InnoDB) Collect

func (c *InnoDB) Collect(ctx context.Context, levelName string) ([]blip.MetricValue, error)

func (*InnoDB) Domain

func (c *InnoDB) Domain() string

func (*InnoDB) Help

func (c *InnoDB) Help() blip.CollectorHelp

func (*InnoDB) Prepare

func (c *InnoDB) Prepare(ctx context.Context, plan blip.Plan) (func(), error)

Jump to

Keyboard shortcuts

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