Score:0

Haproxy monitor request response codes

us flag

Is there a way to monitor Haproxy response stats in the Browser.

For example curl -x 127.0.0.1:4444 http://ifconfig.me —>response 200

Is there a way to monitor the request response codes in the build in stats feature of haproxy?

[enter image description here][1]

And how to view request logs in log file.

My haproxy.cfg file looks like this:

[1]: https://i.stack.imgur.com/KSCR4.jpg![enter image description here](https://i.stack.imgur.com/3yrOQ.jpg)

Haproxy running in a docker container, if run command docker logs container_id I can see the log output but request reponse codes are not displayed, how to change cfg file to display response codes in docker logs?

Score:0
ng flag

If you hover your mouse over underscored number in Sessions->Total and you will see something like this:

enter image description here

us flag
Hi, thank you for your help, i updated the post can you help me?
tbielaszewski avatar
ng flag
not sure if it will work with `option http_proxy` which you use, but add `option httplog` to change log format, which logs some HTTP stuff, including response status code
us flag
Thank you, it not work i will try the browser solution. One last question how can i unlimit the connection, session limit is 1024 after that it will not accept connections, i will unlimit session and maxconn how to do that, thank you
us flag
If i hover on the browser method it shows nothing
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.