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
* docs: note support for composite types
* lint
* lint: line lengths
* doc: changelog frag
(cherry picked from commit 7a41833e59
)
Co-authored-by: Tyler Schwend <tyler.schwend@placeexchange.com>
This commit is contained in:
parent
61de9ce51c
commit
1c84389f50
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:
|
||||
- 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.
|
||||
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
|
||||
query:
|
||||
description:
|
||||
|
@ -209,7 +219,8 @@ def main():
|
|||
app_key=dict(required=True, no_log=True),
|
||||
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
|
||||
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),
|
||||
query=dict(),
|
||||
notification_message=dict(no_log=True),
|
||||
|
|
Loading…
Reference in a new issue