Open hoouinkyouma opened 2 weeks ago
Hi there. Looks like it tries to call /report/render...
for getting the grafana panels. Can you show some parts of your template file? Did you try create a demo template with the wizard and call that with your web URL?
No, I skipped the demo template, kind of gotten used to the adoc templates and created one for myself. My report.adoc file looks like this: :pdf-theme: /home/ubuntu/grafana-pro/reportgen/themes/custom-theme.yml :imagesdir: ./images
[.text-center] image::logo.png[300,200,float="right",align="center"]
[.text-center] = Monitoring System :grafana_default_dashboard: rYdddlPWkL1
grafana_panel_image:1[scale=45, render-height="1250",render-width="1750"] [cols="8*",options="header"] |=== | grafana_panel_image:7[scale=35,render-height="125",render-width="125"] | grafana_panel_image:8[scale=35,render-height="125",render-width="125"] | grafana_panel_image:9[scale=35,render-height="125",render-width="125"] | grafana_panel_image:10[scale=35,render-height="125",render-width="125"] | grafana_panel_image:11[scale=35,render-height="125",render-width="125"] | grafana_panel_image:12[scale=35,render-height="125",render-width="125"] | grafana_panel_image:13[scale=35,render-height="125",render-width="125"] | grafana_panel_image:14[scale=35,render-height="125",render-width="125"] |===
I'm also using a custom-theme. The readme file says, to add the "http://<
Let's say my grafana is on https://my-grafana.com, I've added a path to this domain for 8815 port (/reports) for report generation. So, my link looks like https://my-grafana.com/reports/render?var-template=report.adoc for report. Thanks a lot for helping out
Ah, now I see the issue: The webservice is expecting to be called on top level, like e.g. /render
instead of /reports/render
.
Do you have the possibility to rewrite the URL for the reporter? If so, you can try it out.
Apart from that: I think, I have an idea on how to allow sub-urls in a next release.
I'll try this out and let you know, thanks a lot!
Hi, I'm running grafana and ruby-grafana-reporter as a docker container and I have the respective volumes mounted to it.
My grafana is running on the domain, example: https://my-grafana.com => for accessing grafana
The ruby-reporter is running on 8815 port and my grafana_reporter.config, looks like this:
Since, you can see, my host, I have mentioned my domain name instead of the ip and the port number. For the reports part on the Grafana, I created a link and added the URL: https://my-grafana.com/report/render?var-template=report.adoc. (report.adoc is the file name in my local.)
When I try to generate the reports, this is what I see in my next window:
Now, I'm wondering, why it'd say that? I have a target group and listeners configured correctly. Can you please help on resolving this? How would I go about adding my domain and use it for reporting instead of using the ip address and the port number?