Bug 1832629
| Summary: | Router metrics don't expose 4xx | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jeremy Eder <jeder> | ||||||
| Component: | Networking | Assignee: | Clayton Coleman <ccoleman> | ||||||
| Networking sub component: | router | QA Contact: | Arvind iyengar <aiyengar> | ||||||
| Status: | CLOSED ERRATA | Docs Contact: | |||||||
| Severity: | high | ||||||||
| Priority: | unspecified | CC: | aiyengar, aos-bugs, bbennett, sgreene, wking | ||||||
| Version: | 4.5 | Keywords: | ServiceDeliveryImpact | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.5.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-07-13 17:35:44 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Originally filed here: https://github.com/openshift/router/issues/81 The PR merge made into "4.5.0-0.nightly-2020-05-18-165746" release version and it is noted that the 4xx metrics are being exposed properly. Created attachment 1690070 [details]
reference 4xx prometheus query on v4.4 UI
Created attachment 1690071 [details]
4xx queries in prometheus UI on patched nightly version
For future reference this was backported to 4.4 in https://github.com/openshift/router/pull/141 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |
Description of problem: We found that in OCP4, the router does not return 4xx error codes. This makes it impossible to calculate accurate SLIs. Example query: sum(irate(haproxy_frontend_http_responses_total{frontend=~"$frontend",code=~"$code",instance=~"$host:$port"}[5m])) by (code)