grafana / tutorials

A series of tutorials for helping you make the most out of Grafana.
Apache License 2.0
111 stars 29 forks source link

Incorrect URL for Prometheus #193

Open mallettjared opened 2 years ago

mallettjared commented 2 years ago

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].

gandor999 commented 2 years ago

Loki seems to also be like this...

gandor999 commented 2 years ago

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

mallettjared commented 2 years ago

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.