diff --git a/cloud/azure/README.md b/cloud/azure/README.md deleted file mode 100644 index c51727d..0000000 --- a/cloud/azure/README.md +++ /dev/null @@ -1,342 +0,0 @@ -Azure monitors -============== - -How to use this module ----------------------- - -``` -module "datadog-monitors-azure" { - source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure?ref={revision}" - - message = "${module.datadog-message-alerting.alerting-message}" - environment = "${var.environment}" -} -``` - -Purpose -------- -Creates a set of Azure DataDog monitors for the following components : - -* Azure App Services monitors -* Azure SQL monitors -* Azure Redis monitors -* Azure Event Hub monitors -* Azure Service Bus monitors -* Azure Stream Analytics monitors -* Azure Storage monitors -* Azure IOT Hub monitors -* Azure API Management monitors - -Inputs ------- - -| Name | Description | Type | Default | Required | -|------|-------------|:----:|:-----:|:-----:| -| apimanagement_failed_requests_message | Custom message for API Management failed requests monitor | string | `` | no | -| apimanagement_failed_requests_silenced | Groups to mute for API Management failed requests monitor | map | `` | no | -| apimanagement_failed_requests_threshold_critical | Maximum acceptable percent of failed requests | string | `90` | no | -| apimanagement_failed_requests_threshold_warning | Warning regarding acceptable percent of failed requests | string | `50` | no | -| apimanagement_failed_requests_timeframe | Monitor timeframe for API Management 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 | -| apimanagement_other_requests_message | Custom message for API Management other requests monitor | string | `` | no | -| apimanagement_other_requests_silenced | Groups to mute for API Management other requests monitor | map | `` | no | -| apimanagement_other_requests_threshold_critical | Maximum acceptable percent of other requests | string | `90` | no | -| apimanagement_other_requests_threshold_warning | Warning regarding acceptable percent of other requests | string | `50` | no | -| 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 | `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 | -| apimanagement_successful_requests_threshold_critical | Minimum acceptable percent of successful requests | string | `10` | no | -| apimanagement_successful_requests_threshold_warning | Warning regarding acceptable percent of successful requests | string | `30` | no | -| apimanagement_successful_requests_timeframe | Monitor timeframe for API Management successful 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_unauthorized_requests_message | Custom message for API Management unauthorized requests monitor | string | `` | no | -| apimanagement_unauthorized_requests_silenced | Groups to mute for API Management unauthorized requests monitor | map | `` | no | -| apimanagement_unauthorized_requests_threshold_critical | Maximum acceptable percent of unauthorized requests | string | `90` | no | -| apimanagement_unauthorized_requests_threshold_warning | Warning regarding acceptable percent of unauthorized requests | string | `50` | no | -| apimanagement_unauthorized_requests_timeframe | Monitor timeframe for API Management unauthorized requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| appservices_http_4xx_requests_message | Custom message for App Services 4xx requests monitor | string | `` | no | -| appservices_http_4xx_requests_silenced | Groups to mute for App Services 4xx requests monitor | map | `` | no | -| appservices_http_4xx_requests_threshold_critical | Maximum critical acceptable percent of 4xx errors | string | `90` | no | -| appservices_http_4xx_requests_threshold_warning | Warning regarding acceptable percent of 4xx errors | string | `50` | no | -| appservices_http_4xx_requests_timeframe | Monitor timeframe for App Services 4xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| appservices_http_5xx_requests_message | Custom message for App Services 5xx requests monitor | string | `` | no | -| appservices_http_5xx_requests_silenced | Groups to mute for App Services 5xx requests monitor | map | `` | no | -| appservices_http_5xx_requests_threshold_critical | Maximum critical acceptable percent of 5xx errors | string | `90` | no | -| appservices_http_5xx_requests_threshold_warning | Warning regarding acceptable percent of 5xx errors | string | `50` | no | -| appservices_http_5xx_requests_timeframe | Monitor timeframe for App Services 5xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| appservices_http_successful_requests_message | Custom message for App Services successful requests monitor | string | `` | no | -| appservices_http_successful_requests_silenced | Groups to mute for App Services successful requests monitor | map | `` | no | -| appservices_http_successful_requests_threshold_critical | Minimum critical acceptable percent of 2xx & 3xx requests | string | `10` | no | -| appservices_http_successful_requests_threshold_warning | Warning regarding acceptable percent of 2xx & 3xx requests | string | `30` | no | -| appservices_http_successful_requests_timeframe | Monitor timeframe for App Services successful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| appservices_memory_usage_message | Custom message for App Services memory usage monitor | string | `` | no | -| 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 | `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 | -| appservices_response_time_threshold_critical | Alerting threshold for response time in seconds | string | `10` | no | -| appservices_response_time_threshold_warning | Warning threshold for response time in seconds | string | `5` | no | -| appservices_response_time_time_aggregator | Monitor aggregator for App Services response time [available values: min, max or avg] | string | `min` | no | -| appservices_response_time_timeframe | Monitor timeframe for App Services response time [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| cosmos_db_4xx_request_rate_threshold_critical | Critical threshold for Cosmos DB 4xx requests monitor | string | `80` | no | -| cosmos_db_4xx_request_rate_threshold_warning | Warning threshold for Cosmos DB 4xx requests monitor | string | `50` | no | -| cosmos_db_4xx_requests_message | Custom message for Cosmos DB 4xx requests monitor | string | `` | no | -| cosmos_db_4xx_requests_silenced | Groups to mute for Cosmos DB 4xx requests monitor | map | `` | no | -| cosmos_db_5xx_request_rate_threshold_critical | Critical threshold for Cosmos DB 5xx requests monitor | string | `80` | no | -| cosmos_db_5xx_request_rate_threshold_warning | Warning threshold for Cosmos DB 5xx requests monitor | string | `50` | no | -| cosmos_db_5xx_requests_message | Custom message for Cosmos DB 5xx requests monitor | string | `` | no | -| cosmos_db_5xx_requests_silenced | Groups to mute for Cosmos DB 5xx requests monitor | map | `` | no | -| datalakestore_status_message | Custom message for Datalake Store status monitor | string | `` | no | -| datalakestore_status_silenced | Groups to mute for Datalake Store status monitor | map | `` | no | -| datalakestore_status_time_aggregator | Monitor aggregator for Datalake Store status [available values: min, max or avg] | string | `max` | no | -| datalakestore_status_timeframe | Monitor timeframe for Datalake Store status [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 | `900` | no | -| environment | Architecture environment | string | - | yes | -| eventhub_errors_rate_message | Custom message for Event Hub errors monitor | string | `` | no | -| eventhub_errors_rate_silenced | Groups to mute for Event Hub errors monitor | map | `` | no | -| eventhub_errors_rate_thresold_critical | Errors ratio (percentage) to trigger the critical alert | string | `90` | no | -| eventhub_errors_rate_thresold_warning | Errors ratio (percentage) to trigger a warning alert | string | `50` | no | -| eventhub_errors_rate_timeframe | Monitor timeframe for Event Hub errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| eventhub_failed_requests_rate_message | Custom message for Event Hub failed requests monitor | string | `` | no | -| eventhub_failed_requests_rate_silenced | Groups to mute for Event Hub failed requests monitor | map | `` | no | -| eventhub_failed_requests_rate_thresold_critical | Failed requests ratio (percentage) to trigger the critical alert | string | `90` | no | -| eventhub_failed_requests_rate_thresold_warning | Failed requests ratio (percentage) to trigger a warning alert | string | `50` | no | -| 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 | `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 | -| iothub_dropped_d2c_telemetry_egress_message | Custom message for IoT Hub dropped d2c telemetry monitor | string | `` | no | -| iothub_dropped_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Dropped limit (critical threshold) | string | `90` | no | -| iothub_dropped_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Dropped limit (warning threshold) | string | `50` | no | -| iothub_dropped_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub dropped d2c telemetry monitor | map | `` | no | -| iothub_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 | -| iothub_failed_c2d_methods_rate_message | Custom message for IoT Hub failed c2d method monitor | string | `` | no | -| iothub_failed_c2d_methods_rate_silenced | Groups to mute for IoT Hub failed c2d methods monitor | map | `` | no | -| iothub_failed_c2d_methods_rate_threshold_critical | C2D Methods Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_c2d_methods_rate_threshold_warning | C2D Methods Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_c2d_twin_read_rate_message | Custom message for IoT Hub failed c2d twin read monitor | string | `` | no | -| iothub_failed_c2d_twin_read_rate_silenced | Groups to mute for IoT Hub failed c2d twin read monitor | map | `` | no | -| iothub_failed_c2d_twin_read_rate_threshold_critical | C2D Twin Read Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_c2d_twin_read_rate_threshold_warning | C2D Twin Read Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_c2d_twin_update_rate_message | Custom message for IoT Hub failed c2d twin update monitor | string | `` | no | -| iothub_failed_c2d_twin_update_rate_silenced | Groups to mute for IoT Hub failed c2d twin update monitor | map | `` | no | -| iothub_failed_c2d_twin_update_rate_threshold_critical | C2D Twin Update Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_c2d_twin_update_rate_threshold_warning | C2D Twin Update Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_d2c_twin_read_rate_message | Custom message for IoT Hub failed d2c twin read monitor | string | `` | no | -| iothub_failed_d2c_twin_read_rate_silenced | Groups to mute for IoT Hub failed d2c twin read monitor | map | `` | no | -| iothub_failed_d2c_twin_read_rate_threshold_critical | D2C Twin Read Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_d2c_twin_read_rate_threshold_warning | D2C Twin Read Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_d2c_twin_update_rate_message | Custom message for IoT Hub failed d2c twin update monitor | string | `` | no | -| iothub_failed_d2c_twin_update_rate_silenced | Groups to mute for IoT Hub failed d2c twin update monitor | map | `` | no | -| iothub_failed_d2c_twin_update_rate_threshold_critical | D2C Twin Update Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_d2c_twin_update_rate_threshold_warning | D2C Twin Update Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_jobs_rate_message | Custom message for IoT Hub failed jobs monitor | string | `` | no | -| iothub_failed_jobs_rate_silenced | Groups to mute for IoT Hub failed jobs monitor | map | `` | no | -| iothub_failed_jobs_rate_threshold_critical | Jobs Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_jobs_rate_threshold_warning | Jobs Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_listjobs_rate_message | Custom message for IoT Hub failed list jobs monitor | string | `` | no | -| iothub_failed_listjobs_rate_silenced | Groups to mute for IoT Hub failed list jobs monitor | map | `` | no | -| iothub_failed_listjobs_rate_threshold_critical | ListJobs Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_listjobs_rate_threshold_warning | ListJobs Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_failed_queryjobs_rate_message | Custom message for IoT Hub failed query jobs monitor | string | `` | no | -| iothub_failed_queryjobs_rate_silenced | Groups to mute for IoT Hub failed query jobs monitor | map | `` | no | -| iothub_failed_queryjobs_rate_threshold_critical | QueryJobs Failed rate limit (critical threshold) | string | `90` | no | -| iothub_failed_queryjobs_rate_threshold_warning | QueryJobs Failed rate limit (warning threshold) | string | `50` | no | -| iothub_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 | -| iothub_invalid_d2c_telemetry_egress_message | Custom message for IoT Hub invalid d2c telemetry monitor | string | `` | no | -| iothub_invalid_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Invalid limit (critical threshold) | string | `90` | no | -| iothub_invalid_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Invalid limit (warning threshold) | string | `50` | no | -| iothub_invalid_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub invalid d2c telemetry monitor | map | `` | no | -| iothub_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 | -| iothub_orphaned_d2c_telemetry_egress_message | Custom message for IoT Hub orphaned d2c telemetry monitor | string | `` | no | -| iothub_orphaned_d2c_telemetry_egress_rate_threshold_critical | D2C Telemetry Orphaned limit (critical threshold) | string | `90` | no | -| iothub_orphaned_d2c_telemetry_egress_rate_threshold_warning | D2C Telemetry Orphaned limit (warning threshold) | string | `50` | no | -| iothub_orphaned_d2c_telemetry_egress_silenced | Groups to mute for IoT Hub orphaned d2c telemetry monitor | map | `` | no | -| 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 | `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 | `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 | -| keyvault_api_result_message | Custom message for Key Vault API result monitor | string | `` | no | -| keyvault_api_result_silenced | Groups to mute for Key Vault API result monitor | map | `` | no | -| keyvault_api_result_threshold_critical | Critical threshold for Key Vault API result rate | string | `10` | no | -| keyvault_api_result_threshold_warning | Warning threshold for Key Vault API result rate | string | `30` | no | -| keyvault_api_result_timeframe | Monitor timeframe for Key Vault API result [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_30m` | no | -| keyvault_status_message | Custom message for Key Vault status monitor | string | `` | no | -| keyvault_status_silenced | Groups to mute for Key Vault status monitor | map | `` | no | -| keyvault_status_time_aggregator | Monitor aggregator for Key Vault status [available values: min, max or avg] | string | `max` | no | -| keyvault_status_timeframe | Monitor timeframe for Key Vault status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | 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 | -| redis_evictedkeys_limit_message | Custom message for Redis evicted keys monitor | string | `` | no | -| redis_evictedkeys_limit_silenced | Groups to mute for Redis evicted keys monitor | map | `` | no | -| redis_evictedkeys_limit_threshold_critical | Evicted keys limit (critical threshold) | string | `100` | no | -| redis_evictedkeys_limit_threshold_warning | Evicted keys limit (warning threshold) | string | `0` | no | -| redis_evictedkeys_limit_time_aggregator | Monitor aggregator for Redis evicted keys [available values: min, max or avg] | string | `avg` | no | -| redis_evictedkeys_limit_timeframe | Monitor timeframe for Redis evicted keys [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| redis_percent_processor_time_message | Custom message for Redis processor monitor | string | `` | no | -| 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 | `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 | `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 | `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_no_active_connections_message | Custom message for Service Bus status monitor | string | `` | no | -| servicebus_no_active_connections_silenced | Groups to mute for Service Bus status monitor | map | `` | no | -| servicebus_no_active_connections_time_aggregator | Monitor aggregator for Service Bus status [available values: min, max or avg] | string | `max` | no | -| servicebus_no_active_connections_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 | -| servicebus_server_errors_message | Custom message for Service Bus server errors monitor | string | `` | no | -| servicebus_server_errors_silenced | Groups to mute for Service Bus server errors monitor | map | `` | no | -| servicebus_server_errors_threshold_critical | Critical threshold for Service Bus server errors monitor | string | `90` | no | -| servicebus_server_errors_threshold_warning | Warning threshold for Service Bus server errors monitor | string | `50` | no | -| servicebus_server_errors_timeframe | Monitor timeframe for Service Bus server errors [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 | `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 | -| servicebus_user_errors_message | Custom message for Service Bus user errors monitor | string | `` | no | -| servicebus_user_errors_silenced | Groups to mute for Service Bus user errors monitor | map | `` | no | -| servicebus_user_errors_threshold_critical | Critical threshold for Service Bus user errors monitor | string | `90` | no | -| servicebus_user_errors_threshold_warning | Warning threshold for Service Bus user errors monitor | string | `50` | no | -| servicebus_user_errors_timeframe | Monitor timeframe for Service Bus user errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | 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 | `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 | -| sqldatabase_deadlock_threshold_critical | Amount of Deadlocks (critical threshold) | string | `1` | no | -| sqldatabase_deadlock_timeframe | Monitor timeframe for SQL Deadlock [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | -| sqldatabase_diskspace_message | Custom message for SQL disk space monitor | string | `` | no | -| 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 | `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 | -| sqldatabase_dtu_threshold_critical | Amount of DTU used (critical threshold) | string | `90` | no | -| sqldatabase_dtu_threshold_warning | Amount of DTU used (warning threshold) | string | `85` | no | -| sqldatabase_dtu_time_aggregator | Monitor aggregator for SQL DTU [available values: min, max or avg] | string | `avg` | no | -| sqldatabase_dtu_timeframe | Monitor timeframe for SQL DTU [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | -| storage_authorization_error_requests_message | Custom message for Storage authorization errors monitor | string | `` | no | -| 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 | `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 | `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 | `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 | -| storage_latency_threshold_critical | Maximum acceptable end to end latency (ms) for a storage | string | `2000` | no | -| storage_latency_threshold_warning | Warning regarding acceptable end to end latency (ms) for a storage | string | `1000` | no | -| storage_latency_time_aggregator | Monitor aggregator for Storage latency [available values: min, max or avg] | string | `min` | no | -| storage_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 | -| storage_network_error_requests_message | Custom message for Storage network errors monitor | string | `` | no | -| 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 | `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 | `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 | `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 | `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 | `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 | `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 | -| streamanalytics_failed_function_requests_threshold_critical | Failed Function Request rate limit (critical threshold) | string | `10` | no | -| streamanalytics_failed_function_requests_threshold_warning | Failed Function Request rate limit (warning threshold) | string | `0` | no | -| streamanalytics_failed_function_requests_timeframe | Monitor timeframe for Stream Analytics 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 | -| streamanalytics_runtime_errors_message | Custom message for Stream Analytics runtime errors monitor | string | `` | no | -| 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 | `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 | `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 | `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 ---------------------- - -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) diff --git a/cloud/azure/inputs.tf b/cloud/azure/inputs.tf deleted file mode 100644 index ed87c29..0000000 --- a/cloud/azure/inputs.tf +++ /dev/null @@ -1,1913 +0,0 @@ -variable "environment" { - description = "Architecture environment" - type = "string" -} - -variable "message" { - description = "Message sent when a monitor is triggered" - type = "string" -} - -variable "evaluation_delay" { - description = "Delay in seconds for the metric evaluation" - default = 900 -} - -variable "new_host_delay" { - description = "Delay in seconds before begin to monitor" - default = 300 -} - -variable "filter_tags_use_defaults" { - description = "Use default filter tags convention" - default = "true" -} - -variable "filter_tags_custom" { - description = "Tags used for custom filtering when filter_tags_use_defaults is false" - default = "*" -} - -variable "non_taggable_filter_tags" { - description = "Tags used for filtering for components without tag support" - default = "*" -} - -# Azure API Management specific variables -variable "apimanagement_status_silenced" { - description = "Groups to mute for API Management status monitor" - type = "map" - default = {} -} - -variable "apimanagement_status_message" { - description = "Custom message for API Management status monitor" - type = "string" - default = "" -} - -variable "apimanagement_status_time_aggregator" { - description = "Monitor aggregator for API Management status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "apimanagement_status_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "apimanagement_failed_requests_silenced" { - description = "Groups to mute for API Management failed requests monitor" - type = "map" - default = {} -} - -variable "apimanagement_failed_requests_message" { - description = "Custom message for API Management failed requests monitor" - type = "string" - default = "" -} - -variable "apimanagement_failed_requests_timeframe" { - description = "Monitor timeframe for API Management failed requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "apimanagement_failed_requests_threshold_critical" { - description = "Maximum acceptable percent of failed requests" - default = 90 -} - -variable "apimanagement_failed_requests_threshold_warning" { - description = "Warning regarding acceptable percent of failed requests" - default = 50 -} - -variable "apimanagement_other_requests_silenced" { - description = "Groups to mute for API Management other requests monitor" - type = "map" - default = {} -} - -variable "apimanagement_other_requests_message" { - description = "Custom message for API Management other requests monitor" - type = "string" - default = "" -} - -variable "apimanagement_other_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "apimanagement_other_requests_threshold_critical" { - description = "Maximum acceptable percent of other requests" - default = 90 -} - -variable "apimanagement_other_requests_threshold_warning" { - description = "Warning regarding acceptable percent of other requests" - default = 50 -} - -variable "apimanagement_unauthorized_requests_silenced" { - description = "Groups to mute for API Management unauthorized requests monitor" - type = "map" - default = {} -} - -variable "apimanagement_unauthorized_requests_message" { - description = "Custom message for API Management unauthorized requests monitor" - type = "string" - default = "" -} - -variable "apimanagement_unauthorized_requests_timeframe" { - description = "Monitor timeframe for API Management unauthorized requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "apimanagement_unauthorized_requests_threshold_critical" { - description = "Maximum acceptable percent of unauthorized requests" - default = 90 -} - -variable "apimanagement_unauthorized_requests_threshold_warning" { - description = "Warning regarding acceptable percent of unauthorized requests" - default = 50 -} - -variable "apimanagement_successful_requests_silenced" { - description = "Groups to mute for API Management successful requests monitor" - type = "map" - default = {} -} - -variable "apimanagement_successful_requests_message" { - description = "Custom message for API Management successful requests monitor" - type = "string" - default = "" -} - -variable "apimanagement_successful_requests_timeframe" { - description = "Monitor timeframe for API Management successful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "apimanagement_successful_requests_threshold_critical" { - description = "Minimum acceptable percent of successful requests" - default = 10 -} - -variable "apimanagement_successful_requests_threshold_warning" { - description = "Warning regarding acceptable percent of successful requests" - default = 30 -} - -# Azure App Services specific variables -variable "appservices_response_time_silenced" { - description = "Groups to mute for App Services response time monitor" - type = "map" - default = {} -} - -variable "appservices_response_time_message" { - description = "Custom message for App Services response time monitor" - type = "string" - default = "" -} - -variable "appservices_response_time_time_aggregator" { - description = "Monitor aggregator for App Services response time [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "appservices_response_time_timeframe" { - description = "Monitor timeframe for App Services response time [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "appservices_response_time_threshold_critical" { - default = 10 - description = "Alerting threshold for response time in seconds" -} - -variable "appservices_response_time_threshold_warning" { - default = 5 - description = "Warning threshold for response time in seconds" -} - -variable "appservices_memory_usage_silenced" { - description = "Groups to mute for App Services memory usage monitor" - type = "map" - default = {} -} - -variable "appservices_memory_usage_message" { - description = "Custom message for App Services memory usage monitor" - type = "string" - default = "" -} - -variable "appservices_memory_usage_time_aggregator" { - description = "Monitor aggregator for App Services memory usage [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "appservices_memory_usage_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "appservices_memory_usage_threshold_critical" { - default = 1073741824 # 1Gb - description = "Alerting threshold in Mib" -} - -variable "appservices_memory_usage_threshold_warning" { - default = 536870912 # 512Mb - description = "Warning threshold in MiB" -} - -variable "appservices_http_4xx_requests_silenced" { - description = "Groups to mute for App Services 4xx requests monitor" - type = "map" - default = {} -} - -variable "appservices_http_4xx_requests_message" { - description = "Custom message for App Services 4xx requests monitor" - type = "string" - default = "" -} - -variable "appservices_http_4xx_requests_timeframe" { - description = "Monitor timeframe for App Services 4xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "appservices_http_4xx_requests_threshold_critical" { - default = 90 - description = "Maximum critical acceptable percent of 4xx errors" -} - -variable "appservices_http_4xx_requests_threshold_warning" { - default = 50 - description = "Warning regarding acceptable percent of 4xx errors" -} - -variable "appservices_http_5xx_requests_silenced" { - description = "Groups to mute for App Services 5xx requests monitor" - type = "map" - default = {} -} - -variable "appservices_http_5xx_requests_message" { - description = "Custom message for App Services 5xx requests monitor" - type = "string" - default = "" -} - -variable "appservices_http_5xx_requests_timeframe" { - description = "Monitor timeframe for App Services 5xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "appservices_http_5xx_requests_threshold_critical" { - default = 90 - description = "Maximum critical acceptable percent of 5xx errors" -} - -variable "appservices_http_5xx_requests_threshold_warning" { - default = 50 - description = "Warning regarding acceptable percent of 5xx errors" -} - -variable "appservices_http_successful_requests_silenced" { - description = "Groups to mute for App Services successful requests monitor" - type = "map" - default = {} -} - -variable "appservices_http_successful_requests_message" { - description = "Custom message for App Services successful requests monitor" - type = "string" - default = "" -} - -variable "appservices_http_successful_requests_timeframe" { - description = "Monitor timeframe for App Services successful requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "appservices_http_successful_requests_threshold_critical" { - default = 10 - description = "Minimum critical acceptable percent of 2xx & 3xx requests" -} - -variable "appservices_http_successful_requests_threshold_warning" { - default = 30 - description = "Warning regarding acceptable percent of 2xx & 3xx requests" -} - -# Azure Event Hub specific variables -variable "eventhub_status_silenced" { - description = "Groups to mute for Event Hub status monitor" - type = "map" - default = {} -} - -variable "eventhub_status_message" { - description = "Custom message for Event Hub status monitor" - type = "string" - default = "" -} - -variable "eventhub_status_time_aggregator" { - description = "Monitor aggregator for Event Hub status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "eventhub_status_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "eventhub_failed_requests_rate_silenced" { - description = "Groups to mute for Event Hub failed requests monitor" - type = "map" - default = {} -} - -variable "eventhub_failed_requests_rate_message" { - description = "Custom message for Event Hub failed requests monitor" - type = "string" - default = "" -} - -variable "eventhub_failed_requests_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "eventhub_failed_requests_rate_thresold_critical" { - description = "Failed requests ratio (percentage) to trigger the critical alert" - default = 90 -} - -variable "eventhub_failed_requests_rate_thresold_warning" { - description = "Failed requests ratio (percentage) to trigger a warning alert" - default = 50 -} - -variable "eventhub_errors_rate_silenced" { - description = "Groups to mute for Event Hub errors monitor" - type = "map" - default = {} -} - -variable "eventhub_errors_rate_message" { - description = "Custom message for Event Hub errors monitor" - type = "string" - default = "" -} - -variable "eventhub_errors_rate_timeframe" { - description = "Monitor timeframe for Event Hub errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "eventhub_errors_rate_thresold_critical" { - description = "Errors ratio (percentage) to trigger the critical alert" - default = 90 -} - -variable "eventhub_errors_rate_thresold_warning" { - description = "Errors ratio (percentage) to trigger a warning alert" - default = 50 -} - -# IOT Hub specific variables -variable "iothub_status_silenced" { - description = "Groups to mute for IoT Hub status monitor" - type = "map" - default = {} -} - -variable "iothub_status_message" { - description = "Custom message for IoT Hub status monitor" - type = "string" - default = "" -} - -variable "iothub_status_time_aggregator" { - description = "Monitor aggregator for IoT Hub status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "iothub_status_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_total_devices_silenced" { - description = "Groups to mute for IoT Hub total devices monitor" - type = "map" - default = {} -} - -variable "iothub_total_devices_message" { - description = "Custom message for IoT Hub total devices monitor" - type = "string" - default = "" -} - -variable "iothub_total_devices_time_aggregator" { - description = "Monitor aggregator for IoT Hub total devices [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "iothub_total_devices_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_too_many_d2c_telemetry_ingress_nosent_silenced" { - description = "Groups to mute for IoT Hub unsent d2c telemetry monitor" - type = "map" - default = {} -} - -variable "iothub_too_many_d2c_telemetry_ingress_nosent_message" { - description = "Custom message for IoT Hub unsent d2c telemetry monitor" - type = "string" - default = "" -} - -variable "iothub_too_many_d2c_telemetry_ingress_nosent_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_jobs_rate_silenced" { - description = "Groups to mute for IoT Hub failed jobs monitor" - type = "map" - default = {} -} - -variable "iothub_failed_jobs_rate_message" { - description = "Custom message for IoT Hub failed jobs monitor" - type = "string" - default = "" -} - -variable "iothub_failed_jobs_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_jobs_rate_threshold_warning" { - description = "Jobs Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_jobs_rate_threshold_critical" { - description = "Jobs Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_listjobs_rate_silenced" { - description = "Groups to mute for IoT Hub failed list jobs monitor" - type = "map" - default = {} -} - -variable "iothub_failed_listjobs_rate_message" { - description = "Custom message for IoT Hub failed list jobs monitor" - type = "string" - default = "" -} - -variable "iothub_failed_listjobs_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_listjobs_rate_threshold_warning" { - description = "ListJobs Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_listjobs_rate_threshold_critical" { - description = "ListJobs Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_queryjobs_rate_silenced" { - description = "Groups to mute for IoT Hub failed query jobs monitor" - type = "map" - default = {} -} - -variable "iothub_failed_queryjobs_rate_message" { - description = "Custom message for IoT Hub failed query jobs monitor" - type = "string" - default = "" -} - -variable "iothub_failed_queryjobs_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_queryjobs_rate_threshold_warning" { - description = "QueryJobs Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_queryjobs_rate_threshold_critical" { - description = "QueryJobs Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_c2d_methods_rate_silenced" { - description = "Groups to mute for IoT Hub failed c2d methods monitor" - type = "map" - default = {} -} - -variable "iothub_failed_c2d_methods_rate_message" { - description = "Custom message for IoT Hub failed c2d method monitor" - type = "string" - default = "" -} - -variable "iothub_failed_c2d_methods_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_c2d_methods_rate_threshold_warning" { - description = "C2D Methods Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_c2d_methods_rate_threshold_critical" { - description = "C2D Methods Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_c2d_twin_read_rate_silenced" { - description = "Groups to mute for IoT Hub failed c2d twin read monitor" - type = "map" - default = {} -} - -variable "iothub_failed_c2d_twin_read_rate_message" { - description = "Custom message for IoT Hub failed c2d twin read monitor" - type = "string" - default = "" -} - -variable "iothub_failed_c2d_twin_read_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_c2d_twin_read_rate_threshold_warning" { - description = "C2D Twin Read Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_c2d_twin_read_rate_threshold_critical" { - description = "C2D Twin Read Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_c2d_twin_update_rate_silenced" { - description = "Groups to mute for IoT Hub failed c2d twin update monitor" - type = "map" - default = {} -} - -variable "iothub_failed_c2d_twin_update_rate_message" { - description = "Custom message for IoT Hub failed c2d twin update monitor" - type = "string" - default = "" -} - -variable "iothub_failed_c2d_twin_update_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_c2d_twin_update_rate_threshold_warning" { - description = "C2D Twin Update Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_c2d_twin_update_rate_threshold_critical" { - description = "C2D Twin Update Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_d2c_twin_read_rate_silenced" { - description = "Groups to mute for IoT Hub failed d2c twin read monitor" - type = "map" - default = {} -} - -variable "iothub_failed_d2c_twin_read_rate_message" { - description = "Custom message for IoT Hub failed d2c twin read monitor" - type = "string" - default = "" -} - -variable "iothub_failed_d2c_twin_read_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_d2c_twin_read_rate_threshold_warning" { - description = "D2C Twin Read Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_d2c_twin_read_rate_threshold_critical" { - description = "D2C Twin Read Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_failed_d2c_twin_update_rate_silenced" { - description = "Groups to mute for IoT Hub failed d2c twin update monitor" - type = "map" - default = {} -} - -variable "iothub_failed_d2c_twin_update_rate_message" { - description = "Custom message for IoT Hub failed d2c twin update monitor" - type = "string" - default = "" -} - -variable "iothub_failed_d2c_twin_update_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_failed_d2c_twin_update_rate_threshold_warning" { - description = "D2C Twin Update Failed rate limit (warning threshold)" - default = 50 -} - -variable "iothub_failed_d2c_twin_update_rate_threshold_critical" { - description = "D2C Twin Update Failed rate limit (critical threshold)" - default = 90 -} - -variable "iothub_dropped_d2c_telemetry_egress_silenced" { - description = "Groups to mute for IoT Hub dropped d2c telemetry monitor" - type = "map" - default = {} -} - -variable "iothub_dropped_d2c_telemetry_egress_message" { - description = "Custom message for IoT Hub dropped d2c telemetry monitor" - type = "string" - default = "" -} - -variable "iothub_dropped_d2c_telemetry_egress_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_dropped_d2c_telemetry_egress_rate_threshold_warning" { - description = "D2C Telemetry Dropped limit (warning threshold)" - default = 50 -} - -variable "iothub_dropped_d2c_telemetry_egress_rate_threshold_critical" { - description = "D2C Telemetry Dropped limit (critical threshold)" - default = 90 -} - -variable "iothub_orphaned_d2c_telemetry_egress_silenced" { - description = "Groups to mute for IoT Hub orphaned d2c telemetry monitor" - type = "map" - default = {} -} - -variable "iothub_orphaned_d2c_telemetry_egress_message" { - description = "Custom message for IoT Hub orphaned d2c telemetry monitor" - type = "string" - default = "" -} - -variable "iothub_orphaned_d2c_telemetry_egress_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_orphaned_d2c_telemetry_egress_rate_threshold_warning" { - description = "D2C Telemetry Orphaned limit (warning threshold)" - default = 50 -} - -variable "iothub_orphaned_d2c_telemetry_egress_rate_threshold_critical" { - description = "D2C Telemetry Orphaned limit (critical threshold)" - default = 90 -} - -variable "iothub_invalid_d2c_telemetry_egress_silenced" { - description = "Groups to mute for IoT Hub invalid d2c telemetry monitor" - type = "map" - default = {} -} - -variable "iothub_invalid_d2c_telemetry_egress_message" { - description = "Custom message for IoT Hub invalid d2c telemetry monitor" - type = "string" - default = "" -} - -variable "iothub_invalid_d2c_telemetry_egress_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "iothub_invalid_d2c_telemetry_egress_rate_threshold_warning" { - description = "D2C Telemetry Invalid limit (warning threshold)" - default = 50 -} - -variable "iothub_invalid_d2c_telemetry_egress_rate_threshold_critical" { - description = "D2C Telemetry Invalid limit (critical threshold)" - default = 90 -} - -# Azure Redis specific variables -variable "redis_status_silenced" { - description = "Groups to mute for Redis status monitor" - type = "map" - default = {} -} - -variable "redis_status_message" { - description = "Custom message for Redis status monitor" - type = "string" - default = "" -} - -variable "redis_status_time_aggregator" { - description = "Monitor aggregator for Redis status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "redis_status_timeframe" { - description = "Monitor timeframe for Redis status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "redis_evictedkeys_limit_silenced" { - description = "Groups to mute for Redis evicted keys monitor" - type = "map" - default = {} -} - -variable "redis_evictedkeys_limit_message" { - description = "Custom message for Redis evicted keys monitor" - type = "string" - default = "" -} - -variable "redis_evictedkeys_limit_time_aggregator" { - description = "Monitor aggregator for Redis evicted keys [available values: min, max or avg]" - type = "string" - default = "avg" -} - -variable "redis_evictedkeys_limit_timeframe" { - description = "Monitor timeframe for Redis evicted keys [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "redis_evictedkeys_limit_threshold_warning" { - description = "Evicted keys limit (warning threshold)" - default = 0 -} - -variable "redis_evictedkeys_limit_threshold_critical" { - description = "Evicted keys limit (critical threshold)" - default = 100 -} - -variable "redis_percent_processor_time_silenced" { - description = "Groups to mute for Redis processor monitor" - type = "map" - default = {} -} - -variable "redis_percent_processor_time_message" { - description = "Custom message for Redis processor monitor" - type = "string" - default = "" -} - -variable "redis_percent_processor_time_time_aggregator" { - description = "Monitor aggregator for Redis processor [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "redis_percent_processor_time_timeframe" { - description = "Monitor timeframe for Redis processor [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "redis_percent_processor_time_threshold_critical" { - description = "Processor time percent (critical threshold)" - default = 80 -} - -variable "redis_percent_processor_time_threshold_warning" { - description = "Processor time percent (warning threshold)" - default = 60 -} - -variable "redis_server_load_rate_silenced" { - description = "Groups to mute for Redis server load monitor" - type = "map" - default = {} -} - -variable "redis_server_load_rate_message" { - description = "Custom message for Redis server load monitor" - type = "string" - default = "" -} - -variable "redis_server_load_rate_time_aggregator" { - description = "Monitor aggregator for Redis server load [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "redis_server_load_rate_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "redis_server_load_rate_threshold_critical" { - description = "Server CPU load rate (critical threshold)" - default = 90 -} - -variable "redis_server_load_rate_threshold_warning" { - description = "Server CPU load rate (warning threshold)" - default = 70 -} - -# Azure Service Bus specific variables -variable "servicebus_status_enabled" { - description = "Flag to enable Service Bus status monitor" - type = "string" - default = "true" -} - -variable "servicebus_status_silenced" { - description = "Groups to mute for Service Bus status monitor" - type = "map" - default = {} -} - -variable "servicebus_status_message" { - description = "Custom message for Service Bus status monitor" - type = "string" - default = "" -} - -variable "servicebus_status_time_aggregator" { - description = "Monitor aggregator for Service Bus status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "servicebus_status_timeframe" { - description = "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`]" - default = "last_5m" -} - -variable "servicebus_no_active_connections_enabled" { - description = "Flag to enable Service Bus status monitor" - type = "string" - default = "true" -} - -variable "servicebus_no_active_connections_silenced" { - description = "Groups to mute for Service Bus status monitor" - type = "map" - default = {} -} - -variable "servicebus_no_active_connections_message" { - description = "Custom message for Service Bus status monitor" - type = "string" - default = "" -} - -variable "servicebus_no_active_connections_time_aggregator" { - description = "Monitor aggregator for Service Bus status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "servicebus_no_active_connections_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "servicebus_server_errors_message" { - description = "Custom message for Service Bus server errors monitor" - type = "string" - default = "" -} - -variable "servicebus_server_errors_enabled" { - description = "Flag to enable Service Bus server errors monitor" - type = "string" - default = "true" -} - -variable "servicebus_server_errors_silenced" { - description = "Groups to mute for Service Bus server errors monitor" - type = "map" - default = {} -} - -variable "servicebus_server_errors_timeframe" { - description = "Monitor timeframe for Service Bus server errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "servicebus_server_errors_threshold_critical" { - description = "Critical threshold for Service Bus server errors monitor" - default = 90 -} - -variable "servicebus_server_errors_threshold_warning" { - description = "Warning threshold for Service Bus server errors monitor" - default = 50 -} - -variable "servicebus_user_errors_message" { - description = "Custom message for Service Bus user errors monitor" - type = "string" - default = "" -} - -variable "servicebus_user_errors_enabled" { - description = "Flag to enable Service Bus user errors monitor" - type = "string" - default = "true" -} - -variable "servicebus_user_errors_silenced" { - description = "Groups to mute for Service Bus user errors monitor" - type = "map" - default = {} -} - -variable "servicebus_user_errors_timeframe" { - description = "Monitor timeframe for Service Bus user errors [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "servicebus_user_errors_threshold_critical" { - description = "Critical threshold for Service Bus user errors monitor" - default = 90 -} - -variable "servicebus_user_errors_threshold_warning" { - description = "Warning threshold for Service Bus user errors monitor" - default = 50 -} - -# Azure SQL Database specific variables -variable "sqldatabase_cpu_silenced" { - description = "Groups to mute for SQL CPU monitor" - type = "map" - default = {} -} - -variable "sqldatabase_cpu_message" { - description = "Custom message for SQL CPU monitor" - type = "string" - default = "" -} - -variable "sqldatabase_cpu_time_aggregator" { - description = "Monitor aggregator for SQL CPU [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "sqldatabase_cpu_timeframe" { - description = "Monitor timeframe for SQL CPU [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_15m" -} - -variable "sqldatabase_cpu_threshold_warning" { - description = "CPU usage in percent (warning threshold)" - default = "80" -} - -variable "sqldatabase_cpu_threshold_critical" { - description = "CPU usage in percent (critical threshold)" - default = "90" -} - -variable "sqldatabase_diskspace_silenced" { - description = "Groups to mute for SQL disk space monitor" - type = "map" - default = {} -} - -variable "sqldatabase_diskspace_message" { - description = "Custom message for SQL disk space monitor" - type = "string" - default = "" -} - -variable "sqldatabase_diskspace_time_aggregator" { - description = "Monitor aggregator for SQL disk space [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "sqldatabase_diskspace_timeframe" { - description = "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`]" - type = "string" - default = "last_15m" -} - -variable "sqldatabase_diskspace_threshold_warning" { - description = "Disk space used in percent (warning threshold)" - default = "80" -} - -variable "sqldatabase_diskspace_threshold_critical" { - description = "Disk space used in percent (critical threshold)" - default = "90" -} - -variable "sqldatabase_dtu_silenced" { - description = "Groups to mute for SQL DTU monitor" - type = "map" - default = {} -} - -variable "sqldatabase_dtu_message" { - description = "Custom message for SQL DTU monitor" - type = "string" - default = "" -} - -variable "sqldatabase_dtu_time_aggregator" { - description = "Monitor aggregator for SQL DTU [available values: min, max or avg]" - type = "string" - default = "avg" -} - -variable "sqldatabase_dtu_timeframe" { - description = "Monitor timeframe for SQL DTU [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_15m" -} - -variable "sqldatabase_dtu_threshold_warning" { - description = "Amount of DTU used (warning threshold)" - default = "85" -} - -variable "sqldatabase_dtu_threshold_critical" { - description = "Amount of DTU used (critical threshold)" - default = "90" -} - -variable "sqldatabase_deadlock_silenced" { - description = "Groups to mute for SQL Deadlock monitor" - type = "map" - default = {} -} - -variable "sqldatabase_deadlock_message" { - description = "Custom message for SQL Deadlock monitor" - type = "string" - default = "" -} - -variable "sqldatabase_deadlock_timeframe" { - description = "Monitor timeframe for SQL Deadlock [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "sqldatabase_deadlock_threshold_critical" { - description = "Amount of Deadlocks (critical threshold)" - default = "1" -} - -# Azure Storage specific variables -variable "storage_availability_silenced" { - description = "Groups to mute for Storage availability monitor" - type = "map" - default = {} -} - -variable "storage_availability_message" { - description = "Custom message for Storage availability monitor" - type = "string" - default = "" -} - -variable "storage_availability_time_aggregator" { - description = "Monitor aggregator for Storage availability [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "storage_availability_timeframe" { - description = "Monitor timeframe for Storage availability [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "storage_availability_threshold_critical" { - description = "Minimum acceptable percent of availability for a storage" - default = 50 -} - -variable "storage_availability_threshold_warning" { - description = "Warning regarding acceptable percent of availability for a storage" - default = 90 -} - -variable "storage_successful_requests_silenced" { - description = "Groups to mute for Storage sucessful requests monitor" - type = "map" - default = {} -} - -variable "storage_successful_requests_message" { - description = "Custom message for Storage sucessful requests monitor" - type = "string" - default = "" -} - -variable "storage_successful_requests_time_aggregator" { - description = "Monitor aggregator for Storage sucessful requests [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "storage_successful_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_successful_requests_threshold_critical" { - description = "Minimum acceptable percent of successful requests for a storage" - default = 10 -} - -variable "storage_successful_requests_threshold_warning" { - description = "Warning regarding acceptable percent of successful requests for a storage" - default = 30 -} - -variable "storage_latency_silenced" { - description = "Groups to mute for Storage latency monitor" - type = "map" - default = {} -} - -variable "storage_latency_message" { - description = "Custom message for Storage latency monitor" - type = "string" - default = "" -} - -variable "storage_latency_time_aggregator" { - description = "Monitor aggregator for Storage latency [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_latency_timeframe" { - description = "Monitor timeframe for Storage latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "storage_latency_threshold_critical" { - description = "Maximum acceptable end to end latency (ms) for a storage" - default = 2000 -} - -variable "storage_latency_threshold_warning" { - description = "Warning regarding acceptable end to end latency (ms) for a storage" - default = 1000 -} - -variable "storage_timeout_error_requests_silenced" { - description = "Groups to mute for Storage timeout monitor" - type = "map" - default = {} -} - -variable "storage_timeout_error_requests_message" { - description = "Custom message for Storage timeout monitor" - type = "string" - default = "" -} - -variable "storage_timeout_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage timeout [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_timeout_error_requests_timeframe" { - description = "Monitor timeframe for Storage timeout [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "storage_timeout_error_requests_threshold_critical" { - description = "Maximum acceptable percent of timeout error requests for a storage" - default = 90 -} - -variable "storage_timeout_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of timeout error requests for a storage" - default = 50 -} - -variable "storage_network_error_requests_silenced" { - description = "Groups to mute for Storage network errors monitor" - type = "map" - default = {} -} - -variable "storage_network_error_requests_message" { - description = "Custom message for Storage network errors monitor" - type = "string" - default = "" -} - -variable "storage_network_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage network errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_network_error_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_network_error_requests_threshold_critical" { - description = "Maximum acceptable percent of network error requests for a storage" - default = 90 -} - -variable "storage_network_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of network error requests for a storage" - default = 50 -} - -variable "storage_throttling_error_requests_silenced" { - description = "Groups to mute for Storage throttling error monitor" - type = "map" - default = {} -} - -variable "storage_throttling_error_requests_message" { - description = "Custom message for Storage throttling error monitor" - type = "string" - default = "" -} - -variable "storage_throttling_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage throttling errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_throttling_error_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_throttling_error_requests_threshold_critical" { - description = "Maximum acceptable percent of throttling error requests for a storage" - default = 90 -} - -variable "storage_throttling_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of throttling error requests for a storage" - default = 50 -} - -variable "storage_server_other_error_requests_silenced" { - description = "Groups to mute for Storage server other errors monitor" - type = "map" - default = {} -} - -variable "storage_server_other_error_requests_message" { - description = "Custom message for Storage server other errors monitor" - type = "string" - default = "" -} - -variable "storage_server_other_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_server_other_error_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_server_other_error_requests_threshold_critical" { - description = "Maximum acceptable percent of server other error requests for a storage" - default = 90 -} - -variable "storage_server_other_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of server other error requests for a storage" - default = 50 -} - -variable "storage_client_other_error_requests_silenced" { - description = "Groups to mute for Storage other errors monitor" - type = "map" - default = {} -} - -variable "storage_client_other_error_requests_message" { - description = "Custom message for Storage other errors monitor" - type = "string" - default = "" -} - -variable "storage_client_other_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage other errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_client_other_error_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_client_other_error_requests_threshold_critical" { - description = "Maximum acceptable percent of client other error requests for a storage" - default = 90 -} - -variable "storage_client_other_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of client other error requests for a storage" - default = 50 -} - -variable "storage_authorization_error_requests_silenced" { - description = "Groups to mute for Storage authorization errors monitor" - type = "map" - default = {} -} - -variable "storage_authorization_error_requests_message" { - description = "Custom message for Storage authorization errors monitor" - type = "string" - default = "" -} - -variable "storage_authorization_error_requests_time_aggregator" { - description = "Monitor aggregator for Storage authorization errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "storage_authorization_error_requests_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "storage_authorization_error_requests_threshold_critical" { - description = "Maximum acceptable percent of authorization error requests for a storage" - default = 90 -} - -variable "storage_authorization_error_requests_threshold_warning" { - description = "Warning regarding acceptable percent of authorization error requests for a storage" - default = 50 -} - -# Azure Stream Analytics specific variables -variable "streamanalytics_status_silenced" { - description = "Groups to mute for Stream Analytics status monitor" - type = "map" - default = {} -} - -variable "streamanalytics_status_message" { - description = "Custom message for Stream Analytics status monitor" - type = "string" - default = "" -} - -variable "streamanalytics_status_time_aggregator" { - description = "Monitor aggregator for Stream Analytics status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "streamanalytics_status_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "streamanalytics_su_utilization_silenced" { - description = "Groups to mute for Stream Analytics utilization monitor" - type = "map" - default = {} -} - -variable "streamanalytics_su_utilization_message" { - description = "Custom message for Stream Analytics utilization monitor" - type = "string" - default = "" -} - -variable "streamanalytics_su_utilization_time_aggregator" { - description = "Monitor aggregator for Stream Analytics utilization [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "streamanalytics_su_utilization_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "streamanalytics_su_utilization_threshold_warning" { - description = "Streaming Unit utilization rate limit (warning threshold)" - default = 60 -} - -variable "streamanalytics_su_utilization_threshold_critical" { - description = "Streaming Unit utilization rate limit (critical threshold)" - default = 80 -} - -variable "streamanalytics_failed_function_requests_silenced" { - description = "Groups to mute for Stream Analytics failed requests monitor" - type = "map" - default = {} -} - -variable "streamanalytics_failed_function_requests_message" { - description = "Custom message for Stream Analytics failed requests monitor" - type = "string" - default = "" -} - -variable "streamanalytics_failed_function_requests_timeframe" { - description = "Monitor timeframe for Stream Analytics failed requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "streamanalytics_failed_function_requests_threshold_warning" { - description = "Failed Function Request rate limit (warning threshold)" - default = 0 -} - -variable "streamanalytics_failed_function_requests_threshold_critical" { - description = "Failed Function Request rate limit (critical threshold)" - default = 10 -} - -variable "streamanalytics_conversion_errors_silenced" { - description = "Groups to mute for Stream Analytics conversion errors monitor" - type = "map" - default = {} -} - -variable "streamanalytics_conversion_errors_message" { - description = "Custom message for Stream Analytics conversion errors monitor" - type = "string" - default = "" -} - -variable "streamanalytics_conversion_errors_time_aggregator" { - description = "Monitor aggregator for Stream Analytics conversion errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "streamanalytics_conversion_errors_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "streamanalytics_conversion_errors_threshold_warning" { - description = "Conversion errors limit (warning threshold)" - default = 0 -} - -variable "streamanalytics_conversion_errors_threshold_critical" { - description = "Conversion errors limit (critical threshold)" - default = 10 -} - -variable "streamanalytics_runtime_errors_silenced" { - description = "Groups to mute for Stream Analytics runtime errors monitor" - type = "map" - default = {} -} - -variable "streamanalytics_runtime_errors_message" { - description = "Custom message for Stream Analytics runtime errors monitor" - type = "string" - default = "" -} - -variable "streamanalytics_runtime_errors_time_aggregator" { - description = "Monitor aggregator for Stream Analytics runtime errors [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "streamanalytics_runtime_errors_timeframe" { - description = "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`]" - type = "string" - default = "last_5m" -} - -variable "streamanalytics_runtime_errors_threshold_warning" { - description = "Runtime errors limit (warning threshold)" - default = 0 -} - -variable "streamanalytics_runtime_errors_threshold_critical" { - description = "Runtime errors limit (critical threshold)" - default = 10 -} - -# Azure CosmosDB specific variables -variable "cosmos_db_status_enabled" { - description = "Flag to enable Cosmos DB status monitor" - type = "string" - default = "true" -} - -variable "cosmos_db_status_silenced" { - description = "Groups to mute for Cosmos DB status monitor" - type = "map" - default = {} -} - -variable "cosmos_db_status_extra_tags" { - description = "Extra tags for Cosmos DB status monitor" - type = "list" - default = [] -} - -variable "cosmos_db_status_message" { - description = "Custom message for Cosmos DB status monitor" - type = "string" - default = "" -} - -variable "cosmos_db_status_time_aggregator" { - description = "Monitor aggregator for Cosmos DB status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "cosmos_db_status_timeframe" { - description = "Monitor timeframe for Cosmos DB status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "cosmos_db_4xx_requests_message" { - description = "Custom message for Cosmos DB 4xx requests monitor" - type = "string" - default = "" -} - -variable "cosmos_db_4xx_requests_enabled" { - description = "Flag to enable Cosmos DB 4xx requests monitor" - type = "string" - default = "true" -} - -variable "cosmos_db_4xx_requests_silenced" { - description = "Groups to mute for Cosmos DB 4xx requests monitor" - type = "map" - default = {} -} - -variable "cosmos_db_4xx_request_rate_threshold_critical" { - description = "Critical threshold for Cosmos DB 4xx requests monitor" - default = 80 -} - -variable "cosmos_db_4xx_request_rate_threshold_warning" { - description = "Warning threshold for Cosmos DB 4xx requests monitor" - default = 50 -} - -variable "cosmos_db_4xx_request_extra_tags" { - description = "Extra tags for Cosmos DB 4xx requests monitor" - type = "list" - default = [] -} - -variable "cosmos_db_4xx_request_time_aggregator" { - description = "Monitor aggregator for Cosmos DB 4xx requests [available values: min, max or avg]" - type = "string" - default = "sum" -} - -variable "cosmos_db_4xx_request_timeframe" { - description = "Monitor timeframe for Cosmos DB 4xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -variable "cosmos_db_5xx_requests_message" { - description = "Custom message for Cosmos DB 5xx requests monitor" - type = "string" - default = "" -} - -variable "cosmos_db_5xx_requests_enabled" { - description = "Flag to enable Cosmos DB 5xx requests monitor" - type = "string" - default = "true" -} - -variable "cosmos_db_5xx_requests_silenced" { - description = "Groups to mute for Cosmos DB 5xx requests monitor" - type = "map" - default = {} -} - -variable "cosmos_db_5xx_request_rate_threshold_critical" { - description = "Critical threshold for Cosmos DB 5xx requests monitor" - default = 80 -} - -variable "cosmos_db_5xx_request_rate_threshold_warning" { - description = "Warning threshold for Cosmos DB 5xx requests monitor" - default = 50 -} - -variable "cosmos_db_5xx_request_rate_extra_tags" { - description = "Extra tags for Cosmos DB 5xx requests monitor" - type = "list" - default = [] -} - -variable "cosmos_db_5xx_request_time_aggregator" { - description = "Monitor aggregator for Cosmos DB 5xx requests [available values: min, max or avg]" - type = "string" - default = "sum" -} - -variable "cosmos_db_5xx_request_timeframe" { - description = "Monitor timeframe for Cosmos DB 5xx requests [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "string" - default = "last_5m" -} - -# Azure Datalake Store specific variables -variable "datalakestore_status_enabled" { - description = "Flag to enable Datalake Store status monitor" - type = "string" - default = "true" -} - -variable "datalakestore_status_silenced" { - description = "Groups to mute for Datalake Store status monitor" - type = "map" - default = {} -} - -variable "datalakestore_status_message" { - description = "Custom message for Datalake Store status monitor" - type = "string" - default = "" -} - -variable "datalakestore_status_time_aggregator" { - description = "Monitor aggregator for Datalake Store status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "datalakestore_status_timeframe" { - description = "Monitor timeframe for Datalake Store status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - default = "last_5m" -} - -variable "datalakestore_status_extra_tags" { - description = "Extra tags for Datalake Store status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - type = "list" - default = [] -} - -variable "keyvault_status_enabled" { - description = "Flag to enable Key Vault status monitor" - type = "string" - default = "true" -} - -variable "keyvault_status_silenced" { - description = "Groups to mute for Key Vault status monitor" - type = "map" - default = {} -} - -variable "keyvault_status_message" { - description = "Custom message for Key Vault status monitor" - type = "string" - default = "" -} - -variable "keyvault_status_time_aggregator" { - description = "Monitor aggregator for Key Vault status [available values: min, max or avg]" - type = "string" - default = "max" -} - -variable "keyvault_status_timeframe" { - description = "Monitor timeframe for Key Vault status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - default = "last_5m" -} - -variable "keyvault_status_extra_tags" { - description = "Extra tags for Key Vault status monitor" - type = "list" - default = [] -} - -variable "keyvault_api_result_enabled" { - description = "Flag to enable Key Vault API result monitor" - type = "string" - default = "true" -} - -variable "keyvault_api_result_silenced" { - description = "Groups to mute for Key Vault API result monitor" - type = "map" - default = {} -} - -variable "keyvault_api_result_message" { - description = "Custom message for Key Vault API result monitor" - type = "string" - default = "" -} - -variable "keyvault_api_result_time_aggregator" { - description = "Monitor aggregator for Key Vault API result [available values: min, max or avg]" - type = "string" - default = "sum" -} - -variable "keyvault_api_result_timeframe" { - description = "Monitor timeframe for Key Vault API result [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - default = "last_5m" -} - -variable "keyvault_api_result_threshold_critical" { - description = "Critical threshold for Key Vault API result rate" - default = 10 -} - -variable "keyvault_api_result_threshold_warning" { - description = "Warning threshold for Key Vault API result rate" - default = 30 -} - -variable "keyvault_api_result_extra_tags" { - description = "Extra tags for Key Vault API result monitor" - type = "list" - default = [] -} - -variable "keyvault_api_latency_enabled" { - description = "Flag to enable Key Vault API latency monitor" - type = "string" - default = "true" -} - -variable "keyvault_api_latency_silenced" { - description = "Groups to mute for Key Vault API latency monitor" - type = "map" - default = {} -} - -variable "keyvault_api_latency_message" { - description = "Custom message for Key Vault API latency monitor" - type = "string" - default = "" -} - -variable "keyvault_api_latency_time_aggregator" { - description = "Monitor aggregator for Key Vault API latency [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "keyvault_api_latency_timeframe" { - description = "Monitor timeframe for Key Vault API latency [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" - default = "last_5m" -} - -variable "keyvault_api_latency_threshold_critical" { - description = "Critical threshold for Key Vault API latency rate" - default = 100 -} - -variable "keyvault_api_latency_threshold_warning" { - description = "Warning threshold for Key Vault API latency rate" - default = 80 -} - -variable "keyvault_api_latency_extra_tags" { - description = "Extra tags for Key Vault API latency monitor" - type = "list" - default = [] -} diff --git a/cloud/azure/monitors.tf b/cloud/azure/monitors.tf deleted file mode 100644 index d044a79..0000000 --- a/cloud/azure/monitors.tf +++ /dev/null @@ -1,481 +0,0 @@ -module "apimanagement" { - source = "./apimanagement" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_silenced = "${var.apimanagement_status_silenced}" - status_message = "${var.apimanagement_status_message}" - status_time_aggregator = "${var.apimanagement_status_time_aggregator}" - status_timeframe = "${var.apimanagement_status_timeframe}" - failed_requests_silenced = "${var.apimanagement_failed_requests_silenced}" - failed_requests_message = "${var.apimanagement_failed_requests_message}" - failed_requests_timeframe = "${var.apimanagement_failed_requests_timeframe}" - failed_requests_threshold_critical = "${var.apimanagement_failed_requests_threshold_critical}" - failed_requests_threshold_warning = "${var.apimanagement_failed_requests_threshold_warning}" - other_requests_silenced = "${var.apimanagement_other_requests_silenced}" - other_requests_message = "${var.apimanagement_other_requests_message}" - other_requests_timeframe = "${var.apimanagement_other_requests_timeframe}" - other_requests_threshold_critical = "${var.apimanagement_other_requests_threshold_critical}" - other_requests_threshold_warning = "${var.apimanagement_other_requests_threshold_warning}" - successful_requests_silenced = "${var.apimanagement_successful_requests_silenced}" - successful_requests_message = "${var.apimanagement_successful_requests_message}" - successful_requests_timeframe = "${var.apimanagement_successful_requests_timeframe}" - successful_requests_threshold_critical = "${var.apimanagement_successful_requests_threshold_critical}" - successful_requests_threshold_warning = "${var.apimanagement_successful_requests_threshold_warning}" - unauthorized_requests_silenced = "${var.apimanagement_unauthorized_requests_silenced}" - unauthorized_requests_message = "${var.apimanagement_unauthorized_requests_message}" - unauthorized_requests_timeframe = "${var.apimanagement_unauthorized_requests_timeframe}" - unauthorized_requests_threshold_critical = "${var.apimanagement_unauthorized_requests_threshold_critical}" - unauthorized_requests_threshold_warning = "${var.apimanagement_unauthorized_requests_threshold_warning}" -} - -module "appservices" { - source = "./app-services" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - http_successful_requests_silenced = "${var.appservices_http_successful_requests_silenced}" - http_successful_requests_message = "${var.appservices_http_successful_requests_message}" - http_successful_requests_timeframe = "${var.appservices_http_successful_requests_timeframe}" - http_successful_requests_threshold_critical = "${var.appservices_http_successful_requests_threshold_critical}" - http_successful_requests_threshold_warning = "${var.appservices_http_successful_requests_threshold_warning}" - http_5xx_requests_silenced = "${var.appservices_http_5xx_requests_silenced}" - http_5xx_requests_message = "${var.appservices_http_5xx_requests_message}" - http_5xx_requests_timeframe = "${var.appservices_http_5xx_requests_timeframe}" - http_5xx_requests_threshold_critical = "${var.appservices_http_5xx_requests_threshold_critical}" - http_5xx_requests_threshold_warning = "${var.appservices_http_5xx_requests_threshold_warning}" - http_4xx_requests_silenced = "${var.appservices_http_4xx_requests_silenced}" - http_4xx_requests_message = "${var.appservices_http_4xx_requests_message}" - http_4xx_requests_timeframe = "${var.appservices_http_4xx_requests_timeframe}" - http_4xx_requests_threshold_critical = "${var.appservices_http_4xx_requests_threshold_critical}" - http_4xx_requests_threshold_warning = "${var.appservices_http_4xx_requests_threshold_warning}" - memory_usage_silenced = "${var.appservices_memory_usage_silenced}" - memory_usage_message = "${var.appservices_memory_usage_message}" - memory_usage_time_aggregator = "${var.appservices_memory_usage_time_aggregator}" - memory_usage_timeframe = "${var.appservices_memory_usage_timeframe}" - memory_usage_threshold_critical = "${var.appservices_memory_usage_threshold_critical}" - memory_usage_threshold_warning = "${var.appservices_memory_usage_threshold_warning}" - response_time_silenced = "${var.appservices_response_time_silenced}" - response_time_message = "${var.appservices_response_time_message}" - response_time_time_aggregator = "${var.appservices_response_time_time_aggregator}" - response_time_timeframe = "${var.appservices_response_time_timeframe}" - response_time_threshold_critical = "${var.appservices_response_time_threshold_critical}" - response_time_threshold_warning = "${var.appservices_response_time_threshold_warning}" -} - -module "eventhub" { - source = "./eventhub" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_silenced = "${var.eventhub_status_silenced}" - status_message = "${var.eventhub_status_message}" - status_time_aggregator = "${var.eventhub_status_time_aggregator}" - status_timeframe = "${var.eventhub_status_timeframe}" - errors_rate_silenced = "${var.eventhub_errors_rate_silenced}" - errors_rate_message = "${var.eventhub_errors_rate_message}" - errors_rate_timeframe = "${var.eventhub_errors_rate_timeframe}" - errors_rate_thresold_critical = "${var.eventhub_errors_rate_thresold_critical}" - errors_rate_thresold_warning = "${var.eventhub_errors_rate_thresold_warning}" - failed_requests_rate_silenced = "${var.eventhub_failed_requests_rate_silenced}" - failed_requests_rate_message = "${var.eventhub_failed_requests_rate_message}" - failed_requests_rate_timeframe = "${var.eventhub_failed_requests_rate_timeframe}" - failed_requests_rate_thresold_critical = "${var.eventhub_failed_requests_rate_thresold_critical}" - failed_requests_rate_thresold_warning = "${var.eventhub_failed_requests_rate_thresold_warning}" -} - -module "iothub" { - source = "./iothubs" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags = "${var.non_taggable_filter_tags}" - - status_silenced = "${var.iothub_status_silenced}" - status_message = "${var.iothub_status_message}" - status_time_aggregator = "${var.iothub_status_time_aggregator}" - status_timeframe = "${var.iothub_status_timeframe}" - total_devices_silenced = "${var.iothub_total_devices_silenced}" - total_devices_message = "${var.iothub_total_devices_message}" - total_devices_time_aggregator = "${var.iothub_total_devices_time_aggregator}" - total_devices_timeframe = "${var.iothub_total_devices_timeframe}" - too_many_d2c_telemetry_ingress_nosent_silenced = "${var.iothub_too_many_d2c_telemetry_ingress_nosent_silenced}" - too_many_d2c_telemetry_ingress_nosent_message = "${var.iothub_too_many_d2c_telemetry_ingress_nosent_message}" - too_many_d2c_telemetry_ingress_nosent_timeframe = "${var.iothub_too_many_d2c_telemetry_ingress_nosent_timeframe}" - dropped_d2c_telemetry_egress_silenced = "${var.iothub_dropped_d2c_telemetry_egress_silenced}" - dropped_d2c_telemetry_egress_message = "${var.iothub_dropped_d2c_telemetry_egress_message}" - dropped_d2c_telemetry_egress_timeframe = "${var.iothub_dropped_d2c_telemetry_egress_timeframe}" - dropped_d2c_telemetry_egress_rate_threshold_critical = "${var.iothub_dropped_d2c_telemetry_egress_rate_threshold_critical}" - dropped_d2c_telemetry_egress_rate_threshold_warning = "${var.iothub_dropped_d2c_telemetry_egress_rate_threshold_warning}" - failed_c2d_methods_rate_silenced = "${var.iothub_failed_c2d_methods_rate_silenced}" - failed_c2d_methods_rate_message = "${var.iothub_failed_c2d_methods_rate_message}" - failed_c2d_methods_rate_timeframe = "${var.iothub_failed_c2d_methods_rate_timeframe}" - failed_c2d_methods_rate_threshold_critical = "${var.iothub_failed_c2d_methods_rate_threshold_critical}" - failed_c2d_methods_rate_threshold_warning = "${var.iothub_failed_c2d_methods_rate_threshold_warning}" - failed_c2d_twin_read_rate_silenced = "${var.iothub_failed_c2d_twin_read_rate_silenced}" - failed_c2d_twin_read_rate_message = "${var.iothub_failed_c2d_twin_read_rate_message}" - failed_c2d_twin_read_rate_timeframe = "${var.iothub_failed_c2d_twin_read_rate_timeframe}" - failed_c2d_twin_read_rate_threshold_critical = "${var.iothub_failed_c2d_twin_read_rate_threshold_critical}" - failed_c2d_twin_read_rate_threshold_warning = "${var.iothub_failed_c2d_twin_read_rate_threshold_warning}" - failed_c2d_twin_update_rate_silenced = "${var.iothub_failed_c2d_twin_update_rate_silenced}" - failed_c2d_twin_update_rate_message = "${var.iothub_failed_c2d_twin_update_rate_message}" - failed_c2d_twin_update_rate_timeframe = "${var.iothub_failed_c2d_twin_update_rate_timeframe}" - failed_c2d_twin_update_rate_threshold_critical = "${var.iothub_failed_c2d_twin_update_rate_threshold_critical}" - failed_c2d_twin_update_rate_threshold_warning = "${var.iothub_failed_c2d_twin_update_rate_threshold_warning}" - failed_d2c_twin_read_rate_silenced = "${var.iothub_failed_d2c_twin_read_rate_silenced}" - failed_d2c_twin_read_rate_message = "${var.iothub_failed_d2c_twin_read_rate_message}" - failed_d2c_twin_read_rate_timeframe = "${var.iothub_failed_d2c_twin_read_rate_timeframe}" - failed_d2c_twin_read_rate_threshold_critical = "${var.iothub_failed_d2c_twin_read_rate_threshold_critical}" - failed_d2c_twin_read_rate_threshold_warning = "${var.iothub_failed_d2c_twin_read_rate_threshold_warning}" - failed_d2c_twin_update_rate_silenced = "${var.iothub_failed_d2c_twin_update_rate_silenced}" - failed_d2c_twin_update_rate_message = "${var.iothub_failed_d2c_twin_update_rate_message}" - failed_d2c_twin_update_rate_timeframe = "${var.iothub_failed_d2c_twin_update_rate_timeframe}" - failed_d2c_twin_update_rate_threshold_critical = "${var.iothub_failed_d2c_twin_update_rate_threshold_critical}" - failed_d2c_twin_update_rate_threshold_warning = "${var.iothub_failed_d2c_twin_update_rate_threshold_warning}" - failed_jobs_rate_silenced = "${var.iothub_failed_jobs_rate_silenced}" - failed_jobs_rate_message = "${var.iothub_failed_jobs_rate_message}" - failed_jobs_rate_timeframe = "${var.iothub_failed_jobs_rate_timeframe}" - failed_jobs_rate_threshold_critical = "${var.iothub_failed_jobs_rate_threshold_critical}" - failed_jobs_rate_threshold_warning = "${var.iothub_failed_jobs_rate_threshold_warning}" - failed_listjobs_rate_silenced = "${var.iothub_failed_listjobs_rate_silenced}" - failed_listjobs_rate_message = "${var.iothub_failed_listjobs_rate_message}" - failed_listjobs_rate_timeframe = "${var.iothub_failed_listjobs_rate_timeframe}" - failed_listjobs_rate_threshold_critical = "${var.iothub_failed_listjobs_rate_threshold_critical}" - failed_listjobs_rate_threshold_warning = "${var.iothub_failed_listjobs_rate_threshold_warning}" - failed_queryjobs_rate_silenced = "${var.iothub_failed_queryjobs_rate_silenced}" - failed_queryjobs_rate_message = "${var.iothub_failed_queryjobs_rate_message}" - failed_queryjobs_rate_timeframe = "${var.iothub_failed_queryjobs_rate_timeframe}" - failed_queryjobs_rate_threshold_critical = "${var.iothub_failed_queryjobs_rate_threshold_critical}" - failed_queryjobs_rate_threshold_warning = "${var.iothub_failed_queryjobs_rate_threshold_warning}" - invalid_d2c_telemetry_egress_silenced = "${var.iothub_invalid_d2c_telemetry_egress_silenced}" - invalid_d2c_telemetry_egress_message = "${var.iothub_invalid_d2c_telemetry_egress_message}" - invalid_d2c_telemetry_egress_timeframe = "${var.iothub_invalid_d2c_telemetry_egress_timeframe}" - invalid_d2c_telemetry_egress_rate_threshold_critical = "${var.iothub_invalid_d2c_telemetry_egress_rate_threshold_critical}" - invalid_d2c_telemetry_egress_rate_threshold_warning = "${var.iothub_invalid_d2c_telemetry_egress_rate_threshold_warning}" - orphaned_d2c_telemetry_egress_silenced = "${var.iothub_orphaned_d2c_telemetry_egress_silenced}" - orphaned_d2c_telemetry_egress_message = "${var.iothub_orphaned_d2c_telemetry_egress_message}" - orphaned_d2c_telemetry_egress_timeframe = "${var.iothub_orphaned_d2c_telemetry_egress_timeframe}" - orphaned_d2c_telemetry_egress_rate_threshold_critical = "${var.iothub_orphaned_d2c_telemetry_egress_rate_threshold_critical}" - orphaned_d2c_telemetry_egress_rate_threshold_warning = "${var.iothub_orphaned_d2c_telemetry_egress_rate_threshold_warning}" -} - -module "redis" { - source = "./redis" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_silenced = "${var.redis_status_silenced}" - status_message = "${var.redis_status_message}" - status_time_aggregator = "${var.redis_status_time_aggregator}" - status_timeframe = "${var.redis_status_timeframe}" - evictedkeys_limit_silenced = "${var.redis_evictedkeys_limit_silenced}" - evictedkeys_limit_message = "${var.redis_evictedkeys_limit_message}" - evictedkeys_limit_time_aggregator = "${var.redis_evictedkeys_limit_time_aggregator}" - evictedkeys_limit_timeframe = "${var.redis_evictedkeys_limit_timeframe}" - evictedkeys_limit_threshold_critical = "${var.redis_evictedkeys_limit_threshold_critical}" - evictedkeys_limit_threshold_warning = "${var.redis_evictedkeys_limit_threshold_warning}" - percent_processor_time_silenced = "${var.redis_percent_processor_time_silenced}" - percent_processor_time_message = "${var.redis_percent_processor_time_message}" - percent_processor_time_time_aggregator = "${var.redis_percent_processor_time_time_aggregator}" - percent_processor_time_timeframe = "${var.redis_percent_processor_time_timeframe}" - percent_processor_time_threshold_critical = "${var.redis_percent_processor_time_threshold_critical}" - percent_processor_time_threshold_warning = "${var.redis_percent_processor_time_threshold_warning}" - server_load_rate_silenced = "${var.redis_server_load_rate_silenced}" - server_load_rate_message = "${var.redis_server_load_rate_message}" - server_load_rate_time_aggregator = "${var.redis_server_load_rate_time_aggregator}" - server_load_rate_timeframe = "${var.redis_server_load_rate_timeframe}" - server_load_rate_threshold_critical = "${var.redis_server_load_rate_threshold_critical}" - server_load_rate_threshold_warning = "${var.redis_server_load_rate_threshold_warning}" -} - -module "servicebus" { - source = "./servicebus" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_silenced = "${var.servicebus_status_silenced}" - status_message = "${var.servicebus_status_message}" - status_timeframe = "${var.servicebus_status_timeframe}" - status_time_aggregator = "${var.servicebus_status_time_aggregator}" - - no_active_connections_silenced = "${var.servicebus_no_active_connections_silenced}" - no_active_connections_message = "${var.servicebus_no_active_connections_message}" - no_active_connections_timeframe = "${var.servicebus_no_active_connections_timeframe}" - no_active_connections_time_aggregator = "${var.servicebus_no_active_connections_time_aggregator}" - - server_errors_silenced = "${var.servicebus_server_errors_silenced}" - server_errors_message = "${var.servicebus_server_errors_message}" - server_errors_timeframe = "${var.servicebus_server_errors_timeframe}" - server_errors_threshold_critical = "${var.servicebus_server_errors_threshold_critical}" - server_errors_threshold_warning = "${var.servicebus_server_errors_threshold_warning}" - - user_errors_silenced = "${var.servicebus_user_errors_silenced}" - user_errors_message = "${var.servicebus_user_errors_message}" - user_errors_timeframe = "${var.servicebus_user_errors_timeframe}" - user_errors_threshold_critical = "${var.servicebus_user_errors_threshold_critical}" - user_errors_threshold_warning = "${var.servicebus_user_errors_threshold_warning}" -} - -module "sqldatabase" { - source = "./sql-database" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - cpu_silenced = "${var.sqldatabase_cpu_silenced}" - cpu_message = "${var.sqldatabase_cpu_message}" - cpu_time_aggregator = "${var.sqldatabase_cpu_time_aggregator}" - cpu_timeframe = "${var.sqldatabase_cpu_timeframe}" - cpu_threshold_critical = "${var.sqldatabase_cpu_threshold_critical}" - cpu_threshold_warning = "${var.sqldatabase_cpu_threshold_warning}" - deadlock_silenced = "${var.sqldatabase_deadlock_silenced}" - deadlock_message = "${var.sqldatabase_deadlock_message}" - deadlock_timeframe = "${var.sqldatabase_deadlock_timeframe}" - deadlock_threshold_critical = "${var.sqldatabase_deadlock_threshold_critical}" - diskspace_silenced = "${var.sqldatabase_diskspace_silenced}" - diskspace_message = "${var.sqldatabase_diskspace_message}" - diskspace_time_aggregator = "${var.sqldatabase_diskspace_time_aggregator}" - diskspace_timeframe = "${var.sqldatabase_diskspace_timeframe}" - diskspace_threshold_critical = "${var.sqldatabase_diskspace_threshold_critical}" - diskspace_threshold_warning = "${var.sqldatabase_diskspace_threshold_warning}" - dtu_silenced = "${var.sqldatabase_dtu_silenced}" - dtu_message = "${var.sqldatabase_dtu_message}" - dtu_time_aggregator = "${var.sqldatabase_dtu_time_aggregator}" - dtu_timeframe = "${var.sqldatabase_dtu_timeframe}" - dtu_threshold_critical = "${var.sqldatabase_dtu_threshold_critical}" - dtu_threshold_warning = "${var.sqldatabase_dtu_threshold_warning}" -} - -module "storage" { - source = "./storage" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - authorization_error_requests_silenced = "${var.storage_authorization_error_requests_silenced}" - authorization_error_requests_message = "${var.storage_authorization_error_requests_message}" - authorization_error_requests_time_aggregator = "${var.storage_authorization_error_requests_time_aggregator}" - authorization_error_requests_timeframe = "${var.storage_authorization_error_requests_timeframe}" - authorization_error_requests_threshold_critical = "${var.storage_authorization_error_requests_threshold_critical}" - authorization_error_requests_threshold_warning = "${var.storage_authorization_error_requests_threshold_warning}" - availability_silenced = "${var.storage_availability_silenced}" - availability_message = "${var.storage_availability_message}" - availability_time_aggregator = "${var.storage_availability_time_aggregator}" - availability_timeframe = "${var.storage_availability_timeframe}" - availability_threshold_critical = "${var.storage_availability_threshold_critical}" - availability_threshold_warning = "${var.storage_availability_threshold_warning}" - client_other_error_requests_silenced = "${var.storage_client_other_error_requests_silenced}" - client_other_error_requests_message = "${var.storage_client_other_error_requests_message}" - client_other_error_requests_time_aggregator = "${var.storage_client_other_error_requests_time_aggregator}" - client_other_error_requests_timeframe = "${var.storage_client_other_error_requests_timeframe}" - client_other_error_requests_threshold_critical = "${var.storage_client_other_error_requests_threshold_critical}" - client_other_error_requests_threshold_warning = "${var.storage_client_other_error_requests_threshold_warning}" - latency_silenced = "${var.storage_latency_silenced}" - latency_message = "${var.storage_latency_message}" - latency_time_aggregator = "${var.storage_latency_time_aggregator}" - latency_timeframe = "${var.storage_latency_timeframe}" - latency_threshold_critical = "${var.storage_latency_threshold_critical}" - latency_threshold_warning = "${var.storage_latency_threshold_warning}" - network_error_requests_silenced = "${var.storage_network_error_requests_silenced}" - network_error_requests_message = "${var.storage_network_error_requests_message}" - network_error_requests_time_aggregator = "${var.storage_network_error_requests_time_aggregator}" - network_error_requests_timeframe = "${var.storage_network_error_requests_timeframe}" - network_error_requests_threshold_critical = "${var.storage_network_error_requests_threshold_critical}" - network_error_requests_threshold_warning = "${var.storage_network_error_requests_threshold_warning}" - server_other_error_requests_silenced = "${var.storage_server_other_error_requests_silenced}" - server_other_error_requests_message = "${var.storage_server_other_error_requests_message}" - server_other_error_requests_time_aggregator = "${var.storage_server_other_error_requests_time_aggregator}" - server_other_error_requests_timeframe = "${var.storage_server_other_error_requests_timeframe}" - server_other_error_requests_threshold_critical = "${var.storage_server_other_error_requests_threshold_critical}" - server_other_error_requests_threshold_warning = "${var.storage_server_other_error_requests_threshold_warning}" - successful_requests_silenced = "${var.storage_successful_requests_silenced}" - successful_requests_message = "${var.storage_successful_requests_message}" - successful_requests_time_aggregator = "${var.storage_successful_requests_time_aggregator}" - successful_requests_timeframe = "${var.storage_successful_requests_timeframe}" - successful_requests_threshold_critical = "${var.storage_successful_requests_threshold_critical}" - successful_requests_threshold_warning = "${var.storage_successful_requests_threshold_warning}" - throttling_error_requests_silenced = "${var.storage_throttling_error_requests_silenced}" - throttling_error_requests_message = "${var.storage_throttling_error_requests_message}" - throttling_error_requests_time_aggregator = "${var.storage_throttling_error_requests_time_aggregator}" - throttling_error_requests_timeframe = "${var.storage_throttling_error_requests_timeframe}" - throttling_error_requests_threshold_critical = "${var.storage_throttling_error_requests_threshold_critical}" - throttling_error_requests_threshold_warning = "${var.storage_throttling_error_requests_threshold_warning}" - timeout_error_requests_silenced = "${var.storage_timeout_error_requests_silenced}" - timeout_error_requests_message = "${var.storage_timeout_error_requests_message}" - timeout_error_requests_time_aggregator = "${var.storage_timeout_error_requests_time_aggregator}" - timeout_error_requests_timeframe = "${var.storage_timeout_error_requests_timeframe}" - timeout_error_requests_threshold_critical = "${var.storage_timeout_error_requests_threshold_critical}" - timeout_error_requests_threshold_warning = "${var.storage_timeout_error_requests_threshold_warning}" -} - -module "streamanalytics" { - source = "./stream-analytics" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - conversion_errors_silenced = "${var.streamanalytics_conversion_errors_silenced}" - conversion_errors_message = "${var.streamanalytics_conversion_errors_message}" - conversion_errors_time_aggregator = "${var.streamanalytics_conversion_errors_time_aggregator}" - conversion_errors_timeframe = "${var.streamanalytics_conversion_errors_timeframe}" - conversion_errors_threshold_critical = "${var.streamanalytics_conversion_errors_threshold_critical}" - conversion_errors_threshold_warning = "${var.streamanalytics_conversion_errors_threshold_warning}" - failed_function_requests_silenced = "${var.streamanalytics_failed_function_requests_silenced}" - failed_function_requests_message = "${var.streamanalytics_failed_function_requests_message}" - failed_function_requests_timeframe = "${var.streamanalytics_failed_function_requests_timeframe}" - failed_function_requests_threshold_critical = "${var.streamanalytics_failed_function_requests_threshold_critical}" - failed_function_requests_threshold_warning = "${var.streamanalytics_failed_function_requests_threshold_warning}" - runtime_errors_silenced = "${var.streamanalytics_runtime_errors_silenced}" - runtime_errors_message = "${var.streamanalytics_runtime_errors_message}" - runtime_errors_time_aggregator = "${var.streamanalytics_runtime_errors_time_aggregator}" - runtime_errors_timeframe = "${var.streamanalytics_runtime_errors_timeframe}" - runtime_errors_threshold_critical = "${var.streamanalytics_runtime_errors_threshold_critical}" - runtime_errors_threshold_warning = "${var.streamanalytics_runtime_errors_threshold_warning}" - su_utilization_silenced = "${var.streamanalytics_su_utilization_silenced}" - su_utilization_message = "${var.streamanalytics_su_utilization_message}" - su_utilization_time_aggregator = "${var.streamanalytics_su_utilization_time_aggregator}" - su_utilization_timeframe = "${var.streamanalytics_su_utilization_timeframe}" - su_utilization_threshold_critical = "${var.streamanalytics_su_utilization_threshold_critical}" - su_utilization_threshold_warning = "${var.streamanalytics_su_utilization_threshold_warning}" -} - -module "cosmosdb" { - source = "./cosmosdb" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_enabled = "${var.cosmos_db_status_enabled}" - status_message = "${var.cosmos_db_status_message}" - status_silenced = "${var.cosmos_db_status_silenced}" - status_extra_tags = "${var.cosmos_db_status_extra_tags}" - status_time_aggregator = "${var.cosmos_db_status_time_aggregator}" - status_timeframe = "${var.cosmos_db_status_timeframe}" - - cosmos_db_4xx_requests_enabled = "${var.cosmos_db_4xx_requests_enabled}" - cosmos_db_4xx_request_rate_threshold_critical = "${var.cosmos_db_4xx_request_rate_threshold_critical}" - cosmos_db_4xx_request_rate_threshold_warning = "${var.cosmos_db_4xx_request_rate_threshold_warning}" - cosmos_db_4xx_requests_message = "${var.cosmos_db_4xx_requests_message}" - cosmos_db_4xx_requests_silenced = "${var.cosmos_db_4xx_requests_silenced}" - cosmos_db_4xx_request_extra_tags = "${var.cosmos_db_4xx_request_extra_tags}" - cosmos_db_4xx_request_time_aggregator = "${var.cosmos_db_4xx_request_time_aggregator}" - cosmos_db_4xx_request_timeframe = "${var.cosmos_db_4xx_request_timeframe}" - - cosmos_db_5xx_requests_enabled = "${var.cosmos_db_5xx_requests_enabled}" - cosmos_db_5xx_request_rate_threshold_critical = "${var.cosmos_db_5xx_request_rate_threshold_critical}" - cosmos_db_5xx_request_rate_threshold_warning = "${var.cosmos_db_5xx_request_rate_threshold_warning}" - cosmos_db_5xx_requests_message = "${var.cosmos_db_5xx_requests_message}" - cosmos_db_5xx_requests_silenced = "${var.cosmos_db_5xx_requests_silenced}" - cosmos_db_5xx_request_rate_extra_tags = "${var.cosmos_db_5xx_request_rate_extra_tags}" - cosmos_db_5xx_request_time_aggregator = "${var.cosmos_db_5xx_request_time_aggregator}" - cosmos_db_5xx_request_timeframe = "${var.cosmos_db_5xx_request_timeframe}" -} - -module "datalakestore" { - source = "./datalakestore" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_enabled = "${var.datalakestore_status_enabled}" - status_silenced = "${var.datalakestore_status_silenced}" - status_message = "${var.datalakestore_status_message}" - status_timeframe = "${var.datalakestore_status_timeframe}" - status_time_aggregator = "${var.datalakestore_status_time_aggregator}" - status_extra_tags = "${var.datalakestore_status_extra_tags}" -} - -module "keyvault" { - source = "./keyvault" - - environment = "${var.environment}" - message = "${var.message}" - evaluation_delay = "${var.evaluation_delay}" - new_host_delay = "${var.new_host_delay}" - - filter_tags_use_defaults = "${var.filter_tags_use_defaults}" - filter_tags_custom = "${var.filter_tags_custom}" - - status_enabled = "${var.keyvault_status_enabled}" - status_silenced = "${var.keyvault_status_silenced}" - status_message = "${var.keyvault_status_message}" - status_timeframe = "${var.keyvault_status_timeframe}" - status_time_aggregator = "${var.keyvault_status_time_aggregator}" - status_extra_tags = "${var.keyvault_status_extra_tags}" - - api_result_enabled = "${var.keyvault_api_result_enabled}" - api_result_silenced = "${var.keyvault_api_result_silenced}" - api_result_message = "${var.keyvault_api_result_message}" - api_result_timeframe = "${var.keyvault_api_result_timeframe}" - api_result_time_aggregator = "${var.keyvault_api_result_time_aggregator}" - api_result_threshold_critical = "${var.keyvault_api_result_threshold_critical}" - api_result_threshold_warning = "${var.keyvault_api_result_threshold_warning}" - api_result_extra_tags = "${var.keyvault_api_result_extra_tags}" - - api_latency_enabled = "${var.keyvault_api_latency_enabled}" - api_latency_silenced = "${var.keyvault_api_latency_silenced}" - api_latency_message = "${var.keyvault_api_latency_message}" - api_latency_timeframe = "${var.keyvault_api_latency_timeframe}" - api_latency_time_aggregator = "${var.keyvault_api_latency_time_aggregator}" - api_latency_threshold_critical = "${var.keyvault_api_latency_threshold_critical}" - api_latency_threshold_warning = "${var.keyvault_api_latency_threshold_warning}" - api_latency_extra_tags = "${var.keyvault_api_latency_extra_tags}" -}