Accessing the HTTP API Endpoint
Accessing the HTTP API Endpoint
From the official
prometheus.io/docs
most examples use the URL
http://localhost:9090/api/v1/
. For the DANIAN app
https
is used and the port
:9090
needs to be left out.
As an example our Prometheus is running at
pm.demo.domain.com
and we want to use Prometheus in Grafana. Then we need to use the full
https://pm.demo.domain.com
URL and basic auth.