Merged in MON-275_manage_diff_on_type (pull request #135)
MON-275 update provider and redis Approved-by: Quentin Manfroi <quentin.manfroi@yahoo.fr> Approved-by: Alexandre Gaillet <alexandre.gaillet@fr.clara.net> Approved-by: Laurent Piroelle <laurent.piroelle@fr.clara.net>
This commit is contained in:
commit
8342a6d9d8
@ -24,7 +24,7 @@ Before importing some modules, you must define the DataDog provider in your `mai
|
|||||||
|
|
||||||
```
|
```
|
||||||
provider "datadog" {
|
provider "datadog" {
|
||||||
version = "1.0.4" # if you use previous version you will have diff on monitor type
|
version = "1.1.0" # if you use version before 1.0.4 you will have diff on monitor type
|
||||||
|
|
||||||
api_key = "${var.datadog_api_key}"
|
api_key = "${var.datadog_api_key}"
|
||||||
app_key = "${var.datadog_app_key}"
|
app_key = "${var.datadog_app_key}"
|
||||||
|
|||||||
@ -10,10 +10,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.evictedkeys_change_threshold_warning}"
|
warning = "${var.evictedkeys_change_threshold_warning}"
|
||||||
critical = "${var.evictedkeys_change_threshold_critical}"
|
critical = "${var.evictedkeys_change_threshold_critical}"
|
||||||
@ -46,10 +42,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.expirations_rate_threshold_warning}"
|
warning = "${var.expirations_rate_threshold_warning}"
|
||||||
critical = "${var.expirations_rate_threshold_critical}"
|
critical = "${var.expirations_rate_threshold_critical}"
|
||||||
@ -83,10 +75,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.blocked_clients_threshold_warning}"
|
warning = "${var.blocked_clients_threshold_warning}"
|
||||||
critical = "${var.blocked_clients_threshold_critical}"
|
critical = "${var.blocked_clients_threshold_critical}"
|
||||||
@ -119,10 +107,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.keyspace_threshold_warning}"
|
warning = "${var.keyspace_threshold_warning}"
|
||||||
critical = "${var.keyspace_threshold_critical}"
|
critical = "${var.keyspace_threshold_critical}"
|
||||||
@ -156,10 +140,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.mem_used_threshold_warning}"
|
warning = "${var.mem_used_threshold_warning}"
|
||||||
critical = "${var.mem_used_threshold_critical}"
|
critical = "${var.mem_used_threshold_critical}"
|
||||||
@ -192,10 +172,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.mem_frag_threshold_warning}"
|
warning = "${var.mem_frag_threshold_warning}"
|
||||||
critical = "${var.mem_frag_threshold_critical}"
|
critical = "${var.mem_frag_threshold_critical}"
|
||||||
@ -228,10 +204,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.rejected_con_threshold_warning}"
|
warning = "${var.rejected_con_threshold_warning}"
|
||||||
critical = "${var.rejected_con_threshold_critical}"
|
critical = "${var.rejected_con_threshold_critical}"
|
||||||
@ -264,10 +236,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.latency_threshold_warning}"
|
warning = "${var.latency_threshold_warning}"
|
||||||
critical = "${var.latency_threshold_critical}"
|
critical = "${var.latency_threshold_critical}"
|
||||||
@ -302,10 +270,6 @@ EOL
|
|||||||
|
|
||||||
type = "metric alert"
|
type = "metric alert"
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = ["type"]
|
|
||||||
}
|
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
warning = "${var.hitrate_threshold_warning}"
|
warning = "${var.hitrate_threshold_warning}"
|
||||||
critical = "${var.hitrate_threshold_critical}"
|
critical = "${var.hitrate_threshold_critical}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user