mpmysql

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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