Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-5962

Investigate getting 3scale metrics available in rhoam

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • RHOAM Sprint 45

      Why

      To help with investigating 3scale traffic issues in rhoam it would be usefull to have access to 3scale metrics like rails_requests_total or apisonator_listener_response_codes

      What

      Investigate getting 3scale metrics available in rhoam prometheus

      How

      3scale has its own monitoring stack which we can enable in the apimanger CR

      spec: 
        monitoring: 
          enablePrometheusRules: false
          enabled: true
      

      We are disabling PrometheusRules as we don't require extra alerts

      There is a doc for enabling monitoring in the 3scale repo https://github.com/3scale/3scale-operator/tree/master/doc/monitoring-stack-deployment

      We need to consider how we manage Grafana dashboard that get generated if we remove the grafana operator from RHOAM

      • Add hard coded Dashboard JSON to Integr8tly 
      • Add Grafana CRDs, parse the CRs and call the Grafana APIs 

      Another option is to refactor the 3scale operator to prevent the dashboard generation. 

      Done

      A demo of this working and a follow up jira on implementing it.

      Verify if the metrics provided help with providing the information required in this JIRA 

        1. screenshot-3.png
          screenshot-3.png
          141 kB
        2. screenshot-2.png
          screenshot-2.png
          116 kB
        3. screenshot-1.png
          screenshot-1.png
          45 kB
        4. image-2023-08-21-13-44-56-366.png
          image-2023-08-21-13-44-56-366.png
          95 kB
        5. image-2023-08-21-11-48-38-122.png
          image-2023-08-21-11-48-38-122.png
          160 kB
        6. image-2023-08-21-11-48-02-918.png
          image-2023-08-21-11-48-02-918.png
          138 kB
        7. image-2023-08-21-11-47-19-620.png
          image-2023-08-21-11-47-19-620.png
          188 kB
        8. image-2023-08-21-11-45-56-117.png
          image-2023-08-21-11-45-56-117.png
          154 kB
        9. image-2023-08-21-11-45-18-084.png
          image-2023-08-21-11-45-18-084.png
          207 kB
        10. image-2023-08-21-11-38-53-260.png
          image-2023-08-21-11-38-53-260.png
          189 kB

              aucunnin@redhat.com Austin Cunningham
              aucunnin@redhat.com Austin Cunningham
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: