mpmysql

package
Version: v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: Apache-2.0 Imports: 8 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]interface{}, 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 retruns the metrics key prefix

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL