Tuesday, October 8, 2013

CloudWatch custom metric examples

Creating custom metric requires some custom coding or scripting using the AWS Command Line Interface or SDK.   As the name implies these metric are custom so some custom coding / scripting is required to be done.  Here are some places to start that will provide examples of creating custom metric:
CloudWatch custom metric for MySQL using PHP:

Linux script sample custom CloudWatch metric for memory, disk space, and swap space:

More examples using the CloudWatch Command Interface to create custom metric:

Sample code for instance memory reporting:

No comments:

Post a Comment