Red Hat Bugzilla – Bug 1289427
[DOCS] How to configure and view the statistics page for the HAProxy router
Last modified: 2017-11-16 14:05:23 EST
Document URL: https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/cluster-administration/#viewing-statistics
Section Number and Name: 10.2. Viewing Statistics
Describe the issue: In the above section, It is unclear how can a user view haproxy statistics page via browser. How to expose 1936 port.
Suggestions for improvement: Please describe how to access haproxy status page. The only thing that is mentioned is : Enter the router’s public IP address and the correctly configured port (1936 by default) to view the statistics page
But how ? it is not described.
You can refer below article to make thus in docs :
Also, In training section below procedure was described however it doesn't seem to be working. I am not sure if this is complete or not.
@michael - an old bug. Please verify if this is still an issue in the docs before making changes. If still a problem in 3.6 docs, please apply fix in 3.6 onwards only.
@jaspreet Please take a look:
@vikram Can you help with a developer to review the PR?
I asked Jeff Cantrill, who I think is on the same team as Anping, Logging and Metrics, but he said it is not his area.
Add comment in the PR https://github.com/openshift/openshift-docs/pull/5363
path /haproxy_stats has been deprecated from 3.6, if you still want to using it, you need to run
`oc env dc router ROUTER_METRICS_TYPE-`
I merged the original PR to effect 3.4 and 3.5 and created a follow-up to add a step to unset the `ROUTER_METRICS_TYPE-` environment variable and change the URL based on Zhao's c5 and related BZ https://bugzilla.redhat.com/show_bug.cgi?id=1467257
Need confirmation that this is correct.
Merged for 3.4 and 3.5
Follow up pending for 3.6+ https://github.com/openshift/openshift-docs/pull/6396