mpawsec2cpucredit

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 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