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

Set 3scale metrics in rhoam

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • 5
    • False
    • None
    • False
    • Yes

      Why

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

      What

      based of this investigation https://issues.redhat.com/browse/MGDAPI-5962 enable 3scale metrics in rhoam

      How

      we need to enable the monitoring stack in 3scale
      which we can enable in the apimanger CR

      spec: 
        monitoring: 
          enablePrometheusRules: false
          enabled: true
      

      this can be set in the rhoam code base Can be set in the code base here https://github.com/integr8ly/integreatly-operator/blob/rhoam-v1.4.0-rc1/pkg/products/threescale/reconciler.go#L972

      • Enabling monitoring will create the Pod monitors in the redhat-rhoam-3scale namespace
      • These pod monitors are using the monitoring.coreos.com/v1 but for our monitoring stack we need these resources in monitoring.rhobs/v1

      Suggest updating the logic in 3scale-operator to generate both sets of podmonitors

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

                Created:
                Updated: