IzakMarais / reporter

Service that generates a PDF report from a Grafana dashboard
Apache License 2.0
946 stars 305 forks source link

Error while fetching the panel images #278

Open aivinc-ind opened 3 years ago

aivinc-ind commented 3 years ago

Hi, Thanks for providing such nice tool !!! I am facing an issue to make it work quickly using Grafana 7.3 version, I installed grafana image rendering plugin and restarted the grafana server as well.

When I tried to get the report i continuously get below errors. My Grafana dashboard panles are getting repeated for each row with all selected machineIDs / for all machineIDs. But when I tried to get the report for the grafana-reporter it fails as below. Can you please guide me on how to fix this problem. Am I missing somethings here. Same issue with grafana-reporter command line as well.

2021/02/21 17:33:34 Error obtaining render for panel {Id:104 Type:stat Title:Machine \$machineID - Shift 3 GridPos:{H:3 W:7 X:3 Y:12}}, Status: 500, Retrying after 10s... 2021/02/21 17:33:34 Error obtaining render for panel {Id:106 Type:stat Title:Machine \$machineID - Shift 2 GridPos:{H:3 W:7 X:17 Y:12}}, Status: 500, Retrying after 10s... 2021/02/21 17:33:34 Error obtaining render for panel {Id:105 Type:stat Title:Machine \$machineID - Shift 1 GridPos:{H:3 W:7 X:10 Y:12}}, Status: 500, Retrying after 10s... 2021/02/21 17:33:34 Error obtaining render for panel {Id:108 Type:stat Title:Machine \$machineID - Shift All GridPos:{H:3 W:3 X:0 Y:16}}, Status: 500, Retrying after 10s... 2021/02/21 17:33:42 Error obtaining render for panel {Id:103 Type:stat Title:Machine \$machineID - Shift All GridPos:{H:3 W:3 X:0 Y:12}}, Status: 500, Retrying after 20s... 2021/02/21 17:33:45 Error obtaining render for panel {Id:106 Type:stat Title:Machine \$machineID - Shift 2 GridPos:{H:3 W:7 X:17 Y:12}}, Status: 500, Retrying after 20s... 2021/02/21 17:33:45 Error obtaining render for panel {Id:105 Type:stat Title:Machine \$machineID - Shift 1 GridPos:{H:3 W:7 X:10 Y:12}}, Status: 500, Retrying after 20s... 2021/02/21 17:33:45 Error obtaining render for panel {Id:108 Type:stat Title:Machine \$machineID - Shift All GridPos:{H:3 W:3 X:0 Y:16}}, Status: 500, Retrying after 20s... 2021/02/21 17:33:45 Error obtaining render for panel {Id:104 Type:stat Title:Machine \$machineID - Shift 3 GridPos:{H:3 W:7 X:3 Y:12}}, Status: 500, Retrying after 20s...

Thanks, AIV

aivinc-ind commented 3 years ago

I installed all required packages needed for grafana plugin i.e. image rendering, now I am getting new set of error as below

lvl=eror msg="Timeout error. You can set timeout in seconds with &timeout url parameter" logger=context userId=0 orgId=1 uname= error="Timeout error. You can set timeout in seconds with &timeout url parameter"

Is grafana image rendering plugin taking too much of CPU resource and hence I am getting this error? I tried to change the timeout value as well to timeout=300 but still no luck.