How to create alarm based on resource don't have alarm methods #287
-
Hi Awesome team! Very much obsessed with these awesome constructs you guys wrote, and it would be good to know how to add the alarm on the resource(EC2) that don't have alarm methods (for example addCpuUsage) based on your Features table on the front page https://github.com/cdklabs/cdk-monitoring-constructs Objective:
define the resource - RDS
in contrast to EC2, it doesn't have the
Can anyone tell me how to fully utlise this beat and share some light to me? Thanks all in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We'd encourage people to add support for any standard metrics and corresponding alarms as contributions. Check out the contribution guide if interested. Looking at the list of available standard EC2 metrics, the Otherwise, |
Beta Was this translation helpful? Give feedback.
We'd encourage people to add support for any standard metrics and corresponding alarms as contributions. Check out the contribution guide if interested.
Looking at the list of available standard EC2 metrics, the
CPUUtilization
(which we already have in the metric factory) but I don't see something for disk space usage (although I might be missing it).Otherwise,
monitorCustom
allows you to alarm on arbitrary metrics.