mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* add support for datadog monitors of type event-v2
See https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/
* add changelog fragement for PR
* typos
* add link to PR
* minor_fetaure, not bugfix
* add to description when we added event-v2 type
* Update changelogs/fragments/4457-support-datadog-monitors-type event-v2.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6edc176143
)
Co-authored-by: ermeaney <ermeaney@gmail.com>
This commit is contained in:
parent
78f69224be
commit
bec382df87
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- datadog_monitor - support new datadog event monitor of type `event-v2 alert` (https://github.com/ansible-collections/community.general/pull/4457)
|
|
@ -15,6 +15,7 @@ short_description: Manages Datadog monitors
|
||||||
description:
|
description:
|
||||||
- Manages monitors within Datadog.
|
- Manages monitors within Datadog.
|
||||||
- Options as described on https://docs.datadoghq.com/api/.
|
- Options as described on https://docs.datadoghq.com/api/.
|
||||||
|
- The type C(event-v2) was added in community.general 4.8.0.
|
||||||
author: Sebastian Kornehl (@skornehl)
|
author: Sebastian Kornehl (@skornehl)
|
||||||
requirements: [datadog]
|
requirements: [datadog]
|
||||||
options:
|
options:
|
||||||
|
@ -56,6 +57,7 @@ options:
|
||||||
- metric alert
|
- metric alert
|
||||||
- service check
|
- service check
|
||||||
- event alert
|
- event alert
|
||||||
|
- event-v2 alert
|
||||||
- process alert
|
- process alert
|
||||||
- log alert
|
- log alert
|
||||||
- query alert
|
- query alert
|
||||||
|
@ -222,7 +224,7 @@ def main():
|
||||||
api_host=dict(),
|
api_host=dict(),
|
||||||
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', 'event-v2 alert', 'process alert',
|
||||||
'log alert', 'query alert', 'trace-analytics alert',
|
'log alert', 'query alert', 'trace-analytics alert',
|
||||||
'rum alert', 'composite']),
|
'rum alert', 'composite']),
|
||||||
name=dict(required=True),
|
name=dict(required=True),
|
||||||
|
|
Loading…
Reference in a new issue