Configuring Prometheus endpoint
Learn how to configure Prometheus endpoint configuration ozone.tiering.prometheus.http.endpoint in your Cloudera Storage Optimizer UI.
-
Identify the Prometheus endpoint URL.
- Sign in to Cloudera Manager.
- In the left navigation, click Clusters and select the Ozone cluster.
- Click Instances tab.
- Under Filters, click ROLE TYPE dropdown menu.
- Click Ozone Prometheus.
- Under Role Type column, click the relevant Ozone Prometheus instance. The Ozone Prometheus UI opens.
- Click the Prometheus Web UI tab.
- Copy the HTTP Hostname of the Ozone Prometheus Web UI and paste it in a text editor.
- Sign in to Cloudera Manager.
- In the left navigation, click Clusters and select the Ozone cluster.
- Click Instances tab and click on Ozone Tiering in the Role Type column. The Cloudera Storage Optimizer UI page opens.
- Click Configuration tab.
-
Search for Ozone Tiering Advanced Configuration Snippet (Safety
Valve) for ozone-conf/ozone-site.xml and add the following
configuration:
- Name: ozone.tiering.prometheus.http.endpoint
- 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.
- Click Save Changes.
