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

Missing a = #22

Open
sojjan1337 opened this issue Oct 23, 2019 · 2 comments
Open

Missing a = #22

sojjan1337 opened this issue Oct 23, 2019 · 2 comments

Comments

@sojjan1337
Copy link

sojjan1337 commented Oct 23, 2019

Hi!

Thank you for this tool!

I have one issue and that is that when i fetch data a = is missing.
It should be: thresholds = {
Look at it below.

Have a nice day!

`resource "datadog_monitor" "38794" {
name = "test"
type = "query alert"
tags = ["team:xxx","env:xxxx","service:xxxxx",]
message = <<EOT
@slack

This alarm means that.....
EOT
escalation_message = <<EOT

EOT

query = "sum(last_5m):avg:aws.xxxxxx.incoming_records{name:xxxxxxxxxx-metricstream}.as_count() > 40000"
notify_no_data = false
renotify_interval = 0
notify_audit = false
timeout_h = 0
include_tags = true
require_full_window = true
new_host_delay = 300
thresholds {
critical = 70000.0
}

}
`

@Technobeats
Copy link
Contributor

I had to fix these two parameters to get it compatible with TF v12.x
thresholds = {
style = {

@clarketm
Copy link

clarketm commented Aug 12, 2020

And also time = { in screenboard.tmpl

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

No branches or pull requests

3 participants