Monitoring with Datadog
To set up monitoring with Datadog, you can follow the official guide.
Overview
It basically involves the following step:
- Adding the Datadog layer to your AWS Lambdas;
- Optionally, add a Datadog dashboard using CDK constructs;
- Optionally, add one or more Datadog monitors using CDK constructs.
Additional CDK libraries
A useful additional library to check out is GoodNotes/cdk-datadog-resources.
Example
Check out our Bookstore REST API for an example.
Best practices
Please read the dedicated Confluence page about Datadog monitoring best practices.