diff --git a/cloud/aws/alb/README.md b/cloud/aws/alb/README.md index 679a2e1..f4bb659 100644 Binary files a/cloud/aws/alb/README.md and b/cloud/aws/alb/README.md differ diff --git a/cloud/aws/alb/monitors-alb.tf b/cloud/aws/alb/monitors-alb.tf index 72fb533..96e122d 100644 --- a/cloud/aws/alb/monitors-alb.tf +++ b/cloud/aws/alb/monitors-alb.tf @@ -16,7 +16,7 @@ resource "datadog_monitor" "ALB_no_healthy_instances" { query = < ${var.latency_threshold_critical} EOF @@ -75,8 +75,8 @@ resource "datadog_monitor" "ALB_httpcode_5xx" { query = < ${var.httpcode_alb_5xx_threshold_critical} EOF @@ -108,8 +108,8 @@ resource "datadog_monitor" "ALB_httpcode_4xx" { query = < ${var.httpcode_alb_4xx_threshold_critical} EOF @@ -141,8 +141,8 @@ resource "datadog_monitor" "ALB_httpcode_target_5xx" { query = < ${var.httpcode_target_5xx_threshold_critical} EOF @@ -174,8 +174,8 @@ resource "datadog_monitor" "ALB_httpcode_target_4xx" { query = < ${var.httpcode_target_4xx_threshold_critical} EOF diff --git a/cloud/aws/apigateway/README.md b/cloud/aws/apigateway/README.md index 63e8b9b..8e242ed 100644 Binary files a/cloud/aws/apigateway/README.md and b/cloud/aws/apigateway/README.md differ diff --git a/cloud/aws/apigateway/monitors-api.tf b/cloud/aws/apigateway/monitors-api.tf index a7ff9cd..b6bee79 100644 --- a/cloud/aws/apigateway/monitors-api.tf +++ b/cloud/aws/apigateway/monitors-api.tf @@ -6,7 +6,7 @@ resource "datadog_monitor" "API_Gateway_latency" { query = < ${var.latency_threshold_critical} EOF @@ -38,8 +38,8 @@ resource "datadog_monitor" "API_http_5xx_errors_count" { query = < ${var.http_5xx_requests_threshold_critical} EOF @@ -72,8 +72,8 @@ resource "datadog_monitor" "API_http_4xx_errors_count" { query = < ${var.http_4xx_requests_threshold_critical} EOF diff --git a/cloud/aws/elasticsearch/README.md b/cloud/aws/elasticsearch/README.md index 641adac..e058259 100644 Binary files a/cloud/aws/elasticsearch/README.md and b/cloud/aws/elasticsearch/README.md differ diff --git a/cloud/aws/elasticsearch/inputs.tf b/cloud/aws/elasticsearch/inputs.tf index 3f1a3e3..499b0c6 100644 --- a/cloud/aws/elasticsearch/inputs.tf +++ b/cloud/aws/elasticsearch/inputs.tf @@ -69,7 +69,7 @@ variable "diskspace_message" { variable "diskspace_time_aggregator" { description = "Monitor aggregator for ES cluster diskspace [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "diskspace_timeframe" { @@ -103,7 +103,7 @@ variable "cpu_message" { variable "cpu_time_aggregator" { description = "Monitor aggregator for ES cluster cpu [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "cpu_timeframe" { diff --git a/cloud/aws/elb/README.md b/cloud/aws/elb/README.md index f39031d..bd2a0a7 100644 --- a/cloud/aws/elb/README.md +++ b/cloud/aws/elb/README.md @@ -25,44 +25,45 @@ Creates DataDog monitors with the following checks : * ELB backend http code 4xx percent to high * ELB backend http code 5xx percent to high -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| artificial_requests_count | Number of false requests used to mitigate false positive in case of low trafic | string | `5` | no | -| delay | Delay in seconds for the metric evaluation | string | `900` | no | -| elb_4xx_message | Custom message for ELB 4xx errors monitor | string | `` | no | -| elb_4xx_silenced | Groups to mute for ELB 4xx errors monitor | map | `` | no | -| elb_4xx_threshold_critical | loadbalancer 4xx critical threshold in percentage | string | `10` | no | -| elb_4xx_threshold_warning | loadbalancer 4xx warning threshold in percentage | string | `5` | no | -| elb_4xx_timeframe | Monitor timeframe for ELB 4xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| elb_5xx_message | Custom message for ELB 5xx errors monitor | string | `` | no | -| elb_5xx_silenced | Groups to mute for ELB 5xx errors monitor | map | `` | no | -| elb_5xx_threshold_critical | loadbalancer 5xx critical threshold in percentage | string | `10` | no | -| elb_5xx_threshold_warning | loadbalancer 5xx warning threshold in percentage | string | `5` | no | -| elb_5xx_timeframe | Monitor timeframe for ELB 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| elb_backend_4xx_message | Custom message for ELB backend 4xx errors monitor | string | `` | no | -| elb_backend_4xx_silenced | Groups to mute for ELB backend 4xx errors monitor | map | `` | no | -| elb_backend_4xx_threshold_critical | loadbalancer backend 4xx critical threshold in percentage | string | `10` | no | -| elb_backend_4xx_threshold_warning | loadbalancer backend 4xx warning threshold in percentage | string | `5` | no | -| elb_backend_4xx_timeframe | Monitor timeframe for ELB backend 4xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| elb_backend_5xx_message | Custom message for ELB backend 5xx errors monitor | string | `` | no | -| elb_backend_5xx_silenced | Groups to mute for ELB backend 5xx errors monitor | map | `` | no | -| elb_backend_5xx_threshold_critical | loadbalancer backend 5xx critical threshold in percentage | string | `10` | no | -| elb_backend_5xx_threshold_warning | loadbalancer backend 5xx warning threshold in percentage | string | `5` | no | -| elb_backend_5xx_timeframe | Monitor timeframe for ELB backend 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| elb_backend_latency_time_aggregator | Monitor aggregator for ELB backend latency [available values: min, max or avg] | string | `min` | no | -| elb_backend_latency_critical | latency critical threshold in seconds | string | `5` | no | -| elb_backend_latency_message | Custom message for ELB backend latency monitor | string | `` | no | -| elb_backend_latency_silenced | Groups to mute for ELB backend latency monitor | map | `` | no | -| elb_backend_latency_timeframe | Monitor timeframe for ELB backend latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| elb_backend_latency_warning | latency warning threshold in seconds | string | `1` | no | -| elb_no_healthy_instance_time_aggregator | Monitor aggregator for ELB no healty instance [available values: min, max or avg] | string | `min` | no | -| elb_no_healthy_instance_message | Custom message for ELB no healty instance monitor | string | `` | no | -| elb_no_healthy_instance_silenced | Groups to mute for ELB no healty instance monitor | map | `` | no | -| elb_no_healthy_instance_timeframe | Monitor timeframe for ELB no healty instance [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 | -| 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 | -| message | Message sent when an alert is triggered | string | - | yes | +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| artificial_requests_count | Number of false requests used to mitigate false positive in case of low trafic | string | `5` | no | +| delay | Delay in seconds for the metric evaluation | string | `900` | no | +| elb_4xx_message | Custom message for ELB 4xx errors monitor | string | `` | no | +| elb_4xx_silenced | Groups to mute for ELB 4xx errors monitor | map | `` | no | +| elb_4xx_threshold_critical | loadbalancer 4xx critical threshold in percentage | string | `10` | no | +| elb_4xx_threshold_warning | loadbalancer 4xx warning threshold in percentage | string | `5` | no | +| elb_4xx_timeframe | Monitor timeframe for ELB 4xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| elb_5xx_message | Custom message for ELB 5xx errors monitor | string | `` | no | +| elb_5xx_silenced | Groups to mute for ELB 5xx errors monitor | map | `` | no | +| elb_5xx_threshold_critical | loadbalancer 5xx critical threshold in percentage | string | `10` | no | +| elb_5xx_threshold_warning | loadbalancer 5xx warning threshold in percentage | string | `5` | no | +| elb_5xx_timeframe | Monitor timeframe for ELB 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| elb_backend_4xx_message | Custom message for ELB backend 4xx errors monitor | string | `` | no | +| elb_backend_4xx_silenced | Groups to mute for ELB backend 4xx errors monitor | map | `` | no | +| elb_backend_4xx_threshold_critical | loadbalancer backend 4xx critical threshold in percentage | string | `10` | no | +| elb_backend_4xx_threshold_warning | loadbalancer backend 4xx warning threshold in percentage | string | `5` | no | +| elb_backend_4xx_timeframe | Monitor timeframe for ELB backend 4xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| elb_backend_5xx_message | Custom message for ELB backend 5xx errors monitor | string | `` | no | +| elb_backend_5xx_silenced | Groups to mute for ELB backend 5xx errors monitor | map | `` | no | +| elb_backend_5xx_threshold_critical | loadbalancer backend 5xx critical threshold in percentage | string | `10` | no | +| elb_backend_5xx_threshold_warning | loadbalancer backend 5xx warning threshold in percentage | string | `5` | no | +| elb_backend_5xx_timeframe | Monitor timeframe for ELB backend 5xx errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| elb_backend_latency_critical | latency critical threshold in seconds | string | `5` | no | +| elb_backend_latency_message | Custom message for ELB backend latency monitor | string | `` | no | +| elb_backend_latency_silenced | Groups to mute for ELB backend latency monitor | map | `` | no | +| elb_backend_latency_time_aggregator | Monitor aggregator for ELB backend latency [available values: min, max or avg] | string | `min` | no | +| elb_backend_latency_timeframe | Monitor timeframe for ELB backend latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| elb_backend_latency_warning | latency warning threshold in seconds | string | `1` | no | +| elb_no_healthy_instance_message | Custom message for ELB no healty instance monitor | string | `` | no | +| elb_no_healthy_instance_silenced | Groups to mute for ELB no healty instance monitor | map | `` | no | +| elb_no_healthy_instance_time_aggregator | Monitor aggregator for ELB no healty instance [available values: min or max] | string | `min` | no | +| elb_no_healthy_instance_timeframe | Monitor timeframe for ELB no healty instance [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 | +| 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 | +| message | Message sent when an alert is triggered | string | - | yes | + diff --git a/cloud/aws/elb/monitors-elb.tf b/cloud/aws/elb/monitors-elb.tf index befc3bc..fbb2267 100644 --- a/cloud/aws/elb/monitors-elb.tf +++ b/cloud/aws/elb/monitors-elb.tf @@ -40,8 +40,8 @@ resource "datadog_monitor" "ELB_too_much_4xx" { query = < ${var.elb_4xx_threshold_critical} EOF @@ -75,8 +75,8 @@ resource "datadog_monitor" "ELB_too_much_5xx" { query = < ${var.elb_5xx_threshold_critical} EOF @@ -110,8 +110,8 @@ resource "datadog_monitor" "ELB_too_much_4xx_backend" { query = < ${var.elb_backend_4xx_threshold_critical} EOF @@ -145,8 +145,8 @@ resource "datadog_monitor" "ELB_too_much_5xx_backend" { query = < ${var.elb_backend_5xx_threshold_critical} EOF @@ -179,7 +179,7 @@ resource "datadog_monitor" "ELB_backend_latency" { query = < ${var.elb_backend_latency_critical} EOF diff --git a/cloud/aws/kinesis-firehose/README.md b/cloud/aws/kinesis-firehose/README.md index fafe19b..77f7c43 100644 Binary files a/cloud/aws/kinesis-firehose/README.md and b/cloud/aws/kinesis-firehose/README.md differ diff --git a/cloud/aws/rds/README.md b/cloud/aws/rds/README.md index 740e4d2..d00bbbd 100644 Binary files a/cloud/aws/rds/README.md and b/cloud/aws/rds/README.md differ diff --git a/cloud/aws/rds/inputs.tf b/cloud/aws/rds/inputs.tf index 747a1a3..934bc80 100644 --- a/cloud/aws/rds/inputs.tf +++ b/cloud/aws/rds/inputs.tf @@ -41,7 +41,7 @@ variable "cpu_message" { variable "cpu_time_aggregator" { description = "Monitor aggregator for RDS CPU usage [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "cpu_timeframe" { @@ -75,7 +75,7 @@ variable "diskspace_message" { variable "diskspace_time_aggregator" { description = "Monitor aggregator for RDS free diskspace [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "diskspace_timeframe" { diff --git a/cloud/aws/vpn/README.md b/cloud/aws/vpn/README.md index 4be0db7..40dd3d5 100644 Binary files a/cloud/aws/vpn/README.md and b/cloud/aws/vpn/README.md differ diff --git a/cloud/aws/vpn/inputs.tf b/cloud/aws/vpn/inputs.tf index c1a0969..b791f51 100644 --- a/cloud/aws/vpn/inputs.tf +++ b/cloud/aws/vpn/inputs.tf @@ -39,7 +39,7 @@ variable "vpn_status_message" { variable "vpn_status_time_aggregator" { description = "Monitor aggregator for VPN status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "vpn_status_timeframe" { diff --git a/cloud/azure/README.md b/cloud/azure/README.md index 253c4ec..b94b3aa 100644 --- a/cloud/azure/README.md +++ b/cloud/azure/README.md @@ -44,7 +44,7 @@ Inputs | apimanagement_other_requests_timeframe | Monitor timeframe for API Management other requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | apimanagement_status_message | Custom message for API Management status monitor | string | `` | no | | apimanagement_status_silenced | Groups to mute for API Management status monitor | map | `` | no | -| apimanagement_status_time_aggregator | Monitor aggregator for API Management status [available values: min, max or avg] | string | `avg` | no | +| apimanagement_status_time_aggregator | Monitor aggregator for API Management status [available values: min, max or avg] | string | `max` | no | | apimanagement_status_timeframe | Monitor timeframe for API Management status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | apimanagement_successful_requests_message | Custom message for API Management successful requests monitor | string | `` | no | | apimanagement_successful_requests_silenced | Groups to mute for API Management successful requests monitor | map | `` | no | @@ -75,7 +75,7 @@ Inputs | appservices_memory_usage_silenced | Groups to mute for App Services memory usage monitor | map | `` | no | | appservices_memory_usage_threshold_critical | Alerting threshold in Mib | string | `1073741824` | no | | appservices_memory_usage_threshold_warning | Warning threshold in MiB | string | `536870912` | no | -| appservices_memory_usage_time_aggregator | Monitor aggregator for App Services memory usage [available values: min, max or avg] | string | `avg` | no | +| appservices_memory_usage_time_aggregator | Monitor aggregator for App Services memory usage [available values: min, max or avg] | string | `min` | no | | appservices_memory_usage_timeframe | Monitor timeframe for App Services memory usage [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | appservices_response_time_message | Custom message for App Services response time monitor | string | `` | no | | appservices_response_time_silenced | Groups to mute for App Services response time monitor | map | `` | no | @@ -97,7 +97,7 @@ Inputs | eventhub_failed_requests_rate_timeframe | Monitor timeframe for Event Hub failed requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | eventhub_status_message | Custom message for Event Hub status monitor | string | `` | no | | eventhub_status_silenced | Groups to mute for Event Hub status monitor | map | `` | no | -| eventhub_status_time_aggregator | Monitor aggregator for Event Hub status [available values: min, max or avg] | string | `avg` | no | +| eventhub_status_time_aggregator | Monitor aggregator for Event Hub status [available values: min, max or avg] | string | `max` | no | | eventhub_status_timeframe | Monitor timeframe for Event Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | 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 | @@ -158,14 +158,14 @@ Inputs | iothub_orphaned_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub orphaned d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | iothub_status_message | Custom message for IoT Hub status monitor | string | `` | no | | iothub_status_silenced | Groups to mute for IoT Hub status monitor | map | `` | no | -| iothub_status_time_aggregator | Monitor aggregator for IoT Hub status [available values: min, max or avg] | string | `avg` | no | +| iothub_status_time_aggregator | Monitor aggregator for IoT Hub status [available values: min, max or avg] | string | `max` | no | | iothub_status_timeframe | Monitor timeframe for IoT Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | iothub_too_many_d2c_telemetry_ingress_nosent_message | Custom message for IoT Hub unsent d2c telemetry monitor | string | `` | no | | iothub_too_many_d2c_telemetry_ingress_nosent_silenced | Groups to mute for IoT Hub unsent d2c telemetry monitor | map | `` | no | | iothub_too_many_d2c_telemetry_ingress_nosent_timeframe | Monitor timeframe for IoT Hub unsent d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | iothub_total_devices_message | Custom message for IoT Hub total devices monitor | string | `` | no | | iothub_total_devices_silenced | Groups to mute for IoT Hub total devices monitor | map | `` | no | -| iothub_total_devices_time_aggregator | Monitor aggregator for IoT Hub total devices [available values: min, max or avg] | string | `avg` | no | +| iothub_total_devices_time_aggregator | Monitor aggregator for IoT Hub total devices [available values: min, max or avg] | string | `min` | no | | iothub_total_devices_timeframe | Monitor timeframe for IoT Hub total devices [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 monitor is triggered | string | - | yes | | non_taggable_filter_tags | Tags used for filtering for components without tag support | string | `*` | no | @@ -179,27 +179,27 @@ Inputs | redis_percent_processor_time_silenced | Groups to mute for Redis processor monitor | map | `` | no | | redis_percent_processor_time_threshold_critical | Processor time percent (critical threshold) | string | `80` | no | | redis_percent_processor_time_threshold_warning | Processor time percent (warning threshold) | string | `60` | no | -| redis_percent_processor_time_time_aggregator | Monitor aggregator for Redis processor [available values: min, max or avg] | string | `avg` | no | +| redis_percent_processor_time_time_aggregator | Monitor aggregator for Redis processor [available values: min, max or avg] | string | `min` | no | | redis_percent_processor_time_timeframe | Monitor timeframe for Redis processor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | redis_server_load_rate_message | Custom message for Redis server load monitor | string | `` | no | | redis_server_load_rate_silenced | Groups to mute for Redis server load monitor | map | `` | no | | redis_server_load_rate_threshold_critical | Server CPU load rate (critical threshold) | string | `90` | no | | redis_server_load_rate_threshold_warning | Server CPU load rate (warning threshold) | string | `70` | no | -| redis_server_load_rate_time_aggregator | Monitor aggregator for Redis server load [available values: min, max or avg] | string | `avg` | no | +| redis_server_load_rate_time_aggregator | Monitor aggregator for Redis server load [available values: min, max or avg] | string | `min` | no | | redis_server_load_rate_timeframe | Monitor timeframe for Redis server load [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | redis_status_message | Custom message for Redis status monitor | string | `` | no | | redis_status_silenced | Groups to mute for Redis status monitor | map | `` | no | -| redis_status_time_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | string | `avg` | no | +| redis_status_time_aggregator | Monitor aggregator for Redis status [available values: min, max or avg] | string | `max` | no | | redis_status_timeframe | Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | servicebus_status_message | Custom message for Service Bus status monitor | string | `` | no | | servicebus_status_silenced | Groups to mute for Service Bus status monitor | map | `` | no | -| servicebus_status_time_aggregator | Monitor aggregator for Service Bus status [available values: min, max or avg] | string | `min` | no | +| servicebus_status_time_aggregator | Monitor aggregator for Service Bus status [available values: min, max or avg] | string | `max` | no | | servicebus_status_timeframe | Monitor timeframe for Service Bus status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | sqldatabase_cpu_message | Custom message for SQL CPU monitor | string | `` | no | | sqldatabase_cpu_silenced | Groups to mute for SQL CPU monitor | map | `` | no | | sqldatabase_cpu_threshold_critical | CPU usage in percent (critical threshold) | string | `90` | no | | sqldatabase_cpu_threshold_warning | CPU usage in percent (warning threshold) | string | `80` | no | -| sqldatabase_cpu_time_aggregator | Monitor aggregator for SQL CPU [available values: min, max or avg] | string | `avg` | no | +| sqldatabase_cpu_time_aggregator | Monitor aggregator for SQL CPU [available values: min, max or avg] | string | `min` | no | | sqldatabase_cpu_timeframe | Monitor timeframe for SQL CPU [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | sqldatabase_deadlock_message | Custom message for SQL Deadlock monitor | string | `` | no | | sqldatabase_deadlock_silenced | Groups to mute for SQL Deadlock monitor | map | `` | no | @@ -209,7 +209,7 @@ Inputs | sqldatabase_diskspace_silenced | Groups to mute for SQL disk space monitor | map | `` | no | | sqldatabase_diskspace_threshold_critical | Disk space used in percent (critical threshold) | string | `90` | no | | sqldatabase_diskspace_threshold_warning | Disk space used in percent (warning threshold) | string | `80` | no | -| sqldatabase_diskspace_time_aggregator | Monitor aggregator for SQL disk space [available values: min, max or avg] | string | `avg` | no | +| sqldatabase_diskspace_time_aggregator | Monitor aggregator for SQL disk space [available values: min, max or avg] | string | `max` | no | | sqldatabase_diskspace_timeframe | Monitor timeframe for SQL disk space [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | sqldatabase_dtu_message | Custom message for SQL DTU monitor | string | `` | no | | sqldatabase_dtu_silenced | Groups to mute for SQL DTU monitor | map | `` | no | @@ -221,19 +221,19 @@ Inputs | storage_authorization_error_requests_silenced | Groups to mute for Storage authorization errors monitor | map | `` | no | | storage_authorization_error_requests_threshold_critical | Maximum acceptable percent of authorization error requests for a storage | string | `90` | no | | storage_authorization_error_requests_threshold_warning | Warning regarding acceptable percent of authorization error requests for a storage | string | `50` | no | -| storage_authorization_error_requests_time_aggregator | Monitor aggregator for Storage authorization errors [available values: min, max or avg] | string | `avg` | no | +| storage_authorization_error_requests_time_aggregator | Monitor aggregator for Storage authorization errors [available values: min, max or avg] | string | `min` | no | | storage_authorization_error_requests_timeframe | Monitor timeframe for Storage authorization errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_availability_message | Custom message for Storage availability monitor | string | `` | no | | storage_availability_silenced | Groups to mute for Storage availability monitor | map | `` | no | | storage_availability_threshold_critical | Minimum acceptable percent of availability for a storage | string | `50` | no | | storage_availability_threshold_warning | Warning regarding acceptable percent of availability for a storage | string | `90` | no | -| storage_availability_time_aggregator | Monitor aggregator for Storage availability [available values: min, max or avg] | string | `avg` | no | +| storage_availability_time_aggregator | Monitor aggregator for Storage availability [available values: min, max or avg] | string | `max` | no | | storage_availability_timeframe | Monitor timeframe for Storage availability [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_client_other_error_requests_message | Custom message for Storage other errors monitor | string | `` | no | | storage_client_other_error_requests_silenced | Groups to mute for Storage other errors monitor | map | `` | no | | storage_client_other_error_requests_threshold_critical | Maximum acceptable percent of client other error requests for a storage | string | `90` | no | | storage_client_other_error_requests_threshold_warning | Warning regarding acceptable percent of client other error requests for a storage | string | `50` | no | -| storage_client_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `avg` | no | +| storage_client_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `min` | no | | storage_client_other_error_requests_timeframe | Monitor timeframe for Storage other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_latency_message | Custom message for Storage latency monitor | string | `` | no | | storage_latency_silenced | Groups to mute for Storage latency monitor | map | `` | no | @@ -245,37 +245,37 @@ Inputs | storage_network_error_requests_silenced | Groups to mute for Storage network errors monitor | map | `` | no | | storage_network_error_requests_threshold_critical | Maximum acceptable percent of network error requests for a storage | string | `90` | no | | storage_network_error_requests_threshold_warning | Warning regarding acceptable percent of network error requests for a storage | string | `50` | no | -| storage_network_error_requests_time_aggregator | Monitor aggregator for Storage network errors [available values: min, max or avg] | string | `avg` | no | +| storage_network_error_requests_time_aggregator | Monitor aggregator for Storage network errors [available values: min, max or avg] | string | `min` | no | | storage_network_error_requests_timeframe | Monitor timeframe for Storage network errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_server_other_error_requests_message | Custom message for Storage server other errors monitor | string | `` | no | | storage_server_other_error_requests_silenced | Groups to mute for Storage server other errors monitor | map | `` | no | | storage_server_other_error_requests_threshold_critical | Maximum acceptable percent of server other error requests for a storage | string | `90` | no | | storage_server_other_error_requests_threshold_warning | Warning regarding acceptable percent of server other error requests for a storage | string | `50` | no | -| storage_server_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `avg` | no | +| storage_server_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `min` | no | | storage_server_other_error_requests_timeframe | Monitor timeframe for Storage server other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_successful_requests_message | Custom message for Storage sucessful requests monitor | string | `` | no | | storage_successful_requests_silenced | Groups to mute for Storage sucessful requests monitor | map | `` | no | | storage_successful_requests_threshold_critical | Minimum acceptable percent of successful requests for a storage | string | `10` | no | | storage_successful_requests_threshold_warning | Warning regarding acceptable percent of successful requests for a storage | string | `30` | no | -| storage_successful_requests_time_aggregator | Monitor aggregator for Storage sucessful requests [available values: min, max or avg] | string | `avg` | no | +| storage_successful_requests_time_aggregator | Monitor aggregator for Storage sucessful requests [available values: min, max or avg] | string | `max` | no | | storage_successful_requests_timeframe | Monitor timeframe for Storage sucessful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_throttling_error_requests_message | Custom message for Storage throttling error monitor | string | `` | no | | storage_throttling_error_requests_silenced | Groups to mute for Storage throttling error monitor | map | `` | no | | storage_throttling_error_requests_threshold_critical | Maximum acceptable percent of throttling error requests for a storage | string | `90` | no | | storage_throttling_error_requests_threshold_warning | Warning regarding acceptable percent of throttling error requests for a storage | string | `50` | no | -| storage_throttling_error_requests_time_aggregator | Monitor aggregator for Storage throttling errors [available values: min, max or avg] | string | `avg` | no | +| storage_throttling_error_requests_time_aggregator | Monitor aggregator for Storage throttling errors [available values: min, max or avg] | string | `min` | no | | storage_throttling_error_requests_timeframe | Monitor timeframe for Storage throttling errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | storage_timeout_error_requests_message | Custom message for Storage timeout monitor | string | `` | no | | storage_timeout_error_requests_silenced | Groups to mute for Storage timeout monitor | map | `` | no | | storage_timeout_error_requests_threshold_critical | Maximum acceptable percent of timeout error requests for a storage | string | `90` | no | | storage_timeout_error_requests_threshold_warning | Warning regarding acceptable percent of timeout error requests for a storage | string | `50` | no | -| storage_timeout_error_requests_time_aggregator | Monitor aggregator for Storage timeout [available values: min, max or avg] | string | `avg` | no | +| storage_timeout_error_requests_time_aggregator | Monitor aggregator for Storage timeout [available values: min, max or avg] | string | `min` | no | | storage_timeout_error_requests_timeframe | Monitor timeframe for Storage timeout [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | streamanalytics_conversion_errors_message | Custom message for Stream Analytics conversion errors monitor | string | `` | no | | streamanalytics_conversion_errors_silenced | Groups to mute for Stream Analytics conversion errors monitor | map | `` | no | | streamanalytics_conversion_errors_threshold_critical | Conversion errors limit (critical threshold) | string | `10` | no | | streamanalytics_conversion_errors_threshold_warning | Conversion errors limit (warning threshold) | string | `0` | no | -| streamanalytics_conversion_errors_time_aggregator | Monitor aggregator for Stream Analytics conversion errors [available values: min, max or avg] | string | `avg` | no | +| streamanalytics_conversion_errors_time_aggregator | Monitor aggregator for Stream Analytics conversion errors [available values: min, max or avg] | string | `min` | no | | streamanalytics_conversion_errors_timeframe | Monitor timeframe for Stream Analytics conversion errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | streamanalytics_failed_function_requests_message | Custom message for Stream Analytics failed requests monitor | string | `` | no | | streamanalytics_failed_function_requests_silenced | Groups to mute for Stream Analytics failed requests monitor | map | `` | no | @@ -286,17 +286,17 @@ Inputs | streamanalytics_runtime_errors_silenced | Groups to mute for Stream Analytics runtime errors monitor | map | `` | no | | streamanalytics_runtime_errors_threshold_critical | Runtime errors limit (critical threshold) | string | `10` | no | | streamanalytics_runtime_errors_threshold_warning | Runtime errors limit (warning threshold) | string | `0` | no | -| streamanalytics_runtime_errors_time_aggregator | Monitor aggregator for Stream Analytics runtime errors [available values: min, max or avg] | string | `avg` | no | +| streamanalytics_runtime_errors_time_aggregator | Monitor aggregator for Stream Analytics runtime errors [available values: min, max or avg] | string | `min` | no | | streamanalytics_runtime_errors_timeframe | Monitor timeframe for Stream Analytics runtime errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | streamanalytics_status_message | Custom message for Stream Analytics status monitor | string | `` | no | | streamanalytics_status_silenced | Groups to mute for Stream Analytics status monitor | map | `` | no | -| streamanalytics_status_time_aggregator | Monitor aggregator for Stream Analytics status [available values: min, max or avg] | string | `avg` | no | +| streamanalytics_status_time_aggregator | Monitor aggregator for Stream Analytics status [available values: min, max or avg] | string | `max` | no | | streamanalytics_status_timeframe | Monitor timeframe for Stream Analytics status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | streamanalytics_su_utilization_message | Custom message for Stream Analytics utilization monitor | string | `` | no | | streamanalytics_su_utilization_silenced | Groups to mute for Stream Analytics utilization monitor | map | `` | no | | streamanalytics_su_utilization_threshold_critical | Streaming Unit utilization rate limit (critical threshold) | string | `80` | no | | streamanalytics_su_utilization_threshold_warning | Streaming Unit utilization rate limit (warning threshold) | string | `60` | no | -| streamanalytics_su_utilization_time_aggregator | Monitor aggregator for Stream Analytics utilization [available values: min, max or avg] | string | `avg` | no | +| streamanalytics_su_utilization_time_aggregator | Monitor aggregator for Stream Analytics utilization [available values: min, max or avg] | string | `min` | no | | streamanalytics_su_utilization_timeframe | Monitor timeframe for Stream Analytics utilization [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | Related documentation @@ -305,3 +305,4 @@ Related documentation DataDog documentation: [https://docs.datadoghq.com/integrations/azure/](https://docs.datadoghq.com/integrations/azure/) Azure metrics documentation: [https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-metrics) + \ No newline at end of file diff --git a/cloud/azure/apimanagement/README.md b/cloud/azure/apimanagement/README.md index fe75301..d47673f 100644 Binary files a/cloud/azure/apimanagement/README.md and b/cloud/azure/apimanagement/README.md differ diff --git a/cloud/azure/apimanagement/inputs.tf b/cloud/azure/apimanagement/inputs.tf index 42ca41c..2a19b46 100644 --- a/cloud/azure/apimanagement/inputs.tf +++ b/cloud/azure/apimanagement/inputs.tf @@ -40,7 +40,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for API Management status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "status_timeframe" { diff --git a/cloud/azure/app-services/README.md b/cloud/azure/app-services/README.md index 22acc22..cbfd940 100644 Binary files a/cloud/azure/app-services/README.md and b/cloud/azure/app-services/README.md differ diff --git a/cloud/azure/app-services/inputs.tf b/cloud/azure/app-services/inputs.tf index 29239a6..d038d4b 100644 --- a/cloud/azure/app-services/inputs.tf +++ b/cloud/azure/app-services/inputs.tf @@ -72,7 +72,7 @@ variable "memory_usage_message" { variable "memory_usage_time_aggregator" { description = "Monitor aggregator for App Services memory usage [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "memory_usage_timeframe" { diff --git a/cloud/azure/eventhub/README.md b/cloud/azure/eventhub/README.md index 2a0bb17..53dc2dd 100644 Binary files a/cloud/azure/eventhub/README.md and b/cloud/azure/eventhub/README.md differ diff --git a/cloud/azure/eventhub/inputs.tf b/cloud/azure/eventhub/inputs.tf index ac6b733..5229093 100644 --- a/cloud/azure/eventhub/inputs.tf +++ b/cloud/azure/eventhub/inputs.tf @@ -40,7 +40,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for Event Hub status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "status_timeframe" { diff --git a/cloud/azure/inputs.tf b/cloud/azure/inputs.tf index 751abd9..35acc9d 100644 --- a/cloud/azure/inputs.tf +++ b/cloud/azure/inputs.tf @@ -44,7 +44,7 @@ variable "apimanagement_status_message" { variable "apimanagement_status_time_aggregator" { description = "Monitor aggregator for API Management status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "apimanagement_status_timeframe" { @@ -215,7 +215,7 @@ variable "appservices_memory_usage_message" { variable "appservices_memory_usage_time_aggregator" { description = "Monitor aggregator for App Services memory usage [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "appservices_memory_usage_timeframe" { @@ -334,7 +334,7 @@ variable "eventhub_status_message" { variable "eventhub_status_time_aggregator" { description = "Monitor aggregator for Event Hub status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "eventhub_status_timeframe" { @@ -415,7 +415,7 @@ variable "iothub_status_message" { variable "iothub_status_time_aggregator" { description = "Monitor aggregator for IoT Hub status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "iothub_status_timeframe" { @@ -439,7 +439,7 @@ variable "iothub_total_devices_message" { variable "iothub_total_devices_time_aggregator" { description = "Monitor aggregator for IoT Hub total devices [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "iothub_total_devices_timeframe" { @@ -790,7 +790,7 @@ variable "redis_status_message" { variable "redis_status_time_aggregator" { description = "Monitor aggregator for Redis status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "redis_status_timeframe" { @@ -848,7 +848,7 @@ variable "redis_percent_processor_time_message" { variable "redis_percent_processor_time_time_aggregator" { description = "Monitor aggregator for Redis processor [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "redis_percent_processor_time_timeframe" { @@ -882,7 +882,7 @@ variable "redis_server_load_rate_message" { variable "redis_server_load_rate_time_aggregator" { description = "Monitor aggregator for Redis server load [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "redis_server_load_rate_timeframe" { @@ -917,7 +917,7 @@ variable "servicebus_status_message" { variable "servicebus_status_time_aggregator" { description = "Monitor aggregator for Service Bus status [available values: min, max or avg]" type = "string" - default = "min" + default = "max" } variable "servicebus_status_timeframe" { @@ -941,7 +941,7 @@ variable "sqldatabase_cpu_message" { variable "sqldatabase_cpu_time_aggregator" { description = "Monitor aggregator for SQL CPU [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "sqldatabase_cpu_timeframe" { @@ -975,7 +975,7 @@ variable "sqldatabase_diskspace_message" { variable "sqldatabase_diskspace_time_aggregator" { description = "Monitor aggregator for SQL disk space [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "sqldatabase_diskspace_timeframe" { @@ -1067,7 +1067,7 @@ variable "storage_availability_message" { variable "storage_availability_time_aggregator" { description = "Monitor aggregator for Storage availability [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "storage_availability_timeframe" { @@ -1101,7 +1101,7 @@ variable "storage_successful_requests_message" { variable "storage_successful_requests_time_aggregator" { description = "Monitor aggregator for Storage sucessful requests [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "storage_successful_requests_timeframe" { @@ -1169,7 +1169,7 @@ variable "storage_timeout_error_requests_message" { variable "storage_timeout_error_requests_time_aggregator" { description = "Monitor aggregator for Storage timeout [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_timeout_error_requests_timeframe" { @@ -1203,7 +1203,7 @@ variable "storage_network_error_requests_message" { variable "storage_network_error_requests_time_aggregator" { description = "Monitor aggregator for Storage network errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_network_error_requests_timeframe" { @@ -1237,7 +1237,7 @@ variable "storage_throttling_error_requests_message" { variable "storage_throttling_error_requests_time_aggregator" { description = "Monitor aggregator for Storage throttling errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_throttling_error_requests_timeframe" { @@ -1271,7 +1271,7 @@ variable "storage_server_other_error_requests_message" { variable "storage_server_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_server_other_error_requests_timeframe" { @@ -1305,7 +1305,7 @@ variable "storage_client_other_error_requests_message" { variable "storage_client_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_client_other_error_requests_timeframe" { @@ -1339,7 +1339,7 @@ variable "storage_authorization_error_requests_message" { variable "storage_authorization_error_requests_time_aggregator" { description = "Monitor aggregator for Storage authorization errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "storage_authorization_error_requests_timeframe" { @@ -1374,7 +1374,7 @@ variable "streamanalytics_status_message" { variable "streamanalytics_status_time_aggregator" { description = "Monitor aggregator for Stream Analytics status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "streamanalytics_status_timeframe" { @@ -1398,7 +1398,7 @@ variable "streamanalytics_su_utilization_message" { variable "streamanalytics_su_utilization_time_aggregator" { description = "Monitor aggregator for Stream Analytics utilization [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "streamanalytics_su_utilization_timeframe" { @@ -1460,7 +1460,7 @@ variable "streamanalytics_conversion_errors_message" { variable "streamanalytics_conversion_errors_time_aggregator" { description = "Monitor aggregator for Stream Analytics conversion errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "streamanalytics_conversion_errors_timeframe" { @@ -1494,7 +1494,7 @@ variable "streamanalytics_runtime_errors_message" { variable "streamanalytics_runtime_errors_time_aggregator" { description = "Monitor aggregator for Stream Analytics runtime errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "streamanalytics_runtime_errors_timeframe" { diff --git a/cloud/azure/iothubs/README.md b/cloud/azure/iothubs/README.md index 6190555..ca9982f 100644 --- a/cloud/azure/iothubs/README.md +++ b/cloud/azure/iothubs/README.md @@ -33,85 +33,86 @@ Creates a DataDog monitors with the following checks : * D2C telemetry egress fallback count check * D2C telemetry ingress no sent count check -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| delay | Delay in seconds for the metric evaluation | string | `900` | no | -| dropped_d2c_telemetry_egress_message | Custom message for IoT Hub dropped d2c telemetry monitor | string | `` | no | -| dropped_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Dropped limit (critical threshold) | string | `90` | no | -| dropped_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Dropped limit (warning threshold) | string | `50` | no | -| dropped_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub dropped d2c telemetry monitor | map | `` | no | -| dropped_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub dropped d2c telemetry [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 | -| failed_c2d_methods_rate_message | Custom message for IoT Hub failed c2d method monitor | string | `` | no | -| failed_c2d_methods_rate_silenced | Groups to mute for IoT Hub failed c2d methods monitor | map | `` | no | -| failed_c2d_methods_rate_threshold_critical | C2D Methods Failed rate limit (critical threshold) | string | `90` | no | -| failed_c2d_methods_rate_threshold_warning | C2D Methods Failed rate limit (warning threshold) | string | `50` | no | -| failed_c2d_methods_rate_timeframe | Monitor timeframe for IoT Hub failed c2d method [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_c2d_twin_read_rate_message | Custom message for IoT Hub failed c2d twin read monitor | string | `` | no | -| failed_c2d_twin_read_rate_silenced | Groups to mute for IoT Hub failed c2d twin read monitor | map | `` | no | -| failed_c2d_twin_read_rate_threshold_critical | C2D Twin Read Failed rate limit (critical threshold) | string | `90` | no | -| failed_c2d_twin_read_rate_threshold_warning | C2D Twin Read Failed rate limit (warning threshold) | string | `50` | no | -| failed_c2d_twin_read_rate_timeframe | Monitor timeframe for IoT Hub failed c2d twin read [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_c2d_twin_update_rate_message | Custom message for IoT Hub failed c2d twin update monitor | string | `` | no | -| failed_c2d_twin_update_rate_silenced | Groups to mute for IoT Hub failed c2d twin update monitor | map | `` | no | -| failed_c2d_twin_update_rate_threshold_critical | C2D Twin Update Failed rate limit (critical threshold) | string | `90` | no | -| failed_c2d_twin_update_rate_threshold_warning | C2D Twin Update Failed rate limit (warning threshold) | string | `50` | no | -| failed_c2d_twin_update_rate_timeframe | Monitor timeframe for IoT Hub failed c2d twin update [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_d2c_twin_read_rate_message | Custom message for IoT Hub failed d2c twin read monitor | string | `` | no | -| failed_d2c_twin_read_rate_silenced | Groups to mute for IoT Hub failed d2c twin read monitor | map | `` | no | -| failed_d2c_twin_read_rate_threshold_critical | D2C Twin Read Failed rate limit (critical threshold) | string | `90` | no | -| failed_d2c_twin_read_rate_threshold_warning | D2C Twin Read Failed rate limit (warning threshold) | string | `50` | no | -| failed_d2c_twin_read_rate_timeframe | Monitor timeframe for IoT Hub failed d2c twin read [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_d2c_twin_update_rate_message | Custom message for IoT Hub failed d2c twin update monitor | string | `` | no | -| failed_d2c_twin_update_rate_silenced | Groups to mute for IoT Hub failed d2c twin update monitor | map | `` | no | -| failed_d2c_twin_update_rate_threshold_critical | D2C Twin Update Failed rate limit (critical threshold) | string | `90` | no | -| failed_d2c_twin_update_rate_threshold_warning | D2C Twin Update Failed rate limit (warning threshold) | string | `50` | no | -| failed_d2c_twin_update_rate_timeframe | Monitor timeframe for IoT Hub failed d2c twin update [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_jobs_rate_message | Custom message for IoT Hub failed jobs monitor | string | `` | no | -| failed_jobs_rate_silenced | Groups to mute for IoT Hub failed jobs monitor | map | `` | no | -| failed_jobs_rate_threshold_critical | Jobs Failed rate limit (critical threshold) | string | `90` | no | -| failed_jobs_rate_threshold_warning | Jobs Failed rate limit (warning threshold) | string | `50` | no | -| failed_jobs_rate_timeframe | Monitor timeframe for IoT Hub failed jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_listjobs_rate_message | Custom message for IoT Hub failed list jobs monitor | string | `` | no | -| failed_listjobs_rate_silenced | Groups to mute for IoT Hub failed list jobs monitor | map | `` | no | -| failed_listjobs_rate_threshold_critical | ListJobs Failed rate limit (critical threshold) | string | `90` | no | -| failed_listjobs_rate_threshold_warning | ListJobs Failed rate limit (warning threshold) | string | `50` | no | -| failed_listjobs_rate_timeframe | Monitor timeframe for IoT Hub failed list jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| failed_queryjobs_rate_message | Custom message for IoT Hub failed query jobs monitor | string | `` | no | -| failed_queryjobs_rate_silenced | Groups to mute for IoT Hub failed query jobs monitor | map | `` | no | -| failed_queryjobs_rate_threshold_critical | QueryJobs Failed rate limit (critical threshold) | string | `90` | no | -| failed_queryjobs_rate_threshold_warning | QueryJobs Failed rate limit (warning threshold) | string | `50` | no | -| failed_queryjobs_rate_timeframe | Monitor timeframe for IoT Hub failed query jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| filter_tags | Tags used for filtering | string | `*` | no | -| invalid_d2c_telemetry_egress_message | Custom message for IoT Hub invalid d2c telemetry monitor | string | `` | no | -| invalid_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Invalid limit (critical threshold) | string | `90` | no | -| invalid_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Invalid limit (warning threshold) | string | `50` | no | -| invalid_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub invalid d2c telemetry monitor | map | `` | no | -| invalid_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub invalid d2c telemetry [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 an alert is triggered | string | - | yes | -| orphaned_d2c_telemetry_egress_message | Custom message for IoT Hub orphaned d2c telemetry monitor | string | `` | no | -| orphaned_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Orphaned limit (critical threshold) | string | `90` | no | -| orphaned_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Orphaned limit (warning threshold) | string | `50` | no | -| orphaned_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub orphaned d2c telemetry monitor | map | `` | no | -| orphaned_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub orphaned d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| status_message | Custom message for IoT Hub status monitor | string | `` | no | -| status_silenced | Groups to mute for IoT Hub status monitor | map | `` | no | -| status_time_aggregator | Monitor aggregator for IoT Hub status [available values: min, max, sum or avg] | string | `avg` | no | -| status_timeframe | Monitor timeframe for IoT Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| too_many_d2c_telemetry_ingress_nosent_message | Custom message for IoT Hub unsent d2c telemetry monitor | string | `` | no | -| too_many_d2c_telemetry_ingress_nosent_silenced | Groups to mute for IoT Hub unsent d2c telemetry monitor | map | `` | no | -| too_many_d2c_telemetry_ingress_nosent_timeframe | Monitor timeframe for IoT Hub unsent d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| total_devices_message | Custom message for IoT Hub total devices monitor | string | `` | no | -| total_devices_silenced | Groups to mute for IoT Hub total devices monitor | map | `` | no | -| total_devices_time_aggregator | Monitor aggregator for IoT Hub total devices [available values: min, max, sum or avg] | string | `avg` | no | -| total_devices_timeframe | Monitor timeframe for IoT Hub total devices [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | - +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| delay | Delay in seconds for the metric evaluation | string | `900` | no | +| dropped_d2c_telemetry_egress_message | Custom message for IoT Hub dropped d2c telemetry monitor | string | `` | no | +| dropped_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Dropped limit (critical threshold) | string | `90` | no | +| dropped_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Dropped limit (warning threshold) | string | `50` | no | +| dropped_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub dropped d2c telemetry monitor | map | `` | no | +| dropped_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub dropped d2c telemetry [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 | +| failed_c2d_methods_rate_message | Custom message for IoT Hub failed c2d method monitor | string | `` | no | +| failed_c2d_methods_rate_silenced | Groups to mute for IoT Hub failed c2d methods monitor | map | `` | no | +| failed_c2d_methods_rate_threshold_critical | C2D Methods Failed rate limit (critical threshold) | string | `90` | no | +| failed_c2d_methods_rate_threshold_warning | C2D Methods Failed rate limit (warning threshold) | string | `50` | no | +| failed_c2d_methods_rate_timeframe | Monitor timeframe for IoT Hub failed c2d method [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_c2d_twin_read_rate_message | Custom message for IoT Hub failed c2d twin read monitor | string | `` | no | +| failed_c2d_twin_read_rate_silenced | Groups to mute for IoT Hub failed c2d twin read monitor | map | `` | no | +| failed_c2d_twin_read_rate_threshold_critical | C2D Twin Read Failed rate limit (critical threshold) | string | `90` | no | +| failed_c2d_twin_read_rate_threshold_warning | C2D Twin Read Failed rate limit (warning threshold) | string | `50` | no | +| failed_c2d_twin_read_rate_timeframe | Monitor timeframe for IoT Hub failed c2d twin read [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_c2d_twin_update_rate_message | Custom message for IoT Hub failed c2d twin update monitor | string | `` | no | +| failed_c2d_twin_update_rate_silenced | Groups to mute for IoT Hub failed c2d twin update monitor | map | `` | no | +| failed_c2d_twin_update_rate_threshold_critical | C2D Twin Update Failed rate limit (critical threshold) | string | `90` | no | +| failed_c2d_twin_update_rate_threshold_warning | C2D Twin Update Failed rate limit (warning threshold) | string | `50` | no | +| failed_c2d_twin_update_rate_timeframe | Monitor timeframe for IoT Hub failed c2d twin update [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_d2c_twin_read_rate_message | Custom message for IoT Hub failed d2c twin read monitor | string | `` | no | +| failed_d2c_twin_read_rate_silenced | Groups to mute for IoT Hub failed d2c twin read monitor | map | `` | no | +| failed_d2c_twin_read_rate_threshold_critical | D2C Twin Read Failed rate limit (critical threshold) | string | `90` | no | +| failed_d2c_twin_read_rate_threshold_warning | D2C Twin Read Failed rate limit (warning threshold) | string | `50` | no | +| failed_d2c_twin_read_rate_timeframe | Monitor timeframe for IoT Hub failed d2c twin read [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_d2c_twin_update_rate_message | Custom message for IoT Hub failed d2c twin update monitor | string | `` | no | +| failed_d2c_twin_update_rate_silenced | Groups to mute for IoT Hub failed d2c twin update monitor | map | `` | no | +| failed_d2c_twin_update_rate_threshold_critical | D2C Twin Update Failed rate limit (critical threshold) | string | `90` | no | +| failed_d2c_twin_update_rate_threshold_warning | D2C Twin Update Failed rate limit (warning threshold) | string | `50` | no | +| failed_d2c_twin_update_rate_timeframe | Monitor timeframe for IoT Hub failed d2c twin update [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_jobs_rate_message | Custom message for IoT Hub failed jobs monitor | string | `` | no | +| failed_jobs_rate_silenced | Groups to mute for IoT Hub failed jobs monitor | map | `` | no | +| failed_jobs_rate_threshold_critical | Jobs Failed rate limit (critical threshold) | string | `90` | no | +| failed_jobs_rate_threshold_warning | Jobs Failed rate limit (warning threshold) | string | `50` | no | +| failed_jobs_rate_timeframe | Monitor timeframe for IoT Hub failed jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_listjobs_rate_message | Custom message for IoT Hub failed list jobs monitor | string | `` | no | +| failed_listjobs_rate_silenced | Groups to mute for IoT Hub failed list jobs monitor | map | `` | no | +| failed_listjobs_rate_threshold_critical | ListJobs Failed rate limit (critical threshold) | string | `90` | no | +| failed_listjobs_rate_threshold_warning | ListJobs Failed rate limit (warning threshold) | string | `50` | no | +| failed_listjobs_rate_timeframe | Monitor timeframe for IoT Hub failed list jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| failed_queryjobs_rate_message | Custom message for IoT Hub failed query jobs monitor | string | `` | no | +| failed_queryjobs_rate_silenced | Groups to mute for IoT Hub failed query jobs monitor | map | `` | no | +| failed_queryjobs_rate_threshold_critical | QueryJobs Failed rate limit (critical threshold) | string | `90` | no | +| failed_queryjobs_rate_threshold_warning | QueryJobs Failed rate limit (warning threshold) | string | `50` | no | +| failed_queryjobs_rate_timeframe | Monitor timeframe for IoT Hub failed query jobs [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| filter_tags | Tags used for filtering | string | `*` | no | +| invalid_d2c_telemetry_egress_message | Custom message for IoT Hub invalid d2c telemetry monitor | string | `` | no | +| invalid_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Invalid limit (critical threshold) | string | `90` | no | +| invalid_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Invalid limit (warning threshold) | string | `50` | no | +| invalid_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub invalid d2c telemetry monitor | map | `` | no | +| invalid_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub invalid d2c telemetry [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 an alert is triggered | string | - | yes | +| orphaned_d2c_telemetry_egress_message | Custom message for IoT Hub orphaned d2c telemetry monitor | string | `` | no | +| orphaned_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Orphaned limit (critical threshold) | string | `90` | no | +| orphaned_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Orphaned limit (warning threshold) | string | `50` | no | +| orphaned_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub orphaned d2c telemetry monitor | map | `` | no | +| orphaned_d2c_telemetry_egress_timeframe | Monitor timeframe for IoT Hub orphaned d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| status_message | Custom message for IoT Hub status monitor | string | `` | no | +| status_silenced | Groups to mute for IoT Hub status monitor | map | `` | no | +| status_time_aggregator | Monitor aggregator for IoT Hub status [available values: min, max, sum or avg] | string | `max` | no | +| status_timeframe | Monitor timeframe for IoT Hub status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| too_many_d2c_telemetry_ingress_nosent_message | Custom message for IoT Hub unsent d2c telemetry monitor | string | `` | no | +| too_many_d2c_telemetry_ingress_nosent_silenced | Groups to mute for IoT Hub unsent d2c telemetry monitor | map | `` | no | +| too_many_d2c_telemetry_ingress_nosent_timeframe | Monitor timeframe for IoT Hub unsent d2c telemetry [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| total_devices_message | Custom message for IoT Hub total devices monitor | string | `` | no | +| total_devices_silenced | Groups to mute for IoT Hub total devices monitor | map | `` | no | +| total_devices_time_aggregator | Monitor aggregator for IoT Hub total devices [available values: min, max, sum or avg] | string | `min` | no | +| total_devices_timeframe | Monitor timeframe for IoT Hub total devices [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | + Related documentation --------------------- DataDog documentation: [https://docs.datadoghq.com/integrations/azure_iot_hub](https://docs.datadoghq.com/integrations/azure_iot_hub) Azure IOT Hubs metrics documentation: [https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-monitor-resource-health) + \ No newline at end of file diff --git a/cloud/azure/iothubs/inputs.tf b/cloud/azure/iothubs/inputs.tf index 58dbb63..d50ec27 100644 --- a/cloud/azure/iothubs/inputs.tf +++ b/cloud/azure/iothubs/inputs.tf @@ -35,7 +35,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for IoT Hub status [available values: min, max, sum or avg]" type = "string" - default = "avg" + default = "max" } variable "status_timeframe" { @@ -59,7 +59,7 @@ variable "total_devices_message" { variable "total_devices_time_aggregator" { description = "Monitor aggregator for IoT Hub total devices [available values: min, max, sum or avg]" type = "string" - default = "avg" + default = "min" } variable "total_devices_timeframe" { diff --git a/cloud/azure/redis/README.md b/cloud/azure/redis/README.md index a360b29..3598fee 100644 Binary files a/cloud/azure/redis/README.md and b/cloud/azure/redis/README.md differ diff --git a/cloud/azure/redis/inputs.tf b/cloud/azure/redis/inputs.tf index 4b14102..e006091 100644 --- a/cloud/azure/redis/inputs.tf +++ b/cloud/azure/redis/inputs.tf @@ -40,7 +40,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for Redis status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "status_timeframe" { @@ -98,7 +98,7 @@ variable "percent_processor_time_message" { variable "percent_processor_time_time_aggregator" { description = "Monitor aggregator for Redis processor [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "percent_processor_time_timeframe" { @@ -132,7 +132,7 @@ variable "server_load_rate_message" { variable "server_load_rate_time_aggregator" { description = "Monitor aggregator for Redis server load [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "server_load_rate_timeframe" { diff --git a/cloud/azure/servicebus/README.md b/cloud/azure/servicebus/README.md index 672193d..0b0507a 100644 Binary files a/cloud/azure/servicebus/README.md and b/cloud/azure/servicebus/README.md differ diff --git a/cloud/azure/servicebus/inputs.tf b/cloud/azure/servicebus/inputs.tf index 55c2a12..0987acd 100644 --- a/cloud/azure/servicebus/inputs.tf +++ b/cloud/azure/servicebus/inputs.tf @@ -40,7 +40,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for Service Bus status [available values: min, max or avg]" type = "string" - default = "min" + default = "max" } variable "status_timeframe" { diff --git a/cloud/azure/sql-database/README.md b/cloud/azure/sql-database/README.md index e46b08d..a1b3a88 100644 Binary files a/cloud/azure/sql-database/README.md and b/cloud/azure/sql-database/README.md differ diff --git a/cloud/azure/sql-database/inputs.tf b/cloud/azure/sql-database/inputs.tf index 4ce6680..38a583a 100644 --- a/cloud/azure/sql-database/inputs.tf +++ b/cloud/azure/sql-database/inputs.tf @@ -40,7 +40,7 @@ variable "cpu_message" { variable "cpu_time_aggregator" { description = "Monitor aggregator for SQL CPU [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "cpu_timeframe" { @@ -74,7 +74,7 @@ variable "diskspace_message" { variable "diskspace_time_aggregator" { description = "Monitor aggregator for SQL disk space [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "diskspace_timeframe" { diff --git a/cloud/azure/storage/README.md b/cloud/azure/storage/README.md index 72cf5ae..1565478 100644 --- a/cloud/azure/storage/README.md +++ b/cloud/azure/storage/README.md @@ -32,64 +32,64 @@ Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| -| authorization_error_requests_time_aggregator | Monitor aggregator for Storage authorization errors [available values: min, max, sum or avg] | string | `avg` | no | | authorization_error_requests_message | Custom message for Storage authorization errors monitor | string | `` | no | | authorization_error_requests_silenced | Groups to mute for Storage authorization errors monitor | map | `` | no | | authorization_error_requests_threshold_critical | Maximum acceptable percent of authorization error requests for a storage | string | `90` | no | | authorization_error_requests_threshold_warning | Warning regarding acceptable percent of authorization error requests for a storage | string | `50` | no | +| authorization_error_requests_time_aggregator | Monitor aggregator for Storage authorization errors [available values: min, max or avg] | string | `min` | no | | authorization_error_requests_timeframe | Monitor timeframe for Storage authorization errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| availability_time_aggregator | Monitor aggregator for Storage availability [available values: min, max or avg] | string | `avg` | no | | availability_message | Custom message for Storage availability monitor | string | `` | no | | availability_silenced | Groups to mute for Storage availability monitor | map | `` | no | | availability_threshold_critical | Minimum acceptable percent of availability for a storage | string | `50` | no | | availability_threshold_warning | Warning regarding acceptable percent of availability for a storage | string | `90` | no | +| availability_time_aggregator | Monitor aggregator for Storage availability [available values: min, max or avg] | string | `max` | no | | availability_timeframe | Monitor timeframe for Storage availability [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| client_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `avg` | no | | client_other_error_requests_message | Custom message for Storage other errors monitor | string | `` | no | | client_other_error_requests_silenced | Groups to mute for Storage other errors monitor | map | `` | no | | client_other_error_requests_threshold_critical | Maximum acceptable percent of client other error requests for a storage | string | `90` | no | | client_other_error_requests_threshold_warning | Warning regarding acceptable percent of client other error requests for a storage | string | `50` | no | +| client_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `min` | no | | client_other_error_requests_timeframe | Monitor timeframe for Storage other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | delay | Delay in seconds for the metric evaluation | string | `900` | no | | environment | Architecture environment | string | - | yes | | 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 | -| latency_time_aggregator | Monitor aggregator for Storage latency [available values: min, max or avg] | string | `min` | no | | latency_message | Custom message for Storage latency monitor | string | `` | no | | latency_silenced | Groups to mute for Storage latency monitor | map | `` | no | | latency_threshold_critical | Maximum acceptable end to end latency (ms) for a storage | string | `2000` | no | | latency_threshold_warning | Warning regarding acceptable end to end latency (ms) for a storage | string | `1000` | no | +| latency_time_aggregator | Monitor aggregator for Storage latency [available values: min, max or avg] | string | `min` | no | | latency_timeframe | Monitor timeframe for Storage latency [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 | -| network_error_requests_time_aggregator | Monitor aggregator for Storage network errors [available values: min, max or avg] | string | `avg` | no | | network_error_requests_message | Custom message for Storage network errors monitor | string | `` | no | | network_error_requests_silenced | Groups to mute for Storage network errors monitor | map | `` | no | | network_error_requests_threshold_critical | Maximum acceptable percent of network error requests for a storage | string | `90` | no | | network_error_requests_threshold_warning | Warning regarding acceptable percent of network error requests for a storage | string | `50` | no | +| network_error_requests_time_aggregator | Monitor aggregator for Storage network errors [available values: min, max or avg] | string | `min` | no | | network_error_requests_timeframe | Monitor timeframe for Storage network errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| server_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `avg` | no | | server_other_error_requests_message | Custom message for Storage server other errors monitor | string | `` | no | | server_other_error_requests_silenced | Groups to mute for Storage server other errors monitor | map | `` | no | | server_other_error_requests_threshold_critical | Maximum acceptable percent of server other error requests for a storage | string | `90` | no | | server_other_error_requests_threshold_warning | Warning regarding acceptable percent of server other error requests for a storage | string | `50` | no | +| server_other_error_requests_time_aggregator | Monitor aggregator for Storage other errors [available values: min, max or avg] | string | `min` | no | | server_other_error_requests_timeframe | Monitor timeframe for Storage server other errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| successful_requests_time_aggregator | Monitor aggregator for Storage sucessful requests [available values: min, max or avg] | string | `avg` | no | | successful_requests_message | Custom message for Storage sucessful requests monitor | string | `` | no | | successful_requests_silenced | Groups to mute for Storage sucessful requests monitor | map | `` | no | | successful_requests_threshold_critical | Minimum acceptable percent of successful requests for a storage | string | `10` | no | | successful_requests_threshold_warning | Warning regarding acceptable percent of successful requests for a storage | string | `30` | no | +| successful_requests_time_aggregator | Monitor aggregator for Storage sucessful requests [available values: min, max or avg] | string | `max` | no | | successful_requests_timeframe | Monitor timeframe for Storage sucessful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| throttling_error_requests_time_aggregator | Monitor aggregator for Storage throttling errors [available values: min, max or avg] | string | `avg` | no | | throttling_error_requests_message | Custom message for Storage throttling error monitor | string | `` | no | | throttling_error_requests_silenced | Groups to mute for Storage throttling error monitor | map | `` | no | | throttling_error_requests_threshold_critical | Maximum acceptable percent of throttling error requests for a storage | string | `90` | no | | throttling_error_requests_threshold_warning | Warning regarding acceptable percent of throttling error requests for a storage | string | `50` | no | +| throttling_error_requests_time_aggregator | Monitor aggregator for Storage throttling errors [available values: min, max or avg] | string | `min` | no | | throttling_error_requests_timeframe | Monitor timeframe for Storage throttling errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| timeout_error_requests_time_aggregator | Monitor aggregator for Storage timeout [available values: min, max or avg] | string | `avg` | no | | timeout_error_requests_message | Custom message for Storage timeout monitor | string | `` | no | | timeout_error_requests_silenced | Groups to mute for Storage timeout monitor | map | `` | no | | timeout_error_requests_threshold_critical | Maximum acceptable percent of timeout error requests for a storage | string | `90` | no | | timeout_error_requests_threshold_warning | Warning regarding acceptable percent of timeout error requests for a storage | string | `50` | no | +| timeout_error_requests_time_aggregator | Monitor aggregator for Storage timeout [available values: min, max or avg] | string | `min` | no | | timeout_error_requests_timeframe | Monitor timeframe for Storage timeout [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | Related documentation @@ -102,3 +102,4 @@ DataDog blog: [https://www.datadoghq.com/blog/monitor-azure-storage-datadog/](ht Azure Storage metrics documentation: [https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account](https://docs.microsoft.com/en-us/azure/storage/common/storage-monitor-storage-account) Azure Storage metrics detailed documentation [https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-metrics-table-schema](https://docs.microsoft.com/en-us/rest/api/storageservices/storage-analytics-metrics-table-schema) + \ No newline at end of file diff --git a/cloud/azure/storage/inputs.tf b/cloud/azure/storage/inputs.tf index 72668a4..a2f527f 100644 --- a/cloud/azure/storage/inputs.tf +++ b/cloud/azure/storage/inputs.tf @@ -40,7 +40,7 @@ variable "availability_message" { variable "availability_time_aggregator" { description = "Monitor aggregator for Storage availability [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "availability_timeframe" { @@ -74,7 +74,7 @@ variable "successful_requests_message" { variable "successful_requests_time_aggregator" { description = "Monitor aggregator for Storage sucessful requests [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "successful_requests_timeframe" { @@ -142,7 +142,7 @@ variable "timeout_error_requests_message" { variable "timeout_error_requests_time_aggregator" { description = "Monitor aggregator for Storage timeout [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "timeout_error_requests_timeframe" { @@ -176,7 +176,7 @@ variable "network_error_requests_message" { variable "network_error_requests_time_aggregator" { description = "Monitor aggregator for Storage network errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "network_error_requests_timeframe" { @@ -210,7 +210,7 @@ variable "throttling_error_requests_message" { variable "throttling_error_requests_time_aggregator" { description = "Monitor aggregator for Storage throttling errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "throttling_error_requests_timeframe" { @@ -244,7 +244,7 @@ variable "server_other_error_requests_message" { variable "server_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "server_other_error_requests_timeframe" { @@ -278,7 +278,7 @@ variable "client_other_error_requests_message" { variable "client_other_error_requests_time_aggregator" { description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "client_other_error_requests_timeframe" { @@ -312,7 +312,7 @@ variable "authorization_error_requests_message" { variable "authorization_error_requests_time_aggregator" { description = "Monitor aggregator for Storage authorization errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "authorization_error_requests_timeframe" { diff --git a/cloud/azure/stream-analytics/README.md b/cloud/azure/stream-analytics/README.md index f848f20..0658fef 100644 Binary files a/cloud/azure/stream-analytics/README.md and b/cloud/azure/stream-analytics/README.md differ diff --git a/cloud/azure/stream-analytics/inputs.tf b/cloud/azure/stream-analytics/inputs.tf index 2e07ded..615783d 100644 --- a/cloud/azure/stream-analytics/inputs.tf +++ b/cloud/azure/stream-analytics/inputs.tf @@ -40,7 +40,7 @@ variable "status_message" { variable "status_time_aggregator" { description = "Monitor aggregator for Stream Analytics status [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "status_timeframe" { @@ -64,7 +64,7 @@ variable "su_utilization_message" { variable "su_utilization_time_aggregator" { description = "Monitor aggregator for Stream Analytics utilization [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "su_utilization_timeframe" { @@ -126,7 +126,7 @@ variable "conversion_errors_message" { variable "conversion_errors_time_aggregator" { description = "Monitor aggregator for Stream Analytics conversion errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "conversion_errors_timeframe" { @@ -160,7 +160,7 @@ variable "runtime_errors_message" { variable "runtime_errors_time_aggregator" { description = "Monitor aggregator for Stream Analytics runtime errors [available values: min, max or avg]" type = "string" - default = "avg" + default = "min" } variable "runtime_errors_timeframe" { diff --git a/common/alerting-message/README.md b/common/alerting-message/README.md index 067682e..d9883f9 100644 Binary files a/common/alerting-message/README.md and b/common/alerting-message/README.md differ diff --git a/common/alerting-message/output.tf b/common/alerting-message/output.tf index 5166314..7865779 100644 --- a/common/alerting-message/output.tf +++ b/common/alerting-message/output.tf @@ -1,3 +1,4 @@ output "alerting-message" { + description = "The generated message string" value = "${data.template_file.alerting-message.rendered}" } diff --git a/databases/mongodb/README.md b/databases/mongodb/README.md index cbb2a64..b665243 100644 --- a/databases/mongodb/README.md +++ b/databases/mongodb/README.md @@ -79,7 +79,8 @@ Inputs | 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 | | message | Message sent when an alert is triggered | string | - | yes | -| mongodb_replicaset_time_aggregator | Monitor aggregator for Mongodb replicaset [available values: min, max or avg] | string | `avg` | no | | mongodb_replicaset_message | Custom message for Mongodb replicaset monitor | string | `` | no | | mongodb_replicaset_silenced | Groups to mute for Mongodb replicaset monitor | map | `` | no | +| mongodb_replicaset_time_aggregator | Monitor aggregator for Mongodb replicaset [available values: min, max or avg] | string | `max` | no | | mongodb_replicaset_timeframe | Monitor timeframe for Mongodb replicaset [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | + diff --git a/databases/mongodb/inputs.tf b/databases/mongodb/inputs.tf index a3d8f59..0df8a02 100644 --- a/databases/mongodb/inputs.tf +++ b/databases/mongodb/inputs.tf @@ -39,7 +39,7 @@ variable "mongodb_replicaset_message" { variable "mongodb_replicaset_time_aggregator" { description = "Monitor aggregator for Mongodb replicaset [available values: min, max or avg]" type = "string" - default = "avg" + default = "max" } variable "mongodb_replicaset_timeframe" { diff --git a/middleware/apache/README.md b/middleware/apache/README.md index 100631e..f450f8f 100644 --- a/middleware/apache/README.md +++ b/middleware/apache/README.md @@ -19,15 +19,16 @@ Creates a DataDog monitors with the following checks : * Apache connect -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| apache_connect_message | Custom message for Apache process monitor | string | `` | no | -| apache_connect_silenced | Groups to mute for Apache process monitor | map | `` | no | -| delay | Delay in seconds for the metric evaluation | string | `15` | no | -| environment | Architecture Environment | string | - | yes | -| 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 | -| message | Message sent when an alert is triggered | string | - | yes | +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| apache_connect_message | Custom message for Apache process monitor | string | `` | no | +| apache_connect_silenced | Groups to mute for Apache process monitor | map | `` | no | +| delay | Delay in seconds for the metric evaluation | string | `15` | no | +| environment | Architecture Environment | string | - | yes | +| 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 | +| message | Message sent when an alert is triggered | string | - | yes | + diff --git a/middleware/nginx/README.md b/middleware/nginx/README.md index 90935cd..09b0386 100644 --- a/middleware/nginx/README.md +++ b/middleware/nginx/README.md @@ -19,15 +19,16 @@ Creates a DataDog monitors with the following checks : * Nginx connect -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| environment | Architecture Environment | string | - | yes | -| delay | Delay in seconds for the metric evaluation | string | `15` | 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 | -| message | Message sent when an alert is triggered | string | - | yes | -| nginx_connect_message | Custom message for Nginx process monitor | string | `` | no | -| nginx_connect_silenced | Groups to mute for Nginx process monitor | map | `` | no | +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| delay | Delay in seconds for the metric evaluation | string | `15` | no | +| environment | Architecture Environment | string | - | yes | +| 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 | +| message | Message sent when an alert is triggered | string | - | yes | +| nginx_connect_message | Custom message for Nginx process monitor | string | `` | no | +| nginx_connect_silenced | Groups to mute for Nginx process monitor | map | `` | no | + diff --git a/middleware/php-fpm/README.md b/middleware/php-fpm/README.md index 9920e2a..7da65aa 100644 --- a/middleware/php-fpm/README.md +++ b/middleware/php-fpm/README.md @@ -20,21 +20,22 @@ Creates a DataDog monitors with the following checks : * PHP FPM connect * PHP FPM load -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| delay | Delay in seconds for the metric evaluation | string | `15` | no | -| environment | Architecture Environment | string | - | yes | -| 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 | -| message | Message sent when an alert is triggered | string | - | yes | -| php_fpm_busy_time_aggregator | Monitor aggregator for PHP FPM busy worker [available values: min, max or avg] | string | `avg` | no | -| php_fpm_busy_message | Custom message for PHP FPM busy worker monitor | string | `` | no | -| php_fpm_busy_silenced | Groups to mute for PHP FPM busy worker monitor | map | `` | no | -| php_fpm_busy_threshold_critical | php fpm busy critical threshold | string | `0.9` | no | -| php_fpm_busy_threshold_warning | php fpm busy warning threshold | string | `0.8` | no | -| php_fpm_busy_timeframe | Monitor timeframe for PHP FPM busy worker [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_10m` | no | -| php_fpm_connect_message | Custom message for PHP FPM process monitor | string | `` | no | -| php_fpm_connect_silenced | Groups to mute for PHP FPM process monitor | map | `` | no | +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| delay | Delay in seconds for the metric evaluation | string | `15` | no | +| environment | Architecture Environment | string | - | yes | +| 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 | +| message | Message sent when an alert is triggered | string | - | yes | +| php_fpm_busy_message | Custom message for PHP FPM busy worker monitor | string | `` | no | +| php_fpm_busy_silenced | Groups to mute for PHP FPM busy worker monitor | map | `` | no | +| php_fpm_busy_threshold_critical | php fpm busy critical threshold | string | `0.9` | no | +| php_fpm_busy_threshold_warning | php fpm busy warning threshold | string | `0.8` | no | +| php_fpm_busy_time_aggregator | Monitor aggregator for PHP FPM busy worker [available values: min, max or avg] | string | `avg` | no | +| php_fpm_busy_timeframe | Monitor timeframe for PHP FPM busy worker [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_10m` | no | +| php_fpm_connect_message | Custom message for PHP FPM process monitor | string | `` | no | +| php_fpm_connect_silenced | Groups to mute for PHP FPM process monitor | map | `` | no | + diff --git a/system/generic/README.md b/system/generic/README.md index 05b4268..550a1d3 100644 --- a/system/generic/README.md +++ b/system/generic/README.md @@ -23,43 +23,44 @@ Creates a DataDog monitors with the following checks : * Free disk inodes * Free disk space -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| cpu_high_time_aggregator | Monitor aggregator for CPU high [available values: min, max or avg] | string | `min` | no | -| cpu_high_message | Custom message for CPU high monitor | string | `` | no | -| cpu_high_silenced | Groups to mute for CPU high monitor | map | `` | no | -| cpu_high_threshold_critical | CPU high critical threshold | string | `95` | no | -| cpu_high_threshold_warning | CPU high warning threshold | string | `80` | no | -| cpu_high_timeframe | Monitor timeframe for CPU high [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| cpu_load_time_aggregator | Monitor aggregator for CPU load ratio [available values: min, max or avg] | string | `min` | no | -| cpu_load_message | Custom message for CPU load ratio monitor | string | `` | no | -| cpu_load_silenced | Groups to mute for CPU load ratio monitor | map | `` | no | -| cpu_load_threshold_critical | CPU load ratio critical threshold | string | `4` | no | -| cpu_load_threshold_warning | CPU load ratio warning threshold | string | `3` | no | -| cpu_load_timeframe | Monitor timeframe for CPU load ratio [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| delay | Delay in seconds for the metric evaluation | string | `15` | no | -| environment | Architecture Environment | string | - | yes | -| 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 | -| free_disk_inodes_time_aggregator | Monitor aggregator for Free disk inodes [available values: min, max or avg] | string | `min` | no | -| free_disk_inodes_message | Custom message for Free disk inodes monitor | string | `` | no | -| free_disk_inodes_silenced | Groups to mute for Free disk inodes monitor | map | `` | no | -| free_disk_inodes_threshold_critical | Free disk space critical threshold | string | `5` | no | -| free_disk_inodes_threshold_warning | Free disk space warning threshold | string | `10` | no | -| free_disk_inodes_timeframe | Monitor timeframe for Free disk inodes [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| free_disk_space_time_aggregator | Monitor aggregator for Free diskspace [available values: min, max or avg] | string | `min` | no | -| free_disk_space_message | Custom message for Free diskspace monitor | string | `` | no | -| free_disk_space_silenced | Groups to mute for Free diskspace monitor | map | `` | no | -| free_disk_space_threshold_critical | Free disk space critical threshold | string | `5` | no | -| free_disk_space_threshold_warning | Free disk space warning threshold | string | `10` | no | -| free_disk_space_timeframe | Monitor timeframe for Free diskspace [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| free_memory_time_aggregator | Monitor aggregator for Free memory [available values: min, max or avg] | string | `min` | no | -| free_memory_message | Custom message for Free memory monitor | string | - | yes | -| free_memory_silenced | Groups to mute for Free memory monitor | map | `` | no | -| free_memory_threshold_critical | Free disk space critical threshold | string | `5` | no | -| free_memory_threshold_warning | Free disk space warning threshold | string | `10` | no | -| free_memory_timeframe | Monitor timeframe for Free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_1m` | no | -| message | Message sent when an alert is triggered | string | - | yes | +Inputs +------ + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| cpu_high_message | Custom message for CPU high monitor | string | `` | no | +| cpu_high_silenced | Groups to mute for CPU high monitor | map | `` | no | +| cpu_high_threshold_critical | CPU high critical threshold | string | `90` | no | +| cpu_high_threshold_warning | CPU high warning threshold | string | `85` | no | +| cpu_high_time_aggregator | Monitor aggregator for CPU high [available values: min, max or avg] | string | `min` | no | +| cpu_high_timeframe | Monitor timeframe for CPU high [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_10m` | no | +| cpu_load_message | Custom message for CPU load ratio monitor | string | `` | no | +| cpu_load_silenced | Groups to mute for CPU load ratio monitor | map | `` | no | +| cpu_load_threshold_critical | CPU load ratio critical threshold | string | `2.5` | no | +| cpu_load_threshold_warning | CPU load ratio warning threshold | string | `2` | no | +| cpu_load_time_aggregator | Monitor aggregator for CPU load ratio [available values: min, max or avg] | string | `min` | no | +| cpu_load_timeframe | Monitor timeframe for CPU load ratio [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | +| delay | Delay in seconds for the metric evaluation | string | `15` | no | +| environment | Architecture Environment | string | - | yes | +| 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 | +| free_disk_inodes_message | Custom message for Free disk inodes monitor | string | `` | no | +| free_disk_inodes_silenced | Groups to mute for Free disk inodes monitor | map | `` | no | +| free_disk_inodes_threshold_critical | Free disk space critical threshold | string | `5` | no | +| free_disk_inodes_threshold_warning | Free disk space warning threshold | string | `10` | no | +| free_disk_inodes_time_aggregator | Monitor aggregator for Free disk inodes [available values: min, max or avg] | string | `min` | no | +| free_disk_inodes_timeframe | Monitor timeframe for Free disk inodes [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| free_disk_space_message | Custom message for Free diskspace monitor | string | `` | no | +| free_disk_space_silenced | Groups to mute for Free diskspace monitor | map | `` | no | +| free_disk_space_threshold_critical | Free disk space critical threshold | string | `10` | no | +| free_disk_space_threshold_warning | Free disk space warning threshold | string | `20` | no | +| free_disk_space_time_aggregator | Monitor aggregator for Free diskspace [available values: min, max or avg] | string | `min` | no | +| free_disk_space_timeframe | Monitor timeframe for Free diskspace [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | +| free_memory_message | Custom message for Free memory monitor | string | - | yes | +| free_memory_silenced | Groups to mute for Free memory monitor | map | `` | no | +| free_memory_threshold_critical | Free disk space critical threshold | string | `5` | no | +| free_memory_threshold_warning | Free disk space warning threshold | string | `10` | no | +| free_memory_time_aggregator | Monitor aggregator for Free memory [available values: min, max or avg] | string | `max` | no | +| free_memory_timeframe | Monitor timeframe for Free memory [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 an alert is triggered | string | - | yes | + diff --git a/system/generic/inputs.tf b/system/generic/inputs.tf index f55e02c..2d522ee 100644 --- a/system/generic/inputs.tf +++ b/system/generic/inputs.tf @@ -52,12 +52,12 @@ variable "cpu_high_timeframe" { variable "cpu_high_threshold_warning" { description = "CPU high warning threshold" - default = 80 + default = 85 } variable "cpu_high_threshold_critical" { description = "CPU high critical threshold" - default = 95 + default = 90 } variable "cpu_load_silenced" { @@ -81,17 +81,17 @@ variable "cpu_load_time_aggregator" { variable "cpu_load_timeframe" { description = "Monitor timeframe for CPU load ratio [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = "string" - default = "last_5m" + default = "last_15m" } variable "cpu_load_threshold_warning" { description = "CPU load ratio warning threshold" - default = 3 + default = 2 } variable "cpu_load_threshold_critical" { description = "CPU load ratio critical threshold" - default = 4 + default = 2.5 } variable "free_disk_space_silenced" { @@ -120,12 +120,12 @@ variable "free_disk_space_timeframe" { variable "free_disk_space_threshold_warning" { description = "Free disk space warning threshold" - default = 10 + default = 20 } variable "free_disk_space_threshold_critical" { description = "Free disk space critical threshold" - default = 5 + default = 10 } variable "free_disk_inodes_silenced" { @@ -176,13 +176,13 @@ variable "free_memory_message" { variable "free_memory_time_aggregator" { description = "Monitor aggregator for Free memory [available values: min, max or avg]" type = "string" - default = "min" + default = "max" } variable "free_memory_timeframe" { description = "Monitor timeframe for Free memory [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = "string" - default = "last_15m" + default = "last_5m" } variable "free_memory_threshold_warning" {