-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from faros-ai/master
Added UnHealthyHostCount metric + cleanup warnings
- Loading branch information
Showing
3 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,51 @@ | ||
variable "load_balancer_id" { | ||
type = "string" | ||
type = string | ||
description = "ALB ID" | ||
} | ||
|
||
variable "target_group_id" { | ||
type = "string" | ||
type = string | ||
description = "Target Group ID" | ||
} | ||
|
||
variable "prefix" { | ||
type = "string" | ||
type = string | ||
default = "" | ||
description = "Alarm Name Prefix" | ||
} | ||
|
||
variable "response_time_threshold" { | ||
type = "string" | ||
type = string | ||
default = "50" | ||
description = "The average number of milliseconds that requests should complete within." | ||
} | ||
|
||
variable "unhealthy_hosts_threshold" { | ||
type = string | ||
default = "0" | ||
description = "The number of unhealthy hosts." | ||
} | ||
|
||
variable "evaluation_period" { | ||
type = "string" | ||
type = string | ||
default = "5" | ||
description = "The evaluation period over which to use when triggering alarms." | ||
} | ||
|
||
variable "statistic_period" { | ||
type = "string" | ||
type = string | ||
default = "60" | ||
description = "The number of seconds that make each statistic period." | ||
} | ||
|
||
variable "actions_alarm" { | ||
type = "list" | ||
type = list(string) | ||
default = [] | ||
description = "A list of actions to take when alarms are triggered. Will likely be an SNS topic for event distribution." | ||
} | ||
|
||
variable "actions_ok" { | ||
type = "list" | ||
type = list(string) | ||
default = [] | ||
description = "A list of actions to take when alarms are cleared. Will likely be an SNS topic for event distribution." | ||
} |