Skip to content

Commit

Permalink
Reign in alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Hendry committed Sep 8, 2018
1 parent 6d8bf72 commit d422cef
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions up.json.in
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
{
"name": "processinvitations",
"profile": "uneet-dev",
"stages": {
"production": {
"domain": "invite.dev.unee-t.com",
"zone": "dev.unee-t.com"
}
"name": "processinvitations",
"profile": "uneet-dev",
"stages": {
"production": {
"domain": "invite.dev.unee-t.com",
"zone": "dev.unee-t.com"
}
},
"regions": [
"ap-southeast-1"
],
"error_pages": {
"disable": true
},
"lambda": {
"policy": [
{
"Effect": "Allow",
"Resource": "*",
"Action": [
"ssm:GetParameter"
]
}
]
},
"actions": [
{
"name": "email.backend",
"type": "email",
"emails": [
"[email protected]"
]
}
],
"alerts": [
{
"metric": "http.count",
"statistic": "sum",
"threshold": 100,
"action": "email.backend"
},
"regions": [
"ap-southeast-1"
],
"error_pages": {
"disable": true
{
"metric": "http.5xx",
"statistic": "sum",
"threshold": 1,
"period": "1m",
"action": "email.backend"
},
"lambda": {
"policy": [
{
"Effect": "Allow",
"Resource": "*",
"Action": [
"ssm:GetParameter"
]
}
]
{
"metric": "http.4xx",
"statistic": "sum",
"threshold": 50,
"period": "5m",
"action": "email.backend"
},
"actions": [
{
"name": "email.backend",
"type": "email",
"emails": [
"[email protected]"
]
}
],
"alerts": [
{
"metric": "http.count",
"statistic": "sum",
"threshold": 100,
"action": "email.backend"
},
{
"metric": "http.5xx",
"statistic": "sum",
"threshold": 1,
"period": "1m",
"action": "email.backend"
},
{
"metric": "http.4xx",
"statistic": "sum",
"threshold": 50,
"period": "5m",
"action": "email.backend"
},
{
"namespace": "AWS/ApiGateway",
"metric": "Count",
"statistic": "sum",
"threshold": 500,
"action": "email.backend",
"description": "Note how you can use AWS namespaces and metrics directly if necessary."
}
]
{
"metric": "http.latency",
"statistic": "avg",
"threshold": 4000,
"period": "5m",
"action": "email.backend",
"description": "Large traffic spike"
}
]
}

0 comments on commit d422cef

Please sign in to comment.