Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-985 Continue adding metrics towards SLI goals
  3. DBAAS-1060

Rework metric pattern using DBaaSInstance & DBaaSProvider

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 0.4.0 [R5]
    • 0.3.0 [R4]
    • Core - DBaaS Operator
    • None
    • False
    • None
    • False
    • No

      Design

      Rework DBaaSInstance/DBaaSProvide 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-1060-dbaas-instance-metrics

      PR Link: https://github.com/RHEcosystemAppEng/dbaas-operator/pull/295

      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_provider" appear.
      • Register MongoDB Provider and create a new MongoDB Instance by following DBaaS Operator User Guide. In the prometheus console, see the resource="dbaas_instance" appear.
      • Note: The DBaaSProvider does not have delete handler in the controller, so the delete event is not possible.

              itsikkan Itsik Kanias
              jeremy1230 Jeremy Ary
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: