Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1937750

Summary: [DDF] We should add another section that covers how we can add custom Prometheus metrics from istio directly into the
Product: OpenShift Container Platform Reporter: Direct Docs Feedback <ddf-bot>
Component: DocumentationAssignee: Claire Bremble <cbremble>
Status: CLOSED WONTFIX QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact: Latha S <lmurthy>
Priority: medium    
Version: 4.6CC: aos-bugs, jstickle, lmurthy, oarribas
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-12 21:20:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Direct Docs Feedback 2021-03-11 13:47:46 UTC
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

Comment 1 Álvaro Gómez Prado 2021-03-11 13:49:05 UTC
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

Comment 5 jstickle 2021-12-06 15:47:49 UTC
Created a JIRA to track work on this issue.

https://issues.redhat.com/browse/OSSMDOC-448

Comment 7 jstickle 2022-01-12 21:20:31 UTC
Closing as won't fix as this is not currently supported in the product.