Skip to content
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

Internal server error #104

Open
xiaodiannao opened this issue Nov 1, 2019 · 2 comments
Open

Internal server error #104

xiaodiannao opened this issue Nov 1, 2019 · 2 comments

Comments

@xiaodiannao
Copy link

Hi everyone,

I'm currently playing with cadence, which comes bundled with hopsoft/graphite-statsd (which I was delighted to see btw). Launching the Grafana web UI on http://localhost:8080 works fine but now I'm facing a problem with adding Graphite as a datasource. Here are my settings:

name: graphite
default: checked
type: Graphite
url: http://locahost:81
access: proxy
basic auth: unchecked
with credentials: unchecked

If I then press "test connection" I get the following output from the statsd docker container:
2019/11/01 10:51:42 [I] Completed 127.0.0.1 - "GET /metrics/find HTTP/1.0" 500 Internal Server Error 0 bytes in 105644us
and in the Grafana interface get:

Test results
HTTP Error
Internal Server Error

Does anyone know if there is a problem with the way I'm configuring things or what the problem is?

Thanks and best regards

@Thunder33345
Copy link

are you using grafana v6.x or the outdated one that comes with this docker?
this docker has an outdated copy of grafana dont use it

it seems there's a problem with using internal IP
try using your external IP (make sure it is accessible externally)
*this is pretty insecure and just "bad" but that's the only workaround i known of...

@xiaodiannao
Copy link
Author

Hi @Thunder33345 thanks for your reply! Yes I'm indeed using this apparently outdated version. It is included in the docker-compose file of cadence. Which one should I use instead?

You were right with your suggestion to use the external IP btw, it works that way! The dashboard is still empty though, do you know how I can add my metrics to the dashboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants