-
Notifications
You must be signed in to change notification settings - Fork 381
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
Optional variables for apm_query cause crash or error when excluded #316
Comments
Thanks for your help! Let me know if I can provide any other info. |
Ping @enbashi could you take a look at the issue d) from the original report and see if there's something we can do about that? Thanks! |
Sure, I will take a look. Apologies for the delay, I missed the previous ping. |
Apologies also for the delay, the issue d) was fixed few weeks ago. The |
So it looks like all 4 problems from the original issue report are now fixed. I'm going to close this. @entscheidungsproblem feel free to open a new issue if you have more problems. Thanks everyone involved! |
Hi there,
Terraform Version
Terraform v0.12.1
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
a)
timeseries_definition:request:apm_query:compute:interval
excludeddebug
crash
b)
timeseries_definition:request:apm_query:group_by:sort:facet
excludeddebug
crash
c)
timeseries_definition:request:apm_query:group_by:facet
excludeddebug
d)
timeseries_definition:request:apm_query:group_by
excludeddebug
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.a)
timeseries_definition:request:apm_query:compute:interval
excludedcrash
b)
timeseries_definition:request:apm_query:group_by:sort:facet
excludedcrash
Expected Behavior
Create dashboard with a
timeseries_definition
withapm_query
using the arguments as directed in the wiki, specifically working correctly when excluding optional arguments. Comments in the code above shows what lines are excluded for each case.a) This case excludes
timeseries_definition:request:apm_query:compute:interval
b) This case excludes
timeseries_definition:request:apm_query:group_by:sort:facet
c) This case excludes
timeseries_definition:request:apm_query:group_by:facet
d) This case excludes
timeseries_definition:request:apm_query:group_by
Actual Behavior
a) Terraform crashes when
timeseries_definition:request:apm_query:compute:interval
is not set.b) Terraform crashes when
timeseries_definition:request:apm_query:group_by:sort:facet
is not set.c) Terraform errors when
timeseries_definition:request:apm_query:group_by:facet
is not set.d) No data is shown on the Datadog dashboard when
group_by
is not set.This is the json of the widget (for d)):
It works when changed to:
Steps to Reproduce
timeseries_definition:request:apm_query:compute:interval
timeseries_definition:request:apm_query:group_by:sort:facet
timeseries_definition:request:apm_query:group_by:facet
timeseries_definition:request:apm_query:group_by
terraform apply
The text was updated successfully, but these errors were encountered: