Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishRespTime ¶
func PublishRespTime(location, url, respCode string, metricValue float64, metricName, namespace string)
Publish a metric (resonse time in milliseconds) to a CloudWatch namespace.
AWS Cloudwatch requires the following variables in the environment (see AWS SDK docs): AWS_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
Use as dimensions: location, url, respCode Publishes "metric" as "name" in "namespace"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.