Aug 27 2019
Observability is a common challenge for serverless applications and we believe Lumigo is perfectly positioned to help you tackle this problem. As such, I’m pleased to announce that we have published a new Serverless framework plugin to make it even easier for you to get started.
How to install the Serverless Framework Plugin
Simply install serverless-lumigo as a dev dependency.
$ npm install –save-dev serverless-lumigo
Add the plugin to your serverless.yml and tell us your Lumigo token.
plugins:
- serverless-lumigo
custom:
lumigo:
token: <YOUR TOKEN GOES HERE>
And you’re off to the races! From here, the plugin will download the Lumigo tracer and apply it to your functions during deployment. We will then start monitoring your functions at runtime.
Currently, the Serverless Framework plugin works for Node.js and Python, and we’ve been using it heavily in our own internal projects (yes, we monitor Lumigo’s own infrastructure with Lumigo!).
And if you’re eager to try out Lumigo with other language runtimes, please do let us know by raising a feature request here.
Lumigo – Helping You Get More From Serverless
In my role as a developer advocate at Lumigo, my focus is to help you succeed with serverless technologies. We have open-sourced a number of tools in the process, including:
- The lambda-janitor SAR app to prune old versions of all Lambda functions.
- The auto-subscribe-log-group-to-arn SAR app to manage the subscription filter for both new and existing log groups.
- The async-custom-metrics SAR app to make it easy for you to record custom metrics to CloudWatch metrics.
- The autodeploy-layer SAR app to automate the rollout of Lambda layers (both new and updates).
- The auto-set-log-group-retention SAR app to manage the retention policy for both new and existing log groups.
- The lambda-layer-optimized-aws-sdk Lambda layer which includes an optimized (HTTP keep-alive enabled) version of Node.js AWS SDK.