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

How to configure the datasource on Grafana? #1

Closed
tinproject opened this issue Oct 30, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@tinproject
Copy link

commented Oct 30, 2017

First, thanks for the plugin!

I've just installed grafana 4.6 and the camptocamp-prometheus-alertmanager-datasource plugin. But I cant' find where to define the alertmanager url for the datasource.

Grafana only prompts for a name, ant when save it shows an error:

prom-alert-grafana-error

Please add docs on how to configure the datasource.

@cryptobioz

This comment has been minimized.

Copy link
Member

commented Oct 30, 2017

Hi,
I cannot reproduce...
Which OS are you using? Do you use a Docker container?
How did you install the AlertManager plugin?

@tinproject

This comment has been minimized.

Copy link
Author

commented Oct 30, 2017

Yes, we use a custom docker container with this dockerfile:

FROM grafana/grafana:4.6.0

COPY grafana.ini /etc/grafana/grafana.ini

# Plugin installation
RUN mkdir -p /grafana-plugins

RUN grafana-cli --pluginsDir "/grafana-plugins" plugins install other-plugins..
RUN grafana-cli --pluginsDir "/grafana-plugins" plugins install camptocamp-prometheus-alertmanager-datasource
RUN grafana-cli --pluginsDir "/grafana-plugins" plugins ls

ENV GF_PATHS_PLUGINS="/grafana-plugins"

Alert manager is on other containers on the same network.

@tinproject

This comment has been minimized.

Copy link
Author

commented Nov 6, 2017

@cryptobioz Works ok with Grafana 4.6.1. Perhaps is related to grafana/grafana#9509

@tinproject tinproject closed this Nov 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.