Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-7466

No prometheus haproxy metrics present for route created by dynamicConfigManager (unsupported option)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.12
    • Networking / router
    • None
    • No
    • 1
    • Sprint 236
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:{code:none}
      
      Using the (unsupported) dynamicConfigManager  feature of OpenShift Router, we notice that whilst routes that have been statically defined in the haproxy.config operator correctly report prometheus metrics, those which take the dynamic path, fail to report metrics.
      
      

      Version:

      4.11.25
      
      

      Reproducible?

      
      100%
      
      

      Steps to Reproduce:

      1. Create an ingresscontrollers.operator.openshift.io resource with {{dynamicConfigManager: "true"}}
      2. Create a TLS passthrough {{routes.route.openshift.io}} resource exposing a TLS service
      3. Send traffic to the route
      
      

      Actual results:

      
      Observe the platform metrics for {{haproxy_backend_bytes_out_total}} and {{haproxy_backend_bytes_in_total}}.  The reported bytes in/bytes out are zero.
      
      

      Expected results:

      
      Metrics faithfully report bytes in/out, even for routes that follow the dynamic path.
      
      
      

      Additional info:

      
      

      We notice that openshift_route is emitting the metrics but they carry the namespace/route labels labels of the blueprint 'slot'.

            mmasters1@redhat.com Miciah Masters
            keithbwall Keith Wall
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: