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…
Airplane with dashboard and clouds in the sky.

Create CloudWatch Dashboards with CDK

If you are familiar with AWS and CloudWatch, you may have created a dashboard through the AWS console. This can be done fairly easily, with some nice results, but you may have also found that you have to continue to maintain those dashboards as your code changes. If you would like tie a specific dashboard to a version of code,…