Welcome to the Linux Foundation Forum!

Grafana does not adquire data from prometheus. ERROR Bad Gateway


LF 241 6.1
I am unable to add Prometheus as source data for Grafana
The ERROR says "Bad Gateway"

Best Answer

  • skopos
    skopos Posts: 21
    Answer ✓

    Yes, I was able to fix it, it was my mistake I input "localhost" instead of the IP as recommended


  • Did you fix it? could you provide more information on how are you running prometheus and Grafana?

  • bauger
    bauger Posts: 39

    On my side I added the --network="host" argument when launching the grafana container to fix this issue. Note, I am pretty sure there is a better way to do instead exposing the entire host network to the container...


Upcoming Training