0.4.0 • Published 5 years ago

serverless-metrics-plugin v0.4.0

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

serverless-metrics-plugin

Calls CloudWatch to get metric data for functions deployed with serverless framework. Defaults to list all functions for the last hour.

You can specify a function using the --function argument.

You can specify a different number of hours using the --hours argument.

Example:

sls metrics --function MY_HANDLER --hours 24

Installation

npm install serverless-metrics-plugin --save-dev

Edit serverless.yml

Include this in your serverless.yml file:

plugins:
  - serverless-metrics-plugin
0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago