MON-271 fix type for extra tags variable

This commit is contained in:
Quentin Manfroi 2018-08-22 10:20:40 +02:00
parent 0edfe80450
commit 93b64756bc
2 changed files with 31 additions and 31 deletions

View File

@ -31,7 +31,7 @@ Creates DataDog monitors with the following checks:
| Name | Description | Type | Default | Required | | Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:| |------|-------------|:----:|:-----:|:-----:|
| blocked_clients_extra_tags | Extra tags for Redis Blocked clients monitor | string | `` | no | | blocked_clients_extra_tags | Extra tags for Redis Blocked clients monitor | list | `<list>` | no |
| blocked_clients_message | Custom message for Redis Blocked clients monitor | string | `` | no | | blocked_clients_message | Custom message for Redis Blocked clients monitor | string | `` | no |
| blocked_clients_silenced | Groups to mute for Redis Blocked clients monitor | map | `<map>` | no | | blocked_clients_silenced | Groups to mute for Redis Blocked clients monitor | map | `<map>` | no |
| blocked_clients_threshold_critical | Blocked clients rate (critical threshold) | string | `30` | no | | blocked_clients_threshold_critical | Blocked clients rate (critical threshold) | string | `30` | no |
@ -40,51 +40,51 @@ Creates DataDog monitors with the following checks:
| blocked_clients_timeframe | Monitor timeframe for Redis Blocked clients [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | blocked_clients_timeframe | Monitor timeframe for Redis Blocked clients [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| environment | Architecture environment | string | - | yes | | environment | Architecture environment | string | - | yes |
| evaluation_delay | Delay in seconds for the metric evaluation | string | `15` | no | | evaluation_delay | Delay in seconds for the metric evaluation | string | `15` | no |
| evictedkeys_change_extra_tags | Extra tags for Redis evicted keys monitor | string | `` | no | | evictedkeys_change_extra_tags | Extra tags for Redis evicted keys monitor | list | `<list>` | no |
| evictedkeys_change_message | Custom message for Redis evicted keys monitor | string | `` | no | | evictedkeys_change_message | Custom message for Redis evicted keys monitor | string | `` | no |
| evictedkeys_change_silenced | Groups to mute for Redis evicted keys monitor | map | `<map>` | no | | evictedkeys_change_silenced | Groups to mute for Redis evicted keys monitor | map | `<map>` | no |
| evictedkeys_change_threshold_critical | Evicted keys change (critical threshold) | string | `100` | no | | evictedkeys_change_threshold_critical | Evicted keys change (critical threshold) | string | `100` | no |
| evictedkeys_change_threshold_warning | Evicted keys change (warning threshold) | string | `20` | no | | evictedkeys_change_threshold_warning | Evicted keys change (warning threshold) | string | `20` | no |
| evictedkeys_change_time_aggregator | Monitor aggregator for Redis evicted keys [available values: min, max or avg] | string | `avg` | no | | evictedkeys_change_time_aggregator | Monitor aggregator for Redis evicted keys [available values: min, max or avg] | string | `avg` | no |
| evictedkeys_change_timeframe | Monitor timeframe for Redis evicted keys [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | evictedkeys_change_timeframe | Monitor timeframe for Redis evicted keys [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| expirations_rate_extra_tags | Extra tags for Redis keys expirations monitor | string | `` | no | | expirations_rate_extra_tags | Extra tags for Redis keys expirations monitor | list | `<list>` | no |
| expirations_rate_message | Custom message for Redis keys expirations monitor | string | `` | no | | expirations_rate_message | Custom message for Redis keys expirations monitor | string | `` | no |
| expirations_rate_silenced | Groups to mute for Redis keys expirations monitor | map | `<map>` | no |
| expirations_rate_threshold_critical | Expirations percent (critical threshold) | string | `80` | no | | expirations_rate_threshold_critical | Expirations percent (critical threshold) | string | `80` | no |
| expirations_rate_threshold_warning | Expirations percent (warning threshold) | string | `60` | no | | expirations_rate_threshold_warning | Expirations percent (warning threshold) | string | `60` | no |
| expirations_rate_time_aggregator | Monitor aggregator for Redis keys expirations [available values: min, max or avg] | string | `min` | no | | expirations_rate_time_aggregator | Monitor aggregator for Redis keys expirations [available values: min, max or avg] | string | `min` | no |
| expirations_rate_timeframe | Monitor timeframe for Redis keys expirations [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | expirations_rate_timeframe | Monitor timeframe for Redis keys expirations [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| expirations_silenced | Groups to mute for Redis keys expirations monitor | map | `<map>` | no |
| filter_tags_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | `*` | no | | filter_tags_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | `*` | no |
| filter_tags_use_defaults | Use default filter tags convention | string | `true` | no | | filter_tags_use_defaults | Use default filter tags convention | string | `true` | no |
| hitrate_extra_tags | Extra tags for Redis hitrate monitor | string | `` | no | | hitrate_extra_tags | Extra tags for Redis hitrate monitor | list | `<list>` | no |
| hitrate_message | Custom message for Redis hitrate monitor | string | `` | no | | hitrate_message | Custom message for Redis hitrate monitor | string | `` | no |
| hitrate_silenced | Groups to mute for Redis hitrate monitor | map | `<map>` | no | | hitrate_silenced | Groups to mute for Redis hitrate monitor | map | `<map>` | no |
| hitrate_threshold_critical | hitrate limit (critical threshold) | string | `10` | no | | hitrate_threshold_critical | hitrate limit (critical threshold) | string | `10` | no |
| hitrate_threshold_warning | hitrate limit (warning threshold) | string | `30` | no | | hitrate_threshold_warning | hitrate limit (warning threshold) | string | `30` | no |
| hitrate_time_aggregator | Monitor aggregator for Redis hitrate [available values: min, max or avg] | string | `max` | no | | hitrate_time_aggregator | Monitor aggregator for Redis hitrate [available values: min, max or avg] | string | `max` | no |
| hitrate_timeframe | Monitor timeframe for Redis hitrate [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | hitrate_timeframe | Monitor timeframe for Redis hitrate [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| keyspace_extra_tags | Extra tags for Redis keyspace monitor | string | `` | no | | keyspace_extra_tags | Extra tags for Redis keyspace monitor | list | `<list>` | no |
| keyspace_message | Custom message for Redis keyspace monitor | string | `` | no | | keyspace_message | Custom message for Redis keyspace monitor | string | `` | no |
| keyspace_silenced | Groups to mute for Redis keyspace monitor | map | `<map>` | no | | keyspace_silenced | Groups to mute for Redis keyspace monitor | map | `<map>` | no |
| keyspace_threshold_critical | Keyspace no changement (critical threshold) | string | `0` | no | | keyspace_threshold_critical | Keyspace no changement (critical threshold) | string | `0` | no |
| keyspace_threshold_warning | Keyspace no changement (warning threshold) | string | `1` | no | | keyspace_threshold_warning | Keyspace no changement (warning threshold) | string | `1` | no |
| keyspace_time_aggregator | Monitor aggregator for Redis keyspace [available values: min, max or avg] | string | `min` | no | | keyspace_time_aggregator | Monitor aggregator for Redis keyspace [available values: min, max or avg] | string | `min` | no |
| keyspace_timeframe | Monitor timeframe for Redis keyspace [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | keyspace_timeframe | Monitor timeframe for Redis keyspace [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| latency_extra_tags | Extra tags for Redis latency monitor | string | `` | no | | latency_extra_tags | Extra tags for Redis latency monitor | list | `<list>` | no |
| latency_message | Custom message for Redis latency monitor | string | `` | no | | latency_message | Custom message for Redis latency monitor | string | `` | no |
| latency_silenced | Groups to mute for Redis latency monitor | map | `<map>` | no | | latency_silenced | Groups to mute for Redis latency monitor | map | `<map>` | no |
| latency_threshold_critical | latency limit (critical threshold) | string | `100` | no | | latency_threshold_critical | latency limit (critical threshold) | string | `100` | no |
| latency_threshold_warning | latency limit (warning threshold) | string | `50` | no | | latency_threshold_warning | latency limit (warning threshold) | string | `50` | no |
| latency_time_aggregator | Monitor aggregator for Redis latency [available values: min, max or avg] | string | `min` | no | | latency_time_aggregator | Monitor aggregator for Redis latency [available values: min, max or avg] | string | `min` | no |
| latency_timeframe | Monitor timeframe for Redis latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | latency_timeframe | Monitor timeframe for Redis latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| mem_frag_extra_tags | Extra tags for Redis memory RAM fragmentation monitor | string | `` | no | | mem_frag_extra_tags | Extra tags for Redis memory RAM fragmentation monitor | list | `<list>` | no |
| mem_frag_message | Custom message for Redis memory RAM fragmentation monitor | string | `` | no | | mem_frag_message | Custom message for Redis memory RAM fragmentation monitor | string | `` | no |
| mem_frag_silenced | Groups to mute for Redis memory RAM fragmentation monitor | map | `<map>` | no | | mem_frag_silenced | Groups to mute for Redis memory RAM fragmentation monitor | map | `<map>` | no |
| mem_frag_threshold_critical | memory RAM fragmentation limit (critical threshold) | string | `150` | no | | mem_frag_threshold_critical | memory RAM fragmentation limit (critical threshold) | string | `150` | no |
| mem_frag_threshold_warning | memory RAM fragmentation limit (warning threshold) | string | `130` | no | | mem_frag_threshold_warning | memory RAM fragmentation limit (warning threshold) | string | `130` | no |
| mem_frag_time_aggregator | Monitor aggregator for Redis memory RAM fragmentation [available values: min, max or avg] | string | `min` | no | | mem_frag_time_aggregator | Monitor aggregator for Redis memory RAM fragmentation [available values: min, max or avg] | string | `min` | no |
| mem_frag_timeframe | Monitor timeframe for Redis memory RAM fragmentation [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | mem_frag_timeframe | Monitor timeframe for Redis memory RAM fragmentation [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| mem_used_extra_tags | Extra tags for Redis RAM memory used monitor | string | `` | no | | mem_used_extra_tags | Extra tags for Redis RAM memory used monitor | list | `<list>` | no |
| mem_used_message | Custom message for Redis RAM memory used monitor | string | `` | no | | mem_used_message | Custom message for Redis RAM memory used monitor | string | `` | no |
| mem_used_silenced | Groups to mute for Redis RAM memory used monitor | map | `<map>` | no | | mem_used_silenced | Groups to mute for Redis RAM memory used monitor | map | `<map>` | no |
| mem_used_threshold_critical | RAM memory used limit (critical threshold) | string | `95` | no | | mem_used_threshold_critical | RAM memory used limit (critical threshold) | string | `95` | no |
@ -93,11 +93,11 @@ Creates DataDog monitors with the following checks:
| mem_used_timeframe | Monitor timeframe for Redis RAM memory used [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | mem_used_timeframe | Monitor timeframe for Redis RAM memory used [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
| message | Message sent when a Redis monitor is triggered | string | - | yes | | message | Message sent when a Redis monitor is triggered | string | - | yes |
| new_host_delay | Delay in seconds for the metric evaluation | string | `300` | no | | new_host_delay | Delay in seconds for the metric evaluation | string | `300` | no |
| not_responding_extra_tags | Extra tags for Redis does not respond monitor | string | `` | no | | not_responding_extra_tags | Extra tags for Redis does not respond monitor | list | `<list>` | no |
| not_responding_message | Custom message for Redis does not respond monitor | string | `` | no | | not_responding_message | Custom message for Redis does not respond monitor | string | `` | no |
| not_responding_silenced | Groups to mute for Redis does not respond monitor | map | `<map>` | no | | not_responding_silenced | Groups to mute for Redis does not respond monitor | map | `<map>` | no |
| redis_silenced | Groups to mute for Redis monitors | map | `<map>` | no | | redis_silenced | Groups to mute for Redis monitors | map | `<map>` | no |
| rejected_con_extra_tags | Extra tags for Redis rejected connections errors monitor | string | `` | no | | rejected_con_extra_tags | Extra tags for Redis rejected connections errors monitor | list | `<list>` | no |
| rejected_con_message | Custom message for Redis rejected connections errors monitor | string | `` | no | | rejected_con_message | Custom message for Redis rejected connections errors monitor | string | `` | no |
| rejected_con_silenced | Groups to mute for Redis rejected connections errors monitor | map | `<map>` | no | | rejected_con_silenced | Groups to mute for Redis rejected connections errors monitor | map | `<map>` | no |
| rejected_con_threshold_critical | rejected connections errors limit (critical threshold) | string | `50` | no | | rejected_con_threshold_critical | rejected connections errors limit (critical threshold) | string | `50` | no |

View File

@ -50,8 +50,8 @@ variable "evictedkeys_change_message" {
variable "evictedkeys_change_extra_tags" { variable "evictedkeys_change_extra_tags" {
description = "Extra tags for Redis evicted keys monitor" description = "Extra tags for Redis evicted keys monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "evictedkeys_change_time_aggregator" { variable "evictedkeys_change_time_aggregator" {
@ -90,8 +90,8 @@ variable "expirations_rate_message" {
variable "expirations_rate_extra_tags" { variable "expirations_rate_extra_tags" {
description = "Extra tags for Redis keys expirations monitor" description = "Extra tags for Redis keys expirations monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "expirations_rate_time_aggregator" { variable "expirations_rate_time_aggregator" {
@ -130,8 +130,8 @@ variable "blocked_clients_message" {
variable "blocked_clients_extra_tags" { variable "blocked_clients_extra_tags" {
description = "Extra tags for Redis Blocked clients monitor" description = "Extra tags for Redis Blocked clients monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "blocked_clients_time_aggregator" { variable "blocked_clients_time_aggregator" {
@ -173,8 +173,8 @@ variable "keyspace_message" {
variable "keyspace_extra_tags" { variable "keyspace_extra_tags" {
description = "Extra tags for Redis keyspace monitor" description = "Extra tags for Redis keyspace monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "keyspace_time_aggregator" { variable "keyspace_time_aggregator" {
@ -213,8 +213,8 @@ variable "mem_used_message" {
variable "mem_used_extra_tags" { variable "mem_used_extra_tags" {
description = "Extra tags for Redis RAM memory used monitor" description = "Extra tags for Redis RAM memory used monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "mem_used_time_aggregator" { variable "mem_used_time_aggregator" {
@ -253,8 +253,8 @@ variable "mem_frag_message" {
variable "mem_frag_extra_tags" { variable "mem_frag_extra_tags" {
description = "Extra tags for Redis memory RAM fragmentation monitor" description = "Extra tags for Redis memory RAM fragmentation monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "mem_frag_time_aggregator" { variable "mem_frag_time_aggregator" {
@ -293,8 +293,8 @@ variable "rejected_con_message" {
variable "rejected_con_extra_tags" { variable "rejected_con_extra_tags" {
description = "Extra tags for Redis rejected connections errors monitor" description = "Extra tags for Redis rejected connections errors monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "rejected_con_time_aggregator" { variable "rejected_con_time_aggregator" {
@ -333,8 +333,8 @@ variable "latency_message" {
variable "latency_extra_tags" { variable "latency_extra_tags" {
description = "Extra tags for Redis latency monitor" description = "Extra tags for Redis latency monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "latency_time_aggregator" { variable "latency_time_aggregator" {
@ -373,8 +373,8 @@ variable "hitrate_message" {
variable "hitrate_extra_tags" { variable "hitrate_extra_tags" {
description = "Extra tags for Redis hitrate monitor" description = "Extra tags for Redis hitrate monitor"
type = "string" type = "list"
default = "" default = []
} }
variable "hitrate_time_aggregator" { variable "hitrate_time_aggregator" {
@ -416,6 +416,6 @@ variable "not_responding_message" {
variable "not_responding_extra_tags" { variable "not_responding_extra_tags" {
description = "Extra tags for Redis does not respond monitor" description = "Extra tags for Redis does not respond monitor"
type = "string" type = "list"
default = "" default = []
} }