-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Grafana IP specified #103
Comments
It seems like your Grafana serving at a different URL? From the log above:
From the readme:
Perhaps you should use the ip command line option to specify the correct IP port combination for Grafana. |
Hi Team, Please help me how to align PDF same as dashboard. |
Hi Izak, I have issue with pdf alignment please can you help me with that. |
Is this a scripted dashboard or does it have dynamic number of rows based on the data? The reporter doesn't currently support those types of dashboards. It is also not clear whether it would be possible to do given the Grafana API. See #79. I tested again on a test dashboard with a graph panel and two single stat boxes. The dashboad: You can customise the layout of the report to an extent by providing your own LaTeX template. See the template section of the readme as well as #50. |
I love it when people fix issues themselves but never explain what they did!!! I have the same issue. Grafana and reporter on the same server and used Docker to install and run. First I found Grafana didnt like the url as shown in the video as it needs http://at the beginning but now I try I get the following message: 2019/01/07 12:36:00 Reporter called I tried running it with the ip flag to point it to the grafana ip address but just cant figure out the correct syntax as it doesnt like -ip xx.xx.xx.xx:3000 or any varient I could think of. any clues as to how to fix it? |
I figured it out!! I needed to add an api token to the URL I was calling |
i have followed and stuck at this point can you advise how you generate and add api token to solve unauthorized access issue. |
Hi Sir,
I am planning to take a PDF report for my dashboard. I followed all your steps. but I am getting below error when I click the PDF icon.
[root@inmonprd1 bin]# ./grafana-reporter
2018/12/10 13:37:06 grafana reporter, version: 2.1-0 hash: 997082a
2018/12/10 13:37:06 serving at ':8686' and using grafana at 'localhost:3000'
2018/12/10 13:39:54 Reporter called
2018/12/10 13:39:54 Called with api Token:
2018/12/10 13:39:54 Called without variable
2018/12/10 13:39:54 Called with dashboard: hofnQd-mk
2018/12/10 13:39:54 Called with time range: {now-5m now}
2018/12/10 13:39:54 Connecting to dashboard at http://localhost:3000/api/dashboards/uid/hofnQd-mk
2018/12/10 13:39:54 Error generating report: error fetching dashboard hofnQd-mk: error executing getDashboard request for http://localhost:3000/api/dashboards/uid/hofnQd-mk: Get http://localhost:3000/api/dashboards/uid/hofnQd-mk: dial tcp 127.0.0.1:3000: connect: connection refused
In Browser:-
error fetching dashboard hofnQd-mk: error executing getDashboard request for http://localhost:3000/api/dashboards/uid/hofnQd-mk: Get http://localhost:3000/api/dashboards/uid/hofnQd-mk: dial tcp 127.0.0.1:3000: connect: connection refused
My Dashboard Report URL - http://monitoring.otpp.com:8686/api/v5/report/hofnQd-mk?from=now-5m&to=now
Please help me to fix this issue.
The text was updated successfully, but these errors were encountered: