Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions to increase HAPROXY_STAT_MAX_SERVICES to >100 #2

Open
joshuaboniface opened this issue May 24, 2017 · 3 comments
Open

Suggestions to increase HAPROXY_STAT_MAX_SERVICES to >100 #2

joshuaboniface opened this issue May 24, 2017 · 3 comments

Comments

@joshuaboniface
Copy link

Currently HAPROXY_STAT_MAX_SERVICES is hardcoded at 100. This is fine for most use cases but I've got a few HAProxy instances with >100 backend services, so with this setting as-is hatop is very limited. To work around this I've manually edited the binary to support 500 services, and in my experience the performance and functionality remains the same (or perhaps a little slower on the larger instances, but still usable).

I'd like to suggest either including this as an optional flag to the command-line, or perhaps just increasing it to a larger number like 500.

@geor-g
Copy link

geor-g commented Jun 23, 2017

+1

I'm interested in this as well.

@bzed
Copy link

bzed commented Aug 20, 2018

+1 from me, too. I have my own patched hatop with HAPROXY_STAT_MAX_SERVICES=1000, works just fine.

@jhunt
Copy link

jhunt commented Feb 29, 2020

I bumped the HAPROXY_STAT_MAX_SERVICES constant in jhunt/hatop@1e06e4f.

Having heard nothing from @feurix for quite a while now, I've gone ahead and forked this over at https://github.com/jhunt/hatop, where I intend to continue maintenance for the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants