Open JERUSO opened 1 year ago
Thanks for using the reporter.
So, it looks like, you try to have a variable in your dashboard, which points to the reporter template name. In your configuration, you point to a template named VMwarevSphere_Overview
, but obviously this file does not exists, as you can see in the log entries.
The template
variable has to point to the template file name, not to the dashboard.
I strongly recommend digging deeper in the wizard template file, which should make thinks a bit clearer.
Feel free to get back in case of questions.
hello. i did the same but got the same error. now i understand the problem is the lack of a template file. that being said how do i make this template file and what can i include in it to make it render the graphs in my grafana web view?
sorry if this has already been answered somewhere else.
Try creating a report template as described here: https://github.com/divinity666/ruby-grafana-reporter?tab=readme-ov-file#quick-start
Then you should be able to render that template with the reporter.
After that succeeds, you should be able to go through the template file and create your own, or adapt the demo report as needed to get to the desired result.
Describe the issue I have configured the reporter service in a linux centos, it generates the demo report without problem, however following the documentation I have created a variable in my report.
I have created the variable as a constant and as a text and I have entered the name of the grafana dashboard.
The link configuration in the dashboard grafana it is.![image](https://user-images.githubusercontent.com/19862601/215863709-cbc6c2a7-3ebd-4805-8daa-e793a1e6fc23.png)
When Running it shows me the following error![image](https://user-images.githubusercontent.com/19862601/215863879-eab72669-ea76-4421-857c-e2cdaaa60ffa.png)
Application call I do the application call as shown![image](https://user-images.githubusercontent.com/19862601/215864071-0bae9034-9b38-4b79-9d77-d93911110c25.png)
Environment (please complete the following information):
How do I be able to call the report for each one of the dashboards? Is there a portal with examples? I just followed the github documentation.
Thanks