You might also need to adjust the firewall at Digital Ocean to allow your 
browser to connect to Prometheus.

No additional set-up is needed to get the UI; Prometheus serves it over 
http by default.

Bryan

On Monday 19 February 2024 at 07:39:24 UTC Brian Candler wrote:

> localhost:9090 is what you'd enter if prometheus was running on the same 
> machine as your browser.
>
> In this case it's remote, so enter
>   <IP-address>:9090
> where <IP-address> is the IP-address of the server where prometheus is 
> running.
>
> On Monday 19 February 2024 at 07:13:02 UTC Leah Stapleton wrote:
>
>> Hello,
>> This is my first time using Prometheus. I found it very easy to set up 
>> the server but I'm puzzled about viewing the data. 
>>
>> I have a prometheus server running on a VPN at Digital Ocean, which is 
>> set up to scrape data from Caddy webserver.
>>
>> But how do I view the dashboards?
>>
>> I know there's a prometheus ui that I can use at localhost:9090, but I 
>> don't know how to set that up to view the data on a prometheus server 
>> running on a vpn.I can't just open localhost:9090 on my browser and see 
>> data from a remote server, there must be some step I am missing. 
>>
>> Can anyone give me detailed step by step instructions? 
>> 1.Do I need to add anything to the prometheus.yml file? if so, what? 
>> 2. what command do I run in the terminal of my computer to get the 
>> prometheus ui going?
>>
>> Thank you for your help.
>>
>> By the way, I've heard Grafana is also a possibility but I'm interested 
>> in trying the Prometheus Ui instead. Thank you.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/b3b6071e-38ea-4bc9-bc7c-ecc7292032e4n%40googlegroups.com.

Reply via email to