Configuring Prometheus endpoint

Learn how to configure Prometheus endpoint configuration ozone.tiering.prometheus.http.endpoint in your Cloudera Storage Optimizer UI.

  1. Identify the Prometheus endpoint URL.
    1. Sign in to Cloudera Manager.
    2. In the left navigation, click Clusters and select the Ozone cluster.
    3. Click Instances tab.
    4. Under Filters, click ROLE TYPE dropdown menu.
    5. Click Ozone Prometheus.
    6. Under Role Type column, click the relevant Ozone Prometheus instance. The Ozone Prometheus UI opens.
    7. Click the Prometheus Web UI tab.
    8. Copy the HTTP Hostname of the Ozone Prometheus Web UI and paste it in a text editor.
  2. Sign in to Cloudera Manager.
  3. In the left navigation, click Clusters and select the Ozone cluster.
  4. Click Instances tab and click on Ozone Tiering in the Role Type column. The Cloudera Storage Optimizer UI page opens.
  5. Click Configuration tab.
  6. Search for Ozone Tiering Advanced Configuration Snippet (Safety Valve) for ozone-conf/ozone-site.xml and add the following configuration:
    1. Name: ozone.tiering.prometheus.http.endpoint
    2. Value: <***OZONE-PROMETHEUS-ENDPOINT-URL***>: <***HTTP-PORT***>
      Where,
      • <***OZONE-PROMETHEUS-ENDPOINT-URL***> is the Prometheus Hostname that you have copied earlier in 1.h.
      • <***HTTP-PORT***>: The default http port number is 9096.
  7. Click Save Changes.