Serverless Plugin Epsagon

homepage icon https://github.com/epsagon/serverless-plugin-epsagon
Follow @epsagon

Tracked

NPM Downloads Last Month
771
Issues
0
Stars
19
Forks
2
Watchers
19
Watch Star Fork Issue Download License NPM Build Status Coverage Status Contributors

Repo README Contents:

Epsagon Serverless Framework Plugin

serverless semantic-release npm version Build Status

Epsagon’s plugin for the Serverless Framework.

Installation

Install Epsagon’s Library

For Node.js functions:

npm install --save epsagon

For Python functions:

pip install epsagon

Install The Plugin

Using the Serverless Framework:

sls plugin install --name serverless-plugin-epsagon

Or using NPM:

npm install --save-dev serverless-plugin-epsagon

When installing with NPM, add the plugin to your serverless.yml file:

plugins:
  - serverless-plugin-epsagon

For the best results, make sure this is the first plugin specified in your plugins list.

Configure The Plugin

To get started with the plugin, all you have to do is configure your serverless.yml with Epsagon’s token, and an optional application name:

custom:
  epsagon:
    token: your-token-here
    appName: optional-application-name

And you are good to go! The plugin will be activated during sls deploy, sls package and sls invoke local events automatically.

Additional Commands

Options

Service Level Options

These options are defined at the service level, under the custom.epsagon member of your serverless.yml file. Any function level option will override options defined here. Available options:

Function Level Options

These options are defined at the function level, under the epsagon member of your function in the serverless.yml file. Available options:

FAQ