Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

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

Open
dmasters19 opened this issue Dec 11, 2018 · 1 comment
Open

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

dmasters19 opened this issue Dec 11, 2018 · 1 comment

Comments

@dmasters19
Copy link

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?

@ks888
Copy link
Owner

ks888 commented Jan 18, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants