1. The problem I’m having:
This might be a dumb question caused by my lack of knowledge about computers etc. However, I have Caddy running on a VPN (not my local computer) and I have Prometheus set up to scrape for metrics. I’m using Prometheus basically as an experiment, since Caddy is acting as a file server for my blog https://cabincrewforyou.com
The Caddy website says that I can view the Prometheus metrics at localhost:9090/graph
If you've started up a Prometheus server to scrape Caddy with the config above, try pasting these queries into the Prometheus UI at http://localhost:9090/graph
First dumb question: How can I access http://localhost:9090/graph in the browser when my website is hosted at https://cabincrewforyou.com.
The Prometheus website also says I can use its tool at http://localhost:9090/graph
.
If I had Caddy running on my home computer and Prometheus scraping metrics on my home computer, then I understand how to open local host, but not when I’m on a VPN and using a custom domain.
When I go to http://localhost:9090/graph, it says the site can’t be reached, as I’d expect it to say.
2. Error messages and/or full log output:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
3. Caddy version:
v2.7.6
4. How I installed and ran Caddy:
via the instructions on the Caddy website for ubuntu
a. System environment:
ubuntu
b. Command:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
c. Service/unit/compose file:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
d. My complete Caddy config:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.