-
Sub-task
-
Resolution: Done
-
Undefined
-
0.3.0 [R4]
-
None
-
False
-
None
-
False
-
No
-
-
Design
Rework DBaaSPolicy metrics based on the design proposal at this link
Development
This feature will be enhanced/developed in a manner similar to changes done in DBaaSInventory
Branch Link: https://github.com/rhkp/dbaas-operator/tree/dbaas-1096-dbaas-policy-metric
PR Link: https://github.com/RHEcosystemAppEng/dbaas-operator/pull/300
Verification (on OpenShift Local)
- Install the DBaaS Operator on a fresh OpenShift cluster.
- After successful installation expose the Prometheus service
oc project openshift-dbaas-operator
oc expose svc/prometheus-operated
oc get route
- Navigate to Prometheus Service Route in the browser, select a metric such as "dbaas_requests_duration_seconds_sum" and see the resource="dbaas_policy" appear.