mpawsec2cpucredit

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2018 License: Apache-2.0 Imports: 8 Imported by: 14

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