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

What is the correct URL to configure #47

Open
craph opened this issue Dec 4, 2018 · 7 comments
Open

What is the correct URL to configure #47

craph opened this issue Dec 4, 2018 · 7 comments
Labels

Comments

@craph
Copy link

craph commented Dec 4, 2018

Hello,

I am unable to configure the plugin in Grafana.

What is the correct url to configure ? is it http://localhost:9090 or http://localhost:9093

With the first URL (URL for Prometheus) I have :
image

With the second URL :
image

Thank you for your help

Best regards

@aviramartac
Copy link

I have the same issue.

@yarix
Copy link

yarix commented Jan 2, 2019

i should work with the 2nd option (http://localhost:9093) usually the error HTTP Error Bad Gateway is when:

  • your alert manager is down
  • or not running on localhost
  • or runs on some other port

please close this issue.

@craph
Copy link
Author

craph commented Jan 3, 2019

Please don't close this issue, it's a real bug.

My alertmanager is up, running on localhost and on the port 9093

@cryptobioz cryptobioz added the bug label Jan 21, 2019
@cryptobioz
Copy link
Member

@craph According to your comments, I assume that you have, in your environment, a Prometheus server which is listening on 127.0.0.1:9090, an Alertmanager listening on 127.0.0.1:9093 and a Grafana server.

Are you able to manually reach the status endpoint? Like by doing:

$ curl -v -X GET http://localhost:9093/api/v1/status

@pete-leese
Copy link

How does the release of alert manager 0.16 affect this plugin now the v2 of the API has been released ?

@cryptobioz
Copy link
Member

@VR6Pete For now, the v1 is only deprecated so the datasource should work as excepted with the Alertmanager 0.16. Adding support of the API v2 is planned for the next weeks.

@pete-leese
Copy link

Great, I will update alert manager in that case.

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

No branches or pull requests

5 participants