mpawsec2cpucredit

package
v0.82.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 10 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