LambStatus icon indicating copy to clipboard operation
LambStatus copied to clipboard

Why is the lambda function for PostIncidents 20,000 lines long?

Open dmasters19 opened this issue 5 years ago • 1 comments

I think this project is great, but I was trying to figure out how I could automate a POST to the incidents page if one of my cloudwatch alarms goes off. I tried looking at the lambda function for incidents and was overwhelmed. Why is it 20,000 lines long?

dmasters19 avatar Dec 11 '18 16:12 dmasters19

Ummm, maybe we need some modern optimization for generated js.

By the way, we have the API to POST incidents: https://lambstatus.github.io/apidocs/#create-a-new-incident

ks888 avatar Jan 18 '19 11:01 ks888