service-check-monitor
kabisa/service-check-monitor/datadog
terraform-datadog-service-check-monitor This module is a base module we use for service checks in datadog. A good example use can be found here Getting Started Pre-commit: - Install pre-commit. E.g. brew install pre-commit. - Run pre-commit install in this repo. (Every time you clone a repo with pre-commit enabled you will need to run the pre-commit install command) - That’s it! Now every time you commit a code change (.tf file), the hooks in the hooks: config .pre-commit-config.yaml will execute. Requirements | Name | Version | |------|---------| | datadog | ~> 3.12 | Providers | Name | Version | |------|---------| | datadog | 3.12.0 | Modules No modules. Resources | Name | Type | |------|------| | datadog_monitor.monitor | resource | Inputs | Name | Description | Type | Default | Require
| Name | Type | Description | Default |
|---|---|---|---|
| env | string | This refers to the environment or which stage of deployment this monitor is chec | required |
| service | string | Service name of what you're monitoring. This also sets the service:<service> tag | required |
| priority | number | Number from 1 (high) to 5 (low). | required |
| metric_name | string | Name of the status metric being monitored. If this check is not ok for a number | required |
| alert_message | string | Message to be sent when the alert threshold is hit | required |
| name | string | Name that the monitor should get. Will be automatically prefixed with the Servic | required |
| include_tags | list(string) | List of tags for the "over" part of the query. Can be either key:value tags or b | [] |
| by_tags | list(string) | List of tags for the "by" part of the query. This should only include the keys o | [] |
| recovery_message | string | Recovery message to be sent when the alert threshold is no longer hit | "" |
| no_data_message | string | Message to be sent when the monitor is no longer receiving data | "" |
| require_full_window | bool | true | |
| alerting_enabled | bool | If set to false no alerts will be sent based on this monitor | true |
| track_as_cluster_level_status | bool | This allows to check for the status of a cluster instead of individual hosts, wa | false |
| ok_threshold | number | null | |
| custom_message | string | This field give the option to put in custom text. Both 'note' and 'docs' are pre | "" |
| additional_tags | list(string) | Additional tags to set on the monitor. Good tagging can be hard but very useful | [] |
| critical_threshold | number | null | |
| exclude_tags | list(string) | List of tags for the "exclude" part of the query. Can be either key:value tags o | [] |
| notify_no_data | bool | Do you want an alert when the monitoring stops sending data? | false |
| locked | bool | Makes sure only the creator or admin can modify the monitor | true |
| notification_channel | string | Channel to which datadog sends alerts, will be overridden by alerting_enabled if | "" |
| docs | string | Field in the alert message that can be used to document why the alert was sent o | "" |
| name_suffix | string | Can be used to suffix to the Monitor name | "" |
| new_group_delay | number | Time (in seconds) to skip evaluations for new groups. https://registry.terraform | null |
| enabled | bool | If set to false the monitor resource will not be created | true |
| service_display_name | string | null |
alert_id