Observability for Phoenix using the Grafana Stack in Dev

Originally published at: Observability for Phoenix using the Grafana Stack in Dev | Stereowrench

Configure a local copy of the Grafana stack to power observability for an Elixir Phoenix application.

Hey theron,

Thanks for the blog post! I’ve tried using the docker-compose definition from the blog post on Ubuntu (Running inside WSL2 and can’t get the grafana <—> mimir connection to work.

Post “http://load-balancer:9009/api/v1/query”: dial tcp: lookup load-balancer on 127.0.0.11:53: no such host - There was an error returned querying the Prometheus API.

Best,
dangercoder

Welcome @dangercoder . How did you end up solving the problem?

Hey, sorry for the deletion of the previous post – couldn’t undo it.

The question was: The example docker-compose didn’t work – something wrong with the load balancer (ngnix).

I used GitHub - qclaogui/codelab-monitoring: Grafana LGTMP Stack (Loki Grafana Tempo Mimir Pyroscope) Showcase + some of the content from your blogpost :slight_smile:

Can you share your docker compose file? @dangercoder

@dangercoder have you resolved the issue or do you need further help?