MON-32 decrease threasholds for cache hit ratio
This commit is contained in:
parent
08b5cb16d1
commit
0462972da6
@ -63,13 +63,13 @@ variable "get_hits_timeframe" {
|
||||
variable "get_hits_threshold_warning" {
|
||||
description = "Elasticache memcached get hits warning threshold in percentage"
|
||||
type = "string"
|
||||
default = 20
|
||||
default = 80
|
||||
}
|
||||
|
||||
variable "get_hits_threshold_critical" {
|
||||
description = "Elasticache memcached get hits critical threshold in percentage"
|
||||
type = "string"
|
||||
default = 10
|
||||
default = 60
|
||||
}
|
||||
|
||||
variable "cpu_high_silenced" {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
resource "datadog_monitor" "memcached_get_hits" {
|
||||
count = "${var.get_hits_enabled ? 1 : 0}"
|
||||
name = "[${var.environment}] Elasticache memcached get hits {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
name = "[${var.environment}] Elasticache memcached get hit ratio {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
message = "${coalesce(var.get_hits_message, var.message)}"
|
||||
|
||||
type = "metric alert"
|
||||
|
||||
@ -63,13 +63,13 @@ variable "cache_hits_timeframe" {
|
||||
variable "cache_hits_threshold_warning" {
|
||||
description = "Elasticache redis cache hits warning threshold in percentage"
|
||||
type = "string"
|
||||
default = 20
|
||||
default = 80
|
||||
}
|
||||
|
||||
variable "cache_hits_threshold_critical" {
|
||||
description = "Elasticache redis cache hits critical threshold in percentage"
|
||||
type = "string"
|
||||
default = 10
|
||||
default = 60
|
||||
}
|
||||
|
||||
variable "cpu_high_silenced" {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
resource "datadog_monitor" "redis_cache_hits" {
|
||||
count = "${var.cache_hits_enabled ? 1 : 0}"
|
||||
name = "[${var.environment}] Elasticache redis cache hits {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
name = "[${var.environment}] Elasticache redis cache hit ratio {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
|
||||
message = "${coalesce(var.cache_hits_message, var.message)}"
|
||||
|
||||
type = "metric alert"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user