Gathering detailed insights and metrics for serverless-plugin-cloudwatch-dashboard
Gathering detailed insights and metrics for serverless-plugin-cloudwatch-dashboard
Gathering detailed insights and metrics for serverless-plugin-cloudwatch-dashboard
Gathering detailed insights and metrics for serverless-plugin-cloudwatch-dashboard
serverless-cloudwatch-dashboard-plugin
A serverless plugin for generating a cloudwatch dashboard with widgets for the resources defined in the serverless.yml file.
serverless-cloudwatch-dashboard
A serverless plugin for generating a cloudwatch dashboard with widgets for the resources defined in the serverless.yml file.
serverless-plugin-cloudwatch
Generate CloudWatch Dashboard including widgets with configured metrics
npm install serverless-plugin-cloudwatch-dashboard
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
14 Stars
29 Commits
7 Forks
112 Watchers
1 Branches
46 Contributors
Updated on Jun 02, 2023
Latest Version
1.2.0
Package Id
serverless-plugin-cloudwatch-dashboard@1.2.0
Unpacked Size
34.00 kB
Size
7.56 kB
File Count
19
NPM Version
6.5.0
Node Version
10.7.0
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 to generate AWS CloudWatch dashboard for deployed lambdas
Requirements:
Install via npm in the root of your Serverless service:
1npm install serverless-plugin-cloudwatch-dashboard
Add the plugin to the plugins
array of your Serverless service in serverless.yml
:
1plugins: 2 - serverless-plugin-cloudwatch-dashboard
The plugin can be configured by adding a property called dashboard
to the custom properties of the Serverless
service. Following dashboards are currently supported:
The configuration can specify the lambda metrics
together with the stats
of the metrics to
be added. The plugin will then generate one dashboard for each metric, with each dashboard containing the
specified statistics for each lambda function.
Lambda dashboards can be globally activated/deactivated for all functions by adding an enabled
flag to the configuration.
This is the minimum required configuration:
1dashboard: 2 lambda: 3 enabled: true
The default configuration looks like this:
1dashboard: 2 lambda: 3 metrics: [ Duration, Errors, Invocations, Throttles ] 4 stats: [p99, p95, p90, p50] 5 enabled: true
To 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
The configuration can specify the metrics
for DynamoDB Tables and GlobalSecondaryIndexes to be added. The plugin will
then generate a new dashboard containing one widget for each metric.
DynamoDB dashboards can be globally activated/deactivated for all tables by adding an enabled
flag to the
configuration.
This is the minimum required configuration:
1dashboard: 2 dynamoDB: 3 enabled: true
The default configuration looks like this:
1dashboard: 2 dynamoDB: 3 enabled: true 4 metrics: 5 - ProvisionedReadCapacityUnits 6 - ConsumedReadCapacityUnits 7 - ProvisionedWriteCapacityUnits 8 - ConsumedWriteCapacityUnits
Any contribution is more than welcome.
npm install
git checkout -b new_feature
npm run lint
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
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/29 approved changesets -- 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
60 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