Connect the Gloo UI to OpenShift Prometheus
Configure the Gloo UI to read metrics from the OpenShift’s built-in Prometheus.
By default, the Gloo UI reads metrics from the built-in Prometheus to populate and display the Gloo UI graph and other information. If you run in OpenShift, you can configure the Gloo UI to read metrics from the OpenShift’s built-in Prometheus for workload monitoring instead of the built-in Prometheus in Gloo Mesh Enterprise.
Before you begin
Follow the steps to forward metrics to the built-in OpenShift Prometheus instance so that the Gloo UI can read metrics from the Prometheus instance in OpenShift.
Single cluster
Get the current values of the Helm release for your Gloo Network installation. Note that your Helm release might have a different name.
In your Helm values file, add the following values.
Upgrade your Helm release. Change the release name as needed.
Verify that the Gloo UI restarts successfully.
Open the Gloo UI.
Send a request to the httpbin sample app.
In the Gloo UI, navigate to Observability > Graph and verify that you can see the Gloo UI graph getting populated for that request.
Optional: Now that you set up the Gloo UI to use the OpenShift Prometheus instance, disable the Prometheus instance that is built into Gloo Network.
- In you Helm values file, add the following values.
- Upgrade your Helm release. Change the release name as needed.
- Verify that the prometheus pod is removed.
- In you Helm values file, add the following values.
Multicluster
Get the current values of the Helm release for the management cluster. Note that your Helm release might have a different name.
In your Helm values file for the management cluster, add the following values.
Upgrade your Helm release in the management cluster. Change the release name as needed.
Verify that the Gloo UI redeploy successfully.
Open the Gloo UI.
Send a request to the httpbin sample app.
In the Gloo UI, navigate to Observability > Graph and verify that you can see the Gloo UI graph getting populated for that request.
Optional: Now that you set up the Gloo UI to use the OpenShift Prometheus instance, disable the Prometheus instance that is built into Gloo Network.
In you Helm values file for the management cluster, add the following values.
Upgrade your Helm release for the management cluster. Change the release name as needed.
Verify that the Prometheus pod is removed.