mpawsec2cpucredit

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 9 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 CPUCreditPlugin

type CPUCreditPlugin struct {
	Region          string
	AccessKeyID     string
	SecretAccessKey string
	InstanceID      string
}

CPUCreditPlugin is a mackerel plugin

func (CPUCreditPlugin) FetchMetrics

func (p CPUCreditPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics fetch the metrics

func (CPUCreditPlugin) GraphDefinition

func (p CPUCreditPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition for plugin

Jump to

Keyboard shortcuts

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