Hi! I setup both Prometheus and Grafana on Render with little trouble; I used their latest Docker images and two almost barebones Blueprint files. Both of the services are up, and I can access their respective web admin UIs.
I was trying to add my Prometheus instance as a data source to my Grafana, I kept getting a timeout error my Prometheus instance’s internal host:post (prometheus-****:9090
for me).
This is the error I got:
Error reading Prometheus: Post "http://prometheus-****:9090/api/v1/query": dial tcp 10.131.75.117:9090: i/o timeout
I tried a few different things (switch over to HTTPS (not that this would have helped), try using GET vs. POST) but nothing seemed to work. Then out of curiosity, I decided to give the public endpoint (https://prometheus-***.onrender.com
) a try, and it just worked. Hah!
Is there something I am doing incorrectly? I do have a workaround obviously but would much rather not expose my Prometheus instance to the web, and also not have to go through the load balancer and all that stuff unnecessarily.
Thanks a lot in advance for your help.