Closed omadawn closed 6 years ago
It looks useful, thank you for the contribution @omadawn!
YW, Thanks for saving me a bit of work on one of my sprint issues; "Come up with a way to back up and restore grafana dashboards." ^_^ Yeah the key is just too darn long to have in the command line for me. I also like your idea of having a configuration file but wasn't sure what the format should look like so I didn't touch that. There will probably be some more from me once I poke around at your code and understand it a bit better. Restore mostly isn't working for me and I'm fairly new to go so troubleshooting it is probably going to be a bit slow. There are a number of ideas which might be more useful to me than others so there are probably going to be a number of features I suggest via the issues board so that I know you're on board before I start writing anything. But this one seemed likely enough to pass and simple enough to implement.
Sure the project is open for additions. I have no strict conditions for the final target. This utility saved me a lot of time during my first sessions of diving into Prometheus+Grafana. Now I am using it not so often but I'm still interested for developing it to a more complete state.
Added the ability to get Grafana server URL and token from environment variables.