serverless-nsolid-plugin
v1.1.1
Published
Easily use NodeSource's [NSolid](https://nodesource.com/products/nsolid) for AWS Lambda [runtime monitoring service](https://nodesource.com/products/nsolid-aws-lambda) in your Serverless functions.
Downloads
23
Maintainers
Readme
serverless-nsolid-plugin
Easily use NodeSource's NSolid for AWS Lambda runtime monitoring service in your Serverless functions.
Usage
- Set up a NodeSource account and obtain your NSolid License Key
- Export the license key to your env as the
NSOLID_LICENSE_KEY
environment variable.
- Optionally, use a
.env
file instead. The plugin will try to obtain the license key from this file if one is present. (This is considered a Serverless best practice, anyway.)
Install
serverless-nsolid-plugin
using yarn/npmAdd
serverless-nsolid-plugin
to yourserverless.yml
'splugins
arrayFor each function you'd like to run on top of the runtime, specify
nsolid
as theruntime
value, e.g.:service: name: myService provider: name: aws plugins: - serverless-nsolid-plugin functions: function1: runtime: nsolid handler: src/function1.js function2: runtime: python2.7 handler: src/function2.py function3: runtime: nsolid handler: src/function3.js
Or, if you'd like to use the NSolid runtime for all functions:
service: name: myService provider: name: aws runtime: nsolid plugins: - serverless-nsolid-plugin functions: function1: handler: src/function1.js function2: handler: src/function2.js
Disclaimers
The NSolid runtime is not open-source. The author of this plugin (the Author) has no affiliation with NodeSource. The Author assumes users will comply with license restrictions, terms of use and usage limits established in the services provided by NodeSource. The NSolid License can be found here. Any LICENSE attached to materials found in this repository applies only to materials developed by the Author, and is not intended to supercede any licensing offered by NodeSource.