ansible / ansible-modules-extras

Ansible extra modules - these modules ship with ansible
947 stars 1.47k forks source link

Add delay evaluation parameter in datadog module #3708

Closed ndeixonne closed 7 years ago

ndeixonne commented 7 years ago

ISSUE TYPE Feature Pull Request

COMPONENT NAME datadog_monitor

ANSIBLE VERSION ansible 2.3.0.0

SUMMARY

The reason for this change is to be capable of specifying delay evaluation in datadog monitor. Delay evaluation represents the minimum amount of seconds before an alert can be triggered. We needed this parameter for our datadog service checks. After discussing with datadog, they applied this new feature to their API. That's why, we want to share it since that parameter represents an important need for some cases.

Having this parameter allows you to trigger alerts from datadog only after a minimum amount of time. It will reduce false positive, notably in dev environment for example, when you need not to consider an alert if a service is down less than 15, 20 minutes etc...

I'm contributing this in the hopes that it will be useful to others in the same situation, please let me know what you think? Thanks!

ansibot commented 7 years ago

This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible

Please read through the repomerge page in the dev guide.