Este contenido no está disponible en el idioma seleccionado.
Chapter 7. Accessing third-party UIs
Integrated Metrics, Alerting, and Dashboard UIs are provided in the OpenShift Container Platform web console. See the following for details on using these integrated UIs:
OpenShift Container Platform also provides access to the Prometheus, Alertmanager, and Grafana third-party interfaces. Dashboards for some additional platform components are included in Monitoring
Default access to the third-party monitoring interfaces might be removed in future OpenShift Container Platform releases. Following this, you will need to use port-forwarding to access them.
The Grafana instance that is provided with the OpenShift Container Platform monitoring stack, along with its dashboards, is read-only. The Grafana dashboard includes Kubernetes and
cluster-monitoring
7.1. Accessing third-party monitoring UIs by using the web console Copiar enlaceEnlace copiado en el portapapeles!
You can access the Alertmanager, Grafana, Prometheus, and Thanos Querier web UIs through the OpenShift Container Platform web console.
Prerequisites
-
You have access to the cluster as a user with the role.
cluster-admin
Procedure
In the Administrator perspective, navigate to Networking
Routes. NoteAccess to the third-party Alertmanager, Grafana, Prometheus, and Thanos Querier UIs is not available from the Developer perspective. Instead, use the Metrics UI link in the Developer perspective, which includes some predefined CPU, memory, bandwidth, and network packet queries for the selected project.
-
Select the project in the Project list.
openshift-monitoring Access a third-party monitoring UI:
-
Select the URL in the row to open the login page for the Alertmanager UI.
alertmanager-main -
Select the URL in the row to open the login page for the Grafana UI.
grafana -
Select the URL in the row to open the login page for the Prometheus UI.
prometheus-k8s -
Select the URL in the row to open the login page for the Thanos Querier UI.
thanos-querier
-
Select the URL in the
- Choose Log in with OpenShift to log in using your OpenShift Container Platform credentials.
7.2. Accessing third-party monitoring UIs by using the CLI Copiar enlaceEnlace copiado en el portapapeles!
You can obtain URLs for the Prometheus, Alertmanager, and Grafana web UIs by using the OpenShift CLI (
oc
Prerequisites
-
You have access to the cluster as a user with the role.
cluster-admin -
You have installed the OpenShift CLI ().
oc
Procedure
Run the following to list routes for the
project:openshift-monitoring$ oc -n openshift-monitoring get routesExample output
NAME HOST/PORT ... alertmanager-main alertmanager-main-openshift-monitoring.apps._url_.openshift.com ... grafana grafana-openshift-monitoring.apps._url_.openshift.com ... prometheus-k8s prometheus-k8s-openshift-monitoring.apps._url_.openshift.com ... thanos-querier thanos-querier-openshift-monitoring.apps._url_.openshift.com ...-
Navigate to a route by using a web browser.
HOST/PORT - Select Log in with OpenShift to log in using your OpenShift Container Platform credentials.
The monitoring routes are managed by the Cluster Monitoring Operator and they cannot be modified by the user.