mpawsce

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: MIT Imports: 11 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 CEPlugin

type CEPlugin struct {
	Prefix          string
	Metrics         string
	DisableName     bool
	EnableForecast  bool
	AccessKeyID     string
	SecretAccessKey string
	Region          string
	CostExplorer    *costexplorer.CostExplorer
}

CEPlugin mackerel plugin for Cost Explorer

func (CEPlugin) FetchMetrics

func (c CEPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (CEPlugin) GraphDefinition

func (c CEPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

func (CEPlugin) MetricKeyPrefix

func (c CEPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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