Azure Redis DataDog monitors ============================ How to use this module ---------------------- ``` module "datadog-monitors-azure-redis" { source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/redis?ref={revision}" message = "${module.datadog-message-alerting.alerting-message}" environment = "${var.environment}" client_name = "${var.client_name}" } ``` Purpose ------- Creates a DataDog monitors with the following checks : * Service status check * Evicted keys count check * Processor time (percent) threshold * Server CPU load threshold Inputs ------ | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | client_name | Client name | string | - | yes | | delay | Delay in seconds for the metric evaluation | string | `600` | no | | environment | Architecture environment | string | - | yes | | evictedkeys_limit_threshold_critical | Evicted keys limit (critical threshold) | string | `100` | no | | evictedkeys_limit_threshold_warning | Evicted keys limit (warning threshold) | string | `0` | no | | message | Message sent when a Redis monitor is triggered | string | - | yes | | percent_processor_time_threshold_critical | Processor time percent (critical threshold) | string | `80` | no | | percent_processor_time_threshold_warning | Processor time percent (warning threshold) | string | `60` | no | | server_load_rate_threshold_critical | Server CPU load rate (critical threshold) | string | `90` | no | | server_load_rate_threshold_warning | Server CPU load rate (warning threshold) | string | `70` | no | | use_filter_tags | Filter the data with service tags if true | string | `true` | no | Related documentation --------------------- DataDog documentation: [https://docs.datadoghq.com/integrations/azure_redis_cache/](https://docs.datadoghq.com/integrations/azure_redis_cache/) Azure Redis metrics documentation: [https://docs.microsoft.com/en-us/azure/redis-cache/cache-how-to-monitor](https://docs.microsoft.com/en-us/azure/redis-cache/cache-how-to-monitor)