ACloudGuru / serverless-plugin-aws-alerts

A Serverless Framework plugin that creates CloudWatch alarms for functions.
MIT License
531 stars 149 forks source link

FeatureRequest: allow enabled: false for custom alarms #165

Open nicodh opened 3 years ago

nicodh commented 3 years ago

According to the documentation it is possible to disable a default alarm on function level. That would be useful fur self defined alarms also.


alerts:
   definitions:  
      customAlarm:
        ...
      alarms:
         - customAlarm

functions:
   handlerSpecial:
      alarms:
         - customAlarm:
              enabled: false

This is not possible right now with 1.7.1

tn-17 commented 2 years ago

Hello, is this issue still ongoing?

nicodh commented 2 years ago

I can't tell you. I'm in a new project now and have no access to the AWS configuration once used. Documentation still mentions only disabling default alarms. https://www.serverless.com/plugins/serverless-plugin-aws-alerts