mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
feat: support datadog_monitor composite type (#2958)
* feat: support datadog_monitor composite type * docs: note support for composite types * lint * lint: line lengths * doc: changelog frag
This commit is contained in:
parent
111c5de550
commit
7a41833e59
2 changed files with 16 additions and 2 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
minor_changes:
|
||||||
|
- datadog_monitor - allow creation of composite datadog monitors
|
||||||
|
(https://github.com/ansible-collections/community.general/issues/2956).
|
|
@ -51,7 +51,17 @@ options:
|
||||||
description:
|
description:
|
||||||
- The type of the monitor.
|
- The type of the monitor.
|
||||||
- The types C(query alert), C(trace-analytics alert) and C(rum alert) were added in community.general 2.1.0.
|
- The types C(query alert), C(trace-analytics alert) and C(rum alert) were added in community.general 2.1.0.
|
||||||
choices: ['metric alert', 'service check', 'event alert', 'process alert', 'log alert', 'query alert', 'trace-analytics alert', 'rum alert']
|
- The type C(composite) was added in community.general 3.4.0.
|
||||||
|
choices:
|
||||||
|
- metric alert
|
||||||
|
- service check
|
||||||
|
- event alert
|
||||||
|
- process alert
|
||||||
|
- log alert
|
||||||
|
- query alert
|
||||||
|
- trace-analytics alert
|
||||||
|
- rum alert
|
||||||
|
- composite
|
||||||
type: str
|
type: str
|
||||||
query:
|
query:
|
||||||
description:
|
description:
|
||||||
|
@ -209,7 +219,8 @@ def main():
|
||||||
app_key=dict(required=True, no_log=True),
|
app_key=dict(required=True, no_log=True),
|
||||||
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
|
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
|
||||||
type=dict(choices=['metric alert', 'service check', 'event alert', 'process alert',
|
type=dict(choices=['metric alert', 'service check', 'event alert', 'process alert',
|
||||||
'log alert', 'query alert', 'trace-analytics alert', 'rum alert']),
|
'log alert', 'query alert', 'trace-analytics alert',
|
||||||
|
'rum alert', 'composite']),
|
||||||
name=dict(required=True),
|
name=dict(required=True),
|
||||||
query=dict(),
|
query=dict(),
|
||||||
notification_message=dict(no_log=True),
|
notification_message=dict(no_log=True),
|
||||||
|
|
Loading…
Reference in a new issue