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

Configure Datasource returns error #151

Open
JustNZ opened this issue Nov 14, 2023 · 4 comments
Open

Configure Datasource returns error #151

JustNZ opened this issue Nov 14, 2023 · 4 comments

Comments

@JustNZ
Copy link

JustNZ commented Nov 14, 2023

Hello,

After installing the plugin and configuring the datasource I get the following red error message:

image

My Datasource Details:
image

@JustNZ JustNZ changed the title Configure Data source returns error Configure Datasource returns error Nov 14, 2023
@github-amine-kherbouche
Copy link

same here 👋

@gaetanars
Copy link

You use Grafana Mimir Alertmanager, not Prometheus Alertmanager. Same issue for me.

@forsberg
Copy link

Same for me on Grafana 11. Looks like it's making a request to Grafana itself (see <title>Grafana</title> in the output).

Not using mimir.

@forsberg
Copy link

I have a hard time believing this, but what solved this problem for me was to not name my datasource of type camptocamp-prometheus-alertmanager-datasource "alertmanager".

In my case, URL was set to http://kube-prometheus-stack-alertmanager.monitoring.svc.cluster.local:9093/alertmanager/

If my datasource was named "alertmanager", I would see a request in the request log of grafana itself where it received a request for /alertmanager, i.e, it seems like for some reason, the http request was not routed to my actual alertmanager, but to grafana. If I instead name my datasource "camptocamp-prometheus-alertmanager-datasource", it starts working.

This seems to appeared somewhere between Grafana 9.0.5 and Grafana 11.0.0.

Oddly enough, this was only a problem on one of my Grafana instances.

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

4 participants