Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cloudwatch ¶
type Cloudwatch struct {
Service cloudwatchiface.CloudWatchAPI
}
Cloudwatch is a wrapper around the aws cloudwatch service with some default config info
func NewSession ¶
func NewSession(account common.Account) Cloudwatch
NewSession creates a new cloudwatch session
func (*Cloudwatch) GetMetricWidget ¶
func (c *Cloudwatch) GetMetricWidget(ctx context.Context, metrics []Metric, period int64, start, end string) ([]byte, error)
GetMetricWidget gets a metric widget image for an instance id
Click to show internal directories.
Click to hide internal directories.