Open ttm92 opened 1 year ago
Thanks for your feedback and for using the reporter.
It is correct, that "Repeat for" is not properly supported today. Anyway, there is a workaround, that might be ok for you to try out:
grafana_panel_image::36[dashboard="JAUih-d7z",date_selected="2023-02-18",soft_techno="MariaDB",count_soft_techno="2"]
Depending on the variables specified, you can walk through the desired exports in your template. Please try it out and let me know the results.
Describe the issue I've been using this plugin for a while and it's really handy. Thank you for the work done. I have a new report that contains sections that repeat according to technology (based on the variable soft_techno which is an array of values). Within each section I have several panels that I want to export as an image. When I have one technology selected is working, but when I have more than one, I have an error :
I have seen that in the logs we can see the request : "http://xxx.xxx.xxx.xxx:3000/render/d-solo/JAUih-d7z?panelId=36&fullscreen=true&theme=light&timeout=60&var-date_selected=2023-02-18&var-soft_techno=%5B%22MariaDB%22%2C+%22MSSQL%22%5D&var-count_soft_techno=2&var-template=Obsolescence.adoc&height=150&width=400&from=1677772968000&to=1677859367000" which is not working In grafana, in order to have the image exported, the request to use is : "http://xxx.xxx.xxx.xxx:3000/render/d-solo/JAUih-d7z?panelId=36&fullscreen=true&theme=light&timeout=60&var-date_selected=2023-02-18&var-soft_techno=MariaDB&var-soft_techno=MSSQL&var-count_soft_techno=2&var-template=Obsolescence.adoc&height=150&width=400&from=1677772968000&to=1677859367000" Hope that can help.
Environment (please complete the following information):