-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
WHY
RHOAM needs to be able to federate certain metrics from the openshift-monitoring Prometheus instance as part of its monitoring solution.
WHAT
With OO we leveraged the additionalScrapeConfig Secret that the Prometheus CR consumes to accomplish federating metrics. We have less control over this Secret with OBO and so we will instead create a ServiceMonitor CR to accomplish this. We will also need to create a ClusterRole and ClusterRoleBinding to give the ServiceAccount that Prometheus uses permission to federate the metrics.
We will probably use the bootstrap stage of the installation to create the ServiceMonitor.
HOW
Use the findings from MGDAPI-5611 as a starting point.
TESTS
<List of related tests>
DONE
- Created the ClusterRole and ClusterRoleBinding needed to federate the metrics
- Created ServiceMonitor in redhat-rhoam-operator and confirmed that federated metrics can be queried
- is related to
-
MGDAPI-5729 Create MonitoringStack CR in redhat-rhoam-operator
-
- Closed
-