From 67adeabbd8584ab5710ca3aba356ed36665a3ac9 Mon Sep 17 00:00:00 2001 From: Alexandre Gaillet Date: Mon, 31 Dec 2018 14:56:05 +0100 Subject: [PATCH] MON-383 - Inputs removed --- cloud/azure/mysql/README.md | 8 ------ cloud/azure/mysql/inputs.tf | 46 -------------------------------- cloud/azure/postgresql/README.md | 8 ------ cloud/azure/postgresql/inputs.tf | 46 -------------------------------- 4 files changed, 108 deletions(-) diff --git a/cloud/azure/mysql/README.md b/cloud/azure/mysql/README.md index 4927f8d..dbaf50b 100644 --- a/cloud/azure/mysql/README.md +++ b/cloud/azure/mysql/README.md @@ -26,14 +26,6 @@ Creates DataDog monitors with the following checks: | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| -| compute_consumption_enabled | Flag to enable Mysql status monitor | string | `true` | no | -| compute_consumption_extra_tags | Extra tags for Mysql status monitor | list | `[]` | no | -| compute_consumption_message | Custom message for Mysql compute consumption monitor | string | `` | no | -| compute_consumption_silenced | Groups to mute for Mysql compute consumption monitor | map | `{}` | no | -| compute_consumption_threshold_critical | Mysql compute consumption in percent (critical threshold) | string | `90` | no | -| compute_consumption_threshold_warning | Mysql compute consumption in percent (warning threshold) | string | `80` | no | -| compute_consumption_time_aggregator | Monitor aggregator for Mysql compute consumption [available values: min, max or avg] | string | `min` | no | -| compute_consumption_timeframe | Monitor timeframe for Mysql compute consumption [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | cpu_usage_enabled | Flag to enable Mysql status monitor | string | `true` | no | | cpu_usage_extra_tags | Extra tags for Mysql status monitor | list | `[]` | no | | cpu_usage_message | Custom message for Mysql CPU monitor | string | `` | no | diff --git a/cloud/azure/mysql/inputs.tf b/cloud/azure/mysql/inputs.tf index 6a37a24..403ab71 100644 --- a/cloud/azure/mysql/inputs.tf +++ b/cloud/azure/mysql/inputs.tf @@ -204,52 +204,6 @@ variable "io_consumption_threshold_critical" { default = "90" } -variable "compute_consumption_silenced" { - description = "Groups to mute for Mysql compute consumption monitor" - type = "map" - default = {} -} - -variable "compute_consumption_enabled" { - description = "Flag to enable Mysql status monitor" - type = "string" - default = "true" -} - -variable "compute_consumption_extra_tags" { - description = "Extra tags for Mysql status monitor" - type = "list" - default = [] -} - -variable "compute_consumption_message" { - description = "Custom message for Mysql compute consumption monitor" - type = "string" - default = "" -} - -variable "compute_consumption_time_aggregator" { - description = "Monitor aggregator for Mysql compute consumption [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "compute_consumption_timeframe" { - description = "Monitor timeframe for Mysql compute consumption [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 "compute_consumption_threshold_warning" { - description = "Mysql compute consumption in percent (warning threshold)" - default = "80" -} - -variable "compute_consumption_threshold_critical" { - description = "Mysql compute consumption in percent (critical threshold)" - default = "90" -} - variable "memory_usage_silenced" { description = "Groups to mute for Mysql memory monitor" type = "map" diff --git a/cloud/azure/postgresql/README.md b/cloud/azure/postgresql/README.md index 0b96275..ec6bd94 100644 --- a/cloud/azure/postgresql/README.md +++ b/cloud/azure/postgresql/README.md @@ -26,14 +26,6 @@ Creates DataDog monitors with the following checks: | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| -| compute_consumption_enabled | Flag to enable PostgreSQL status monitor | string | `true` | no | -| compute_consumption_extra_tags | Extra tags for PostgreSQL status monitor | list | `[]` | no | -| compute_consumption_message | Custom message for PostgreSQL compute consumption monitor | string | `` | no | -| compute_consumption_silenced | Groups to mute for PostgreSQL compute consumption monitor | map | `{}` | no | -| compute_consumption_threshold_critical | PostgreSQL compute consumption in percent (critical threshold) | string | `90` | no | -| compute_consumption_threshold_warning | PostgreSQL compute consumption in percent (warning threshold) | string | `80` | no | -| compute_consumption_time_aggregator | Monitor aggregator for PostgreSQL compute consumption [available values: min, max or avg] | string | `min` | no | -| compute_consumption_timeframe | Monitor timeframe for PostgreSQL compute consumption [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_15m` | no | | cpu_usage_enabled | Flag to enable PostgreSQL status monitor | string | `true` | no | | cpu_usage_extra_tags | Extra tags for PostgreSQL status monitor | list | `[]` | no | | cpu_usage_message | Custom message for PostgreSQL CPU monitor | string | `` | no | diff --git a/cloud/azure/postgresql/inputs.tf b/cloud/azure/postgresql/inputs.tf index fa3411a..9e24b6e 100644 --- a/cloud/azure/postgresql/inputs.tf +++ b/cloud/azure/postgresql/inputs.tf @@ -204,52 +204,6 @@ variable "io_consumption_threshold_critical" { default = "90" } -variable "compute_consumption_silenced" { - description = "Groups to mute for PostgreSQL compute consumption monitor" - type = "map" - default = {} -} - -variable "compute_consumption_enabled" { - description = "Flag to enable PostgreSQL status monitor" - type = "string" - default = "true" -} - -variable "compute_consumption_extra_tags" { - description = "Extra tags for PostgreSQL status monitor" - type = "list" - default = [] -} - -variable "compute_consumption_message" { - description = "Custom message for PostgreSQL compute consumption monitor" - type = "string" - default = "" -} - -variable "compute_consumption_time_aggregator" { - description = "Monitor aggregator for PostgreSQL compute consumption [available values: min, max or avg]" - type = "string" - default = "min" -} - -variable "compute_consumption_timeframe" { - description = "Monitor timeframe for PostgreSQL compute consumption [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 "compute_consumption_threshold_warning" { - description = "PostgreSQL compute consumption in percent (warning threshold)" - default = "80" -} - -variable "compute_consumption_threshold_critical" { - description = "PostgreSQL compute consumption in percent (critical threshold)" - default = "90" -} - variable "memory_usage_silenced" { description = "Groups to mute for PostgreSQL memory monitor" type = "map"