MON-289 auto update
This commit is contained in:
parent
3984d31a87
commit
666e87a70f
@ -17,6 +17,7 @@ module "datadog-monitors-middleware-nginx" {
|
|||||||
Creates DataDog monitors with the following checks:
|
Creates DataDog monitors with the following checks:
|
||||||
|
|
||||||
- Nginx vhost status does not respond
|
- Nginx vhost status does not respond
|
||||||
|
- Nginx dropped connections
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
@ -33,11 +34,18 @@ Creates DataDog monitors with the following checks:
|
|||||||
| nginx_connect_message | Custom message for Nginx status monitor | string | `` | no |
|
| nginx_connect_message | Custom message for Nginx status monitor | string | `` | no |
|
||||||
| nginx_connect_silenced | Groups to mute for Nginx status monitor | map | `<map>` | no |
|
| nginx_connect_silenced | Groups to mute for Nginx status monitor | map | `<map>` | no |
|
||||||
| nginx_connect_threshold_critical | Nginx status monitor (critical threshold) | string | `1.1754943508222875e-38` | no |
|
| nginx_connect_threshold_critical | Nginx status monitor (critical threshold) | string | `1.1754943508222875e-38` | no |
|
||||||
|
| nginx_dropped_extra_tags | Extra tags for Nginx dropped connections monitor | list | `<list>` | no |
|
||||||
|
| nginx_dropped_message | Custom message for Nginx dropped connections monitor | string | `` | no |
|
||||||
|
| nginx_dropped_silenced | Groups to mute for Nginx dropped connections monitor | map | `<map>` | no |
|
||||||
|
| nginx_dropped_threshold_critical | php fpm busy critical threshold | string | `0` | no |
|
||||||
|
| nginx_dropped_time_aggregator | Monitor aggregator for Nginx dropped connections [available values: min, max or avg] | string | `min` | no |
|
||||||
|
| nginx_dropped_timeframe | Monitor timeframe for Nginx dropped connections [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no |
|
||||||
|
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
|------|-------------|
|
|------|-------------|
|
||||||
|
| datadog_nginx_dropped_connections_id | id for monitor datadog_nginx_dropped_connections |
|
||||||
| datadog_nginx_process_id | id for monitor datadog_nginx_process |
|
| datadog_nginx_process_id | id for monitor datadog_nginx_process |
|
||||||
|
|
||||||
## Related documentation
|
## Related documentation
|
||||||
|
|||||||
@ -54,5 +54,3 @@ resource "datadog_monitor" "datadog_nginx_dropped_connections" {
|
|||||||
|
|
||||||
tags = ["env:${var.environment}", "type:middleware", "provider:nginx", "resource:nginx", "team:claranet", "created-by:terraform", "${var.nginx_dropped_extra_tags}"]
|
tags = ["env:${var.environment}", "type:middleware", "provider:nginx", "resource:nginx", "team:claranet", "created-by:terraform", "${var.nginx_dropped_extra_tags}"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,3 +2,8 @@ output "datadog_nginx_process_id" {
|
|||||||
description = "id for monitor datadog_nginx_process"
|
description = "id for monitor datadog_nginx_process"
|
||||||
value = "${datadog_monitor.datadog_nginx_process.*.id}"
|
value = "${datadog_monitor.datadog_nginx_process.*.id}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "datadog_nginx_dropped_connections_id" {
|
||||||
|
description = "id for monitor datadog_nginx_dropped_connections"
|
||||||
|
value = "${datadog_monitor.datadog_nginx_dropped_connections.id}"
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user