mpawsec2ebs

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 11 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 EBSPlugin

type EBSPlugin struct {
	Region          string
	AccessKeyID     string
	SecretAccessKey string
	InstanceID      string
	Credentials     *credentials.Credentials
	EC2             *ec2.EC2
	CloudWatch      *cloudwatch.CloudWatch
	Volumes         []*ec2.Volume
}

EBSPlugin mackerel plugin for ebs

func (EBSPlugin) FetchMetrics

func (p EBSPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics fetch the metrics

func (EBSPlugin) GraphDefinition

func (p EBSPlugin) 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