divinity666 / ruby-grafana-reporter

Reporting Service for Grafana
MIT License
66 stars 5 forks source link

[Question] Sample report format. #40

Closed henjoe closed 5 months ago

henjoe commented 1 year ago

Hi @divinity666 , this is an awesome projects! and thank you for this. I actually new to this, and I am looking for an example on how I configure my own report?

I was testing this tool using my self hosted grafana, I think it works fine as a web service since it outputs the report, here is my configuration on grafana as per documentation:

image

When I click that link on my dashboard, it outputs this pdf file: image

I believe this report template is the default template, but I wonder why didn't see any images in here? like my panels in a specific dashboards? What I actually want is to just print what is in my dashboard, see below:

image

When I click the "Print PDF Report", I was expecting that it automatically prints it in the pdf file, but again, in the report generated by the default template, it doesn't have any images.

Now my question is how would I do that? If you can give me a documentation on what are the things I need to learn in order to achieve that would be very appreciated!

Thank you.

Regards, Henjoe

divinity666 commented 1 year ago

Hi Henjoe, thanks for trying out the reporter.

Well, unfortunately, it looks like the demo report is not working, as it does not show any data at all. I propose to run again the configuration wizard and see if the report afterwards contains data.

If not, we should investigate in the web URL of your dashboard from the browser and the generated template (*.adoc) file. If possible, it would be great to share those files. Maybe you can also provide the configuration file, but please x-out API keys and private data.

henjoe commented 1 year ago

Thanks @divinity666 ! I will try to do this and will get back to you.

Regards, Henjoe

divinity666 commented 5 months ago

Closing because of missing feedback