Documentation ¶
Overview ¶
Package perfschema runs built-in QAN Agent for MySQL performance schema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PerfSchema ¶
type PerfSchema struct {
// contains filtered or unexported fields
}
PerfSchema QAN services connects to MySQL and extracts performance data.
func New ¶
func New(params *Params, l *logrus.Entry) (*PerfSchema, error)
New creates new PerfSchema QAN service.
func (*PerfSchema) Changes ¶
func (m *PerfSchema) Changes() <-chan agents.Change
Changes returns channel that should be read until it is closed.
func (*PerfSchema) Run ¶
func (m *PerfSchema) Run(ctx context.Context)
Run extracts performance data and sends it to the channel until ctx is canceled.
Click to show internal directories.
Click to hide internal directories.