mpawstgwattch

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do : Do plugin

Types

type AwsTgwAttchPlugin

type AwsTgwAttchPlugin struct {
	Prefix      string
	AccessKeyID string
	SecretKeyID string
	Region      string
	RoleArn     string
	TgwAttach   string
	Tgw         string
	CloudWatch  *cloudwatch.Client
}

AwsTgwAttchPlugin struct

func (AwsTgwAttchPlugin) FetchMetrics

func (p AwsTgwAttchPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics : fetch metrics

func (AwsTgwAttchPlugin) GraphDefinition

func (p AwsTgwAttchPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition : return graph definition

func (AwsTgwAttchPlugin) MetricKeyPrefix

func (p AwsTgwAttchPlugin) MetricKeyPrefix() string

MetricKeyPrefix : interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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