Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AwsPayloadLimit is the maximum quality for a data-set to contain // before AWS will reject the payload. AwsPayloadLimit = 20 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { CloudWatch cloudwatchclient.ClientInterface Namespace string Data []types.MetricDatum DryRun bool }
Client for pushing metrics to CloudWatch.
func New ¶
func New(cloudwatch cloudwatchclient.ClientInterface, namespace string, dryRun bool) (*Client, error)
New client for pushing metrics to CloudWatch.
type ClientInterface ¶
type ClientInterface interface { Add(datum types.MetricDatum) error Flush() error }
ClientInterface for pushing metrics to CloudWatch.
Click to show internal directories.
Click to hide internal directories.