Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] Fix invalid monitor timeout_h example #1281

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

phillip-dd
Copy link
Contributor

timeout_h values greater than 24 hours are not supported. This example has unfortunately led to many invalid monitors.

@phillip-dd phillip-dd requested a review from a team as a code owner November 19, 2021 16:48
mathispesch
mathispesch previously approved these changes Nov 19, 2021
@@ -18,7 +18,7 @@ resource "datadog_monitor" "foo" {
renotify_interval = 60

notify_audit = false
timeout_h = 60
timeout_h = 18

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually want to have this in the example? There's a bunch of fields that aren't populated here already and I don't know if the autoresolve timeout is a behaviour that people want to have by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough, i've removed it entirely

`timeout_h` values greater than 24 hours are not supported. This example has unfortunately led to many invalid monitors.
@phillip-dd phillip-dd force-pushed the pb/fix-monitor-example-timeout branch from 81f377d to 2482b90 Compare November 23, 2021 02:26
@phillip-dd phillip-dd requested review from a team as code owners November 23, 2021 02:26
@therve
Copy link
Contributor

therve commented Nov 23, 2021

/azp run

@therve therve enabled auto-merge (squash) November 23, 2021 07:48
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@therve therve disabled auto-merge November 23, 2021 10:36
@therve therve merged commit 95c0517 into master Nov 23, 2021
@therve therve deleted the pb/fix-monitor-example-timeout branch November 23, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants