Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AwsTgwPlugin ¶
type AwsTgwPlugin struct { Prefix string AccessKeyID string SecretKeyID string Region string RoleArn string Tgw string CloudWatch *cloudwatch.Client }
AwsTgwPlugin struct
func (AwsTgwPlugin) FetchMetrics ¶
func (p AwsTgwPlugin) FetchMetrics() (map[string]float64, error)
FetchMetrics : fetch metrics
func (AwsTgwPlugin) GraphDefinition ¶
func (p AwsTgwPlugin) GraphDefinition() map[string]mp.Graphs
GraphDefinition : return graph definition
func (AwsTgwPlugin) MetricKeyPrefix ¶
func (p AwsTgwPlugin) MetricKeyPrefix() string
MetricKeyPrefix : interface for PluginWithPrefix
Click to show internal directories.
Click to hide internal directories.