Announcing Support for AWS Lambda Metrics — Librato Blog

Announcing Support for AWS Lambda Metrics

Jason Derrett


Last week we quietly released support for AWS Lambda metrics in our Cloudwatch integration. AWS Lambda is a cool service that "lets you run code without provisioning or managing servers" (more details here). Support for Python scripts was recently added as well, which makes it super easy to get started.

Once you have a Lambda job running, you'll see four Cloudwatch metrics in AWS:

  • Invocation count
  • Invocation duration
  • Invocation errors
  • Throttled invocations

Cloudwatch console

First, ensure that you have an IAM permission set for "lambda:ListFunctions" so that we can import the Cloudwatch metrics correctly. You can then enable the AWS Lambda service in your Librato integration and we'll start importing data. There are two Spaces automatically created for you: "AWS Lambda" and "AWS Lambda Compact".

Side note: we're super excited to announce that Lambda is the first integration to take advantage of our new "Big Number" visualization type!

AWS Lambda Space

The data shown above is from a "canary" job that pings the Librato website every 5 minutes and reports the duration and whether a specified string was found on the page. The canary script comes out of the box from AWS, give it a shot!

We hope you enjoy using the new dashboards, and we look forward to hearing about interesting AWS Lambda use cases from our customers. If you have any questions, drop us a line at Cheers!