Skip to main content

Watching your CDK apps since 2019

Project description

cdk-watchful

Watching your CDK back since 2019

Watchful is an AWS CDK construct library that makes it easy to monitor CDK apps.

Watchful is released through jsii to:

  • npm (JavaScript/TypeScript)
  • PyPI (Pyton)

Watchful can manage a nice central dashboard and automatically configure alarms for the following AWS resources:

  • Amazon DynamoDB
  • AWS Lambda
  • ...more to come!

To get started, just define a Watchful construct in your CDK app (code is in TypeScript, but python will work too):

const wf = new Watchful(this, 'watchful', {
  alarmEmail: 'your@email.com'
});

And then, add your resources to it:

// `table` is a dynamodb.Table construct
wf.watchDynamoTable('My Happy Little Table', table);

// `fn` is a lambda.Function construct
wf.watchLambdaFunction('The Function', fn);

Constructs that implement IWatchable can be added with:

wf.watch(watchable);

And they will get a chance to add themselves to the watchful dashboard.

Example

See a more complete example.

License

Apache 2.0

Project details


Release history Release notifications | RSS feed

This version

0.1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-watchful-0.1.3.tar.gz (32.2 kB view hashes)

Uploaded Source

Built Distribution

cdk_watchful-0.1.3-py3-none-any.whl (30.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page