-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
4.12
-
None
-
No
-
1
-
Sprint 236
-
1
-
Rejected
-
False
-
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'.