-
Notifications
You must be signed in to change notification settings - Fork 39
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
Screenboards unable to export #17
Comments
@thomasfinstad sorry for late reply!
Second (and main) issue is interesting. I actually have no |
I faced some issue importing screenboards too. I will try to get some time to investigate it too. |
Same here. Seeing
Aside dd2tf is a great tool - thanks for building! |
Sorry guys, I was extremely busy recently. The issue seems to be related to zorkian/go-datadog-api#192, although I'm not sure. Will try to check this week. |
This issue is most likely related to the updated "new_id" that Datadog is using - it is a alphanumeric value rather than simply numeric I forked this repo and the zorkian/go-datadog-api repo and adjusted the unmarshall so that it ignores width. This works, but some formatting is lost. I think the bigger issue is that Datadog is moving away from screenboards & timeboards in favor of one unified dashboard. Release notes as of two days ago
Think you have time to build this out for the new resource type? I'd be happy to offer some help. |
@mlindes first of all, thanks for the investigation. I can spend time to build new resource, but I recently stumbled across terraformer. So I'm not even sure developing dd2tf makes any sense :D. |
Hey @amnk sorry for the slow reply.. And thanks or yours! I'd like to be able to export a board into a standard tf config file so that I can then manipulate that file by iterating over a query, for example. Or simply to keep my monitors stored as code so that any adjustments to thresholds are logged and applied with a deploy.. There are others, but this is a brief idea. Anyhow, where this is leading.. I'm revisiting the path of my last question.. any thoughts to continue back on this project? Or... maybe I should look more into converting a state file... or.. |
@mlindes if this project is useful to someone - I will continue it :) Will try to allocate time today to fix this issue. |
@amnk for what it's worth, with some recent pr's merged in to the Terraformer project, I can accomplish what I'm looking for - That said, this dd2tf tool is more friendly to work with. |
@mlindes thanks for honest feedback. When I initially coded this - I was also not aware of Terraformer (or maybe it did not exist - not sure). But their approach to this problem is much more advanced than what I do here... and much more professional :) I will try to port this tool to new API, and maybe even adopt a smarter way to generate files instead of simple hand crafted templates... But I'm not sure about timeline to be honest. That might take some time, maybe a week or two (yeah, I know I was silent on current issues for waaay more time). By the way, how exactly dd2tf is more friendly? Is that because of narrow scope? |
Timeboards seemed to export fine, though without the query part of it.
The problem is when exporting screenboards I get an error:
keys and id changed
I have built from master and the tagged version, same result.
Is something missing? The only thing that is not completely normal is this message during the install:
Sys info:
The text was updated successfully, but these errors were encountered: