3.3 KiB
3.3 KiB
DATABASE ZOOKEEPER DataDog monitors
How to use this module
module "datadog-monitors-database-zookeeper" {
source = "git::ssh://git@git.fr.clara.net/claranet/pt-monitoring/projects/datadog/terraform/monitors.git//database/zookeeper?ref={revision}"
environment = var.environment
message = module.datadog-message-alerting.alerting-message
}
Purpose
Creates DataDog monitors with the following checks:
- Zookeeper latency
- Zookeeper process is down
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| environment | Architecture environment | string | n/a | yes |
| evaluation_delay | Delay in seconds for the metric evaluation | string | "15" |
no |
| filter_tags_custom | Tags used for custom filtering when filter_tags_use_defaults is false | string | "*" |
no |
| filter_tags_custom_excluded | Tags excluded for custom filtering when filter_tags_use_defaults is false | string | "" |
no |
| filter_tags_use_defaults | Use default filter tags convention | string | "true" |
no |
| message | Message sent when a monitor is triggered | string | n/a | yes |
| new_host_delay | Delay in seconds before begin to monitor new host | string | "300" |
no |
| prefix_slug | Prefix string to prepend between brackets on every monitors names | string | "" |
no |
| zookeeper_latency_availability_extra_tags | Extra tags for zookeeper read latency monitor | list(string) | [] |
no |
| zookeeper_latency_enabled | Flag to enable Zookeeper read latency monitor | string | "true" |
no |
| zookeeper_latency_status_message | Custom message for Zookeeper read latency monitor | string | "" |
no |
| zookeeper_latency_threshold_critical | Maximum critical acceptable ms of zookeeper latency monitor | string | "300000" |
no |
| zookeeper_latency_threshold_warning | Maximum warning acceptable ms of zookeeper latency monitor | string | "250000" |
no |
| zookeeper_latency_time_aggregator | Monitor time aggregator for Zookeeper read latency monitor [available values: min, max or avg] | string | "avg" |
no |
| zookeeper_latency_timeframe | Monitor timeframe for Zookeeper read latency monitor [available values: last_#m (1, 5, 10, 15, or 30), last_#h (1, 2, or 4), or last_1d] |
string | "last_15m" |
no |
| zookeeper_process_enabled | Flag to enable Zookeeper does not respond monitor | string | "true" |
no |
| zookeeper_process_extra_tags | Extra tags for Zookeeper does not respond monitor | list(string) | [] |
no |
| zookeeper_process_message | Custom message for Zookeeper does not respond monitor | string | "" |
no |
| zookeeper_process_time_aggregator | Time aggregator for the Zookeeper does not respond monitor | string | "avg" |
no |
| zookeeper_process_timeframe | Timeframe for the does not respond monitor | string | "last_10m" |
no |
Outputs
| Name | Description |
|---|---|
| datadog_monitor_zookeeper_latency_id | id for monitor datadog_monitor_zookeeper_latency |
| datadog_zookeeper_process_down_id | id for monitor datadog_zookeeper_process_down |