cdk-golden-signals-dashboard
v1.0.0
Published
Create Amazon CloudWatch Dashboards for monitoring CloudWatch Metrics of AWS Resources partitioned in golden signals. *Latency, Traffic, Errors, Saturation*
Downloads
16
Readme
CloudWatch Golden Signals Dashboard AWS CDK Construct
Create Amazon CloudWatch Dashboards for monitoring CloudWatch Metrics of AWS Resources partitioned in golden signals. Latency, Traffic, Errors, Saturation
You can create tag based CloudWatch dashbord solution out of the box using this construct! Here are some screen captures of CloudWatch dashboards created using this cdk construct.
Supported Resource Types
- AWS::DynamoDB::Table
- AWS::Lambda::Function
- AWS::RDS::DBInstance
- AWS::SNS::Topic
- AWS::AutoScaling::AutoScalingGroup
Usage
import { App, Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { GoldenSignalDashboard } from 'golden-signals-dashboard';
export class MyStack extends Stack {
constructor(scope: Construct, id: string, props: StackProps = {}) {
super(scope, id, props);
new GoldenSignalDashboard(this, 'dynamodbDashboard', {
resourceType: 'AWS::DynamoDB::Table',
dashboardName: 'myGSDashboard',
resourceDimensions: [{resourceRegion : 'us-east-1', resources: ['Table1', 'Table2']}],
createAlarms: true,
});
}
}
const app = new App();
new MyStack(app, 'golden-signals-sample-app-dev');
app.synth();
Contributing
See CONTRIBUTING for more information.
License Summary
This project is licensed under the Apache-2.0 License. See the LICENSE file for our project's licensing.