-
Notifications
You must be signed in to change notification settings - Fork 303
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
Grafana reporter gives connection refused error #313
Comments
+1 |
Hello @Musekhan, Does your grafana listen on 127.0.0.1 or on another network interface ? Best regards, Nikoos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have installed grafana reporter following this post:
https://github.com/IzakMarais/reporter
Attached is the error.
![image](https://user-images.githubusercontent.com/92368501/141116497-0bcc0534-e4ad-4d3f-ab90-e465d600724e.png)
I have changed the grafana ip in main.go from local host to my grafana ip, yet when I run grafana-reporter -help the changed ip doesn't reflect there.
root@grafana:~/go/bin# ./grafana-reporter --help
Usage of ./grafana-reporter:
-cmd_apiKey string
Grafana api key. Required (and only used) in command line mode.
-cmd_apiVersion string
Api version: [v4, v5]. Required (and only used) in command line mode, example: -apiVersion v5. (default "v5")
-cmd_dashboard string
Dashboard identifier. Required (and only used) in command line mode.
-cmd_enable
Enable command line mode. Generate report from command line without starting webserver (-cmd_enable=1).
-cmd_o string
Output file. Required (and only used) in command line mode. (default "out.pdf")
-cmd_template string
Specify a custom TeX template file. Only used in command line mode, but is optional even there.
-cmd_ts string
Time span. Required (and only used) in command line mode. (default "from=now-3h&to=now")
-grid-layout
Enable grid layout (-grid-layout=1). Panel width and height will be calculated based off Grafana gridPos width and height.
-ip string
Grafana IP and port. (default "localhost:3000")
-port string
Port to serve on. (default ":8686")
-proto string
Grafana Protocol. Change to 'https://' if Grafana is using https. Reporter will still serve http. (default "http://")
-ssl-check
Check the SSL issuer and validity. Set this to false if your Grafana serves https using an unverified, self-signed certificate. (default true)
-templates string
Directory for custom TeX templates. (default "templates/")
Any help is appreciated.
The text was updated successfully, but these errors were encountered: