white graphing paper with red and blue lines

Create Custom CloudWatch Metrics with Serverless

In a previous post, I wrote about how to Create CloudWatch Dashboards with CDK. In this followup post, I describe how to create a custom CloudWatch Metric with Serverless and then display it in the dashboard. You can view built-in metrics in the AWS Console under CloudWatch->Metrics and we've already used some when creating our dashboard, but sometimes you need…