mpmysql

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type MySQLPlugin

type MySQLPlugin struct {
	Target   string
	Tempfile string

	Username      string
	Password      string
	DisableInnoDB bool

	EnableExtended bool
	// contains filtered or unexported fields
}

MySQLPlugin mackerel plugin for MySQL

func (*MySQLPlugin) FetchMetrics

func (m *MySQLPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (*MySQLPlugin) GraphDefinition

func (m *MySQLPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (*MySQLPlugin) MetricKeyPrefix

func (m *MySQLPlugin) MetricKeyPrefix() string

MetricKeyPrefix returns the metrics key prefix

Jump to

Keyboard shortcuts

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