datadog_monitor: Add process alert support (#60325)

This commit is contained in:
Andrej Svenke 2019-09-03 18:10:07 +02:00 committed by ansibot
parent bfaa29303b
commit bdc87a5651

View file

@ -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),