service-check-monitor

kabisa/service-check-monitor/datadog

Terraform Module HCL DATADOG
Install
module "service-check-monitor" {
source = "kabisa/service-check-monitor/datadog"
version = "2.0.0"
}
plain text: /constructs/tfmod-kabisa-service-check-monitor-datadog/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (31)
NameTypeDescriptionDefault
envstringThis refers to the environment or which stage of deployment this monitor is chec required
servicestringService name of what you're monitoring. This also sets the service:<service> tag required
prioritynumberNumber from 1 (high) to 5 (low). required
metric_namestringName of the status metric being monitored. If this check is not ok for a number required
alert_messagestringMessage to be sent when the alert threshold is hit required
namestringName that the monitor should get. Will be automatically prefixed with the Servic required
include_tagslist(string)List of tags for the "over" part of the query. Can be either key:value tags or b[]
by_tagslist(string)List of tags for the "by" part of the query. This should only include the keys o[]
recovery_messagestringRecovery message to be sent when the alert threshold is no longer hit""
no_data_messagestringMessage to be sent when the monitor is no longer receiving data""
require_full_windowbooltrue
alerting_enabledboolIf set to false no alerts will be sent based on this monitortrue
track_as_cluster_level_statusboolThis allows to check for the status of a cluster instead of individual hosts, wafalse
ok_thresholdnumbernull
custom_messagestringThis field give the option to put in custom text. Both 'note' and 'docs' are pre""
additional_tagslist(string)Additional tags to set on the monitor. Good tagging can be hard but very useful []
critical_thresholdnumbernull
exclude_tagslist(string)List of tags for the "exclude" part of the query. Can be either key:value tags o[]
notify_no_databoolDo you want an alert when the monitoring stops sending data?false
lockedboolMakes sure only the creator or admin can modify the monitortrue
notification_channelstringChannel to which datadog sends alerts, will be overridden by alerting_enabled if""
docsstringField in the alert message that can be used to document why the alert was sent o""
name_suffixstringCan be used to suffix to the Monitor name""
new_group_delaynumberTime (in seconds) to skip evaluations for new groups. https://registry.terraformnull
enabledboolIf set to false the monitor resource will not be createdtrue
service_display_namestringnull
Outputs (1)
alert_id
Resources (1)
datadog_monitor
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud DATADOG
Total downloads1.7k
Inputs31
Outputs1
Resources1
Namespacekabisa
Updated