Gathering detailed insights and metrics for serverless-plugin-cloudwatch
Gathering detailed insights and metrics for serverless-plugin-cloudwatch
Gathering detailed insights and metrics for serverless-plugin-cloudwatch
Gathering detailed insights and metrics for serverless-plugin-cloudwatch
serverless-plugin-log-subscription
Attach a CloudWatch LogSubscription to your functions' logs
serverless-plugin-log-retention
Control the retention of your function's cloudwatch logs.
serverless-plugin-cloudwatch-sumologic
Serverless Plugin to enable log delivery from cloudwatch to sumologic via a lambda function and log group subscriptions
serverless-plugin-cloudwatch-dashboard
Generate CloudWatch dashboards for your lambdas.
npm install serverless-plugin-cloudwatch
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
30 Commits
1 Watchers
10 Branches
1 Contributors
Updated on Apr 22, 2020
Latest Version
0.1.12
Package Id
serverless-plugin-cloudwatch@0.1.12
Unpacked Size
79.13 kB
Size
13.66 kB
File Count
21
NPM Version
6.14.4
Node Version
10.15.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Serverless plugin for setting up AWS CloudWatch dashboards with widgets (only from type 'metric') for configured metrics.
v0.1.10: it's still in development, not ready to use right now :)
Install via npm in the root of your Serverless service:
npm install serverless-plugin-cloudwatch
Add the plugin to the plugins
array of your Serverless service in serverless.yml
:
plugins:
- serverless-plugin-cloudwatch
There will be only one dashboard per deployment stage. A dashboard is a customizable home page in the CloudWatch console that you can use to monitor your AWS resources in a single view. That's why there will be only one dashboard per deployment.
Following AWS Services are currently supported:
(AWS S3 and AWS ApiGateway follows soon)
The plugin can be configured by adding a property called dashboard
to the custom properties of the Serverless service.
This is the minimum required configuration:
1dashboard: 2 lambda: 3 enabled: true
Default configuration It will be used, if you only include the minimum required configuration. The default configuration looks like this:
1dashboard: 2 lambda: 3 widgets: 4 - name: 'sum of function invocations' 5 metrics: 6 - name: 'Invocations' 7 stat: 'Sum' 8 - name: 'number of invocations that result in a function error', 9 metrics: 10 - name: 'Erorrs' 11 stat: 'Sum' 12 enabled: true
With the default configuration the following widgets will be added to the cloudwatch dashboard:
name
) of the widgetname
) should be included in each widgetstat
) should be used for each metricTo gain maximum control over which functions to be included, you can disable lambda dashboards globally,
1dashboard: 2 lambda: 3 enabled: false
and enable it only for specific functions, by setting the dashboard flag for those functions to true:
1functions: 2 myFunction: 3 handler: some_handler 4 dashboard: true
This is the minimum required configuration:
1dashboard: 2 dynamoDB: 3 enabled: true
Default configuration It will be used, if you only include the minimum required configuration. The default configuration looks like this:
1dashboard: 2 dynamoDB: 3 widgets: 4 - name: 'sum of system- and user errors' 5 metrics: 6 - name: 'SystemErrors' 7 stat: 'Sum' 8 dimension: 'TableName' 9 - name: 'UserErrors' 10 stat: 'Sum' 11 dimension: 'TableName' 12 - name: 'average time of successful requests', 13 metrics: 14 - name: 'SuccessfulRequestLatency' 15 stat: 'Average' 16 dimension: 'TableName' 17 enabled: true
With the default configuration the following widgets will be added to the cloudwatch dashboard:
The metrics in those widget will be shown for each of your dynamoDB tables.
name
) of the widgetname
) should be included in each widgetstat
) should be used for each metricdimension
) should be used for each metric (GlobalSecondaryIndexName
| Operation
| ReceivingRegion
| StreamLabel
| TableName
).
See AWS DynamoDB Metrics and DimensionsThis is the minimum required configuration:
1dashboard: 2 s3: 3 enabled: true
Default configuration It will be used, if you only include the minimum required configuration. The default configuration looks like this:
1dashboard: 2 s3: 3 widgets: 4 - name: 'daily storage metrics for buckets' 5 metrics: 6 - name: 'BucketSizeBytes' 7 stat: 'Average' 8 dimension: 'BucketName' 9 - name: 'UserErrors' 10 stat: 'Average' 11 dimension: 'BucketName' 12 - name: 'total request latency', 13 metrics: 14 - name: 'TotalRequestLatency' 15 stat: 'Average' 16 dimension: 'BucketName' 17 enabled: true
This is the minimum required configuration:
1dashboard: 2 apiGateway: 3 enabled: true
Default configuration It will be used, if you only include the minimum required configuration. The default configuration looks like this:
1dashboard: 2 apiGateway: 3 widgets: 4 - name: 'system- and user errors' 5 metrics: 6 - name: '5xxErrors' 7 stat: 'Sum' 8 - name: '4xxErrors' 9 stat: 'Sum' 10 - name: 'total number of API requests', 11 metrics: 12 - name: 'Count' 13 stat: 'SampleCount' 14 enabled: true
This software is released under the MIT license. See the license file for more details.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
25 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More