mpawsdxvif

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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 AwsDxVifPlugin

type AwsDxVifPlugin struct {
	Prefix      string
	AccessKeyID string
	SecretKeyID string
	Region      string
	RoleArn     string
	DxVif       string
	DxConId     string
	CloudWatch  *cloudwatch.Client
}

AwsDxVifPlugin struct

func (AwsDxVifPlugin) FetchMetrics

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

FetchMetrics : fetch metric

func (AwsDxVifPlugin) GraphDefinition

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

GraphDefinition : return graph definition

func (AwsDxVifPlugin) MetricKeyPrefix

func (p AwsDxVifPlugin) MetricKeyPrefix() string

MetricKeyPrefix : interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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