MON-227 auto update

This commit is contained in:
Quentin Manfroi 2018-08-30 15:34:46 +02:00
parent bc7211ba5f
commit 00ba4ae3ad
2 changed files with 27 additions and 27 deletions

View File

@ -18,21 +18,28 @@ Creates DataDog monitors with the following checks:
- GCP LB 4xx errors - GCP LB 4xx errors
- GCP LB 5xx errors - GCP LB 5xx errors
- GCP LB latency - GCP LB bucket backend latency
- GCP LB backend latency
- GCP LB Requests count increased abruptly - GCP LB Requests count increased abruptly
- GCP LB service backend latency
## Inputs ## Inputs
| Name | Description | Type | Default | Required | | Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:| |------|-------------|:----:|:-----:|:-----:|
| backend_latency_extra_tags | Extra tags for GCP LB Backend Latency monitor | list | `<list>` | no | | backend_latency_bucket_extra_tags | Extra tags for GCP LB Backend Latency monitor | list | `<list>` | no |
| backend_latency_message | Custom message for the GCP LB Backend Latency monitor | string | `` | no | | backend_latency_bucket_message | Custom message for the GCP LB Backend Latency monitor | string | `` | no |
| backend_latency_silenced | Groups to mute for GCP LB Backend Latency monitor | map | `<map>` | no | | backend_latency_bucket_silenced | Groups to mute for GCP LB Backend Latency monitor | map | `<map>` | no |
| backend_latency_threshold_critical | Latency in seconds (critical threshold) | string | `4000` | no | | backend_latency_bucket_threshold_critical | Latency in seconds (critical threshold) | string | `8000` | no |
| backend_latency_threshold_warning | Latency in seconds (warning threshold) | string | `2000` | no | | backend_latency_bucket_threshold_warning | Latency in seconds (warning threshold) | string | `4000` | no |
| backend_latency_time_aggregator | Timeframe for the GCP LB Backend Latency monitor | string | `min` | no | | backend_latency_bucket_time_aggregator | Timeframe for the GCP LB Backend Latency monitor | string | `min` | no |
| backend_latency_timeframe | Timeframe for the GCP LB Backend Latency monitor | string | `last_10m` | no | | backend_latency_bucket_timeframe | Timeframe for the GCP LB Backend Latency monitor | string | `last_10m` | no |
| backend_latency_service_extra_tags | Extra tags for GCP LB Backend Latency monitor | list | `<list>` | no |
| backend_latency_service_message | Custom message for the GCP LB Backend Latency monitor | string | `` | no |
| backend_latency_service_silenced | Groups to mute for GCP LB Backend Latency monitor | map | `<map>` | no |
| backend_latency_service_threshold_critical | Latency in seconds (critical threshold) | string | `1500` | no |
| backend_latency_service_threshold_warning | Latency in seconds (warning threshold) | string | `1000` | no |
| backend_latency_service_time_aggregator | Timeframe for the GCP LB Backend Latency monitor | string | `min` | no |
| backend_latency_service_timeframe | Timeframe for the GCP LB Backend Latency monitor | string | `last_10m` | no |
| environment | Architecture environment | string | - | yes | | environment | Architecture environment | string | - | yes |
| error_rate_4xx_artificial_request | Divisor Delta for the GCP LB 4XX Errors monitor | string | `5` | no | | error_rate_4xx_artificial_request | Divisor Delta for the GCP LB 4XX Errors monitor | string | `5` | no |
| error_rate_4xx_extra_tags | Extra tags for GCP LB 4XX Errors monitor | list | `<list>` | no | | error_rate_4xx_extra_tags | Extra tags for GCP LB 4XX Errors monitor | list | `<list>` | no |
@ -50,13 +57,6 @@ Creates DataDog monitors with the following checks:
| error_rate_5xx_timeframe | Timeframe for the GCP LB 5XX Errors monitor | string | `last_5m` | no | | error_rate_5xx_timeframe | Timeframe for the GCP LB 5XX Errors monitor | string | `last_5m` | no |
| evaluation_delay | Delay in seconds for the metric evaluation | string | `900` | no | | evaluation_delay | Delay in seconds for the metric evaluation | string | `900` | no |
| filter_tags | Tags used for filtering | string | `*` | no | | filter_tags | Tags used for filtering | string | `*` | no |
| latency_extra_tags | Extra tags for GCP LB Latency monitor | list | `<list>` | no |
| latency_message | Custom message for the GCP LB Latency monitor | string | `` | no |
| latency_silenced | Groups to mute for GCP LB Latency monitor | map | `<map>` | no |
| latency_threshold_critical | Latency in seconds (critical threshold) | string | `5000` | no |
| latency_threshold_warning | Latency in seconds (warning threshold) | string | `3000` | no |
| latency_time_aggregator | Timeframe for the GCP LB Latency monitor | string | `min` | no |
| latency_timeframe | Timeframe for the GCP LB Latency monitor | string | `last_10m` | no |
| message | Message sent when a monitor is triggered | string | - | yes | | message | Message sent when a monitor is triggered | string | - | yes |
| new_host_delay | Delay in seconds for the new host evaluation | string | `300` | no | | new_host_delay | Delay in seconds for the new host evaluation | string | `300` | no |
| request_count_extra_tags | Extra tags for GCP LB Request Count monitor | list | `<list>` | no | | request_count_extra_tags | Extra tags for GCP LB Request Count monitor | list | `<list>` | no |
@ -72,10 +72,10 @@ Creates DataDog monitors with the following checks:
| Name | Description | | Name | Description |
|------|-------------| |------|-------------|
| backend_latency_id | id for monitor backend_latency | | backend_latency_bucket_id | id for monitor backend_latency_bucket |
| backend_latency_service_id | id for monitor backend_latency_service |
| error_rate_4xx_id | id for monitor error_rate_4xx | | error_rate_4xx_id | id for monitor error_rate_4xx |
| error_rate_5xx_id | id for monitor error_rate_5xx | | error_rate_5xx_id | id for monitor error_rate_5xx |
| latency_id | id for monitor latency |
| request_count_id | id for monitor request_count | | request_count_id | id for monitor request_count |
## Related documentation ## Related documentation

View File

@ -1,24 +1,24 @@
output "error_rate_4xx_id" { output "error_rate_4xx_id" {
description = "id for monitor error_rate_4xx" description = "id for monitor error_rate_4xx"
value = "${datadog_monitor.error_rate_4xx.id}" value = "${datadog_monitor.error_rate_4xx.*.id}"
} }
output "error_rate_5xx_id" { output "error_rate_5xx_id" {
description = "id for monitor error_rate_5xx" description = "id for monitor error_rate_5xx"
value = "${datadog_monitor.error_rate_5xx.id}" value = "${datadog_monitor.error_rate_5xx.*.id}"
} }
output "latency_id" { output "backend_latency_service_id" {
description = "id for monitor latency" description = "id for monitor backend_latency_service"
value = "${datadog_monitor.latency.id}" value = "${datadog_monitor.backend_latency_service.*.id}"
} }
output "backend_latency_id" { output "backend_latency_bucket_id" {
description = "id for monitor backend_latency" description = "id for monitor backend_latency_bucket"
value = "${datadog_monitor.backend_latency.id}" value = "${datadog_monitor.backend_latency_bucket.*.id}"
} }
output "request_count_id" { output "request_count_id" {
description = "id for monitor request_count" description = "id for monitor request_count"
value = "${datadog_monitor.request_count.id}" value = "${datadog_monitor.request_count.*.id}"
} }