Gathering detailed insights and metrics for serverless-cloudwatch-dashboard-plugin
Gathering detailed insights and metrics for serverless-cloudwatch-dashboard-plugin
Gathering detailed insights and metrics for serverless-cloudwatch-dashboard-plugin
Gathering detailed insights and metrics for serverless-cloudwatch-dashboard-plugin
serverless-plugin-cloudwatch-dashboard
Generate CloudWatch dashboards for your lambdas.
serverless-plugin-cloudwatch
Generate CloudWatch Dashboard including widgets with configured metrics
serverless-cloudwatch-dashboard
A serverless plugin for generating a cloudwatch dashboard with widgets for the resources defined in the serverless.yml file.
npm install serverless-cloudwatch-dashboard-plugin
Typescript
Module System
Node Version
NPM Version
71.4
Supply Chain
98.3
Quality
74.8
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
777
Last Day
1
Last Week
5
Last Month
7
Last Year
80
6 Commits
1 Forks
2 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
serverless-cloudwatch-dashboard-plugin@1.0.0
Unpacked Size
27.42 kB
Size
7.96 kB
File Count
8
NPM Version
5.5.1
Node Version
9.0.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
5
Compared to previous week
Last month
-30%
7
Compared to previous month
Last year
6.7%
80
Compared to previous year
A serverless plugin for generating a cloudwatch dashboard with widgets for the resources defined in the serverless.yml file.
Npm package coming soon.
In the serverless.yml file the plugin needs to be added.
1plugins: 2 - serverless-cloudwatch-dashboard
This will add the plugin and dashboards will be created. If you want to configure the widgets that are created, you will in addition need to add a custom config. This must be done under the custom property.
1custom: 2 serverless-cloudwatch-dashboard: 3 dynamodb: 4 metrics: 5 - ReturnedBytes
If you don't specify the metrics it will use default metrics for the resource. The defaults is listed below.
The functions that are created by serverless is fully supported. The following metrics are supported:
Defaults:
To view documentation on the metrics, please see the official AWS documentation here:
https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions-metrics.html
DynamoDb is fully supported. The following metrics are supported:
Defaults:
To view documentation on the metrics, please see the official AWS documentation here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/dynamo-metricscollected.html
EC2 is fully supported. Please note that not all metrics is available for all instances. Please consult official documentation on which metrics that are available for which instance. These metrics are supported:
Defaults:
To view documentation on the metrics, please see the official AWS documentation here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ec2-metricscollected.html
S3 is fully supported. The following metrics are supported:
Defaults:
To view documentation on the metrics, please see the official AWS documentation here: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/s3-metricscollected.html
Example yaml file.
1service: test 2 3frameworkVersion: ">=1.1.0" 4 5custom: 6 bucket: test 7 serverless-cloudwatch-dashboard: 8 dynamodb: 9 metrics: 10 - ReturnedBytes 11plugins: 12 - serverless-cloudwatch-dashboard 13 14provider: 15 name: aws 16 runtime: nodejs4.3 17 stage: dev 18 region: eu-west-1 19 iamRoleStatements: 20 - Effect: Allow 21 Action: 22 - s3:PutObject 23 Resource: "arn:aws:s3:::${self:custom.bucket}/*" 24 25functions: 26 save: 27 handler: handler.save 28 environment: 29 BUCKET: ${self:custom.bucket} 30resources: 31 Resources: 32 ec2: 33 Type: AWS::EC2::Instance 34 Properties: 35 InstanceType: t2.micro 36 ImageId: ami-7dbc4004 37 testtable: 38 Type: AWS::DynamoDB::Table 39 Properties: 40 AttributeDefinitions: 41 - AttributeName: firstName 42 AttributeType: S 43 KeySchema: 44 - AttributeName: firstName 45 KeyType: HASH 46 ProvisionedThroughput: 47 ReadCapacityUnits: 1 48 WriteCapacityUnits: 1 49 TableName: test 50 tests3: 51 Type: AWS::S3::Bucket 52 Properties: 53 BucketName: somebucket
If you find a bug, please add it to the issues on github.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/6 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 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
Score
Last Scanned on 2024-12-16
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