From bdc87a5651ad7e561267f7ce3faf9e4e90f99337 Mon Sep 17 00:00:00 2001 From: Andrej Svenke Date: Tue, 3 Sep 2019 18:10:07 +0200 Subject: [PATCH] datadog_monitor: Add process alert support (#60325) --- lib/ansible/modules/monitoring/datadog_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/monitoring/datadog_monitor.py b/lib/ansible/modules/monitoring/datadog_monitor.py index d39af6288a9..ea21fe1d6fd 100644 --- a/lib/ansible/modules/monitoring/datadog_monitor.py +++ b/lib/ansible/modules/monitoring/datadog_monitor.py @@ -49,7 +49,7 @@ options: type: description: - The type of the monitor. - choices: ['metric alert', 'service check', 'event alert'] + choices: ['metric alert', 'service check', 'event alert', 'process alert'] type: str query: description: @@ -194,7 +194,7 @@ def main(): api_key=dict(required=True, no_log=True), app_key=dict(required=True, no_log=True), state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']), - type=dict(required=False, choices=['metric alert', 'service check', 'event alert']), + type=dict(required=False, choices=['metric alert', 'service check', 'event alert', 'process alert']), name=dict(required=True), query=dict(required=False), message=dict(required=False, default=None),