-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
OSSM 2.0.0, OSSM 2.1.0, OSSM 2.2.0
BZ Severity: Medium
OCP Version: 4.6
We should add another section that covers how we can add custom Prometheus metrics from istio directly into the default Prometheus from Cluster monitoring. This allows developers to use OCP alerts and monitor istio from Openshift directly. A similar config can be found in
https://istio.io/latest/docs/ops/configuration/telemetry/monitoring-multicluster-prometheus/#configure-prometheus-federation
Reported by: rhn-support-agomezpr
https://access.redhat.com/documentation/en-us/openshift_container_platform/4.5/html/service_mesh/service-mesh-1-x#annotations:d2cc0545-7a63-412e-9016-227ce8d50199
The only thing extra to add compared to istio doc is that you need to run the following command to give Prometheus access to the istio-system namespace:
$oc policy add-role-to-user view system:serviceaccount:openshift-
monitoring:prometheus-k8s -n istio-system
The Old doc url is wrong, it should be: