Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 3.98 KB

README.md

File metadata and controls

47 lines (36 loc) · 3.98 KB

Requirements

No requirements.

Providers

Name Version
datadog n/a

Modules

No modules.

Resources

Name Type
datadog_monitor.dm resource

Inputs

Name Description Type Default Required
include_tags (Boolean) A boolean indicating whether notifications from this monitor automatically insert its triggering tags into the title. Defaults to true bool true no
message (String) A message to include with notifications for this monitor. string n/a yes
monitor_threshold_windows (Block List, Max: 1) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors list(any) [] no
monitor_thresholds (List Of String) The monitor CRITICAL and RECOVERY threshold. Must be a number. list(any) n/a yes
name (String) Name of Datadog monitor. string n/a yes
new_group_delay (Number) The time (in seconds) to skip evaluations for new groups. number null no
notify_audit (Boolean) A boolean indicating whether tagged users will be notified on changes to this monitor. bool true no
on_missing_data (String) Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. string n/a yes
priority (Number) Integer from 1 (high) to 5 (low) indicating alert severity. number 1 no
query (String) The monitor query to notify on. Note this is not the same query you see in the UI and the syntax is different depending on the monitor type, please see the API Reference for details. terraform plan will validate query contents unless validate is set to false. string n/a yes
require_full_window (Boolean) A boolean indicating whether this monitor needs a full window of data before it's evaluated. bool false no
restricted_roles (Set of String) A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. set(string) n/a yes
tags (Set of String) A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API set(string) n/a yes
type (String) The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API documentation page string n/a yes

Outputs

Name Description
name The Datadog monitor name
type The Datadog monitor type