IzakMarais / reporter

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

reporting not working #307

Open concept-trainer opened 3 years ago

concept-trainer commented 3 years ago

I have followed your complete readme.md and setup successfully but when i click on report button to generate its PDF it is showing nothing to me

I have Ubuntu 20 with Grafana and following the github link for the setup of pdf. https://github.com/IzakMarais/reporter/blob/master/readme.md

I have installed pdflatex with below commands.

apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra

apt-get install texlive-full

after this how i can set and verify environmental veriable.

but when i click on pdf button nothings happened.

Kindly help on this to accomplish.

concept-trainer commented 3 years ago

http://localhost:3000/api/dashboards/uid/lfe_L-0mz. Got Status 400 Bad Request, message: Client sent an HTTP request to an HTTPS server.

concept-trainer commented 3 years ago

it has too much bugs i do not recommend to waste your time on this. Extremely disappointed !!!!

Jersh commented 3 years ago

http://localhost:3000/api/dashboards/uid/lfe_L-0mz. Got Status 400 Bad Request, message: Client sent an HTTP request to an HTTPS server.

is this where you expect to find your PDF? if your hosting grafana on port 3000 and havent changed the default port for the pdf you need to link to localhost:8686 as specified in the readme.

deepaksharma17 commented 3 years ago

Facing the same issues, here are the screenshots for references image image image image

Details from CLI [root@lit-rhel7-test1:<rhel7-test> /home/sharmad]# go install -v github.com/IzakMarais/reporter/cmd/grafana-reporter [root@lit-rhel7-test1:<rhel7-test> /home/sharmad]# export GOPATH=$HOME/go [root@lit-rhel7-test1:<rhel7-test> /home/sharmad]# export PATH=$PATH:$GOROOT/bin:$GOPATH/bin [root@lit-rhel7-test1:<rhel7-test> /home/sharmad]# grafana-reporter 2021/09/30 08:03:22 grafana reporter, version: 2.3-0 hash: 124b9a35302b3e9d4746ec0cf643abfecda8c21d 2021/09/30 08:03:22 serving at ':8686' and using grafana at 'http://localhost:3000' 2021/09/30 08:03:22 SSL check enforced 2021/09/30 08:03:22 Using sequential report layout. Consider enabling 'grid-layout' so that your report more closely follow the dashboard layout.