grafana / tutorials

A series of tutorials for helping you make the most out of Grafana.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect URL for Prometheus

mallettjared opened this issue · comments

On this page - https://grafana.com/tutorials/grafana-fundamentals/

The instructions for step 4 - In the URL box, enter http://prometheus:9090.
This will not work, it should probably be [ip address of host].

Loki seems to also be like this...

There should already be a running instance for these containers locally... this must be a typo.

The url will never be in a localhosts file [prometheus:9090], that part of the documentation needs updating. If you browse to localhost:9090 I can get directly to the local prometheus container. If you try to add the datasource localhost:9090 it fails and errors cannot connect. The work around is to use the IP of the host.