Connect to the Prometheus web UI

Connect to the Prometheus web UIΒΆ

This section describes how to access the Prometheus web UI.

To connect to the Prometheus web UI:

  1. Log in to the Salt Master node.

  2. Obtain the Prometheus hostname (IP address), port, and protocol to use as a URL:

    salt -C 'I@horizon:server' pillar.item nginx:server:site:nginx_proxy_prometheus_server:host
    

    Example of system response:

    prx01.stacklight-dev-2019-2-9.local:
        ----------
        nginx:server:site:nginx_proxy_prometheus_server:host:
            ----------
            name:
                10.13.0.80
            port:
                15010
            protocol:
                https
    
  3. Enter the URL obtained in the step 2 to a web browser.

Note

Starting from MCP 2019.2.7, to access the Prometheus web UI from an external network, obtain the credentials by running the following commands from the Salt Master node:

salt -C 'I@horizon:server' pillar.get _param:nginx_proxy_prometheus_server_user
salt -C 'I@horizon:server' pillar.get _param:nginx_proxy_prometheus_server_password

For more details, see Configure authentication for Prometheus and Alermanager.