Librato Adds Monitoring For AWS Lambda Metrics
Another step has been taken toward better monitoring and metrics for ephemeral services that are likely to arise in the microservices movement.
Join the DZone community and get the full member experience.Join For Free
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
You can then enable the AWS Lambda service in your Librato integration and we'll start importing the Cloudwatch metrics. 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 email@example.com. Cheers!
Published at DZone with permission of Jason Derrett. See the original article here.
Opinions expressed by DZone contributors are their own.