Documentation ¶
Overview ¶
Package metrics fetches CloudWatch metrics for a function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregatedMetrics ¶ added in v0.6.0
AggregatedMetrics represents aggregated metrics.
type Config ¶ added in v0.6.0
type Config struct { MetricNames []string Service cloudwatchiface.CloudWatchAPI StartDate time.Time EndDate time.Time }
Config is used to configure Metrics.
type Metric ¶
Metric collects metrics for single function.
func (*Metric) Collect ¶ added in v0.6.0
func (m *Metric) Collect() (a AggregatedMetrics)
Collect and aggregate metrics for on function.
Click to show internal directories.
Click to hide internal directories.